Version Description
- Dec 10 2019 =
- Fix bugs with Tabs and Accordions editing.
Download this release
Release Info
Developer | LiveComposer |
Plugin | Page Builder: Live Composer – drag and drop website builder (visual front end site editor) |
Version | 1.5.4 |
Comparing to | |
See all releases |
Code changes from version 1.5.3 to 1.5.4
- css/dist/builder.min.css +1 -1
- css/src/builder/index.css +6 -5
- ds-live-composer.php +2 -2
- includes/class.module.php +2 -2
- includes/module-controls.php +1 -1
- js/dist/client_frontend.min.js +1 -1
- js/dist/client_frontend.min.js.map +1 -1
- js/dist/editor_backend.min.js +3 -3
- js/dist/editor_backend.min.js.map +1 -1
- js/dist/editor_frontend.min.js +1 -1
- js/dist/editor_frontend.min.js.map +1 -1
- js/src/client/frontend/index.js +104 -100
- js/src/editor/backend/modalwindow.js +3 -1
- js/src/editor/backend/module.js +1 -6
- js/src/editor/backend/settings.panel.js +0 -1
- readme.txt +5 -1
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}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited):before{content:"";position:absolute;height:100%;width:100%;z-index:199999}.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-enabled.dslc-res-tablet .dslc-modules-section:hover,.dslca-enabled.dslc-res-phone .dslc-modules-section:hover{box-shadow:none}.dslca-enabled.dslc-res-tablet .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-enabled.dslc-res-phone .dslc-modules-section:hover .dslca-modules-section-manage{visibility:hidden !important}.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover,.dslca-enabled.dslc-res-phone .dslc-modules-area:hover{box-shadow:none}.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover .dslca-modules-area-manage,.dslca-enabled.dslc-res-phone .dslc-modules-area:hover .dslca-modules-area-manage{visibility:hidden !important;opacity:0}.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit{opacity:0}.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover .dslc-module-front:hover,.dslca-enabled.dslc-res-phone .dslc-modules-area:hover .dslc-module-front:hover{box-shadow:none}body.module-editing-in-progress.dslc-res-tablet .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress.dslc-res-tablet .dslc-modules-section:not(.dslca-modules-section-being-edited):before,body.module-editing-in-progress.dslc-res-phone .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress.dslc-res-phone .dslc-modules-section:not(.dslca-modules-section-being-edited):before{z-index:1}.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:#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}
|
css/src/builder/index.css
CHANGED
@@ -1548,7 +1548,7 @@ body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-sectio
|
|
1548 |
}
|
1549 |
|
1550 |
/* Cover all other modules and areas when already editing module/area */
|
1551 |
-
body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited):before,
|
1552 |
body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited):before {
|
1553 |
content: "";
|
1554 |
position: absolute;
|
@@ -1556,7 +1556,7 @@ body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-sectio
|
|
1556 |
width: 100%;
|
1557 |
z-index: 199999;
|
1558 |
}
|
1559 |
-
|
1560 |
|
1561 |
.dslc-module-front:hover,
|
1562 |
.dslc-module-front:hover * {
|
@@ -4349,7 +4349,7 @@ div#scroller-stopper {
|
|
4349 |
border-color: #ccc !important;
|
4350 |
}
|
4351 |
|
4352 |
-
.dslca-enabled.dslc-res-tablet .dslc-modules-section:hover, .dslca-enabled.dslc-res-phone .dslc-modules-section:hover {
|
4353 |
box-shadow: none;
|
4354 |
}
|
4355 |
|
@@ -4365,7 +4365,8 @@ div#scroller-stopper {
|
|
4365 |
visibility: hidden !important;
|
4366 |
opacity: 0;
|
4367 |
}
|
4368 |
-
|
|
|
4369 |
.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,
|
4370 |
.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,
|
4371 |
.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit,
|
@@ -4385,7 +4386,7 @@ body.module-editing-in-progress.dslc-res-phone .dslc-module-front:not(.dslca-mod
|
|
4385 |
body.section-editing-in-progress.dslc-res-phone .dslc-modules-section:not(.dslca-modules-section-being-edited):before {
|
4386 |
z-index: 1;
|
4387 |
}
|
4388 |
-
|
4389 |
/*
|
4390 |
* Delete preset
|
4391 |
*/
|
1548 |
}
|
1549 |
|
1550 |
/* Cover all other modules and areas when already editing module/area */
|
1551 |
+
/* body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited):before,
|
1552 |
body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited):before {
|
1553 |
content: "";
|
1554 |
position: absolute;
|
1556 |
width: 100%;
|
1557 |
z-index: 199999;
|
1558 |
}
|
1559 |
+
*/
|
1560 |
|
1561 |
.dslc-module-front:hover,
|
1562 |
.dslc-module-front:hover * {
|
4349 |
border-color: #ccc !important;
|
4350 |
}
|
4351 |
|
4352 |
+
/* .dslca-enabled.dslc-res-tablet .dslc-modules-section:hover, .dslca-enabled.dslc-res-phone .dslc-modules-section:hover {
|
4353 |
box-shadow: none;
|
4354 |
}
|
4355 |
|
4365 |
visibility: hidden !important;
|
4366 |
opacity: 0;
|
4367 |
}
|
4368 |
+
*/
|
4369 |
+
/*
|
4370 |
.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,
|
4371 |
.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,
|
4372 |
.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit,
|
4386 |
body.section-editing-in-progress.dslc-res-phone .dslc-modules-section:not(.dslca-modules-section-being-edited):before {
|
4387 |
z-index: 1;
|
4388 |
}
|
4389 |
+
*/
|
4390 |
/*
|
4391 |
* Delete preset
|
4392 |
*/
|
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.
|
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.
|
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.4
|
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.4' );
|
45 |
|
46 |
define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
|
47 |
define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
|
includes/class.module.php
CHANGED
@@ -2665,12 +2665,12 @@ class DSLC_Module {
|
|
2665 |
<use xlink:href="<?php echo esc_url( $ui_icons_url ); ?>/feather-sprite.svg#sliders"/>
|
2666 |
</svg>
|
2667 |
</span>
|
2668 |
-
<span class="dslca-manage-action dslca-module-manage-hook dslca-
|
2669 |
<svg class="feather">
|
2670 |
<use xlink:href="<?php echo esc_url( $ui_icons_url ); ?>/feather-sprite.svg#share"/>
|
2671 |
</svg>
|
2672 |
</span>
|
2673 |
-
<span class="dslca-manage-action dslca-module-manage-hook dslca-
|
2674 |
<svg class="feather">
|
2675 |
<use xlink:href="<?php echo esc_url( $ui_icons_url ); ?>/feather-sprite.svg#download"/>
|
2676 |
</svg>
|
2665 |
<use xlink:href="<?php echo esc_url( $ui_icons_url ); ?>/feather-sprite.svg#sliders"/>
|
2666 |
</svg>
|
2667 |
</span>
|
2668 |
+
<span class="dslca-manage-action dslca-module-manage-hook dslca-cmd" title="<?php esc_attr_e( 'Copy Styles', 'live-composer-page-builder' ); ?>" data-event="module-style-copy">
|
2669 |
<svg class="feather">
|
2670 |
<use xlink:href="<?php echo esc_url( $ui_icons_url ); ?>/feather-sprite.svg#share"/>
|
2671 |
</svg>
|
2672 |
</span>
|
2673 |
+
<span class="dslca-manage-action dslca-module-manage-hook dslca-cmd" title="<?php esc_attr_e( 'Paste Styles', 'live-composer-page-builder' ); ?>" data-event="module-style-paste">
|
2674 |
<svg class="feather">
|
2675 |
<use xlink:href="<?php echo esc_url( $ui_icons_url ); ?>/feather-sprite.svg#download"/>
|
2676 |
</svg>
|
includes/module-controls.php
CHANGED
@@ -47,7 +47,7 @@ class LC_Module_Options_Panel {
|
|
47 |
$tabs_render = '';
|
48 |
|
49 |
foreach ( $this->get_tabs() as $tab ) {
|
50 |
-
$tabs_render .= '<a href="#" class="dslca-module-edit-options-tab-hook" data-section="' . $tab['section'] . '" data-id="' . $tab['id'] . '">' . $tab['title'] .
|
51 |
|
52 |
// Add special trash icon to clearn all the settings at once
|
53 |
// for Responsive tabs.
|
47 |
$tabs_render = '';
|
48 |
|
49 |
foreach ( $this->get_tabs() as $tab ) {
|
50 |
+
$tabs_render .= '<a href="#" class="dslca-module-edit-options-tab-hook" data-section="' . $tab['section'] . '" data-id="' . $tab['id'] . '">' . $tab['title'] . '</a>';
|
51 |
|
52 |
// Add special trash icon to clearn all the settings at once
|
53 |
// for Responsive tabs.
|
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")})},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",".dslca-add-new-tab-hook",function(){var e,s=jQuery(this).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+'">This is just placeholder text.</div><textarea class="dslca-tab-plain-content">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),e=this[0],jQuery(e).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(e).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}),jQuery(document).on("click",".dslca-delete-tab-hook",function(e){var s=jQuery(this).closest(".dslc-tabs"),t=jQuery(this).closest(".dslc-tabs-nav-hook"),o=t.index(),a=jQuery(".dslc-tabs-tab-content",s).eq(o);jQuery(".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)):alert("You can not delete the last remaining tab"),e.stopPropagation()}),jQuery(document).on("click",".dslc-tabs-nav-hook",function(e){jQuery(this).hasClass("dslc-active")||(dslcTabs=jQuery(this).closest(".dslc-tabs"),dslcTabsNav=jQuery(".dslc-tabs-nav",dslcTabs),dslcTabsContent=jQuery(".dslc-tabs-content",dslcTabs),dslcTabContent=jQuery(".dslc-tabs-tab-content",dslcTabs),dslcTabIndex=jQuery(this).index(),jQuery(".dslc-tabs-nav-hook.dslc-active",dslcTabs).removeClass("dslc-active"),jQuery(this).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))}),jQuery(document).on("blur paste",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){dslc_tabs_generate_code(jQuery(this).closest(".dslc-tabs"))}).on("focus",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-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-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(),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
|
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\")})},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\",\".dslca-add-new-tab-hook\",function(){var e,s=jQuery(this).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+'\">This is just placeholder text.</div><textarea class=\"dslca-tab-plain-content\">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),e=this[0],jQuery(e).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(e).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")}),jQuery(document).on(\"click\",\".dslca-delete-tab-hook\",function(e){var s=jQuery(this).closest(\".dslc-tabs\"),t=jQuery(this).closest(\".dslc-tabs-nav-hook\"),o=t.index(),a=jQuery(\".dslc-tabs-tab-content\",s).eq(o);jQuery(\".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)):alert(\"You can not delete the last remaining tab\"),e.stopPropagation()}),jQuery(document).on(\"click\",\".dslc-tabs-nav-hook\",function(e){jQuery(this).hasClass(\"dslc-active\")||(dslcTabs=jQuery(this).closest(\".dslc-tabs\"),dslcTabsNav=jQuery(\".dslc-tabs-nav\",dslcTabs),dslcTabsContent=jQuery(\".dslc-tabs-content\",dslcTabs),dslcTabContent=jQuery(\".dslc-tabs-tab-content\",dslcTabs),dslcTabIndex=jQuery(this).index(),jQuery(\".dslc-tabs-nav-hook.dslc-active\",dslcTabs).removeClass(\"dslc-active\"),jQuery(this).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))}),jQuery(document).on(\"blur paste\",\".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]\",function(){dslc_tabs_generate_code(jQuery(this).closest(\".dslc-tabs\"))}).on(\"focus\",\".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-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-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(),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":""}
|
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},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(){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 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)}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,v=p.concat(h),f=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,o=jQuery(".dslca-module-edit-field-ttip"),i=o.find(".dslca-module-edit-field-ttip-inner"),n=jQuery(this);if(t=n.parent(),e=t.parent().hasClass("dslca-modules-section-edit-option")?n.closest(".dslca-modules-section-edit-option").find(".dslca-module-edit-field-ttip-content").html():n.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html(),o.is(":visible"))jQuery(".dslca-module-edit-field-ttip").hide();else{i.html(e);var s=n.offset(),a=o.outerHeight(),d=o.outerWidth(),l=s.left-d/2+6,r="50%";l<0&&(r=d/2+l+"px",l=0),jQuery(".dslca-module-edit-field-ttip").show().css({top:s.top-a-20,left:l}),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(),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>"))}}),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=v.indexOf(o.val()),n=i+1;jQuery(".dslca-module-edit-field-font-suggest",t).text(""),o.val(v[n]).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=v.indexOf(o.val()),n=i-1;jQuery(".dslca-module-edit-field-font-suggest",t).text(""),n<0&&(n=v.length-1),o.val(v[n]).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,s=!1;if(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(),13!=e.which&&38!=e.which&&40!=e.which){i=t.val();var a=new RegExp("^"+i,"i"),d=v.length,l=0;do{if(a.test(v[l])&&!s)var s=v[l];l++}while(l<d);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).on("keypress",".dslca-module-edit-field-font",function(e){var t,o;13==e.which&&(e.preventDefault(),t=jQuery(this),o=t.closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",o).text()).trigger("change"),jQuery(".dslca-module-edit-field-font-suggest",o).text(""))}),jQuery(document).on("keyup",".dslca-module-edit-field-icon",function(e){var t,o,i,n,s;t=jQuery(this),o=t.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(f,function(e,t){return 0==e.indexOf(i)}),s=n[0],jQuery(".dslca-module-edit-field-icon-suggest",o).text(s))}),jQuery(document).on("keypress",".dslca-module-edit-field-icon",function(e){var t,o;13==e.which&&(e.preventDefault(),t=jQuery(this),o=t.closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",o).text()).trigger("change"),jQuery(".dslca-module-edit-field-icon-suggest",o).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(),i=e.find(".dslca-module-edit-option-text-shadow-ver").val(),n=e.find(".dslca-module-edit-option-text-shadow-blur").val(),s=e.find(".dslca-module-edit-option-text-shadow-color").val(),a=o+"px "+i+"px "+n+"px "+s;t.val(a).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(),Ro()}),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(),Ro(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"),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(),Ro(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(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 v="";v=-1!==i.indexOf("css_")?c:o.val(),jQuery('.dslca-module-option-front[data-id="'+i+'"]',s).val(v),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 v=jQuery("#dslc-section-dividers",LiveComposer.Builder.PreviewAreaWindow.document).find("svg#"+i).clone();jQuery('.dslc-section-divider[data-divider-pos="'+p+'"]',o).html(v[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 f="url('"+jQuery("#dslca-post-data-thumb").val()+"')";d.css(s,f)}}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(),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(),Ro(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,v=!0,f=!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")||(v=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")&&(f=!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(),v?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(),f?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"),Ro(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()})),xt(".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),Ro(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()}),xt(".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=f.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=f.length-1),i.val(f[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 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.
|
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={},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}function T(e){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="";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,v=p&&p.d;p&&(l=(a/=v)+(c/=v),r=(d/=h)+(u/=h))}return{top:a,left:d,bottom:l,right:r,width:u,height:c}}}function oe(e,t,o,i){for(var n=de(e,!0),s=(t||te(e))[o];n;){var a=te(n)[i];if(!("top"===i||"left"===i?s>=a:s<=a))return n;if(n===ee())break;n=de(n,!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]!==st.ghost&&s[n]!==st.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===st.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===st.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!==st.ghost){t.push({target:e,rect:te(e)});var o=te(e);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,(oe(o,d,"bottom","top")||oe(o,d,"top","bottom")||oe(o,d,"right","left")||oe(o,d,"left","right"))&&(oe(o,c,"bottom","top")||oe(o,c,"top","bottom")||oe(o,c,"right","left")||oe(o,c,"left","right"))&&(oe(o,a,"bottom","top")||oe(o,a,"top","bottom")||oe(o,a,"right","left")||oe(o,a,"left","right"))||(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,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){if(o){V(e,"transition",""),V(e,"transform","");var i=te(e),n=$(this.el),s=n&&n.a,a=n&&n.d,d=(t.left-i.left)/(s||1),l=(t.top-i.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 "+o+"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},o)}}}}var he=[],ve={initializeByDefault:!0},fe={mount:function(e){for(var t in ve)!ve.hasOwnProperty(t)||t in e||(e[t]=ve[t]);he.push(e)},pluginEvent:function(e,t,o){var i=this;this.eventCanceled=!1;var n=e+"Global";he.forEach(function(s){t[s.pluginName]&&(t[s.pluginName][n]&&(i.eventCanceled=!!t[s.pluginName][n](E({sortable:t},o))),t.options[s.pluginName]&&t[s.pluginName][e]&&(i.eventCanceled=i.eventCanceled||!!t[s.pluginName][e](E({sortable:t},o))))})},initializePlugins:function(e,t,o){for(var i in he.forEach(function(i){var n=i.pluginName;if(e.options[n]||i.initializeByDefault){var s=new i(e,t);s.sortable=e,e[n]=s,P(o,s.options)}}),e.options)if(e.options.hasOwnProperty(i)){var n=this.modifyOption(e,i,e.options[i]);void 0!==n&&(e.options[i]=n)}},getEventOptions:function(e,t){var o={};return he.forEach(function(i){"function"==typeof i.eventOptions&&P(o,i.eventOptions.call(t,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,o=e.sortable,i=e.rootEl,n=e.name,s=e.targetEl,a=e.cloneEl,d=e.toEl,l=e.fromEl,r=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,m=e.newDraggableIndex,p=e.originalEvent,h=e.putSortable,v=e.eventOptions,f=(o=o||i[me]).options,g="on"+n.charAt(0).toUpperCase()+n.substr(1);!window.CustomEvent||I||M?(t=document.createEvent("Event")).initEvent(n,!0,!0):t=new CustomEvent(n,{bubbles:!0,cancelable:!0}),t.to=d||i,t.from=l||i,t.item=s||i,t.clone=a,t.oldIndex=r,t.newIndex=c,t.oldDraggableIndex=u,t.newDraggableIndex=m,t.originalEvent=p,t.pullMode=h?h.lastPutMode:void 0;var y=E({},v,fe.getEventOptions(n,o));for(var w in y)t[w]=y[w];i&&i.dispatchEvent(t),f[g]&&f[g].call(o,t)}var ye=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.evt,n=O(o,["evt"]);fe.pluginEvent.bind(st)(e,t,E({dragEl:be,parentEl:je,ghostEl:Qe,rootEl:_e,nextEl:Ce,lastDownEl:ke,cloneEl:De,cloneHidden:Le,dragStarted:Ie,putSortable:Ee,activeSortable:st.active,originalEvent:i,oldIndex:xe,oldDraggableIndex:Be,newIndex:Se,newDraggableIndex:Ae,hideGhostForTarget:tt,unhideGhostForTarget:ot,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))}if("undefined"==typeof window||!window.document)throw new Error("Sortable.js requires a window with a document");var be,je,Qe,_e,Ce,ke,De,Le,xe,Se,Be,Ae,Pe,Ee,Oe,Te,Ie,Me,Ne,Fe,We,Ue=!1,He=!1,ze=[],Re=!1,qe=!1,Xe=[],Ye=!1,Je=[],Ge=W,Ke=M||I?"cssFloat":"float",Ve=!U&&!W&&"draggable"in document.createElement("div"),$e=function(){if(I)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}(),Ze=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&&"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[Ke]||s&&"none"===o[Ke]&&l+r>i)?"vertical":"horizontal"},et=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"==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},tt=function(){!$e&&Qe&&V(Qe,"display","none")},ot=function(){!$e&&Qe&&V(Qe,"display","")};document.addEventListener("click",function(e){if(He)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),He=!1,!1},!0);var it=function(e){if(be){e=e.touches?e.touches[0]:e;var t=(n=e.clientX,s=e.clientY,ze.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},nt=function(e){be&&be.parentNode[me]._isOutsideThisEl(e.target)};function st(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 Ze(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!==st.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in fe.initializePlugins(this,e,o),o)!(i in t)&&(t[i]=o[i]);for(var n in et(t),this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&Ve,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)),ze.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),P(this,pe())}function at(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 dt(e){e.draggable=!1}function lt(){Ye=!1}function rt(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 ct(e){return setTimeout(e,0)}function ut(e){return clearTimeout(e)}st.prototype={constructor:st,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Me=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],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){Je.length=0;var t=e.getElementsByTagName("input"),o=t.length;for(;o--;){var i=t[o];i.checked&&Je.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),Be=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)if(_e=s,je=(be=o).parentNode,Ce=be.nextSibling,ke=o,Pe=a.group,st.dragged=be,Oe={target:be,clientX:(t||e).clientX,clientY:(t||e).clientY},this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,be.style["will-change"]="all",i=function(){ye("delayEnded",n,{evt:e}),st.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(),dt)}),z(d,"dragover",it),z(d,"mousemove",it),z(d,"touchmove",it),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(st.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&&dt(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?ct(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(Ue=!1,_e&&be){ye("dragStarted",this,{evt:t}),this.nativeDraggable&&z(document,"dragover",nt);var o=this.options;!e&&K(be,o.dragClass,!1),K(be,o.ghostClass,!0),st.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,tt();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);ot()}},_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=Ge&&We&&ae(We),r=(n.clientX-Oe.clientX+i.x)/(a||1)+(l?l[0]-Xe[0]:0)/(a||1),c=(n.clientY-Oe.clientY+i.y)/(d||1)+(l?l[1]-Xe[1]:0)/(d||1),u=e.touches?"translate3d("+r+"px,"+c+"px,0)":"translate("+r+"px,"+c+"px)";if(!st.active&&!Ue){if(o&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}Te=n,V(Qe,"webkitTransform",u),V(Qe,"mozTransform",u),V(Qe,"msTransform",u),V(Qe,"transform",u),e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Qe){var e=this.options.fallbackOnBody?document.body:_e,t=te(be,!0,Ge,!0,e),o=this.options;if(Ge){for(We=e;"static"===V(We,"position")&&"none"===V(We,"transform")&&We!==document;)We=We.parentNode;We!==document.body&&We!==document.documentElement?(We===document&&(We=ee()),t.top+=We.scrollTop,t.left+=We.scrollLeft):We=ee(),Xe=ae(We)}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",Ge?"absolute":"fixed"),V(Qe,"zIndex","100000"),V(Qe,"pointerEvents","none"),st.ghost=Qe,e.appendChild(Qe)}},_onDragStart:function(e,t){var o=this,i=e.dataTransfer,n=o.options;ye("dragStart",this,{evt:e}),st.eventCanceled?this._onDrop():(ye("setupClone",this),st.eventCanceled||((De=ue(be)).draggable=!1,De.style["will-change"]="",this._hideClone(),K(De,this.options.chosenClass,!1),st.clone=De),o.cloneId=ct(function(){ye("clone",o),st.eventCanceled||(o.options.removeCloneOnHide||_e.insertBefore(De,be),o._hideClone(),we({sortable:o,name:"clone"}))}),!t&&K(be,n.dragClass,!0),t?(He=!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)")),Ue=!0,o._dragStartId=ct(o._dragStarted.bind(o,t,e)),z(document,"selectstart",o),Ie=!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=st.active,c=Pe===l,u=d.sort,m=Ee||r,p=this,h=!1;if(!Ye){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=Y(a,d.draggable,s,!0),x("dragOver"),st.eventCanceled)return h;if(be.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return B(!1);if(He=!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"),st.eventCanceled)return h;if(i)return je=_e,S(),this._hideClone(),x("revert"),st.eventCanceled||(Ce?_e.insertBefore(be,Ce):_e.appendChild(be)),B(!0);var v=ne(s,d.draggable);if(!v||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)&&!v.animated){if(v===be)return B(!1);if(v&&s===e.target&&(a=v),a&&(o=te(a)),!1!==at(_e,s,be,t,a,o,e,!!a))return S(),s.appendChild(be),je=s,A(),B(!0)}else if(a.parentNode===s){o=te(a);var f,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,null,"top","top")||oe(be,null,"top","top"),_=Q?Q.scrollTop:void 0;if(Me!==a&&(g=o[j],Re=!1,qe=!b&&d.invertSwap||w),0!==(f=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&&Fe<r*n){if(!Re&&(1===Ne?l>c+r*s/2:l<u-r*s/2)&&(Re=!0),Re)m=!0;else if(1===Ne?l<c+Fe:l>u-Fe)return-Ne}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,qe,Me===a))){var C=se(be);do{C-=f,y=je.children[C]}while(y&&("none"===V(y,"display")||y===Qe))}if(0===f||y===a)return B(!1);Me=a,Ne=f;var k=a.nextElementSibling,D=!1,L=at(_e,s,be,t,a,o,e,D=1===f);if(!1!==L)return 1!==L&&-1!==L||(D=1===L),Ye=!0,setTimeout(lt,30),S(),D&&!k?s.appendChild(be):a.parentNode.insertBefore(be,D?k:a),Q&&ce(Q,0,_-Q.scrollTop),je=be.parentNode,void 0===g||qe||(Fe=Math.abs(g-te(a)[j])),A(),B(!0)}if(s.contains(be))return B(!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:B,onMove:function(o,i){return at(_e,s,be,t,o,te(o),e,i)},changed:A},l))}function S(){x("dragOverAnimationCapture"),p.captureAnimationState(),p!==m&&m.captureAnimationState()}function B(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!==st.active?Ee=p:p===st.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)&&(Me=null),d.dragoverBubble||e.rootEl||a===document||(be.parentNode[me]._isOutsideThisEl(e.target),!t&&it(e)),!d.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function A(){Se=se(be),Ae=se(be,d.draggable),we({sortable:p,name:"change",toEl:s,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",it),R(document,"mousemove",it),R(document,"touchmove",it)},_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=se(be),Ae=se(be,o.draggable),ye("drop",this,{evt:e}),Se=se(be),Ae=se(be,o.draggable),st.eventCanceled?this._nulling():(Ue=!1,qe=!1,Re=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ut(this.cloneId),ut(this._dragStartId),this.nativeDraggable&&(R(document,"drop",this),R(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),F&&V(document.body,"user-select",""),e&&(Ie&&(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),dt(be),be.style["will-change"]="",Ie&&!Ue&&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})),st.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=Ie=Se=Ae=xe=Be=Me=Ne=Ee=Pe=st.dragged=st.ghost=st.clone=st.active=null,Je.forEach(function(e){e.checked=!0}),Je.length=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)||rt(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=fe.modifyOption(this,e,t);o[e]=void 0!==i?i:t,"group"===e&&et(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(),ze.splice(ze.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Le){if(ye("hideClone",this),st.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),st.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()}},z(document,"touchmove",function(e){(st.active||Ue)&&e.cancelable&&e.preventDefault()}),st.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:ct,cancelNextTick:ut,detectDirection:Ze,getChild:ie},st.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(el));e.utils&&(st.utils=E({},st.utils,e.utils)),fe.mount(e)})},st.create=function(e,t){return new st(e,t)},st.version="1.10.0-rc3";var mt,pt,ht,vt,ft,gt,yt=[],wt=!1;function bt(){yt.forEach(function(e){clearInterval(e.pid)}),yt=[]}function jt(){clearInterval(gt)}var Qt=re(function(e,t,o,i){if(t.scroll){var n,s=t.scrollSensitivity,a=t.scrollSpeed,d=ee(),l=!1;pt!==o&&(pt=o,bt(),mt=t.scroll,n=t.scrollFn,!0===mt&&(mt=de(o,!0)));var r=0,c=mt;do{var u=c,m=te(u),p=m.top,h=m.bottom,v=m.left,f=m.right,g=m.width,y=m.height,w=void 0,b=void 0,j=u.scrollWidth,Q=u.scrollHeight,_=V(u),C=u.scrollLeft,k=u.scrollTop;u===d?(w=g<j&&("auto"===_.overflowX||"scroll"===_.overflowX||"visible"===_.overflowX),b=y<Q&&("auto"===_.overflowY||"scroll"===_.overflowY||"visible"===_.overflowY)):(w=g<j&&("auto"===_.overflowX||"scroll"===_.overflowX),b=y<Q&&("auto"===_.overflowY||"scroll"===_.overflowY));var D=w&&(Math.abs(f-e.clientX)<=s&&C+g<j)-(Math.abs(v-e.clientX)<=s&&!!C),L=b&&(Math.abs(h-e.clientY)<=s&&k+y<Q)-(Math.abs(p-e.clientY)<=s&&!!k);if(!yt[r])for(var x=0;x<=r;x++)yt[x]||(yt[x]={});yt[r].vx==D&&yt[r].vy==L&&yt[r].el===u||(yt[r].el=u,yt[r].vx=D,yt[r].vy=L,clearInterval(yt[r].pid),0==D&&0==L||(l=!0,yt[r].pid=setInterval(function(){i&&0===this.layer&&st.active._onTouchMove(ft);var t=yt[this.layer].vy?yt[this.layer].vy*a:0,o=yt[this.layer].vx?yt[this.layer].vx*a:0;"function"==typeof n&&"continue"!==n.call(st.dragged.parentNode[me],o,t,e,ft,yt[this.layer].el)||ce(yt[this.layer].el,o,t)}.bind({layer:r}),24))),r++}while(t.bubbleScroll&&c!==d&&(c=de(c,!1)));wt=l}},30),_t=function(e){var t=e.originalEvent,o=e.putSortable,i=e.dragEl,n=e.activeSortable,s=e.dispatchSortableEvent,a=e.hideGhostForTarget,d=e.unhideGhostForTarget,l=o||n;a();var r=document.elementFromPoint(t.clientX,t.clientY);d(),l&&!l.el.contains(r)&&(s("spill"),this.onSpill(i))};function Ct(){}function kt(){}Ct.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){this.sortable.captureAnimationState();var t=ie(this.sortable.el,this.startIndex,this.sortable.options);t?this.sortable.el.insertBefore(e,t):this.sortable.el.appendChild(e),this.sortable.animateAll()},drop:_t},P(Ct,{pluginName:"revertOnSpill"}),kt.prototype={onSpill:function(e){this.sortable.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),this.sortable.animateAll()},drop:_t},P(kt,{pluginName:"removeOnSpill"});st.mount(new function(){function e(){for(var e in this.options={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.sortable.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.sortable.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)),jt(),bt(),clearTimeout(J),J=void 0},nulling:function(){ft=pt=mt=wt=gt=ht=vt=null,yt.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,i=e.clientX,n=e.clientY,s=document.elementFromPoint(i,n);if(ft=e,t||M||I||F){Qt(e,this.options,s,t);var a=de(s,!0);!wt||gt&&i===ht&&n===vt||(gt&&jt(),gt=setInterval(function(){var s=de(document.elementFromPoint(i,n),!0);s!==a&&(a=s,bt()),Qt(e,o.options,s,t)},10),ht=i,vt=n)}else{if(!this.sortable.options.bubbleScroll||de(s,!0)===ee())return void bt();Qt(e,this.options,de(s,!1),!1)}}},P(e,{pluginName:"scroll",initializeByDefault:!0})}),st.mount(kt,Ct);var Dt=st;window.onerror=function(e,t,o,i){Et(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> 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){Et(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(),xt(".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");xt(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 Lt=function(){window.dslcDebug&&console.log("hidePublishButton"),jQuery(".dslca-save-composer").hide(),jQuery(".dslca-save-draft-composer").hide()},xt=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 St(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=At(e),o.data("val-bckp",l);for(d=0;d<r.length;d++)jQuery(s,LiveComposer.Builder.PreviewAreaDocument).css(r[d],""),Bt(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=At(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 Bt(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 At(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(),St(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")&&St(jQuery(e.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id"))})});var Pt=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 Et(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 Ot={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},Tt={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},It=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective"],Mt={CSS:{},springs:{}};function Nt(e,t,o){return Math.min(Math.max(e,t),o)}function Ft(e,t){return e.indexOf(t)>-1}function Wt(e,t){return e.apply(null,t)}var Ut={arr:function(e){return Array.isArray(e)},obj:function(e){return Ft(Object.prototype.toString.call(e),"Object")},pth:function(e){return Ut.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||Ut.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 Ut.hex(e)||Ut.rgb(e)||Ut.hsl(e)},key:function(e){return!Ot.hasOwnProperty(e)&&!Tt.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function Ht(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map(function(e){return parseFloat(e)}):[]}function zt(e,t){var o=Ht(e),i=Nt(Ut.und(o[0])?1:o[0],.1,100),n=Nt(Ut.und(o[1])?100:o[1],.1,100),s=Nt(Ut.und(o[2])?10:o[2],.1,100),a=Nt(Ut.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=Mt.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 Mt.springs[e]=n,n}}function Rt(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var o=Nt(e,1,10),i=Nt(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)}}function qt(e){return void 0===e&&(e=10),function(t){return Math.round(t*e)*(1/e)}}var Xt=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;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)}}}(),Yt=function(){var e=["Quad","Cubic","Quart","Quint","Sine","Expo","Circ","Back","Elastic"],t={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],Rt],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(e,t){return function(o){return 1-Rt(e,t)(1-o)}}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(e,t){return function(o){return o<.5?Rt(e,t)(2*o)/2:1-Rt(e,t)(-2*o+2)/2}}]},o={linear:[.25,.25,.75,.75]},i=function(i){t[i].forEach(function(t,n){o["ease"+i+e[n]]=t})};for(var n in t)i(n);return o}();function Jt(e,t){if(Ut.fnc(e))return e;var o=e.split("(")[0],i=Yt[o],n=Ht(e);switch(o){case"spring":return zt(e,t);case"cubicBezier":return Wt(Xt,n);case"steps":return Wt(qt,n);default:return Ut.fnc(i)?Wt(i,n):Wt(Xt,i)}}function Gt(e){try{return document.querySelectorAll(e)}catch(e){return}}function Kt(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 Vt(e){return e.reduce(function(e,t){return e.concat(Ut.arr(t)?Vt(t):t)},[])}function $t(e){return Ut.arr(e)?e:(Ut.str(e)&&(e=Gt(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function Zt(e,t){return e.some(function(e){return e===t})}function eo(e){var t={};for(var o in e)t[o]=e[o];return t}function to(e,t){var o=eo(e);for(var i in e)o[i]=t.hasOwnProperty(i)?t[i]:e[i];return o}function oo(e,t){var o=eo(e);for(var i in t)o[i]=Ut.und(e[i])?t[i]:e[i];return o}function io(e){return Ut.rgb(e)?(o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t=e))?"rgba("+o[1]+",1)":t:Ut.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):Ut.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 no(e){var t=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[2]}function so(e,t){return Ut.fnc(e)?e(t.target,t.id,t.total):e}function ao(e,t){return e.getAttribute(t)}function lo(e,t,o){if(Zt([o,"deg","rad","turn"],no(t)))return t;var i=Mt.CSS[t+o];if(!Ut.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 Mt.CSS[t+o]=d,d}function ro(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?lo(e,n,o):n}}function co(e,t){return Ut.dom(e)&&!Ut.inp(e)&&(ao(e,t)||Ut.svg(e)&&e[t])?"attribute":Ut.dom(e)&&Zt(It,t)?"transform":Ut.dom(e)&&"transform"!==t&&ro(e,t)?"css":null!=e[t]?"object":void 0}function uo(e){if(Ut.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 mo(e,t,o,i){var n=Ft(t,"scale")?1:0+function(e){return Ft(e,"translate")||"perspective"===e?"px":Ft(e,"rotate")||Ft(e,"skew")?"deg":void 0}(t),s=uo(e).get(t)||n;return o&&(o.transforms.list.set(t,s),o.transforms.last=t),i?lo(e,s,i):s}function po(e,t,o,i){switch(co(e,t)){case"transform":return mo(e,t,i,o);case"css":return ro(e,t,o);case"attribute":return ao(e,t);default:return e[t]||0}}function ho(e,t){var o=/^(\*=|\+=|-=)/.exec(e);if(!o)return e;var i=no(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 vo(e,t){if(Ut.col(e))return io(e);var o=no(e),i=o?e.substr(0,e.length-o.length):e;return t&&!/\s/g.test(e)?i+t:i}function fo(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function go(e){for(var t,o=e.points,i=0,n=0;n<o.numberOfItems;n++){var s=o.getItem(n);n>0&&(i+=fo(t,s)),t=s}return i}function yo(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*ao(e,"r")}(e);case"rect":return function(e){return 2*ao(e,"width")+2*ao(e,"height")}(e);case"line":return function(e){return fo({x:ao(e,"x1"),y:ao(e,"y1")},{x:ao(e,"x2"),y:ao(e,"y2")})}(e);case"polyline":return go(e);case"polygon":return function(e){var t=e.points;return go(e)+fo(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function wo(e,t){var o=t||{},i=o.el||function(e){for(var t=e.parentNode;Ut.svg(t)&&(t=t.parentNode,Ut.svg(t.parentNode)););return t}(e),n=i.getBoundingClientRect(),s=ao(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 bo(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=wo(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 jo(e,t){var o=/-?\d*\.?\d+/g,i=vo(Ut.pth(e)?e.totalLength:e,t)+"";return{original:i,numbers:i.match(o)?i.match(o).map(Number):[0],strings:Ut.str(e)||t?i.split(o):[]}}function Qo(e){return Kt(e?Vt(Ut.arr(e)?e.map($t):$t(e)):[],function(e,t,o){return o.indexOf(e)===t})}function _o(e){var t=Qo(e);return t.map(function(e,o){return{target:e,id:o,total:t.length,transforms:{list:uo(e)}}})}function Co(e,t){var o=eo(t);if(/^spring/.test(o.easing)&&(o.duration=zt(o.easing)),Ut.arr(e)){var i=e.length;2===i&&!Ut.obj(e[0])?e={value:e}:Ut.fnc(t.duration)||(o.duration=t.duration/i)}var n=Ut.arr(e)?e:[e];return n.map(function(e,o){var i=Ut.obj(e)&&!Ut.pth(e)?e:{value:e};return Ut.und(i.delay)&&(i.delay=o?0:t.delay),Ut.und(i.endDelay)&&(i.endDelay=o===n.length-1?t.endDelay:0),i}).map(function(e){return oo(e,o)})}function ko(e,t){var o=[],i=t.keyframes;for(var n in i&&(t=oo(function(e){for(var t=Kt(Vt(e.map(function(e){return Object.keys(e)})),function(e){return Ut.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)Ut.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)Ut.key(n)&&o.push({name:n,tweens:Co(t[n],e)});return o}function Do(e,t){var o;return e.tweens.map(function(i){var n=function(e,t){var o={};for(var i in e){var n=so(e[i],t);Ut.arr(n)&&1===(n=n.map(function(e){return so(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=Ut.arr(s)?s[1]:s,d=no(a),l=po(t.target,e.name,d,t),r=o?o.to.original:l,c=Ut.arr(s)?s[0]:r,u=no(c)||no(l),m=d||u;return Ut.und(a)&&(a=r),n.from=jo(c,m),n.to=jo(ho(a,c),m),n.start=o?o.end:0,n.end=n.start+n.delay+n.duration+n.endDelay,n.easing=Jt(n.easing,n.duration),n.isPath=Ut.pth(s),n.isColor=Ut.col(n.from.original),n.isColor&&(n.round=1),o=n,n})}var Lo={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 xo(e,t){_o(e).forEach(function(e){for(var o in t){var i=so(t[o],e),n=e.target,s=no(i),a=po(n,o,s,e),d=ho(vo(i,s||no(a)),a),l=co(n,o);Lo[l](n,o,d,e.transforms,!0)}})}function So(e,t){return Kt(Vt(e.map(function(e){return t.map(function(t){return function(e,t){var o=co(e.target,t.name);if(o){var i=Do(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!Ut.und(e)})}function Bo(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 Ao=0;var Po,Eo=[],Oo=[],To=function(){function e(){Po=requestAnimationFrame(t)}function t(t){var o=Eo.length;if(o){for(var i=0;i<o;){var n=Eo[i];if(n.paused){var s=Eo.indexOf(n);s>-1&&(Eo.splice(s,1),o=Eo.length)}else n.tick(t);i++}e()}else Po=cancelAnimationFrame(Po)}return e}();function Io(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=to(Ot,e),o=to(Tt,e),i=ko(o,e),n=_o(e.targets),s=So(n,i),a=Bo(s,o),d=Ao;return Ao++,oo(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/Io.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=Kt(a,function(t){return e<t.end})[0]||r);for(var c=Nt(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=[],v=r.to.numbers.length,f=void 0,g=0;g<v;g++){var y=void 0,w=r.to.numbers[g],b=r.from.numbers[g]||0;y=r.isPath?bo(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){f=m[0];for(var Q=0;Q<j;Q++){m[Q];var _=m[Q+1],C=h[Q];isNaN(C)||(f+=_?C+_:C+" ")}}else f=h[0];Lo[n.type](s.target,n.property,f,s.transforms),n.currentValue=f,t++}}function h(e){l[e]&&!l.passThrough&&l[e](l)}function v(e){var u=l.duration,v=l.delay,f=u-l.endDelay,g=c(e);l.progress=Nt(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"),h("loopBegin")),g<=v&&0!==l.currentTime&&p(0),(g>=f&&l.currentTime!==u||!u)&&p(u),g>v&&g<f?(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=Nt(g,0,u),l.began&&h("update"),e>=u&&(i=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(o=n,h("loopComplete"),h("loopBegin"),"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.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(0)},l.set=function(e,t){return xo(e,t),l},l.tick=function(e){n=e,o||(o=n),v((n+(i-o))*Io.speed)},l.seek=function(e){v(c(e))},l.pause=function(){l.paused=!0,u()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Eo.push(l),u(),Po||To())},l.reverse=function(){r(),u()},l.restart=function(){l.reset(),l.play()},l.reset(),l.autoplay&&l.play(),l}function Mo(e,t){for(var o=t.length;o--;)Zt(e,t[o].animatable.target)&&t.splice(o,1)}"undefined"!=typeof document&&document.addEventListener("visibilitychange",function(){document.hidden?(Eo.forEach(function(e){return e.pause()}),Oo=Eo.slice(0),Eo=[]):Oo.forEach(function(e){return e.play()})}),Io.version="3.0.1",Io.speed=1,Io.running=Eo,Io.remove=function(e){for(var t=Qo(e),o=Eo.length;o--;){var i=Eo[o],n=i.animations,s=i.children;Mo(t,n);for(var a=s.length;a--;){var d=s[a],l=d.animations;Mo(t,l),l.length||d.children.length||s.splice(a,1)}n.length||s.length||i.pause()}},Io.get=po,Io.set=xo,Io.convertPx=lo,Io.path=function(e,t){var o=Ut.str(e)?Gt(e)[0]:e,i=t||100;return function(e){return{property:e,el:o,svg:wo(o),totalLength:yo(o)*(i/100)}}},Io.setDashoffset=function(e){var t=yo(e);return e.setAttribute("stroke-dasharray",t),t},Io.stagger=function(e,t){void 0===t&&(t={});var o=t.direction||"normal",i=t.easing?Jt(t.easing):null,n=t.grid,s=t.axis,a=t.from||0,d="first"===a,l="center"===a,r="last"===a,c=Ut.arr(e),u=c?parseFloat(e[0]):parseFloat(e),m=c?parseFloat(e[1]):0,p=no(c?e[1]:e)||0,h=t.start||0+(c?u:0),v=[],f=0;return function(e,t,g){if(d&&(a=0),l&&(a=(g-1)/2),r&&(a=g-1),!v.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),v.push(_)}else v.push(Math.abs(a-y));f=Math.max.apply(Math,v)}i&&(v=v.map(function(e){return i(e/f)*f})),"reverse"===o&&(v=v.map(function(e){return s?e<0?-1*e:-e:Math.abs(f-e)}))}return h+(c?(m-u)/f:u)*(Math.round(100*v[t])/100)+p}},Io.timeline=function(e){void 0===e&&(e={});var t=Io(e);return t.duration=0,t.add=function(o,i){var n=Eo.indexOf(t),s=t.children;function a(e){e.passThrough=!0}n>-1&&Eo.splice(n,1);for(var d=0;d<s.length;d++)a(s[d]);var l=oo(o,to(Tt,e));l.targets=l.targets||e.targets;var r=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=Ut.und(i)?r:ho(i,r),a(t),t.seek(l.timelineOffset);var c=Io(l);a(c),s.push(c);var u=Bo(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},Io.easing=Jt,Io.penner=Yt,Io.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var No=Io,Fo=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};document.addEventListener("moduleDuplicate",function(e){var t=e.detail;if(!Fo())return!1;t.classList.contains("dslca-action-disabled")||Uo(t.closest(".dslc-module-front"))}),document.addEventListener("moduleDelete",function(e){var t=e.detail;if(!Fo())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");xt(".dslca-modules"),No({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;Wo(),t.classList.add("dslca-module-being-edited"),zo(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 Wo=function(){var e=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(".dslca-module-being-edited");null!==e&&e.classList.remove("dslca-module-being-edited")};function Uo(e){window.dslcDebug&&console.log("dslc_copy_module"),Wo();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"),Ho(t),window.dslc_generate_code(),No({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 Ho=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 zo(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(),Lt();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(),xt(".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()})}var Ro=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)})};var qo=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")})},Xo=function(){var e,t,o,i=jQuery(".dslca-modules .dslca-section-scroller-content");0==i.length&&(i=[document.createElement("div")]);Dt.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")}})},Yo=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=Dt.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")&&(Jo(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 Yo(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():Zo(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 Yo(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);Ho(e[0]),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),window.dslc_generate_code(),e.animate({opacity:1},300)}),Xo(),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");Go(o)}else{var i=jQuery(this);n({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){Go(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;Jo(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))})});var Jo=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 Yo(t)}),Xo(),window.dslc_generate_code(),window.dslc_show_publish_button()};function Go(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(),xt(".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(),Jo(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 Ko=function(){jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){"initialized"!==jQuery(this).data("jsinit")&&new Yo(this)})};function Vo(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 $o=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")&&Jo(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&&Jo(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(){})}}])&&Vo(t.prototype,o),i&&Vo(t,i),e}(),Zo=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 ei(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),ei(i.output),e&&e(),t})};function ei(e){var t=jQuery(e);return t.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main")),Xo(),window.dslc_generate_code(),window.dslc_show_publish_button(),new $o(t),new Yo(t.find(".dslc-modules-area").eq(0)[0]),t.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col"),t}function ti(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(),xt(".dslca-modules")),e.trigger("mouseleave").remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}function oi(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())}),xt(".dslca-modules-section-edit"),LiveComposer.Builder.Flags.panelOpened=!0,Lt()}function ii(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 $o(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);Ho(e[0]),si(),Ko(),window.dslc_generate_code(),Xo(),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 ni(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(),si(),Ko(),Xo(),window.dslc_generate_code(),window.dslc_show_publish_button()})}var si=function(){jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){"initialized"!==jQuery(this).data("jsinit")&&new $o(this)})},ai=function(){si(),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 $o(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(){ti(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(){ni(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")||ii(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"),Zo(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")||oi(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())}),xt(".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(),xt(".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 di(){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(),Xo(),window.dslc_show_publish_button(),window.dslc_generate_code()})}function li(){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 ri(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 ci=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(),si(),Ko(),Xo(),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(),di()}),jQuery(".dslca-template-save-form").submit(function(e){e.preventDefault(),li()}),jQuery(document).on("click",".dslca-delete-template-hook",function(e){e.stopPropagation(),ri(jQuery(this).data("id"))})};function ui(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 mi=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=Dt.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}}])&&ui(t.prototype,o),i&&ui(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 pi=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 hi(e){return(hi="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){pi(),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 vi={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"==hi(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)}),ci(),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()}(),ai();var t=LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];new mi(t),jQuery(document).trigger("editorFrameLoaded"),Xo(),l(),window.dslc_generate_code(),Pt(),pi(),qo(),window.LiveComposer.Utils=vi,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
|
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> 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
|
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},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(){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 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)}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,v=p.concat(h),f=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,o=jQuery(\".dslca-module-edit-field-ttip\"),i=o.find(\".dslca-module-edit-field-ttip-inner\"),n=jQuery(this);if(t=n.parent(),e=t.parent().hasClass(\"dslca-modules-section-edit-option\")?n.closest(\".dslca-modules-section-edit-option\").find(\".dslca-module-edit-field-ttip-content\").html():n.closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field-ttip-content\").html(),o.is(\":visible\"))jQuery(\".dslca-module-edit-field-ttip\").hide();else{i.html(e);var s=n.offset(),a=o.outerHeight(),d=o.outerWidth(),l=s.left-d/2+6,r=\"50%\";l<0&&(r=d/2+l+\"px\",l=0),jQuery(\".dslca-module-edit-field-ttip\").show().css({top:s.top-a-20,left:l}),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(),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>\"))}}),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=v.indexOf(o.val()),n=i+1;jQuery(\".dslca-module-edit-field-font-suggest\",t).text(\"\"),o.val(v[n]).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=v.indexOf(o.val()),n=i-1;jQuery(\".dslca-module-edit-field-font-suggest\",t).text(\"\"),n<0&&(n=v.length-1),o.val(v[n]).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,s=!1;if(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(),13!=e.which&&38!=e.which&&40!=e.which){i=t.val();var a=new RegExp(\"^\"+i,\"i\"),d=v.length,l=0;do{if(a.test(v[l])&&!s)var s=v[l];l++}while(l<d);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).on(\"keypress\",\".dslca-module-edit-field-font\",function(e){var t,o;13==e.which&&(e.preventDefault(),t=jQuery(this),o=t.closest(\".dslca-module-edit-option\"),jQuery(this).val(jQuery(\".dslca-module-edit-field-font-suggest\",o).text()).trigger(\"change\"),jQuery(\".dslca-module-edit-field-font-suggest\",o).text(\"\"))}),jQuery(document).on(\"keyup\",\".dslca-module-edit-field-icon\",function(e){var t,o,i,n,s;t=jQuery(this),o=t.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(f,function(e,t){return 0==e.indexOf(i)}),s=n[0],jQuery(\".dslca-module-edit-field-icon-suggest\",o).text(s))}),jQuery(document).on(\"keypress\",\".dslca-module-edit-field-icon\",function(e){var t,o;13==e.which&&(e.preventDefault(),t=jQuery(this),o=t.closest(\".dslca-module-edit-option\"),jQuery(this).val(jQuery(\".dslca-module-edit-field-icon-suggest\",o).text()).trigger(\"change\"),jQuery(\".dslca-module-edit-field-icon-suggest\",o).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(),i=e.find(\".dslca-module-edit-option-text-shadow-ver\").val(),n=e.find(\".dslca-module-edit-option-text-shadow-blur\").val(),s=e.find(\".dslca-module-edit-option-text-shadow-color\").val(),a=o+\"px \"+i+\"px \"+n+\"px \"+s;t.val(a).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(),Ro()}),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(),Ro(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\"),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(),Ro(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(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 v=\"\";v=-1!==i.indexOf(\"css_\")?c:o.val(),jQuery('.dslca-module-option-front[data-id=\"'+i+'\"]',s).val(v),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 v=jQuery(\"#dslc-section-dividers\",LiveComposer.Builder.PreviewAreaWindow.document).find(\"svg#\"+i).clone();jQuery('.dslc-section-divider[data-divider-pos=\"'+p+'\"]',o).html(v[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 f=\"url('\"+jQuery(\"#dslca-post-data-thumb\").val()+\"')\";d.css(s,f)}}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(),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(),Ro(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,v=!0,f=!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\")||(v=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"icon\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"icon\"]').is(\":checked\")&&(f=!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(),v?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(),f?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\"),Ro(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()})),xt(\".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),Ro(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()}),xt(\".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=f.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=f.length-1),i.val(f[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 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.0-rc3\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={},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}function T(e){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=\"\";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,v=p&&p.d;p&&(l=(a/=v)+(c/=v),r=(d/=h)+(u/=h))}return{top:a,left:d,bottom:l,right:r,width:u,height:c}}}function oe(e,t,o,i){for(var n=de(e,!0),s=(t||te(e))[o];n;){var a=te(n)[i];if(!(\"top\"===i||\"left\"===i?s>=a:s<=a))return n;if(n===ee())break;n=de(n,!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]!==st.ghost&&s[n]!==st.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===st.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===st.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!==st.ghost){t.push({target:e,rect:te(e)});var o=te(e);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,(oe(o,d,\"bottom\",\"top\")||oe(o,d,\"top\",\"bottom\")||oe(o,d,\"right\",\"left\")||oe(o,d,\"left\",\"right\"))&&(oe(o,c,\"bottom\",\"top\")||oe(o,c,\"top\",\"bottom\")||oe(o,c,\"right\",\"left\")||oe(o,c,\"left\",\"right\"))&&(oe(o,a,\"bottom\",\"top\")||oe(o,a,\"top\",\"bottom\")||oe(o,a,\"right\",\"left\")||oe(o,a,\"left\",\"right\"))||(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,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){if(o){V(e,\"transition\",\"\"),V(e,\"transform\",\"\");var i=te(e),n=$(this.el),s=n&&n.a,a=n&&n.d,d=(t.left-i.left)/(s||1),l=(t.top-i.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 \"+o+\"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},o)}}}}var he=[],ve={initializeByDefault:!0},fe={mount:function(e){for(var t in ve)!ve.hasOwnProperty(t)||t in e||(e[t]=ve[t]);he.push(e)},pluginEvent:function(e,t,o){var i=this;this.eventCanceled=!1;var n=e+\"Global\";he.forEach(function(s){t[s.pluginName]&&(t[s.pluginName][n]&&(i.eventCanceled=!!t[s.pluginName][n](E({sortable:t},o))),t.options[s.pluginName]&&t[s.pluginName][e]&&(i.eventCanceled=i.eventCanceled||!!t[s.pluginName][e](E({sortable:t},o))))})},initializePlugins:function(e,t,o){for(var i in he.forEach(function(i){var n=i.pluginName;if(e.options[n]||i.initializeByDefault){var s=new i(e,t);s.sortable=e,e[n]=s,P(o,s.options)}}),e.options)if(e.options.hasOwnProperty(i)){var n=this.modifyOption(e,i,e.options[i]);void 0!==n&&(e.options[i]=n)}},getEventOptions:function(e,t){var o={};return he.forEach(function(i){\"function\"==typeof i.eventOptions&&P(o,i.eventOptions.call(t,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,o=e.sortable,i=e.rootEl,n=e.name,s=e.targetEl,a=e.cloneEl,d=e.toEl,l=e.fromEl,r=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,m=e.newDraggableIndex,p=e.originalEvent,h=e.putSortable,v=e.eventOptions,f=(o=o||i[me]).options,g=\"on\"+n.charAt(0).toUpperCase()+n.substr(1);!window.CustomEvent||I||M?(t=document.createEvent(\"Event\")).initEvent(n,!0,!0):t=new CustomEvent(n,{bubbles:!0,cancelable:!0}),t.to=d||i,t.from=l||i,t.item=s||i,t.clone=a,t.oldIndex=r,t.newIndex=c,t.oldDraggableIndex=u,t.newDraggableIndex=m,t.originalEvent=p,t.pullMode=h?h.lastPutMode:void 0;var y=E({},v,fe.getEventOptions(n,o));for(var w in y)t[w]=y[w];i&&i.dispatchEvent(t),f[g]&&f[g].call(o,t)}var ye=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.evt,n=O(o,[\"evt\"]);fe.pluginEvent.bind(st)(e,t,E({dragEl:be,parentEl:je,ghostEl:Qe,rootEl:_e,nextEl:Ce,lastDownEl:ke,cloneEl:De,cloneHidden:Le,dragStarted:Ie,putSortable:Ee,activeSortable:st.active,originalEvent:i,oldIndex:xe,oldDraggableIndex:Be,newIndex:Se,newDraggableIndex:Ae,hideGhostForTarget:tt,unhideGhostForTarget:ot,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))}if(\"undefined\"==typeof window||!window.document)throw new Error(\"Sortable.js requires a window with a document\");var be,je,Qe,_e,Ce,ke,De,Le,xe,Se,Be,Ae,Pe,Ee,Oe,Te,Ie,Me,Ne,Fe,We,Ue=!1,He=!1,ze=[],Re=!1,qe=!1,Xe=[],Ye=!1,Je=[],Ge=W,Ke=M||I?\"cssFloat\":\"float\",Ve=!U&&!W&&\"draggable\"in document.createElement(\"div\"),$e=function(){if(I)return!1;var e=document.createElement(\"x\");return e.style.cssText=\"pointer-events:auto\",\"auto\"===e.style.pointerEvents}(),Ze=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&&\"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[Ke]||s&&\"none\"===o[Ke]&&l+r>i)?\"vertical\":\"horizontal\"},et=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\"==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},tt=function(){!$e&&Qe&&V(Qe,\"display\",\"none\")},ot=function(){!$e&&Qe&&V(Qe,\"display\",\"\")};document.addEventListener(\"click\",function(e){if(He)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),He=!1,!1},!0);var it=function(e){if(be){e=e.touches?e.touches[0]:e;var t=(n=e.clientX,s=e.clientY,ze.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},nt=function(e){be&&be.parentNode[me]._isOutsideThisEl(e.target)};function st(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 Ze(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!==st.supportPointer&&\"PointerEvent\"in window,emptyInsertThreshold:5};for(var i in fe.initializePlugins(this,e,o),o)!(i in t)&&(t[i]=o[i]);for(var n in et(t),this)\"_\"===n.charAt(0)&&\"function\"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&Ve,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)),ze.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),P(this,pe())}function at(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 dt(e){e.draggable=!1}function lt(){Ye=!1}function rt(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 ct(e){return setTimeout(e,0)}function ut(e){return clearTimeout(e)}st.prototype={constructor:st,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Me=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],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){Je.length=0;var t=e.getElementsByTagName(\"input\"),o=t.length;for(;o--;){var i=t[o];i.checked&&Je.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),Be=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)if(_e=s,je=(be=o).parentNode,Ce=be.nextSibling,ke=o,Pe=a.group,st.dragged=be,Oe={target:be,clientX:(t||e).clientX,clientY:(t||e).clientY},this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,be.style[\"will-change\"]=\"all\",i=function(){ye(\"delayEnded\",n,{evt:e}),st.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(),dt)}),z(d,\"dragover\",it),z(d,\"mousemove\",it),z(d,\"touchmove\",it),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(st.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&&dt(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?ct(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(Ue=!1,_e&&be){ye(\"dragStarted\",this,{evt:t}),this.nativeDraggable&&z(document,\"dragover\",nt);var o=this.options;!e&&K(be,o.dragClass,!1),K(be,o.ghostClass,!0),st.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,tt();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);ot()}},_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=Ge&&We&&ae(We),r=(n.clientX-Oe.clientX+i.x)/(a||1)+(l?l[0]-Xe[0]:0)/(a||1),c=(n.clientY-Oe.clientY+i.y)/(d||1)+(l?l[1]-Xe[1]:0)/(d||1),u=e.touches?\"translate3d(\"+r+\"px,\"+c+\"px,0)\":\"translate(\"+r+\"px,\"+c+\"px)\";if(!st.active&&!Ue){if(o&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}Te=n,V(Qe,\"webkitTransform\",u),V(Qe,\"mozTransform\",u),V(Qe,\"msTransform\",u),V(Qe,\"transform\",u),e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Qe){var e=this.options.fallbackOnBody?document.body:_e,t=te(be,!0,Ge,!0,e),o=this.options;if(Ge){for(We=e;\"static\"===V(We,\"position\")&&\"none\"===V(We,\"transform\")&&We!==document;)We=We.parentNode;We!==document.body&&We!==document.documentElement?(We===document&&(We=ee()),t.top+=We.scrollTop,t.left+=We.scrollLeft):We=ee(),Xe=ae(We)}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\",Ge?\"absolute\":\"fixed\"),V(Qe,\"zIndex\",\"100000\"),V(Qe,\"pointerEvents\",\"none\"),st.ghost=Qe,e.appendChild(Qe)}},_onDragStart:function(e,t){var o=this,i=e.dataTransfer,n=o.options;ye(\"dragStart\",this,{evt:e}),st.eventCanceled?this._onDrop():(ye(\"setupClone\",this),st.eventCanceled||((De=ue(be)).draggable=!1,De.style[\"will-change\"]=\"\",this._hideClone(),K(De,this.options.chosenClass,!1),st.clone=De),o.cloneId=ct(function(){ye(\"clone\",o),st.eventCanceled||(o.options.removeCloneOnHide||_e.insertBefore(De,be),o._hideClone(),we({sortable:o,name:\"clone\"}))}),!t&&K(be,n.dragClass,!0),t?(He=!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)\")),Ue=!0,o._dragStartId=ct(o._dragStarted.bind(o,t,e)),z(document,\"selectstart\",o),Ie=!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=st.active,c=Pe===l,u=d.sort,m=Ee||r,p=this,h=!1;if(!Ye){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=Y(a,d.draggable,s,!0),x(\"dragOver\"),st.eventCanceled)return h;if(be.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return B(!1);if(He=!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\"),st.eventCanceled)return h;if(i)return je=_e,S(),this._hideClone(),x(\"revert\"),st.eventCanceled||(Ce?_e.insertBefore(be,Ce):_e.appendChild(be)),B(!0);var v=ne(s,d.draggable);if(!v||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)&&!v.animated){if(v===be)return B(!1);if(v&&s===e.target&&(a=v),a&&(o=te(a)),!1!==at(_e,s,be,t,a,o,e,!!a))return S(),s.appendChild(be),je=s,A(),B(!0)}else if(a.parentNode===s){o=te(a);var f,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,null,\"top\",\"top\")||oe(be,null,\"top\",\"top\"),_=Q?Q.scrollTop:void 0;if(Me!==a&&(g=o[j],Re=!1,qe=!b&&d.invertSwap||w),0!==(f=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&&Fe<r*n){if(!Re&&(1===Ne?l>c+r*s/2:l<u-r*s/2)&&(Re=!0),Re)m=!0;else if(1===Ne?l<c+Fe:l>u-Fe)return-Ne}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,qe,Me===a))){var C=se(be);do{C-=f,y=je.children[C]}while(y&&(\"none\"===V(y,\"display\")||y===Qe))}if(0===f||y===a)return B(!1);Me=a,Ne=f;var k=a.nextElementSibling,D=!1,L=at(_e,s,be,t,a,o,e,D=1===f);if(!1!==L)return 1!==L&&-1!==L||(D=1===L),Ye=!0,setTimeout(lt,30),S(),D&&!k?s.appendChild(be):a.parentNode.insertBefore(be,D?k:a),Q&&ce(Q,0,_-Q.scrollTop),je=be.parentNode,void 0===g||qe||(Fe=Math.abs(g-te(a)[j])),A(),B(!0)}if(s.contains(be))return B(!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:B,onMove:function(o,i){return at(_e,s,be,t,o,te(o),e,i)},changed:A},l))}function S(){x(\"dragOverAnimationCapture\"),p.captureAnimationState(),p!==m&&m.captureAnimationState()}function B(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!==st.active?Ee=p:p===st.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)&&(Me=null),d.dragoverBubble||e.rootEl||a===document||(be.parentNode[me]._isOutsideThisEl(e.target),!t&&it(e)),!d.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function A(){Se=se(be),Ae=se(be,d.draggable),we({sortable:p,name:\"change\",toEl:s,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\",it),R(document,\"mousemove\",it),R(document,\"touchmove\",it)},_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=se(be),Ae=se(be,o.draggable),ye(\"drop\",this,{evt:e}),Se=se(be),Ae=se(be,o.draggable),st.eventCanceled?this._nulling():(Ue=!1,qe=!1,Re=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ut(this.cloneId),ut(this._dragStartId),this.nativeDraggable&&(R(document,\"drop\",this),R(t,\"dragstart\",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),F&&V(document.body,\"user-select\",\"\"),e&&(Ie&&(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),dt(be),be.style[\"will-change\"]=\"\",Ie&&!Ue&&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})),st.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=Ie=Se=Ae=xe=Be=Me=Ne=Ee=Pe=st.dragged=st.ghost=st.clone=st.active=null,Je.forEach(function(e){e.checked=!0}),Je.length=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)||rt(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=fe.modifyOption(this,e,t);o[e]=void 0!==i?i:t,\"group\"===e&&et(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(),ze.splice(ze.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Le){if(ye(\"hideClone\",this),st.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),st.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()}},z(document,\"touchmove\",function(e){(st.active||Ue)&&e.cancelable&&e.preventDefault()}),st.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:ct,cancelNextTick:ut,detectDirection:Ze,getChild:ie},st.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(el));e.utils&&(st.utils=E({},st.utils,e.utils)),fe.mount(e)})},st.create=function(e,t){return new st(e,t)},st.version=\"1.10.0-rc3\";var mt,pt,ht,vt,ft,gt,yt=[],wt=!1;function bt(){yt.forEach(function(e){clearInterval(e.pid)}),yt=[]}function jt(){clearInterval(gt)}var Qt=re(function(e,t,o,i){if(t.scroll){var n,s=t.scrollSensitivity,a=t.scrollSpeed,d=ee(),l=!1;pt!==o&&(pt=o,bt(),mt=t.scroll,n=t.scrollFn,!0===mt&&(mt=de(o,!0)));var r=0,c=mt;do{var u=c,m=te(u),p=m.top,h=m.bottom,v=m.left,f=m.right,g=m.width,y=m.height,w=void 0,b=void 0,j=u.scrollWidth,Q=u.scrollHeight,_=V(u),C=u.scrollLeft,k=u.scrollTop;u===d?(w=g<j&&(\"auto\"===_.overflowX||\"scroll\"===_.overflowX||\"visible\"===_.overflowX),b=y<Q&&(\"auto\"===_.overflowY||\"scroll\"===_.overflowY||\"visible\"===_.overflowY)):(w=g<j&&(\"auto\"===_.overflowX||\"scroll\"===_.overflowX),b=y<Q&&(\"auto\"===_.overflowY||\"scroll\"===_.overflowY));var D=w&&(Math.abs(f-e.clientX)<=s&&C+g<j)-(Math.abs(v-e.clientX)<=s&&!!C),L=b&&(Math.abs(h-e.clientY)<=s&&k+y<Q)-(Math.abs(p-e.clientY)<=s&&!!k);if(!yt[r])for(var x=0;x<=r;x++)yt[x]||(yt[x]={});yt[r].vx==D&&yt[r].vy==L&&yt[r].el===u||(yt[r].el=u,yt[r].vx=D,yt[r].vy=L,clearInterval(yt[r].pid),0==D&&0==L||(l=!0,yt[r].pid=setInterval(function(){i&&0===this.layer&&st.active._onTouchMove(ft);var t=yt[this.layer].vy?yt[this.layer].vy*a:0,o=yt[this.layer].vx?yt[this.layer].vx*a:0;\"function\"==typeof n&&\"continue\"!==n.call(st.dragged.parentNode[me],o,t,e,ft,yt[this.layer].el)||ce(yt[this.layer].el,o,t)}.bind({layer:r}),24))),r++}while(t.bubbleScroll&&c!==d&&(c=de(c,!1)));wt=l}},30),_t=function(e){var t=e.originalEvent,o=e.putSortable,i=e.dragEl,n=e.activeSortable,s=e.dispatchSortableEvent,a=e.hideGhostForTarget,d=e.unhideGhostForTarget,l=o||n;a();var r=document.elementFromPoint(t.clientX,t.clientY);d(),l&&!l.el.contains(r)&&(s(\"spill\"),this.onSpill(i))};function Ct(){}function kt(){}Ct.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){this.sortable.captureAnimationState();var t=ie(this.sortable.el,this.startIndex,this.sortable.options);t?this.sortable.el.insertBefore(e,t):this.sortable.el.appendChild(e),this.sortable.animateAll()},drop:_t},P(Ct,{pluginName:\"revertOnSpill\"}),kt.prototype={onSpill:function(e){this.sortable.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),this.sortable.animateAll()},drop:_t},P(kt,{pluginName:\"removeOnSpill\"});st.mount(new function(){function e(){for(var e in this.options={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.sortable.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.sortable.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)),jt(),bt(),clearTimeout(J),J=void 0},nulling:function(){ft=pt=mt=wt=gt=ht=vt=null,yt.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,i=e.clientX,n=e.clientY,s=document.elementFromPoint(i,n);if(ft=e,t||M||I||F){Qt(e,this.options,s,t);var a=de(s,!0);!wt||gt&&i===ht&&n===vt||(gt&&jt(),gt=setInterval(function(){var s=de(document.elementFromPoint(i,n),!0);s!==a&&(a=s,bt()),Qt(e,o.options,s,t)},10),ht=i,vt=n)}else{if(!this.sortable.options.bubbleScroll||de(s,!0)===ee())return void bt();Qt(e,this.options,de(s,!1),!1)}}},P(e,{pluginName:\"scroll\",initializeByDefault:!0})}),st.mount(kt,Ct);var Dt=st;window.onerror=function(e,t,o,i){Et(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> 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){Et(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(),xt(\".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\");xt(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 Lt=function(){window.dslcDebug&&console.log(\"hidePublishButton\"),jQuery(\".dslca-save-composer\").hide(),jQuery(\".dslca-save-draft-composer\").hide()},xt=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 St(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=At(e),o.data(\"val-bckp\",l);for(d=0;d<r.length;d++)jQuery(s,LiveComposer.Builder.PreviewAreaDocument).css(r[d],\"\"),Bt(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=At(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 Bt(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 At(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(),St(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\")&&St(jQuery(e.target).closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field\").data(\"id\"))})});var Pt=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 Et(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 Ot={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:\"normal\",autoplay:!0,timelineOffset:0},Tt={duration:1e3,delay:0,endDelay:0,easing:\"easeOutElastic(1, .5)\",round:0},It=[\"translateX\",\"translateY\",\"translateZ\",\"rotate\",\"rotateX\",\"rotateY\",\"rotateZ\",\"scale\",\"scaleX\",\"scaleY\",\"scaleZ\",\"skew\",\"skewX\",\"skewY\",\"perspective\"],Mt={CSS:{},springs:{}};function Nt(e,t,o){return Math.min(Math.max(e,t),o)}function Ft(e,t){return e.indexOf(t)>-1}function Wt(e,t){return e.apply(null,t)}var Ut={arr:function(e){return Array.isArray(e)},obj:function(e){return Ft(Object.prototype.toString.call(e),\"Object\")},pth:function(e){return Ut.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||Ut.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 Ut.hex(e)||Ut.rgb(e)||Ut.hsl(e)},key:function(e){return!Ot.hasOwnProperty(e)&&!Tt.hasOwnProperty(e)&&\"targets\"!==e&&\"keyframes\"!==e}};function Ht(e){var t=/\\(([^)]+)\\)/.exec(e);return t?t[1].split(\",\").map(function(e){return parseFloat(e)}):[]}function zt(e,t){var o=Ht(e),i=Nt(Ut.und(o[0])?1:o[0],.1,100),n=Nt(Ut.und(o[1])?100:o[1],.1,100),s=Nt(Ut.und(o[2])?10:o[2],.1,100),a=Nt(Ut.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=Mt.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 Mt.springs[e]=n,n}}function Rt(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var o=Nt(e,1,10),i=Nt(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)}}function qt(e){return void 0===e&&(e=10),function(t){return Math.round(t*e)*(1/e)}}var Xt=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;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)}}}(),Yt=function(){var e=[\"Quad\",\"Cubic\",\"Quart\",\"Quint\",\"Sine\",\"Expo\",\"Circ\",\"Back\",\"Elastic\"],t={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],Rt],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(e,t){return function(o){return 1-Rt(e,t)(1-o)}}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(e,t){return function(o){return o<.5?Rt(e,t)(2*o)/2:1-Rt(e,t)(-2*o+2)/2}}]},o={linear:[.25,.25,.75,.75]},i=function(i){t[i].forEach(function(t,n){o[\"ease\"+i+e[n]]=t})};for(var n in t)i(n);return o}();function Jt(e,t){if(Ut.fnc(e))return e;var o=e.split(\"(\")[0],i=Yt[o],n=Ht(e);switch(o){case\"spring\":return zt(e,t);case\"cubicBezier\":return Wt(Xt,n);case\"steps\":return Wt(qt,n);default:return Ut.fnc(i)?Wt(i,n):Wt(Xt,i)}}function Gt(e){try{return document.querySelectorAll(e)}catch(e){return}}function Kt(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 Vt(e){return e.reduce(function(e,t){return e.concat(Ut.arr(t)?Vt(t):t)},[])}function $t(e){return Ut.arr(e)?e:(Ut.str(e)&&(e=Gt(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function Zt(e,t){return e.some(function(e){return e===t})}function eo(e){var t={};for(var o in e)t[o]=e[o];return t}function to(e,t){var o=eo(e);for(var i in e)o[i]=t.hasOwnProperty(i)?t[i]:e[i];return o}function oo(e,t){var o=eo(e);for(var i in t)o[i]=Ut.und(e[i])?t[i]:e[i];return o}function io(e){return Ut.rgb(e)?(o=/rgb\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.exec(t=e))?\"rgba(\"+o[1]+\",1)\":t:Ut.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):Ut.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 no(e){var t=/([\\+\\-]?[0-9#\\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[2]}function so(e,t){return Ut.fnc(e)?e(t.target,t.id,t.total):e}function ao(e,t){return e.getAttribute(t)}function lo(e,t,o){if(Zt([o,\"deg\",\"rad\",\"turn\"],no(t)))return t;var i=Mt.CSS[t+o];if(!Ut.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 Mt.CSS[t+o]=d,d}function ro(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?lo(e,n,o):n}}function co(e,t){return Ut.dom(e)&&!Ut.inp(e)&&(ao(e,t)||Ut.svg(e)&&e[t])?\"attribute\":Ut.dom(e)&&Zt(It,t)?\"transform\":Ut.dom(e)&&\"transform\"!==t&&ro(e,t)?\"css\":null!=e[t]?\"object\":void 0}function uo(e){if(Ut.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 mo(e,t,o,i){var n=Ft(t,\"scale\")?1:0+function(e){return Ft(e,\"translate\")||\"perspective\"===e?\"px\":Ft(e,\"rotate\")||Ft(e,\"skew\")?\"deg\":void 0}(t),s=uo(e).get(t)||n;return o&&(o.transforms.list.set(t,s),o.transforms.last=t),i?lo(e,s,i):s}function po(e,t,o,i){switch(co(e,t)){case\"transform\":return mo(e,t,i,o);case\"css\":return ro(e,t,o);case\"attribute\":return ao(e,t);default:return e[t]||0}}function ho(e,t){var o=/^(\\*=|\\+=|-=)/.exec(e);if(!o)return e;var i=no(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 vo(e,t){if(Ut.col(e))return io(e);var o=no(e),i=o?e.substr(0,e.length-o.length):e;return t&&!/\\s/g.test(e)?i+t:i}function fo(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function go(e){for(var t,o=e.points,i=0,n=0;n<o.numberOfItems;n++){var s=o.getItem(n);n>0&&(i+=fo(t,s)),t=s}return i}function yo(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case\"circle\":return function(e){return 2*Math.PI*ao(e,\"r\")}(e);case\"rect\":return function(e){return 2*ao(e,\"width\")+2*ao(e,\"height\")}(e);case\"line\":return function(e){return fo({x:ao(e,\"x1\"),y:ao(e,\"y1\")},{x:ao(e,\"x2\"),y:ao(e,\"y2\")})}(e);case\"polyline\":return go(e);case\"polygon\":return function(e){var t=e.points;return go(e)+fo(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function wo(e,t){var o=t||{},i=o.el||function(e){for(var t=e.parentNode;Ut.svg(t)&&(t=t.parentNode,Ut.svg(t.parentNode)););return t}(e),n=i.getBoundingClientRect(),s=ao(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 bo(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=wo(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 jo(e,t){var o=/-?\\d*\\.?\\d+/g,i=vo(Ut.pth(e)?e.totalLength:e,t)+\"\";return{original:i,numbers:i.match(o)?i.match(o).map(Number):[0],strings:Ut.str(e)||t?i.split(o):[]}}function Qo(e){return Kt(e?Vt(Ut.arr(e)?e.map($t):$t(e)):[],function(e,t,o){return o.indexOf(e)===t})}function _o(e){var t=Qo(e);return t.map(function(e,o){return{target:e,id:o,total:t.length,transforms:{list:uo(e)}}})}function Co(e,t){var o=eo(t);if(/^spring/.test(o.easing)&&(o.duration=zt(o.easing)),Ut.arr(e)){var i=e.length;2===i&&!Ut.obj(e[0])?e={value:e}:Ut.fnc(t.duration)||(o.duration=t.duration/i)}var n=Ut.arr(e)?e:[e];return n.map(function(e,o){var i=Ut.obj(e)&&!Ut.pth(e)?e:{value:e};return Ut.und(i.delay)&&(i.delay=o?0:t.delay),Ut.und(i.endDelay)&&(i.endDelay=o===n.length-1?t.endDelay:0),i}).map(function(e){return oo(e,o)})}function ko(e,t){var o=[],i=t.keyframes;for(var n in i&&(t=oo(function(e){for(var t=Kt(Vt(e.map(function(e){return Object.keys(e)})),function(e){return Ut.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)Ut.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)Ut.key(n)&&o.push({name:n,tweens:Co(t[n],e)});return o}function Do(e,t){var o;return e.tweens.map(function(i){var n=function(e,t){var o={};for(var i in e){var n=so(e[i],t);Ut.arr(n)&&1===(n=n.map(function(e){return so(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=Ut.arr(s)?s[1]:s,d=no(a),l=po(t.target,e.name,d,t),r=o?o.to.original:l,c=Ut.arr(s)?s[0]:r,u=no(c)||no(l),m=d||u;return Ut.und(a)&&(a=r),n.from=jo(c,m),n.to=jo(ho(a,c),m),n.start=o?o.end:0,n.end=n.start+n.delay+n.duration+n.endDelay,n.easing=Jt(n.easing,n.duration),n.isPath=Ut.pth(s),n.isColor=Ut.col(n.from.original),n.isColor&&(n.round=1),o=n,n})}var Lo={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 xo(e,t){_o(e).forEach(function(e){for(var o in t){var i=so(t[o],e),n=e.target,s=no(i),a=po(n,o,s,e),d=ho(vo(i,s||no(a)),a),l=co(n,o);Lo[l](n,o,d,e.transforms,!0)}})}function So(e,t){return Kt(Vt(e.map(function(e){return t.map(function(t){return function(e,t){var o=co(e.target,t.name);if(o){var i=Do(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!Ut.und(e)})}function Bo(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 Ao=0;var Po,Eo=[],Oo=[],To=function(){function e(){Po=requestAnimationFrame(t)}function t(t){var o=Eo.length;if(o){for(var i=0;i<o;){var n=Eo[i];if(n.paused){var s=Eo.indexOf(n);s>-1&&(Eo.splice(s,1),o=Eo.length)}else n.tick(t);i++}e()}else Po=cancelAnimationFrame(Po)}return e}();function Io(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=to(Ot,e),o=to(Tt,e),i=ko(o,e),n=_o(e.targets),s=So(n,i),a=Bo(s,o),d=Ao;return Ao++,oo(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/Io.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=Kt(a,function(t){return e<t.end})[0]||r);for(var c=Nt(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=[],v=r.to.numbers.length,f=void 0,g=0;g<v;g++){var y=void 0,w=r.to.numbers[g],b=r.from.numbers[g]||0;y=r.isPath?bo(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){f=m[0];for(var Q=0;Q<j;Q++){m[Q];var _=m[Q+1],C=h[Q];isNaN(C)||(f+=_?C+_:C+\" \")}}else f=h[0];Lo[n.type](s.target,n.property,f,s.transforms),n.currentValue=f,t++}}function h(e){l[e]&&!l.passThrough&&l[e](l)}function v(e){var u=l.duration,v=l.delay,f=u-l.endDelay,g=c(e);l.progress=Nt(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\"),h(\"loopBegin\")),g<=v&&0!==l.currentTime&&p(0),(g>=f&&l.currentTime!==u||!u)&&p(u),g>v&&g<f?(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=Nt(g,0,u),l.began&&h(\"update\"),e>=u&&(i=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(o=n,h(\"loopComplete\"),h(\"loopBegin\"),\"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.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(0)},l.set=function(e,t){return xo(e,t),l},l.tick=function(e){n=e,o||(o=n),v((n+(i-o))*Io.speed)},l.seek=function(e){v(c(e))},l.pause=function(){l.paused=!0,u()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Eo.push(l),u(),Po||To())},l.reverse=function(){r(),u()},l.restart=function(){l.reset(),l.play()},l.reset(),l.autoplay&&l.play(),l}function Mo(e,t){for(var o=t.length;o--;)Zt(e,t[o].animatable.target)&&t.splice(o,1)}\"undefined\"!=typeof document&&document.addEventListener(\"visibilitychange\",function(){document.hidden?(Eo.forEach(function(e){return e.pause()}),Oo=Eo.slice(0),Eo=[]):Oo.forEach(function(e){return e.play()})}),Io.version=\"3.0.1\",Io.speed=1,Io.running=Eo,Io.remove=function(e){for(var t=Qo(e),o=Eo.length;o--;){var i=Eo[o],n=i.animations,s=i.children;Mo(t,n);for(var a=s.length;a--;){var d=s[a],l=d.animations;Mo(t,l),l.length||d.children.length||s.splice(a,1)}n.length||s.length||i.pause()}},Io.get=po,Io.set=xo,Io.convertPx=lo,Io.path=function(e,t){var o=Ut.str(e)?Gt(e)[0]:e,i=t||100;return function(e){return{property:e,el:o,svg:wo(o),totalLength:yo(o)*(i/100)}}},Io.setDashoffset=function(e){var t=yo(e);return e.setAttribute(\"stroke-dasharray\",t),t},Io.stagger=function(e,t){void 0===t&&(t={});var o=t.direction||\"normal\",i=t.easing?Jt(t.easing):null,n=t.grid,s=t.axis,a=t.from||0,d=\"first\"===a,l=\"center\"===a,r=\"last\"===a,c=Ut.arr(e),u=c?parseFloat(e[0]):parseFloat(e),m=c?parseFloat(e[1]):0,p=no(c?e[1]:e)||0,h=t.start||0+(c?u:0),v=[],f=0;return function(e,t,g){if(d&&(a=0),l&&(a=(g-1)/2),r&&(a=g-1),!v.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),v.push(_)}else v.push(Math.abs(a-y));f=Math.max.apply(Math,v)}i&&(v=v.map(function(e){return i(e/f)*f})),\"reverse\"===o&&(v=v.map(function(e){return s?e<0?-1*e:-e:Math.abs(f-e)}))}return h+(c?(m-u)/f:u)*(Math.round(100*v[t])/100)+p}},Io.timeline=function(e){void 0===e&&(e={});var t=Io(e);return t.duration=0,t.add=function(o,i){var n=Eo.indexOf(t),s=t.children;function a(e){e.passThrough=!0}n>-1&&Eo.splice(n,1);for(var d=0;d<s.length;d++)a(s[d]);var l=oo(o,to(Tt,e));l.targets=l.targets||e.targets;var r=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=Ut.und(i)?r:ho(i,r),a(t),t.seek(l.timelineOffset);var c=Io(l);a(c),s.push(c);var u=Bo(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},Io.easing=Jt,Io.penner=Yt,Io.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var No=Io,Fo=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};document.addEventListener(\"moduleDuplicate\",function(e){var t=e.detail;if(!Fo())return!1;t.classList.contains(\"dslca-action-disabled\")||Uo(t.closest(\".dslc-module-front\"))}),document.addEventListener(\"moduleDelete\",function(e){var t=e.detail;if(!Fo())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\");xt(\".dslca-modules\"),No({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;Wo(),t.classList.add(\"dslca-module-being-edited\"),zo(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 Wo=function(){var e=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\".dslca-module-being-edited\");null!==e&&e.classList.remove(\"dslca-module-being-edited\")};function Uo(e){window.dslcDebug&&console.log(\"dslc_copy_module\"),Wo();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\"),Ho(t),window.dslc_generate_code(),No({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 Ho=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 zo(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(),Lt();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(),xt(\".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()})}var Ro=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)})};var qo=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\")})},Xo=function(){var e,t,o,i=jQuery(\".dslca-modules .dslca-section-scroller-content\");0==i.length&&(i=[document.createElement(\"div\")]);Dt.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\")}})},Yo=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=Dt.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\")&&(Jo(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 Yo(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():Zo(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 Yo(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);Ho(e[0]),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),window.dslc_generate_code(),e.animate({opacity:1},300)}),Xo(),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\");Go(o)}else{var i=jQuery(this);n({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){Go(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;Jo(jQuery(this).closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"))})});var Jo=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 Yo(t)}),Xo(),window.dslc_generate_code(),window.dslc_show_publish_button()};function Go(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(),xt(\".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(),Jo(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 Ko=function(){jQuery(\"#dslc-main .dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument).each(function(){\"initialized\"!==jQuery(this).data(\"jsinit\")&&new Yo(this)})};function Vo(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 $o=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\")&&Jo(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&&Jo(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(){})}}])&&Vo(t.prototype,o),i&&Vo(t,i),e}(),Zo=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 ei(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),ei(i.output),e&&e(),t})};function ei(e){var t=jQuery(e);return t.appendTo(LiveComposer.Builder.PreviewAreaDocument.find(\"#dslc-main\")),Xo(),window.dslc_generate_code(),window.dslc_show_publish_button(),new $o(t),new Yo(t.find(\".dslc-modules-area\").eq(0)[0]),t.find(\".dslc-modules-area\").addClass(\"dslc-modules-area-empty dslc-last-col\"),t}function ti(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(),xt(\".dslca-modules\")),e.trigger(\"mouseleave\").remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}function oi(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())}),xt(\".dslca-modules-section-edit\"),LiveComposer.Builder.Flags.panelOpened=!0,Lt()}function ii(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 $o(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);Ho(e[0]),si(),Ko(),window.dslc_generate_code(),Xo(),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 ni(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(),si(),Ko(),Xo(),window.dslc_generate_code(),window.dslc_show_publish_button()})}var si=function(){jQuery(\"#dslc-main .dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).each(function(){\"initialized\"!==jQuery(this).data(\"jsinit\")&&new $o(this)})},ai=function(){si(),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 $o(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(){ti(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(){ni(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\")||ii(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\"),Zo(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\")||oi(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())}),xt(\".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(),xt(\".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 di(){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(),Xo(),window.dslc_show_publish_button(),window.dslc_generate_code()})}function li(){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 ri(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 ci=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(),si(),Ko(),Xo(),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(),di()}),jQuery(\".dslca-template-save-form\").submit(function(e){e.preventDefault(),li()}),jQuery(document).on(\"click\",\".dslca-delete-template-hook\",function(e){e.stopPropagation(),ri(jQuery(this).data(\"id\"))})};function ui(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 mi=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=Dt.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}}])&&ui(t.prototype,o),i&&ui(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 pi=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 hi(e){return(hi=\"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){pi(),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 vi={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\"==hi(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)}),ci(),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()}(),ai();var t=LiveComposer.Builder.PreviewAreaDocument.find(\"#dslc-main\").eq(0)[0];new mi(t),jQuery(document).trigger(\"editorFrameLoaded\"),Xo(),l(),window.dslc_generate_code(),Pt(),pi(),qo(),window.LiveComposer.Utils=vi,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":""}
|
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> 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":""}
|
js/dist/editor_frontend.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t){jQuery(document).on("click","a:not(.dslca-link)",function(e){e.preventDefault()}),window.dslca_publish_event=function(e,t){t=t||{},jQuery(document).trigger({type:e,message:{details:t}})}}]);
|
2 |
//# sourceMappingURL=editor_frontend.min.js.map
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t){jQuery(document).on("click","a:not(.dslca-link)",(function(e){e.preventDefault()})),window.dslca_publish_event=function(e,t){t=t||{},jQuery(document).trigger({type:e,message:{details:t}})}}]);
|
2 |
//# sourceMappingURL=editor_frontend.min.js.map
|
js/dist/editor_frontend.min.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"editor_frontend.min.js","sources":["webpack:///editor_frontend.min.js"],"sourcesContent":["!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=0)}([function(e,t){jQuery(document).on(\"click\",\"a:not(.dslca-link)\",function(e){e.preventDefault()}),window.dslca_publish_event=function(e,t){t=t||{},jQuery(document).trigger({type:e,message:{details:t}})}}]);"],"mappings":"AAAA","sourceRoot":""}
|
1 |
+
{"version":3,"file":"editor_frontend.min.js","sources":["webpack:///editor_frontend.min.js"],"sourcesContent":["!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=0)}([function(e,t){jQuery(document).on(\"click\",\"a:not(.dslca-link)\",(function(e){e.preventDefault()})),window.dslca_publish_event=function(e,t){t=t||{},jQuery(document).trigger({type:e,message:{details:t}})}}]);"],"mappings":"AAAA","sourceRoot":""}
|
js/src/client/frontend/index.js
CHANGED
@@ -18,12 +18,6 @@
|
|
18 |
* - dslc_social_share
|
19 |
*/
|
20 |
|
21 |
-
const openModuleForEditing = ( moduleEl ) => {
|
22 |
-
if ( ! jQuery(moduleEl).closest('.dslc-module-front').hasClass('dslca-module-being-edited') ) {
|
23 |
-
jQuery(moduleEl).closest('.dslc-module-front').find('.dslca-module-edit-hook').trigger('click');
|
24 |
-
}
|
25 |
-
}
|
26 |
-
|
27 |
/**
|
28 |
* Responsive Classes
|
29 |
*
|
@@ -438,7 +432,6 @@ window.dslc_masonry = ( dslcWrapper, dslcAnimate ) => {
|
|
438 |
* Generate Tabs Code
|
439 |
*/
|
440 |
window.dslc_tabs_generate_code = ( dslcTabs ) => {
|
441 |
-
|
442 |
var dslcTabsContainer = dslcTabs.closest('.dslc-module-front');
|
443 |
|
444 |
dslcTabsNav = jQuery('.dslc-tabs-nav', dslcTabs);
|
@@ -478,7 +471,6 @@ window.dslc_tabs_generate_code = ( dslcTabs ) => {
|
|
478 |
|
479 |
jQuery('.dslca-module-option-front[data-id="tabs_nav"]', dslcTabsContainer).val( dslcTabsNavVal );
|
480 |
jQuery('.dslca-module-option-front[data-id="tabs_content"]', dslcTabsContainer).val( dslcTabsContentVal );
|
481 |
-
|
482 |
parent.LiveComposer.Builder.Actions.optionsChanged();
|
483 |
}
|
484 |
|
@@ -510,11 +502,94 @@ window.dslc_accordion_generate_code = ( dslcAccordion ) => {
|
|
510 |
parent.LiveComposer.Builder.Actions.optionsChanged();
|
511 |
}
|
512 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
513 |
/**
|
514 |
* Initiate Tabs
|
515 |
*/
|
516 |
window.dslc_tabs = () => {
|
517 |
-
|
518 |
var dslcTabs, dslcTabsNav, dslcTabsContent, dslcTabContent;
|
519 |
|
520 |
jQuery('.dslc-tabs').each(function(){
|
@@ -526,9 +601,29 @@ window.dslc_tabs = () => {
|
|
526 |
|
527 |
dslcTabContent.eq(0).addClass('dslc-active');
|
528 |
jQuery('.dslc-tabs-nav-hook', dslcTabsNav ).eq(0).addClass('dslc-active');
|
|
|
|
|
529 |
});
|
530 |
}
|
531 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
532 |
/**
|
533 |
* Increment download count
|
534 |
*/
|
@@ -859,97 +954,6 @@ jQuery(document).ready(function($){
|
|
859 |
window.location = jQuery(this).val();
|
860 |
});
|
861 |
|
862 |
-
/**
|
863 |
-
* Tabs – Add new Tab
|
864 |
-
*/
|
865 |
-
jQuery(document).on( 'click', '.dslca-add-new-tab-hook', function(){
|
866 |
-
|
867 |
-
var dslcTabs = jQuery(this).closest('.dslc-tabs'),
|
868 |
-
dslcTabsNavLast = jQuery('.dslc-tabs-nav .dslc-tabs-nav-hook:last', dslcTabs),
|
869 |
-
dslcTabContentLast = jQuery('.dslc-tabs-tab-content:last', dslcTabs),
|
870 |
-
numberOfTabs = jQuery('.dslc-tabs-nav .dslc-tabs-nav-hook', dslcTabs).length;
|
871 |
-
|
872 |
-
dslcTabsNavLast.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>');
|
873 |
-
dslcTabContentLast.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content" data-edit-id="' + numberOfTabs +'">This is just placeholder text.</div><textarea class="dslca-tab-plain-content">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="' + numberOfTabs +'">Open in WP Editor</span></div></div>');
|
874 |
-
|
875 |
-
jQuery('.dslc-tabs-nav-hook:last', dslcTabs).click();
|
876 |
-
|
877 |
-
dslc_tabs_generate_code( dslcTabs );
|
878 |
-
|
879 |
-
openModuleForEditing( this[0] );
|
880 |
-
});
|
881 |
-
|
882 |
-
jQuery(document).on( 'click', '.dslca-delete-tab-hook', function(e){
|
883 |
-
|
884 |
-
var dslcTabs = jQuery(this).closest('.dslc-tabs');
|
885 |
-
var dslcTabHook = jQuery(this).closest('.dslc-tabs-nav-hook');
|
886 |
-
var dslcTabIndex = dslcTabHook.index();
|
887 |
-
var dslcTabContent = jQuery('.dslc-tabs-tab-content', dslcTabs).eq( dslcTabIndex );
|
888 |
-
|
889 |
-
if ( jQuery( '.dslc-tabs-nav-hook', dslcTabs ).length > 1 ) {
|
890 |
-
|
891 |
-
dslcTabHook.remove();
|
892 |
-
dslcTabContent.remove();
|
893 |
-
|
894 |
-
if ( ! jQuery( '.dslc-tabs-tab-content.dslc-active', dslcTabs ).length ) {
|
895 |
-
jQuery( '.dslc-tabs-nav-hook:first', dslcTabs ).trigger('click');
|
896 |
-
}
|
897 |
-
|
898 |
-
dslc_tabs_generate_code( dslcTabs );
|
899 |
-
} else {
|
900 |
-
|
901 |
-
alert( 'You can not delete the last remaining tab' );
|
902 |
-
}
|
903 |
-
|
904 |
-
e.stopPropagation()
|
905 |
-
});
|
906 |
-
|
907 |
-
jQuery(document).on( 'click', '.dslc-tabs-nav-hook', function(e){
|
908 |
-
|
909 |
-
if ( ! jQuery(this).hasClass('dslc-active') ) {
|
910 |
-
|
911 |
-
dslcTabs = jQuery(this).closest('.dslc-tabs');
|
912 |
-
dslcTabsNav = jQuery('.dslc-tabs-nav', dslcTabs);
|
913 |
-
dslcTabsContent = jQuery('.dslc-tabs-content', dslcTabs);
|
914 |
-
dslcTabContent = jQuery('.dslc-tabs-tab-content', dslcTabs);
|
915 |
-
dslcTabIndex = jQuery(this).index();
|
916 |
-
|
917 |
-
// Tabs nav
|
918 |
-
jQuery('.dslc-tabs-nav-hook.dslc-active', dslcTabs).removeClass('dslc-active');
|
919 |
-
jQuery(this).addClass('dslc-active');
|
920 |
-
|
921 |
-
// Tabs content
|
922 |
-
|
923 |
-
if ( jQuery( '.dslc-tabs-tab-content.dslc-active', dslcTabs ).length ) {
|
924 |
-
|
925 |
-
jQuery('.dslc-tabs-tab-content.dslc-active', dslcTabs).animate({
|
926 |
-
opacity : 0
|
927 |
-
}, 250, function(){
|
928 |
-
|
929 |
-
jQuery(this).removeClass('dslc-active');
|
930 |
-
dslcTabContent.eq(dslcTabIndex).css({ opacity : 0 }).addClass('dslc-active').show().animate({
|
931 |
-
opacity : 1
|
932 |
-
}, 250);
|
933 |
-
});
|
934 |
-
} else {
|
935 |
-
|
936 |
-
dslcTabContent.eq(dslcTabIndex).css({ opacity : 0 }).addClass('dslc-active').show().animate({
|
937 |
-
opacity : 1
|
938 |
-
}, 250);
|
939 |
-
}
|
940 |
-
}
|
941 |
-
});
|
942 |
-
|
943 |
-
jQuery(document).on('blur paste', '.dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]', function() {
|
944 |
-
|
945 |
-
dslc_tabs_generate_code( jQuery(this).closest('.dslc-tabs') );
|
946 |
-
}).on('focus', '.dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]', function() {
|
947 |
-
|
948 |
-
if ( ! jQuery(this).closest('.dslc-module-front').hasClass('dslca-module-being-edited') ) {
|
949 |
-
jQuery(this).closest('.dslc-module-front').find('.dslca-module-edit-hook').trigger('click');
|
950 |
-
}
|
951 |
-
});
|
952 |
-
|
953 |
// Close Notification
|
954 |
jQuery(document).on( 'click', '.dslc-notification-close', function(e){
|
955 |
|
18 |
* - dslc_social_share
|
19 |
*/
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
/**
|
22 |
* Responsive Classes
|
23 |
*
|
432 |
* Generate Tabs Code
|
433 |
*/
|
434 |
window.dslc_tabs_generate_code = ( dslcTabs ) => {
|
|
|
435 |
var dslcTabsContainer = dslcTabs.closest('.dslc-module-front');
|
436 |
|
437 |
dslcTabsNav = jQuery('.dslc-tabs-nav', dslcTabs);
|
471 |
|
472 |
jQuery('.dslca-module-option-front[data-id="tabs_nav"]', dslcTabsContainer).val( dslcTabsNavVal );
|
473 |
jQuery('.dslca-module-option-front[data-id="tabs_content"]', dslcTabsContainer).val( dslcTabsContentVal );
|
|
|
474 |
parent.LiveComposer.Builder.Actions.optionsChanged();
|
475 |
}
|
476 |
|
502 |
parent.LiveComposer.Builder.Actions.optionsChanged();
|
503 |
}
|
504 |
|
505 |
+
function dslc_on_tab_add( event ) {
|
506 |
+
|
507 |
+
var dslcTabs = jQuery(event.target).closest('.dslc-tabs'),
|
508 |
+
dslcTabsNavLast = jQuery('.dslc-tabs-nav .dslc-tabs-nav-hook:last', dslcTabs),
|
509 |
+
dslcTabContentLast = jQuery('.dslc-tabs-tab-content:last', dslcTabs),
|
510 |
+
numberOfTabs = jQuery('.dslc-tabs-nav .dslc-tabs-nav-hook', dslcTabs).length;
|
511 |
+
|
512 |
+
dslcTabsNavLast.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>');
|
513 |
+
dslcTabContentLast.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content" data-edit-id="' + numberOfTabs +'" data-id="' + numberOfTabs +'">This is just placeholder text.</div><textarea class="dslca-tab-plain-content" data-edit-id="' + numberOfTabs +'" data-id="' + numberOfTabs +'">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="' + numberOfTabs +'">Open in WP Editor</span></div></div>');
|
514 |
+
|
515 |
+
jQuery('.dslc-tabs-nav-hook:last', dslcTabs).click();
|
516 |
+
|
517 |
+
dslc_tabs_generate_code( dslcTabs );
|
518 |
+
|
519 |
+
// openModuleForEditing( this[0] );
|
520 |
+
if ( ! jQuery(dslcTabs[0]).closest('.dslc-module-front').hasClass('dslca-module-being-edited') ) {
|
521 |
+
jQuery(dslcTabs[0]).closest('.dslc-module-front').find('.dslca-module-edit-hook').trigger('click');
|
522 |
+
}
|
523 |
+
|
524 |
+
// dslc_tabs()
|
525 |
+
}
|
526 |
+
|
527 |
+
function dslc_on_tab_delete( event ) {
|
528 |
+
|
529 |
+
console.log ( 'dslc_on_tab_delete' );
|
530 |
+
|
531 |
+
var dslcTabs = jQuery(event.target).closest('.dslc-tabs');
|
532 |
+
var dslcTabHook = jQuery(event.target).closest('.dslc-tabs-nav-hook');
|
533 |
+
var dslcTabIndex = dslcTabHook.index();
|
534 |
+
var dslcTabContent = jQuery('.dslc-tabs-tab-content', dslcTabs).eq( dslcTabIndex );
|
535 |
+
|
536 |
+
if ( jQuery( '.dslc-tabs-nav .dslc-tabs-nav-hook', dslcTabs ).length > 1 ) {
|
537 |
+
|
538 |
+
dslcTabHook.remove();
|
539 |
+
dslcTabContent.remove();
|
540 |
+
|
541 |
+
if ( ! jQuery( '.dslc-tabs-tab-content.dslc-active', dslcTabs ).length ) {
|
542 |
+
jQuery( '.dslc-tabs-nav-hook:first', dslcTabs ).trigger('click');
|
543 |
+
}
|
544 |
+
|
545 |
+
dslc_tabs_generate_code( dslcTabs );
|
546 |
+
}
|
547 |
+
|
548 |
+
// openModuleForEditing( this[0] );
|
549 |
+
// Otherwise won't save changes.
|
550 |
+
if ( ! jQuery(dslcTabs[0]).closest('.dslc-module-front').hasClass('dslca-module-being-edited') ) {
|
551 |
+
jQuery(dslcTabs[0]).closest('.dslc-module-front').find('.dslca-module-edit-hook').trigger('click');
|
552 |
+
}
|
553 |
+
|
554 |
+
event.stopPropagation()
|
555 |
+
}
|
556 |
+
|
557 |
+
|
558 |
+
function dslc_on_tab_nav( event ) {
|
559 |
+
dslcTabs = jQuery(event.target).closest('.dslc-tabs');
|
560 |
+
dslcTabsNav = jQuery('.dslc-tabs-nav', dslcTabs);
|
561 |
+
dslcTabsContent = jQuery('.dslc-tabs-content', dslcTabs);
|
562 |
+
dslcTabContent = jQuery('.dslc-tabs-tab-content', dslcTabs);
|
563 |
+
dslcTabIndex = jQuery(event.currentTarget).index();
|
564 |
+
|
565 |
+
// Tabs nav
|
566 |
+
jQuery('.dslc-tabs-nav-hook.dslc-active', dslcTabs).removeClass('dslc-active');
|
567 |
+
jQuery(event.currentTarget).addClass('dslc-active');
|
568 |
+
|
569 |
+
// Tabs content
|
570 |
+
|
571 |
+
if ( jQuery( '.dslc-tabs-tab-content.dslc-active', dslcTabs ).length ) {
|
572 |
+
jQuery('.dslc-tabs-tab-content.dslc-active', dslcTabs).animate({
|
573 |
+
opacity : 0
|
574 |
+
}, 250, function(){
|
575 |
+
jQuery(this).removeClass('dslc-active');
|
576 |
+
dslcTabContent.eq(dslcTabIndex).css({ opacity : 0 }).addClass('dslc-active').show().animate({
|
577 |
+
opacity : 1
|
578 |
+
}, 250);
|
579 |
+
});
|
580 |
+
} else {
|
581 |
+
dslcTabContent.eq(dslcTabIndex).css({ opacity : 0 }).addClass('dslc-active').show().animate({
|
582 |
+
opacity : 1
|
583 |
+
}, 250);
|
584 |
+
}
|
585 |
+
|
586 |
+
// event.stopPropagation()
|
587 |
+
}
|
588 |
+
|
589 |
/**
|
590 |
* Initiate Tabs
|
591 |
*/
|
592 |
window.dslc_tabs = () => {
|
|
|
593 |
var dslcTabs, dslcTabsNav, dslcTabsContent, dslcTabContent;
|
594 |
|
595 |
jQuery('.dslc-tabs').each(function(){
|
601 |
|
602 |
dslcTabContent.eq(0).addClass('dslc-active');
|
603 |
jQuery('.dslc-tabs-nav-hook', dslcTabsNav ).eq(0).addClass('dslc-active');
|
604 |
+
|
605 |
+
|
606 |
});
|
607 |
}
|
608 |
|
609 |
+
// $(staticAncestors).on(eventName, dynamicChild, function() {
|
610 |
+
// jQuery(document).ready(function($) {
|
611 |
+
/**
|
612 |
+
* Tabs – Tabs editing controls
|
613 |
+
*/
|
614 |
+
jQuery(document).on( 'click', '.dslca-add-new-tab-hook', (event) => dslc_on_tab_add(event));
|
615 |
+
jQuery(document).on( 'click', '.dslca-delete-tab-hook', (event) => dslc_on_tab_delete(event));
|
616 |
+
jQuery(document).on( 'click', '.dslc-tabs-nav-hook', (event) => dslc_on_tab_nav( event ));
|
617 |
+
|
618 |
+
jQuery(document).on('blur paste', '.dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]', function(event) {
|
619 |
+
dslc_tabs_generate_code( jQuery(this).closest('.dslc-tabs') );
|
620 |
+
}).on('focus', '.dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]', function(event) {
|
621 |
+
if ( ! jQuery(this).closest('.dslc-module-front').hasClass('dslca-module-being-edited') ) {
|
622 |
+
jQuery(this).closest('.dslc-module-front').find('.dslca-module-edit-hook').trigger('click');
|
623 |
+
}
|
624 |
+
});
|
625 |
+
|
626 |
+
// });
|
627 |
/**
|
628 |
* Increment download count
|
629 |
*/
|
954 |
window.location = jQuery(this).val();
|
955 |
});
|
956 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
957 |
// Close Notification
|
958 |
jQuery(document).on( 'click', '.dslc-notification-close', function(e){
|
959 |
|
js/src/editor/backend/modalwindow.js
CHANGED
@@ -368,9 +368,11 @@ document.addEventListener( 'modalWysiwygConfirm', function ( customEvent ) {
|
|
368 |
jQuery('.dslca-wysiwyg-active', LiveComposer.Builder.PreviewAreaDocument ).siblings('.dslca-tab-plain-content').val( content );
|
369 |
var dslcTabs = module.find('.dslc-tabs');
|
370 |
LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code( dslcTabs );
|
|
|
|
|
|
|
371 |
}
|
372 |
|
373 |
-
editableContentCodeGeneration( jQuery('.dslca-wysiwyg-active', LiveComposer.Builder.PreviewAreaDocument ) );
|
374 |
jQuery('.dslca-wysiwyg-active', LiveComposer.Builder.PreviewAreaDocument ).removeClass('dslca-wysiwyg-active');
|
375 |
} else {
|
376 |
console.info( 'Live Composer: TinyMCE is undefined.' );
|
368 |
jQuery('.dslca-wysiwyg-active', LiveComposer.Builder.PreviewAreaDocument ).siblings('.dslca-tab-plain-content').val( content );
|
369 |
var dslcTabs = module.find('.dslc-tabs');
|
370 |
LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code( dslcTabs );
|
371 |
+
} else {
|
372 |
+
// The next function is not compatible for Tab and Accordions.
|
373 |
+
editableContentCodeGeneration( jQuery('.dslca-wysiwyg-active', LiveComposer.Builder.PreviewAreaDocument ) );
|
374 |
}
|
375 |
|
|
|
376 |
jQuery('.dslca-wysiwyg-active', LiveComposer.Builder.PreviewAreaDocument ).removeClass('dslca-wysiwyg-active');
|
377 |
} else {
|
378 |
console.info( 'Live Composer: TinyMCE is undefined.' );
|
js/src/editor/backend/module.js
CHANGED
@@ -93,14 +93,13 @@ document.addEventListener('moduleEdit', function (customEvent) {
|
|
93 |
const elEditing = LiveComposer.Builder.PreviewAreaWindow.document.querySelector('.dslca-module-being-edited');
|
94 |
const row_edited = jQuery('.dslca-modules-section-being-edited', LiveComposer.Builder.PreviewAreaDocument).length;
|
95 |
|
96 |
-
|
97 |
if ( LiveComposer.Builder.Flags.uiHidden || ( null !== elEditing && elEditing.length > 0 ) || row_edited > 0 ) {
|
98 |
if ( elEditing != currentModuleEl ) {
|
99 |
LiveComposer.Builder.UI.shakePanelConfirmButton();
|
100 |
}
|
101 |
return false;
|
102 |
}
|
103 |
-
|
104 |
unmarkModulesBeingEdited();
|
105 |
|
106 |
// Add the "being edited" class to current module
|
@@ -161,7 +160,6 @@ document.addEventListener('pasteModuleStyles', function (customEvent) {
|
|
161 |
for (let propertyId in pasteModuleProperies) {
|
162 |
// Override all styling properties with the ones from pasted styles.
|
163 |
if ( propertyId.includes( 'css_' ) ) {
|
164 |
-
// console.log( propertyId + " : " + JSON.parse(JSON.stringify( currentModuleProperties[ propertyId ] )) + " > " + JSON.parse(JSON.stringify( pasteModuleProperies[ propertyId ] )) );
|
165 |
currentModuleProperties[ propertyId ] = pasteModuleProperies[ propertyId ];
|
166 |
modulePropertiesChanged = true;
|
167 |
}
|
@@ -170,7 +168,6 @@ document.addEventListener('pasteModuleStyles', function (customEvent) {
|
|
170 |
for (let propertyId in currentModuleProperties) {
|
171 |
// If property is missing in pasted data make it empty.
|
172 |
if ( propertyId.includes( 'css_' ) ) {
|
173 |
-
// console.log( propertyId + " : " + JSON.parse(JSON.stringify( currentModuleProperties[ propertyId ] )) + " > " + JSON.parse(JSON.stringify( pasteModuleProperies[ propertyId ] )) );
|
174 |
if ( currentModuleProperties[ propertyId ] !== pasteModuleProperies[ propertyId ] ) {
|
175 |
currentModuleProperties[ propertyId ] = '';
|
176 |
}
|
@@ -755,7 +752,6 @@ export const moduleOutputDefault = ( dslc_module_id, callback ) => {
|
|
755 |
export const moduleOutputAltered = ( callback ) => {
|
756 |
|
757 |
if ( window.dslcDebug ) console.log( 'moduleOutputAltered' );
|
758 |
-
|
759 |
callback = typeof callback !== 'undefined' ? callback : false;
|
760 |
|
761 |
var dslcModule = jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument),
|
@@ -848,7 +844,6 @@ export const moduleOutputAltered = ( callback ) => {
|
|
848 |
function dslc_module_output_reload( dslcModule, callback ) {
|
849 |
|
850 |
if ( window.dslcDebug ) console.log( 'dslc_module_output_reload' );
|
851 |
-
|
852 |
callback = typeof callback !== 'undefined' ? callback : false;
|
853 |
|
854 |
var dslc_module_id = dslcModule.data('module'),
|
93 |
const elEditing = LiveComposer.Builder.PreviewAreaWindow.document.querySelector('.dslca-module-being-edited');
|
94 |
const row_edited = jQuery('.dslca-modules-section-being-edited', LiveComposer.Builder.PreviewAreaDocument).length;
|
95 |
|
96 |
+
// If settings panel opened - do not proceed.
|
97 |
if ( LiveComposer.Builder.Flags.uiHidden || ( null !== elEditing && elEditing.length > 0 ) || row_edited > 0 ) {
|
98 |
if ( elEditing != currentModuleEl ) {
|
99 |
LiveComposer.Builder.UI.shakePanelConfirmButton();
|
100 |
}
|
101 |
return false;
|
102 |
}
|
|
|
103 |
unmarkModulesBeingEdited();
|
104 |
|
105 |
// Add the "being edited" class to current module
|
160 |
for (let propertyId in pasteModuleProperies) {
|
161 |
// Override all styling properties with the ones from pasted styles.
|
162 |
if ( propertyId.includes( 'css_' ) ) {
|
|
|
163 |
currentModuleProperties[ propertyId ] = pasteModuleProperies[ propertyId ];
|
164 |
modulePropertiesChanged = true;
|
165 |
}
|
168 |
for (let propertyId in currentModuleProperties) {
|
169 |
// If property is missing in pasted data make it empty.
|
170 |
if ( propertyId.includes( 'css_' ) ) {
|
|
|
171 |
if ( currentModuleProperties[ propertyId ] !== pasteModuleProperies[ propertyId ] ) {
|
172 |
currentModuleProperties[ propertyId ] = '';
|
173 |
}
|
752 |
export const moduleOutputAltered = ( callback ) => {
|
753 |
|
754 |
if ( window.dslcDebug ) console.log( 'moduleOutputAltered' );
|
|
|
755 |
callback = typeof callback !== 'undefined' ? callback : false;
|
756 |
|
757 |
var dslcModule = jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument),
|
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;
|
848 |
|
849 |
var dslc_module_id = dslcModule.data('module'),
|
js/src/editor/backend/settings.panel.js
CHANGED
@@ -1799,7 +1799,6 @@ function dslc_module_options_cancel_changes( callback ) {
|
|
1799 |
|
1800 |
// Reload module
|
1801 |
moduleOutputAltered( function(){
|
1802 |
-
|
1803 |
window.dslc_generate_code();
|
1804 |
|
1805 |
jQuery('.dslca-module-being-edited', window.LiveComposer.Builder.PreviewAreaDocument).removeClass('dslca-module-being-edited');
|
1799 |
|
1800 |
// Reload module
|
1801 |
moduleOutputAltered( function(){
|
|
|
1802 |
window.dslc_generate_code();
|
1803 |
|
1804 |
jQuery('.dslca-module-being-edited', window.LiveComposer.Builder.PreviewAreaDocument).removeClass('dslca-module-being-edited');
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ 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.
|
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.
|
@@ -58,6 +58,10 @@ 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.3 - Nov 6 2019 =
|
62 |
* 🆕 New feature: Copy/Paste any module styling by pressing command key.
|
63 |
* 🆕 New feature: Reset module responsive settings using "the trash" icon in the responsive settings panel.
|
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.
|
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 |
+
|
64 |
+
|
65 |
= 1.5.3 - Nov 6 2019 =
|
66 |
* 🆕 New feature: Copy/Paste any module styling by pressing command key.
|
67 |
* 🆕 New feature: Reset module responsive settings using "the trash" icon in the responsive settings panel.
|