Version Description
- 11.08.2016 =
- Tweak! - Improved Drag & Drop area to new section
- Tweak! - Make changes in new section
- Fixed! - Resize columns with Widgets using iframe (YouTube, Google Maps, etc)
- Fixed! - Adding columns widget in 'Add new Section' area
- Fixed! - Allow blank target link for social-icons widget
Download this release
Release Info
Developer | KingYes |
Plugin | Elementor Page Builder |
Version | 0.6.6 |
Comparing to | |
See all releases |
Code changes from version 0.6.5 to 0.6.6
- assets/admin/js/app.js +121 -35
- assets/admin/js/app.min.js +5 -4
- assets/admin/js/lib/jquery-html5-dnd.js +65 -12
- assets/admin/js/lib/jquery-html5-dnd.min.js +1 -1
- assets/css/editor-preview-rtl.css +4 -2
- assets/css/editor-preview-rtl.min.css +1 -1
- assets/css/editor-preview.css +4 -2
- assets/css/editor-preview.min.css +1 -1
- assets/js/admin-feedback.min.js +1 -1
- assets/js/admin.min.js +1 -1
- assets/js/frontend.min.js +1 -1
- elementor.php +2 -2
- includes/api.php +1 -1
- includes/widgets/social-icons.php +4 -2
- readme.txt +8 -1
assets/admin/js/app.js
CHANGED
@@ -533,7 +533,9 @@ ResizableBehavior = Marionette.Behavior.extend( {
|
|
533 |
},
|
534 |
|
535 |
events: {
|
536 |
-
|
|
|
|
|
537 |
},
|
538 |
|
539 |
initialize: function() {
|
@@ -579,6 +581,18 @@ ResizableBehavior = Marionette.Behavior.extend( {
|
|
579 |
this.deactivate();
|
580 |
},
|
581 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
582 |
onResize: function( event, ui ) {
|
583 |
event.stopPropagation();
|
584 |
|
@@ -1117,7 +1131,7 @@ EditorCompositeView = Marionette.CompositeView.extend( {
|
|
1117 |
var controls = elementor.getElementControls( this.model.get( 'settings' ) );
|
1118 |
|
1119 |
if ( ! controls ) {
|
1120 |
-
throw new Error( '
|
1121 |
}
|
1122 |
|
1123 |
// Create new instance of that collection
|
@@ -1358,10 +1372,6 @@ PanelElementsLayoutView = Marionette.LayoutView.extend( {
|
|
1358 |
this.clearSearchInput();
|
1359 |
},
|
1360 |
|
1361 |
-
onChildviewDragStart: function( childView ) {
|
1362 |
-
elementor.panelElements.reply( 'element:selected', childView );
|
1363 |
-
},
|
1364 |
-
|
1365 |
onChildviewChildrenRender: function() {
|
1366 |
this.updateElementsScrollbar();
|
1367 |
},
|
@@ -1462,16 +1472,20 @@ PanelElementsElementView = Marionette.ItemView.extend( {
|
|
1462 |
|
1463 |
className: 'elementor-element-wrapper',
|
1464 |
|
1465 |
-
triggers: {
|
1466 |
-
dragend: 'drag:end'
|
1467 |
-
},
|
1468 |
-
|
1469 |
onRender: function() {
|
|
|
|
|
1470 |
this.$el.html5Draggable( {
|
1471 |
|
1472 |
-
onDragStart:
|
1473 |
-
|
1474 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1475 |
|
1476 |
groups: [ 'elementor-element' ]
|
1477 |
} );
|
@@ -2716,6 +2730,35 @@ helpers = {
|
|
2716 |
var videoIDParts = url.match( /^.*(?:youtu.be\/|v\/|e\/|u\/\w+\/|embed\/|v=)([^#\&\?]*).*/ );
|
2717 |
|
2718 |
return videoIDParts && videoIDParts[1];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2719 |
}
|
2720 |
};
|
2721 |
|
@@ -3517,11 +3560,12 @@ ColumnView = BaseElementView.extend( {
|
|
3517 |
axis: [ 'vertical' ],
|
3518 |
groups: [ 'elementor-element' ],
|
3519 |
isDroppingAllowed: _.bind( self.isDroppingAllowed, self ),
|
|
|
|
|
|
|
3520 |
onDragging: function( side, event ) {
|
3521 |
event.stopPropagation();
|
3522 |
|
3523 |
-
self.$el.addClass( 'elementor-dragging-on-child' );
|
3524 |
-
|
3525 |
if ( this.dataset.side !== side ) {
|
3526 |
Backbone.$( this ).attr( 'data-side', side );
|
3527 |
}
|
@@ -5396,6 +5440,13 @@ SectionView = BaseElementView.extend( {
|
|
5396 |
}
|
5397 |
},
|
5398 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5399 |
onBeforeRender: function() {
|
5400 |
this._checkIsEmpty();
|
5401 |
},
|
@@ -5418,6 +5469,30 @@ SectionView = BaseElementView.extend( {
|
|
5418 |
this.resetLayout();
|
5419 |
},
|
5420 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5421 |
onChildviewRequestResize: function( childView, ui ) {
|
5422 |
// Get current column details
|
5423 |
var currentSize = childView.model.getSetting( '_inline_size' );
|
@@ -5436,9 +5511,7 @@ SectionView = BaseElementView.extend( {
|
|
5436 |
} );
|
5437 |
|
5438 |
// Get next column details
|
5439 |
-
var
|
5440 |
-
nextModel = this.collection.at( modelIndex + 1 ),
|
5441 |
-
nextChildView = this.children.findByModelCid( nextModel.cid );
|
5442 |
|
5443 |
if ( ! nextChildView ) {
|
5444 |
return;
|
@@ -5530,14 +5603,10 @@ SectionsCollectionView = Marionette.CompositeView.extend( {
|
|
5530 |
},
|
5531 |
|
5532 |
initialize: function() {
|
5533 |
-
|
5534 |
-
|
5535 |
-
|
5536 |
-
|
5537 |
-
// settings: {},
|
5538 |
-
// elements: []
|
5539 |
-
// } );
|
5540 |
-
//}
|
5541 |
},
|
5542 |
|
5543 |
addChildModel: function( model, options ) {
|
@@ -5589,31 +5658,40 @@ SectionsCollectionView = Marionette.CompositeView.extend( {
|
|
5589 |
self.ui.addSectionArea.html5Droppable( {
|
5590 |
axis: [ 'vertical' ],
|
5591 |
groups: [ 'elementor-element' ],
|
5592 |
-
|
5593 |
-
|
5594 |
-
self.ui.addSectionArea.attr( 'data-side', side );
|
5595 |
-
}
|
5596 |
},
|
5597 |
onDragLeave: function() {
|
5598 |
self.ui.addSectionArea.removeAttr( 'data-side' );
|
5599 |
},
|
5600 |
onDropping: function() {
|
5601 |
var elementView = elementor.panelElements.request( 'element:selected' ),
|
5602 |
-
newSection = self.addSection()
|
|
|
5603 |
|
5604 |
-
var
|
5605 |
id: elementor.helpers.getUniqueID(),
|
5606 |
-
elType:
|
5607 |
-
widgetType: elementView.model.get( 'widgetType' )
|
5608 |
};
|
5609 |
|
5610 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5611 |
}
|
5612 |
} );
|
5613 |
|
5614 |
_.defer( _.bind( self.fixBlankPageOffset, this ) );
|
5615 |
},
|
5616 |
|
|
|
|
|
|
|
|
|
5617 |
onPresetSelected: function( event ) {
|
5618 |
this.closeSelectPresets();
|
5619 |
|
@@ -5635,6 +5713,14 @@ SectionsCollectionView = Marionette.CompositeView.extend( {
|
|
5635 |
|
5636 |
newSection.setStructure( selectedStructure );
|
5637 |
newSection.redefineLayout();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5638 |
}
|
5639 |
} );
|
5640 |
|
533 |
},
|
534 |
|
535 |
events: {
|
536 |
+
resizestart: 'onResizeStart',
|
537 |
+
resizestop: 'onResizeStop',
|
538 |
+
resize: 'onResize'
|
539 |
},
|
540 |
|
541 |
initialize: function() {
|
581 |
this.deactivate();
|
582 |
},
|
583 |
|
584 |
+
onResizeStart: function( event ) {
|
585 |
+
event.stopPropagation();
|
586 |
+
|
587 |
+
this.view.triggerMethod( 'request:resize:start' );
|
588 |
+
},
|
589 |
+
|
590 |
+
onResizeStop: function( event ) {
|
591 |
+
event.stopPropagation();
|
592 |
+
|
593 |
+
this.view.triggerMethod( 'request:resize:stop' );
|
594 |
+
},
|
595 |
+
|
596 |
onResize: function( event, ui ) {
|
597 |
event.stopPropagation();
|
598 |
|
1131 |
var controls = elementor.getElementControls( this.model.get( 'settings' ) );
|
1132 |
|
1133 |
if ( ! controls ) {
|
1134 |
+
throw new Error( 'Editor controls not found' );
|
1135 |
}
|
1136 |
|
1137 |
// Create new instance of that collection
|
1372 |
this.clearSearchInput();
|
1373 |
},
|
1374 |
|
|
|
|
|
|
|
|
|
1375 |
onChildviewChildrenRender: function() {
|
1376 |
this.updateElementsScrollbar();
|
1377 |
},
|
1472 |
|
1473 |
className: 'elementor-element-wrapper',
|
1474 |
|
|
|
|
|
|
|
|
|
1475 |
onRender: function() {
|
1476 |
+
var self = this;
|
1477 |
+
|
1478 |
this.$el.html5Draggable( {
|
1479 |
|
1480 |
+
onDragStart: function() {
|
1481 |
+
elementor.panelElements
|
1482 |
+
.reply( 'element:selected', self )
|
1483 |
+
.trigger( 'element:drag:start' );
|
1484 |
+
},
|
1485 |
+
|
1486 |
+
onDragEnd: function() {
|
1487 |
+
elementor.panelElements.trigger( 'element:drag:end' );
|
1488 |
+
},
|
1489 |
|
1490 |
groups: [ 'elementor-element' ]
|
1491 |
} );
|
2730 |
var videoIDParts = url.match( /^.*(?:youtu.be\/|v\/|e\/|u\/\w+\/|embed\/|v=)([^#\&\?]*).*/ );
|
2731 |
|
2732 |
return videoIDParts && videoIDParts[1];
|
2733 |
+
},
|
2734 |
+
|
2735 |
+
disableElementEvents: function( $element ) {
|
2736 |
+
$element.each( function() {
|
2737 |
+
var currentPointerEvents = this.style.pointerEvents;
|
2738 |
+
|
2739 |
+
if ( 'none' === currentPointerEvents ) {
|
2740 |
+
return;
|
2741 |
+
}
|
2742 |
+
|
2743 |
+
Backbone.$( this )
|
2744 |
+
.data( 'backup-pointer-events', currentPointerEvents )
|
2745 |
+
.css( 'pointer-events', 'none' );
|
2746 |
+
} );
|
2747 |
+
},
|
2748 |
+
|
2749 |
+
enableElementEvents: function( $element ) {
|
2750 |
+
$element.each( function() {
|
2751 |
+
var $this = Backbone.$( this ),
|
2752 |
+
backupPointerEvents = $this.data( 'backup-pointer-events' );
|
2753 |
+
|
2754 |
+
if ( undefined === backupPointerEvents ) {
|
2755 |
+
return;
|
2756 |
+
}
|
2757 |
+
|
2758 |
+
$this
|
2759 |
+
.removeData( 'backup-pointer-events' )
|
2760 |
+
.css( 'pointer-events', backupPointerEvents );
|
2761 |
+
} );
|
2762 |
}
|
2763 |
};
|
2764 |
|
3560 |
axis: [ 'vertical' ],
|
3561 |
groups: [ 'elementor-element' ],
|
3562 |
isDroppingAllowed: _.bind( self.isDroppingAllowed, self ),
|
3563 |
+
onDragEnter: function() {
|
3564 |
+
self.$el.addClass( 'elementor-dragging-on-child' );
|
3565 |
+
},
|
3566 |
onDragging: function( side, event ) {
|
3567 |
event.stopPropagation();
|
3568 |
|
|
|
|
|
3569 |
if ( this.dataset.side !== side ) {
|
3570 |
Backbone.$( this ).attr( 'data-side', side );
|
3571 |
}
|
5440 |
}
|
5441 |
},
|
5442 |
|
5443 |
+
getNextColumn: function( columnView ) {
|
5444 |
+
var modelIndex = this.collection.indexOf( columnView.model ),
|
5445 |
+
nextModel = this.collection.at( modelIndex + 1 );
|
5446 |
+
|
5447 |
+
return this.children.findByModelCid( nextModel.cid );
|
5448 |
+
},
|
5449 |
+
|
5450 |
onBeforeRender: function() {
|
5451 |
this._checkIsEmpty();
|
5452 |
},
|
5469 |
this.resetLayout();
|
5470 |
},
|
5471 |
|
5472 |
+
onChildviewRequestResizeStart: function( childView ) {
|
5473 |
+
var nextChildView = this.getNextColumn( childView );
|
5474 |
+
|
5475 |
+
if ( ! nextChildView ) {
|
5476 |
+
return;
|
5477 |
+
}
|
5478 |
+
|
5479 |
+
var $iframes = childView.$el.find( 'iframe' ).add( nextChildView.$el.find( 'iframe' ) );
|
5480 |
+
|
5481 |
+
elementor.helpers.disableElementEvents( $iframes );
|
5482 |
+
},
|
5483 |
+
|
5484 |
+
onChildviewRequestResizeStop: function( childView ) {
|
5485 |
+
var nextChildView = this.getNextColumn( childView );
|
5486 |
+
|
5487 |
+
if ( ! nextChildView ) {
|
5488 |
+
return;
|
5489 |
+
}
|
5490 |
+
|
5491 |
+
var $iframes = childView.$el.find( 'iframe' ).add( nextChildView.$el.find( 'iframe' ) );
|
5492 |
+
|
5493 |
+
elementor.helpers.enableElementEvents( $iframes );
|
5494 |
+
},
|
5495 |
+
|
5496 |
onChildviewRequestResize: function( childView, ui ) {
|
5497 |
// Get current column details
|
5498 |
var currentSize = childView.model.getSetting( '_inline_size' );
|
5511 |
} );
|
5512 |
|
5513 |
// Get next column details
|
5514 |
+
var nextChildView = this.getNextColumn( childView );
|
|
|
|
|
5515 |
|
5516 |
if ( ! nextChildView ) {
|
5517 |
return;
|
5603 |
},
|
5604 |
|
5605 |
initialize: function() {
|
5606 |
+
this
|
5607 |
+
.listenTo( this.collection, 'add remove reset', this.onCollectionChanged )
|
5608 |
+
.listenTo( elementor.panelElements, 'element:drag:start', this.onPanelElementDragStart )
|
5609 |
+
.listenTo( elementor.panelElements, 'element:drag:end', this.onPanelElementDragEnd );
|
|
|
|
|
|
|
|
|
5610 |
},
|
5611 |
|
5612 |
addChildModel: function( model, options ) {
|
5658 |
self.ui.addSectionArea.html5Droppable( {
|
5659 |
axis: [ 'vertical' ],
|
5660 |
groups: [ 'elementor-element' ],
|
5661 |
+
onDragEnter: function( side ) {
|
5662 |
+
self.ui.addSectionArea.attr( 'data-side', side );
|
|
|
|
|
5663 |
},
|
5664 |
onDragLeave: function() {
|
5665 |
self.ui.addSectionArea.removeAttr( 'data-side' );
|
5666 |
},
|
5667 |
onDropping: function() {
|
5668 |
var elementView = elementor.panelElements.request( 'element:selected' ),
|
5669 |
+
newSection = self.addSection(),
|
5670 |
+
elType = elementView.model.get( 'elType' );
|
5671 |
|
5672 |
+
var elementData = {
|
5673 |
id: elementor.helpers.getUniqueID(),
|
5674 |
+
elType: elType
|
|
|
5675 |
};
|
5676 |
|
5677 |
+
if ( 'widget' === elType ) {
|
5678 |
+
elementData.widgetType = elementView.model.get( 'widgetType' );
|
5679 |
+
} else {
|
5680 |
+
elementData.elements = [];
|
5681 |
+
elementData.isInner = true;
|
5682 |
+
}
|
5683 |
+
|
5684 |
+
newSection.triggerMethod( 'request:add', elementData );
|
5685 |
}
|
5686 |
} );
|
5687 |
|
5688 |
_.defer( _.bind( self.fixBlankPageOffset, this ) );
|
5689 |
},
|
5690 |
|
5691 |
+
onCollectionChanged: function() {
|
5692 |
+
elementor.setFlagEditorChange( true );
|
5693 |
+
},
|
5694 |
+
|
5695 |
onPresetSelected: function( event ) {
|
5696 |
this.closeSelectPresets();
|
5697 |
|
5713 |
|
5714 |
newSection.setStructure( selectedStructure );
|
5715 |
newSection.redefineLayout();
|
5716 |
+
},
|
5717 |
+
|
5718 |
+
onPanelElementDragStart: function() {
|
5719 |
+
elementor.helpers.disableElementEvents( this.$el.find( 'iframe' ) );
|
5720 |
+
},
|
5721 |
+
|
5722 |
+
onPanelElementDragEnd: function() {
|
5723 |
+
elementor.helpers.enableElementEvents( this.$el.find( 'iframe' ) );
|
5724 |
}
|
5725 |
} );
|
5726 |
|
assets/admin/js/app.min.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
-
/*! elementor - v0.6.
|
2 |
-
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){var d;d=Marionette.Application.extend({helpers:a("elementor-utils/helpers"),heartbeat:a("elementor-utils/heartbeat"),schemes:a("elementor-utils/schemes"),presetsFactory:a("elementor-utils/presets-factory"),modals:a("elementor-utils/modals"),introduction:a("elementor-utils/introduction"),editor:Backbone.Radio.channel("ELEMENTOR:editor"),data:Backbone.Radio.channel("ELEMENTOR:data"),filterState:Backbone.Radio.channel("ELEMENTOR:filterState"),elementLibrary:Backbone.Radio.channel("ELEMENTOR:elementLibrary"),panelElements:Backbone.Radio.channel("ELEMENTOR:panelElements"),dataEditMode:Backbone.Radio.channel("ELEMENTOR:editmode"),preview:Backbone.Radio.channel("ELEMENTOR:preview"),deviceMode:Backbone.Radio.channel("ELEMENTOR:deviceMode"),_controlsItemView:null,getElementData:function(a){var b=a.get("elType");if("widget"===b){var c=a.get("widgetType");return!!this.config.widgets[c]&&this.config.widgets[c]}return!!this.config.elements[b]&&this.config.elements[b]},getElementControls:function(a){var b=this.getElementData(a);if(!b)return!1;var c=a.get("elType"),d=a.get("isInner");return"widget"===c?b.controls:_.filter(b.controls,function(a){return!(d&&a.hide_in_inner||!d&&a.hide_in_top)})},getControlItemView:function(b){return null===this._controlsItemView&&(this._controlsItemView={color:a("elementor-views/controls/color"),dimensions:a("elementor-views/controls/dimensions"),image_dimensions:a("elementor-views/controls/image-dimensions"),media:a("elementor-views/controls/media"),slider:a("elementor-views/controls/slider"),wysiwyg:a("elementor-views/controls/wysiwyg"),choose:a("elementor-views/controls/choose"),url:a("elementor-views/controls/url"),font:a("elementor-views/controls/font"),section:a("elementor-views/controls/section"),repeater:a("elementor-views/controls/repeater"),wp_widget:a("elementor-views/controls/wp_widget"),icon:a("elementor-views/controls/icon"),gallery:a("elementor-views/controls/gallery"),select2:a("elementor-views/controls/select2"),box_shadow:a("elementor-views/controls/box-shadow"),structure:a("elementor-views/controls/structure"),animation:a("elementor-views/controls/animation"),hover_animation:a("elementor-views/controls/animation")},this.editor.trigger("editor:controls:initialize")),this._controlsItemView[b]||a("elementor-views/controls/base")},getPanelView:function(){return this.getRegion("panel").currentView},initDialogsManager:function(){this.dialogsManager=new DialogsManager.Instance},onStart:function(){NProgress.start(),NProgress.inc(.2),this.config=ElementorConfig;var b=a("elementor-models/element");Backbone.Radio.DEBUG=!1,Backbone.Radio.tuneIn("ELEMENTOR"),this.initDialogsManager(),this.heartbeat.init(),this.modals.init(),elementorBindUI.setEditorMode(!0),this.elements=new b.Collection(this.config.data),this.$previewWrapper=Backbone.$("#elementor-preview"),this.$previewResponsiveWrapper=Backbone.$("#elementor-preview-responsive-wrapper");var c="elementor-preview-iframe";if(!Backbone.$("#"+c).length){var d=document.createElement("iframe");d.id=c,d.src=this.config.preview_link+"&"+(new Date).getTime(),this.$previewResponsiveWrapper.append(d)}this.$preview=Backbone.$("#"+c),this.$preview.on("load",_.bind(function(){this.$previewContents=this.$preview.contents(),elementorBindUI.setScopeWindow(this.$preview[0].contentWindow),this.triggerMethod("preview:loaded")},this)),this.listenTo(this.dataEditMode,"switch",this.onEditModeSwitched),this.setWorkSaver()},onPreviewLoaded:function(){NProgress.done();var b=a("elementor-views/sections"),c=a("elementor-layouts/panel/panel"),d=this.$previewContents.find("#elementor");if(!d.length)return void this.onPreviewElNotFound();var e=new Marionette.Region({el:d[0]});this.schemes.init(),this.schemes.printSchemesStyle(),this.$previewContents.on("click",function(a){var b=Backbone.$(a.target),c=elementor.dataEditMode.request("activeMode"),d=!!b.closest("#elementor").length,e=this.contains(b[0]);d&&"preview"!==c||!e||(b.closest("a").length&&a.preventDefault(),d||elementor.getPanelView().setPage("elements"))}),this.addRegions({sections:e,panel:"#elementor-panel"}),this.getRegion("sections").show(new b({collection:this.elements})),this.getRegion("panel").show(new c),this.$previewContents.children().addClass("elementor-html").children("body").addClass("elementor-editor-active"),this.setResizablePanel(),Backbone.$("#elementor-loading").fadeOut(600),this.introduction.startOnLoadIntroduction()},onEditModeSwitched:function(){var a=elementor.dataEditMode.request("activeMode");"preview"===a?this.enterPreviewMode():this.exitPreviewMode()},onPreviewElNotFound:function(){var a=this.dialogsManager.createWidget("confirm",{id:"elementor-fatal-error-dialog",headerMessage:elementor.translate("preview_el_not_found_header"),message:elementor.translate("preview_el_not_found_message"),position:{my:"center center",at:"center center"},strings:{confirm:elementor.translate("learn_more"),cancel:elementor.translate("go_back")},onConfirm:function(){open(elementor.config.help_the_content_url,"_blank")},onCancel:function(){parent.history.go(-1)},hideOnButtonClick:!1});a.show()},setFlagEditorChange:function(a){elementor.editor.reply("editor:changed",a),elementor.editor.trigger("editor:changed",a)},isEditorChanged:function(){return!0===elementor.editor.request("editor:changed")},setWorkSaver:function(){Backbone.$(window).on("beforeunload",function(){if(elementor.isEditorChanged())return elementor.translate("before_unload_alert")})},setResizablePanel:function(){var a=this,b=elementor.config.is_rtl?"right":"left";a.panel.$el.resizable({handles:elementor.config.is_rtl?"w":"e",minWidth:200,maxWidth:500,start:function(){a.$previewWrapper.addClass("ui-resizable-resizing").css("pointer-events","none")},stop:function(){a.$previewWrapper.removeClass("ui-resizable-resizing").css("pointer-events",""),elementor.data.trigger("scrollbar:update")},resize:function(c,d){a.$previewWrapper.css(b,d.size.width)}})},enterPreviewMode:function(){this.$previewContents.find("body").add("body").removeClass("elementor-editor-active").addClass("elementor-editor-preview"),this.$previewWrapper.css(elementor.config.is_rtl?"right":"left",""),this.panel.$el.css("width","")},exitPreviewMode:function(){this.$previewContents.find("body").add("body").removeClass("elementor-editor-preview").addClass("elementor-editor-active")},saveBuilder:function(a){return a=_.extend({revision:"draft",onSuccess:null},a),NProgress.start(),Backbone.$.ajax({type:"POST",url:this.config.ajaxurl,data:{action:"elementor_save_builder",post_id:this.config.post_id,revision:a.revision,data:JSON.stringify(elementor.elements.toJSON()),_nonce:elementor.config.nonce}}).done(function(b){NProgress.done(),elementor.setFlagEditorChange(!1),_.isFunction(a.onSuccess)&&a.onSuccess.call(this,b)})},translate:function(a,b){var c=this.config.i18n[a];return void 0===c&&(c=a),b&&(c=c.replace(/{(\d+)}/g,function(a,c){return void 0!==b[c]?b[c]:a})),c}}),b.exports=(window.elementor=new d).start()},{"elementor-layouts/panel/panel":31,"elementor-models/element":34,"elementor-utils/heartbeat":38,"elementor-utils/helpers":39,"elementor-utils/introduction":40,"elementor-utils/modals":41,"elementor-utils/presets-factory":42,"elementor-utils/schemes":43,"elementor-views/controls/animation":46,"elementor-views/controls/base":49,"elementor-views/controls/box-shadow":50,"elementor-views/controls/choose":51,"elementor-views/controls/color":52,"elementor-views/controls/dimensions":53,"elementor-views/controls/font":54,"elementor-views/controls/gallery":55,"elementor-views/controls/icon":56,"elementor-views/controls/image-dimensions":57,"elementor-views/controls/media":58,"elementor-views/controls/repeater":60,"elementor-views/controls/section":61,"elementor-views/controls/select2":62,"elementor-views/controls/slider":63,"elementor-views/controls/structure":64,"elementor-views/controls/url":65,"elementor-views/controls/wp_widget":66,"elementor-views/controls/wysiwyg":67,"elementor-views/sections":70}],2:[function(a,b,c){var d;d=Marionette.Behavior.extend({onChildviewClickNew:function(a){var b=a.$el.index()+1;this.addChild({at:b})},onRequestNew:function(){this.addChild()},addChild:function(a){if(!this.view.isCollectionFilled()){a=a||{};var b={id:elementor.helpers.getUniqueID(),elType:this.view.getChildType()[0],settings:{},elements:[]};this.view.addChildModel(b,a)}}}),b.exports=d},{}],3:[function(a,b,c){var d;d=Marionette.Behavior.extend({onRequestAdd:function(a,b){this._addChildElement(a,b)},_addChildElement:function(a,b){b=b||{};var c=this.view.getChildType();if(-1===c.indexOf(a.elType))return delete b.at,void this.view.children.last().triggerMethod("request:add",a,b);var d=this.view.addChildModel(a,b),e=this.view.children.findByModel(d);"section"===e.getElementType()&&e.isInner()&&e.addEmptyColumn(),e.triggerMethod("open:editor")}}),b.exports=d},{}],4:[function(a,b,c){var d;d=Marionette.Behavior.extend({onChildviewClickDuplicate:function(a){if(!this.view.isCollectionFilled()){var b=this.view.collection.indexOf(a.model),c=a.model.clone();this.view.addChildModel(c,{at:b})}}}),b.exports=d},{}],5:[function(a,b,c){var d;d=Marionette.Behavior.extend({initialize:function(){this.listenTo(elementor.dataEditMode,"switch",this.onEditModeSwitched)},onEditModeSwitched:function(){var a=elementor.dataEditMode.request("activeMode");this.view.$el.toggleClass("elementor-active-mode","preview"!==a)},onRender:function(){this.onEditModeSwitched()}}),b.exports=d},{}],6:[function(a,b,c){var d;d=Marionette.Behavior.extend({onClickEdit:function(){var a=elementor.dataEditMode.request("activeMode");"preview"!==a&&this.onOpenEditor()},onOpenEditor:function(){var a=elementor.getPanelView().getCurrentPageName();if("editor"===a){var b=elementor.getPanelView().getCurrentPageView(),c=b.model;if(c===this.view.model)return}var d=elementor.getElementData(this.view.model);elementor.getPanelView().setPage("editor",elementor.translate("edit_element",[d.title]),{model:this.view.model,editedElementView:this.view})}}),b.exports=d},{}],7:[function(a,b,c){var d;d=Marionette.Behavior.extend({defaults:{handles:elementor.config.is_rtl?"w":"e"},ui:{columnTitle:".column-title"},events:{resize:"onResize"},initialize:function(){Marionette.Behavior.prototype.initialize.apply(this,arguments),this.listenTo(elementor.dataEditMode,"switch",this.onEditModeSwitched)},active:function(){var a=_.clone(this.options);delete a.behaviorClass;var b=this.getChildViewContainer(),c={},d=_.extend(c,a);b.resizable(d)},deactivate:function(){this.getChildViewContainer().resizable("instance")&&this.getChildViewContainer().resizable("destroy")},onEditModeSwitched:function(){var a=elementor.dataEditMode.request("activeMode");"preview"!==a?this.active():this.deactivate()},onRender:function(){_.defer(_.bind(this.onEditModeSwitched,this))},onDestroy:function(){this.deactivate()},onResize:function(a,b){a.stopPropagation(),this.view.triggerMethod("request:resize",b)},getChildViewContainer:function(){return this.$el}}),b.exports=d},{}],8:[function(a,b,c){var d;d=Marionette.Behavior.extend({defaults:{elChildType:"widget"},events:{sortstart:"onSortStart",sortreceive:"onSortReceive",sortupdate:"onSortUpdate",sortstop:"onSortStop",sortover:"onSortOver",sortout:"onSortOut"},initialize:function(){this.listenTo(elementor.dataEditMode,"switch",this.onEditModeSwitched),this.listenTo(elementor.deviceMode,"change",this.onDeviceModeChange)},onEditModeSwitched:function(){var a=elementor.dataEditMode.request("activeMode");"preview"!==a?this.active():this.deactivate()},onDeviceModeChange:function(){var a=elementor.deviceMode.request("currentMode");"desktop"===a?this.active():this.deactivate()},onRender:function(){_.defer(_.bind(this.onEditModeSwitched,this))},onDestroy:function(){this.deactivate()},active:function(){if(!this.getChildViewContainer().sortable("instance")){var a=this.getChildViewContainer(),b={connectWith:a.selector,cursor:"move",placeholder:"elementor-sortable-placeholder",cursorAt:{top:20,left:25},helper:_.bind(this._getSortableHelper,this)},c=_.extend(b,this.view.getSortableOptions());a.sortable(c)}},_getSortableHelper:function(a,b){var c=this.view.collection.get({cid:b.data("model-cid")});return'<div style="height: 84px; width: 125px;" class="elementor-sortable-helper elementor-sortable-helper-'+c.get("elType")+'"><div class="icon"><i class="eicon-'+c.getIcon()+'"></i></div><div class="elementor-element-title-wrapper"><div class="title">'+c.getTitle()+"</div></div></div>"},deactivate:function(){this.getChildViewContainer().sortable("instance")&&this.getChildViewContainer().sortable("destroy")},onSortStart:function(a,b){a.stopPropagation();var c=this.view.collection.get({cid:b.item.data("model-cid")});if("column"===this.options.elChildType){b.placeholder.addClass("elementor-column");var d=b.item.data("sortableItem"),e=d.items,f=0;e.forEach(function(a){if(a.item[0]===b.item[0])return f=a.height,!1}),b.placeholder.height(f)}elementor.data.trigger(c.get("elType")+":drag:start"),elementor.data.reply("cache:"+c.cid,c)},onSortOver:function(a,b){a.stopPropagation();var c=elementor.data.request("cache:"+b.item.data("model-cid"));Backbone.$(a.target).addClass("elementor-draggable-over").attr({"data-dragged-element":c.get("elType"),"data-dragged-is-inner":c.get("isInner")}),this.$el.addClass("elementor-dragging-on-child")},onSortOut:function(a){a.stopPropagation(),Backbone.$(a.target).removeClass("elementor-draggable-over").removeAttr("data-dragged-element data-dragged-is-inner"),this.$el.removeClass("elementor-dragging-on-child")},onSortReceive:function(a,b){if(a.stopPropagation(),this.view.isCollectionFilled())return void Backbone.$(b.sender).sortable("cancel");var c=elementor.data.request("cache:"+b.item.data("model-cid")),d=c.get("elType"),e="section"===d&&c.get("isInner"),f="column"===this.view.getElementType()&&this.view.isInner();if(e&&f)return void Backbone.$(b.sender).sortable("cancel");var g=b.item.parent().children().index(b.item),h=new this.view.collection.model(c.toJSON({copyHtmlCache:!0}));this.view.addChildModel(h,{at:g}),elementor.data.trigger(d+":drag:end"),c.destroy()},onSortUpdate:function(a,b){a.stopPropagation();var c=this.view.collection.get(b.item.attr("data-model-cid"));c&&elementor.data.trigger(c.get("elType")+":drag:end")},onSortStop:function(a,b){a.stopPropagation();var c=b.item,d=this.view.collection,e=d.get(c.attr("data-model-cid")),f=c.parent().children().index(c);if(this.getChildViewContainer()[0]===b.item.parent()[0]&&null===b.sender&&e){var g=d.indexOf(e);g!==f&&(d.remove(e,{silent:!0}),d.add(e,{silent:!0,at:f}),elementor.setFlagEditorChange(!0)),elementor.data.trigger(e.get("elType")+":drag:end")}},onAddChild:function(a){a.$el.attr("data-model-cid",a.model.cid)},getChildViewContainer:function(){return"function"==typeof this.view.getChildViewContainer?this.view.getChildViewContainer(this.view):this.$el}}),b.exports=d},{}],9:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-mode-switcher-content",id:"elementor-mode-switcher-inner",ui:{previewButton:"#elementor-mode-switcher-preview-input",previewLabel:"#elementor-mode-switcher-preview",previewLabelA11y:"#elementor-mode-switcher-preview .elementor-screen-only"},events:{"change @ui.previewButton":"onEditModeChange"},getCurrentMode:function(){return this.ui.previewButton.is(":checked")?"preview":"edit"},setMode:function(a){this.ui.previewButton.prop("checked","preview"===a)},onRender:function(){this.onEditModeChange()},onEditModeChange:function(){var a=elementor.dataEditMode.request("activeMode"),b=this.getCurrentMode();if(elementor.dataEditMode.reply("activeMode",b),b!==a){elementor.dataEditMode.trigger("switch");var c="preview"===b?"Back to Editor":"Preview";this.ui.previewLabel.attr("title",c),this.ui.previewLabelA11y.text(c)}}}),b.exports=d},{}],10:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-footer-content",tagName:"nav",id:"elementor-panel-footer-tools",defaultDeviceMode:"desktop",currentDeviceMode:"",possibleRotateModes:["portrait","landscape"],ui:{menuButtons:".elementor-panel-footer-tool",deviceModeButtons:"#elementor-panel-footer-responsive .elementor-panel-footer-sub-menu-item",buttonSave:"#elementor-panel-footer-save",buttonSaveButton:"#elementor-panel-footer-save .elementor-button",buttonPublish:"#elementor-panel-footer-publish",watchTutorial:"#elementor-panel-footer-watch-tutorial"},events:{"click @ui.deviceModeButtons":"onClickResponsiveButtons","click @ui.buttonSave":"onClickButtonSave","click @ui.buttonPublish":"onClickButtonPublish","click @ui.watchTutorial":"onClickWatchTutorial"},initialize:function(){this._initDialog(),Backbone.$(document).on("click",_.bind(this.onDocumentClick,this)),this.listenTo(elementor.editor,"editor:changed",this.onEditorChanged)},_initDialog:function(){var a;this.getDialog=function(){if(!a){var b=Backbone.$,c=b("<div>",{class:"elementor-dialog-message"}),d=b("<i>",{class:"fa fa-check-circle"}),e=b("<div>",{class:"elementor-dialog-message-text"}).text(elementor.translate("saved"));c.append(d,e),a=elementor.dialogsManager.createWidget("popup",{hide:{delay:1500}}),a.setMessage(c)}return a}},_publishBuilder:function(){var a=this,b={revision:"publish",onSuccess:function(){a.getDialog().show(),a.ui.buttonSaveButton.removeClass("elementor-button-state")}};a.ui.buttonSaveButton.addClass("elementor-button-state"),elementor.saveBuilder(b)},_saveBuilderDraft:function(){elementor.saveBuilder()},onRender:function(){this.changeDeviceMode(this.defaultDeviceMode)},changeDeviceMode:function(a){this.currentDeviceMode!==a&&(this.getCurrentDeviceModeButton().removeClass("active"),elementor.$previewWrapper.removeClass("elementor-device-"+this.currentDeviceMode).addClass("elementor-device-"+a),this.currentDeviceMode=a,this.getCurrentDeviceModeButton().addClass("active"),elementor.deviceMode.reply("currentMode",this.currentDeviceMode),elementor.deviceMode.trigger("change"))},getCurrentDeviceModeButton:function(){return this.ui.deviceModeButtons.filter('[data-device-mode="'+this.currentDeviceMode+'"]')},onDocumentClick:function(a){var b=Backbone.$(a.target),c=b.closest(".elementor-panel-footer-sub-menu-wrapper").length;if(!c){var d=b.closest(".elementor-panel-footer-tool"),e=d.length&&!d.hasClass("elementor-open");this.ui.menuButtons.removeClass("elementor-open"),e&&d.addClass("elementor-open")}},onEditorChanged:function(){this.ui.buttonSave.toggleClass("elementor-save-active",elementor.isEditorChanged())},onClickButtonSave:function(){this._publishBuilder()},onClickButtonPublish:function(a){a.stopPropagation(),this._publishBuilder()},onClickResponsiveButtons:function(a){var b=this.$(a.currentTarget),c=b.data("device-mode");this.changeDeviceMode(c)},onClickWatchTutorial:function(){elementor.introduction.startIntroduction()}}),b.exports=d},{}],11:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-header",id:"elementor-panel-header",ui:{menuButton:"#elementor-panel-header-menu-button",title:"#elementor-panel-header-title",addButton:"#elementor-panel-header-add-button"},events:{"click @ui.addButton":"onClickAdd","click @ui.menuButton":"onClickMenu"},setTitle:function(a){this.ui.title.html(a)},onClickAdd:function(){elementor.getPanelView().setPage("elements")},onClickMenu:function(){var a=elementor.getPanelView(),b=a.getCurrentPageName(),c="menu"===b?"elements":"menu";a.setPage(c)}}),b.exports=d},{}],12:[function(a,b,c){var d;d=Marionette.CompositeView.extend({template:Marionette.TemplateCache.get("#tmpl-editor-content"),id:"elementor-panel-page-editor",templateHelpers:function(){return{elementData:elementor.getElementData(this.model)}},childViewContainer:"div.elementor-controls",modelEvents:{destroy:"onModelDestroy"},ui:{tabs:".elementor-tabs-controls li"},events:{"click @ui.tabs a":"onClickTabControl"},getChildView:function(a){var b=a.get("type");return elementor.getControlItemView(b)},childViewOptions:function(){return{elementSettingsModel:this.model.get("settings"),elementEditSettings:this.model.get("editSettings")}},onDestroy:function(){this.getOption("editedElementView").$el.removeClass("elementor-element-editable"),this.model.trigger("editor:close"),this.triggerMethod("editor:destroy")},onBeforeRender:function(){var a=elementor.getElementControls(this.model.get("settings"));if(!a)throw new Error("No found editor controls");this.collection=new Backbone.Collection(a)},onRender:function(){this.getOption("editedElementView").$el.addClass("elementor-element-editable"),this.ui.tabs.eq(0).find("a").trigger("click"),this.$(".tooltip-target").tipsy({gravity:function(){var a=Backbone.$(this).data("tooltip-pos");return void 0!==a?a:"n"},title:function(){return this.getAttribute("data-tooltip")}})},onModelDestroy:function(){this.destroy()},onClickTabControl:function(a){a.preventDefault();var b=this.$(a.target);this.ui.tabs.removeClass("active"),b.closest("li").addClass("active"),this.model.get("settings").trigger("control:switch:tab",b.data("tab")),this.openFirstSectionInCurrentTab(b.data("tab"))},openFirstSectionInCurrentTab:function(a){var b="elementor-open",c=this.children.filter(function(a){return!_.isEmpty(a.model.get("section"))}),d=this.children.filter(function(b){return"section"===b.model.get("type")&&a===b.model.get("tab")});_.isEmpty(d)||(d=d[0],d.ui.heading.addClass(b),_.each(c,function(a){return a.model.get("section")!==d.model.get("name")?void a.$el.removeClass(b):void a.$el.addClass(b)}))},onChildviewControlSectionClicked:function(a){var b="elementor-open",c=a.model.get("name"),d=a.ui.heading.hasClass(b),e=this.children.filter(function(a){return!_.isEmpty(a.model.get("section"))});this.$(".elementor-control.elementor-control-type-section .elementor-panel-heading").removeClass(b),d?c="":a.ui.heading.addClass(b),_.each(e,function(a){return a.model.get("section")!==c?void a.$el.removeClass(b):void a.$el.addClass(b)}),elementor.data.trigger("scrollbar:update")}}),b.exports=d},{}],13:[function(a,b,c){var d,e=a("../models/element");d=Backbone.Collection.extend({model:e}),b.exports=d},{"../models/element":16}],14:[function(a,b,c){var d,e=a("../models/element");d=Backbone.Collection.extend({model:e}),b.exports=d},{"../models/element":16}],15:[function(a,b,c){var d,e=a("./collections/categories"),f=a("./collections/elements"),g=a("./views/categories"),h=a("./views/elements"),i=a("./views/search");d=Marionette.LayoutView.extend({template:"#tmpl-elementor-panel-elements",regions:{elements:"#elementor-panel-elements-wrapper",search:"#elementor-panel-elements-search-area"},elementsCollection:null,categoriesCollection:null,initialize:function(){this.listenTo(elementor.panelElements,"element:selected",this.destroy)},initElementsCollection:function(){var a=new f,b=elementor.config.elements.section;a.add({title:elementor.translate("inner_section"),elType:"section",categories:b.categories,keywords:b.keywords,icon:b.icon}),_.each(elementor.config.widgets,function(b,c){a.add({title:b.title,elType:"widget",categories:b.categories,keywords:b.keywords,icon:b.icon,widgetType:c})}),this.elementsCollection=a},initCategoriesCollection:function(){var a={};this.elementsCollection.each(function(b){_.each(b.get("categories"),function(c){a[c]||(a[c]=[]),a[c].push(b)})});var b=new e;_.each(elementor.config.elements_categories,function(c,d){a[d]&&b.add({name:d,title:c.title,icon:c.icon,items:a[d]})}),this.categoriesCollection=b},showCategoriesView:function(){this.getRegion("elements").show(new g({collection:this.categoriesCollection}))},showElementsView:function(){this.getRegion("elements").show(new h({collection:this.elementsCollection}))},clearSearchInput:function(){this.getChildView("search").clearInput()},changeFilter:function(a){elementor.panelElements.reply("filter:value",a).trigger("change")},clearFilters:function(){this.changeFilter(null),this.clearSearchInput()},onChildviewDragStart:function(a){elementor.panelElements.reply("element:selected",a)},onChildviewChildrenRender:function(){this.updateElementsScrollbar()},onChildviewSearchChangeInput:function(a){var b=a.ui.input.val();if(_.isEmpty(b))this.showCategoriesView();else{var c=elementor.panelElements.request("filter:value");_.isEmpty(c)&&this.showElementsView()}this.changeFilter(b,"search")},onDestroy:function(){elementor.panelElements.reply("filter:value",null)},onShow:function(){var a=this.getRegion("search");this.initElementsCollection(),this.initCategoriesCollection(),this.showCategoriesView(),a.show(new i)},updateElementsScrollbar:function(){elementor.data.trigger("scrollbar:update")}}),b.exports=d},{"./collections/categories":13,"./collections/elements":14,"./views/categories":17,"./views/elements":20,"./views/search":21}],16:[function(a,b,c){var d;d=Backbone.Model.extend({defaults:{title:"",categories:[],keywords:[],icon:"",elType:"widget",widgetType:""}}),b.exports=d},{}],17:[function(a,b,c){var d,e=a("./category");d=Marionette.CollectionView.extend({childView:e,id:"elementor-panel-elements-categories"}),b.exports=d},{"./category":18}],18:[function(a,b,c){var d,e=a("./element"),f=a("../collections/elements");d=Marionette.CompositeView.extend({template:"#tmpl-elementor-panel-elements-category",className:"elementor-panel-category",childView:e,childViewContainer:".panel-elements-category-items",initialize:function(){this.collection=new f(this.model.get("items"))}}),b.exports=d},{"../collections/elements":14,"./element":19}],19:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-element-library-element",className:"elementor-element-wrapper",triggers:{dragend:"drag:end"},onRender:function(){this.$el.html5Draggable({onDragStart:_.bind(function(){this.triggerMethod("drag:start")},this),groups:["elementor-element"]})}}),b.exports=d},{}],20:[function(a,b,c){var d,e=a("./element");d=Marionette.CollectionView.extend({childView:e,id:"elementor-panel-elements",initialize:function(){this.listenTo(elementor.panelElements,"change",this.onFilterChanged)},filter:function(a){var b=elementor.panelElements.request("filter:value");return!b||_.any(["title","keywords"],function(c){return-1!==a.get(c).toLowerCase().indexOf(b.toLowerCase())})},onFilterChanged:function(){this._renderChildren(),this.triggerMethod("children:render")}}),b.exports=d},{"./element":19}],21:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-element-search",id:"elementor-panel-elements-search-wrapper",ui:{input:"input"},events:{"keyup @ui.input":"onInputChanged"},onInputChanged:function(a){var b=27;b===a.keyCode&&this.clearInput(),this.triggerMethod("search:change:input")},clearInput:function(){this.ui.input.val("")}}),b.exports=d},{}],22:[function(a,b,c){var d,e=a("elementor-panel/pages/menu/views/item");d=Marionette.CollectionView.extend({id:"elementor-panel-page-menu",childView:e,initialize:function(){this.collection=new Backbone.Collection([{icon:"paint-brush",title:elementor.translate("global_colors"),type:"page",pageName:"colorScheme"},{icon:"font",title:elementor.translate("global_fonts"),type:"page",pageName:"typographyScheme"},{icon:"file-text",title:elementor.translate("page_settings")+" <span>("+elementor.translate("soon")+")</span>"},{icon:"cog",title:elementor.translate("elementor_settings"),type:"link",link:elementor.config.settings_page_link},{icon:"history",title:elementor.translate("revisions_history")+" <span>("+elementor.translate("soon")+")</span>"},{icon:"info-circle",title:elementor.translate("about_elementor"),type:"link",link:elementor.config.elementor_site,newTab:!0}])},onChildviewClick:function(a){var b=a.model.get("type");switch(b){case"page":var c=a.model.get("pageName"),d=a.model.get("title");elementor.getPanelView().setPage(c,d);break;case"link":var e=a.model.get("link"),f=a.model.get("newTab");f?open(e,"_blank"):location.href=a.model.get("link")}}}),b.exports=d},{"elementor-panel/pages/menu/views/item":23}],23:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-menu-item",className:"elementor-panel-menu-item",triggers:{click:"click"}}),b.exports=d},{}],24:[function(a,b,c){var d;d=Marionette.CompositeView.extend({id:function(){return"elementor-panel-scheme-"+this.getType()},className:"elementor-panel-scheme",childViewContainer:".elementor-panel-scheme-items",getTemplate:function(){return Marionette.TemplateCache.get("#tmpl-elementor-panel-schemes-"+this.getType())},ui:function(){return{saveButton:".elementor-panel-scheme-save .elementor-button",discardButton:".elementor-panel-scheme-discard .elementor-button",resetButton:".elementor-panel-scheme-reset .elementor-button"}},events:function(){return{"click @ui.saveButton":"saveScheme","click @ui.discardButton":"discardScheme","click @ui.resetButton":"setDefaultScheme"}},initialize:function(){this.model=new Backbone.Model,this.resetScheme()},getType:function(){},getScheme:function(){return elementor.schemes.getScheme(this.getType())},changeChildrenUIValues:function(a){var b=this;_.each(a,function(a,c){var d=b.collection.findWhere({key:c}),e=b.children.findByModelCid(d.cid);e.changeUIValue(a)})},discardScheme:function(){elementor.schemes.resetSchemes(this.getType()),this.ui.saveButton.prop("disabled",!0),this._renderChildren()},setSchemeValue:function(a,b){elementor.schemes.setSchemeValue(this.getType(),a,b)},saveScheme:function(){elementor.schemes.saveScheme(this.getType()),this.ui.saveButton.prop("disabled",!0),this.resetScheme(),this._renderChildren()},setDefaultScheme:function(){var a=elementor.config.default_schemes[this.getType()].items;this.changeChildrenUIValues(a)},resetItems:function(){this.model.set("items",this.getScheme().items)},resetCollection:function(){var a=this.model.get("items");this.collection=new Backbone.Collection,_.each(a,_.bind(function(a,b){a.type=this.getType(),a.key=b,this.collection.add(a)},this))},resetScheme:function(){this.resetItems(),this.resetCollection()},onChildviewValueChange:function(a,b){this.ui.saveButton.removeProp("disabled"),this.setSchemeValue(a.model.get("key"),b)}}),b.exports=d},{}],25:[function(a,b,c){var d,e=a("elementor-panel/pages/schemes/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.systemSchemes=".elementor-panel-scheme-color-system-scheme",a},events:function(){var a=e.prototype.events.apply(this,arguments);return a["click @ui.systemSchemes"]="onSystemSchemeClick",a},getChildView:function(){return a("elementor-panel/pages/schemes/items/color")},getType:function(){return"color"},onSystemSchemeClick:function(a){var b=Backbone.$(a.currentTarget),c=b.data("schemeName"),d=elementor.config.system_schemes.color[c].items;this.changeChildrenUIValues(d)}}),b.exports=d},{"elementor-panel/pages/schemes/base":24,"elementor-panel/pages/schemes/items/color":28}],26:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-schemes-disabled",disabledTitle:"",templateHelpers:function(){return{disabledTitle:this.disabledTitle}},id:"elementor-panel-schemes-disabled"}),b.exports=d},{}],27:[function(a,b,c){var d;d=Marionette.ItemView.extend({getTemplate:function(){return Marionette.TemplateCache.get("#tmpl-elementor-panel-scheme-"+this.model.get("type")+"-item")},className:function(){return"elementor-panel-scheme-item"}}),b.exports=d},{}],28:[function(a,b,c){var d,e=a("elementor-panel/pages/schemes/items/base");d=e.extend({ui:{input:".elementor-panel-scheme-color-value"},changeUIValue:function(a){this.ui.input.wpColorPicker("color",a)},onBeforeDestroy:function(){this.ui.input.wpColorPicker("instance")&&this.ui.input.wpColorPicker("close")},onRender:function(){
|
3 |
-
this.ui.input.wpColorPicker({change:_.bind(function(a,b){this.triggerMethod("value:change",b.color.toString())},this)})}}),b.exports=d},{"elementor-panel/pages/schemes/items/base":27}],29:[function(a,b,c){var d,e=a("elementor-panel/pages/schemes/items/base");d=e.extend({className:function(){var a=e.prototype.className.apply(this,arguments);return a+" elementor-panel-box"},ui:{heading:".elementor-panel-heading",allFields:".elementor-panel-scheme-typography-item-field",inputFields:"input.elementor-panel-scheme-typography-item-field",selectFields:"select.elementor-panel-scheme-typography-item-field",selectFamilyFields:'select.elementor-panel-scheme-typography-item-field[name="font_family"]'},events:{"input @ui.inputFields":"onFieldChange","change @ui.selectFields":"onFieldChange","click @ui.heading":"toggleVisibility"},onRender:function(){var a=this;this.ui.inputFields.add(this.ui.selectFields).each(function(){var b=Backbone.$(this),c=b.attr("name"),d=a.model.get("value")[c];b.val(d)}),this.ui.selectFamilyFields.select2({dir:elementor.config.is_rtl?"rtl":"ltr"})},toggleVisibility:function(){this.ui.heading.toggleClass("elementor-open")},changeUIValue:function(a){this.ui.allFields.each(function(){var b=Backbone.$(this),c=b.attr("name"),d=a[c];b.val(d).trigger("change")})},onFieldChange:function(a){var b=this.$(a.currentTarget),c=elementor.helpers.cloneObject(this.model.get("value")),d=b.attr("name");c[d]=b.val(),"font_family"!==d||_.isEmpty(c[d])||elementor.helpers.enqueueFont(c[d]),this.triggerMethod("value:change",c)}}),b.exports=d},{"elementor-panel/pages/schemes/items/base":27}],30:[function(a,b,c){var d,e=a("elementor-panel/pages/schemes/base");d=e.extend({getChildView:function(){return a("elementor-panel/pages/schemes/items/typography")},getType:function(){return"typography"}}),b.exports=d},{"elementor-panel/pages/schemes/base":24,"elementor-panel/pages/schemes/items/typography":29}],31:[function(a,b,c){var d,e=a("elementor-layouts/edit-mode");d=Marionette.LayoutView.extend({template:"#tmpl-elementor-panel",id:"elementor-panel-inner",regions:{content:"#elementor-panel-content-wrapper",header:"#elementor-panel-header-wrapper",footer:"#elementor-panel-footer",modeSwitcher:"#elementor-mode-switcher"},pages:{},childEvents:{"click:add":function(){this.setPage("elements")},"editor:destroy":function(){this.setPage("elements")}},currentPageName:null,_isScrollbarInitialized:!1,initialize:function(){this.initPages()},initPages:function(){var b={elements:{view:a("elementor-panel/pages/elements/elements"),title:'<img src="'+elementor.config.assets_url+'images/logo-panel.svg">'},editor:{view:a("elementor-panel/pages/editor")},menu:{view:a("elementor-panel/pages/menu/menu"),title:'<img src="'+elementor.config.assets_url+'images/logo-panel.svg">'},colorScheme:{view:a("elementor-panel/pages/schemes/colors")},typographyScheme:{view:a("elementor-panel/pages/schemes/typography")}},c=Object.keys(elementor.schemes.getSchemes()),d=_.difference(c,elementor.schemes.getEnabledSchemesTypes());_.each(d,function(c){var d=elementor.schemes.getScheme(c);b[c+"Scheme"].view=a("elementor-panel/pages/schemes/disabled").extend({disabledTitle:d.disabled_title})}),this.pages=b},getHeaderView:function(){return this.getChildView("header")},getCurrentPageName:function(){return this.currentPageName},getCurrentPageView:function(){return this.getChildView("content")},setPage:function(a,b,c){var d=this.pages[a];if(!d)throw new ReferenceError("Elementor panel doesn't have page named '"+a+"'");this.showChildView("content",new d.view(c)),this.getHeaderView().setTitle(b||d.title),this.currentPageName=a},onBeforeShow:function(){elementor.filterState.reply("get",{type:"parent",term:""});var b=a("elementor-layouts/panel/footer"),c=a("elementor-layouts/panel/header");this.showChildView("modeSwitcher",new e),this.showChildView("header",new c),this.showChildView("footer",new b),this.updateScrollbar=_.throttle(this.updateScrollbar,100),this.getRegion("content").on("before:show",_.bind(this.onEditorBeforeShow,this)).on("empty",_.bind(this.onEditorEmpty,this)).on("show",_.bind(this.updateScrollbar,this)),this.setPage("elements"),this.listenTo(elementor.data,"scrollbar:update",this.updateScrollbar)},onEditorBeforeShow:function(){_.defer(_.bind(this.updateScrollbar,this))},onEditorEmpty:function(){this.updateScrollbar()},updateScrollbar:function(){var a=this.content.$el;return this._isScrollbarInitialized?void a.perfectScrollbar("update"):(a.perfectScrollbar(),void(this._isScrollbarInitialized=!0))}}),b.exports=d},{"elementor-layouts/edit-mode":9,"elementor-layouts/panel/footer":10,"elementor-layouts/panel/header":11,"elementor-panel/pages/editor":12,"elementor-panel/pages/elements/elements":15,"elementor-panel/pages/menu/menu":22,"elementor-panel/pages/schemes/colors":25,"elementor-panel/pages/schemes/disabled":26,"elementor-panel/pages/schemes/typography":30}],32:[function(a,b,c){var d;d=Backbone.Model.extend({initialize:function(a){if(this.controls=elementor.getElementControls(this),this.controls){var b=a||{},c={};_.each(this.controls,function(a){var b=elementor.config.controls[a.type];_.isObject(b.default_value)?c[a.name]=_.extend({},b.default_value,a.default||{}):c[a.name]=a.default||b.default_value}),this.defaults=c,b=_.defaults({},b,c),_.each(this.controls,function(a){"repeater"===a.type&&(b[a.name]=new Backbone.Collection(b[a.name],{model:d}))}),this.set(b)}},getFontControls:function(){return _.filter(this.controls,_.bind(function(a){return"font"===a.type},this))},getStyleControls:function(){return _.filter(this.controls,_.bind(function(a){return this.isStyleControl(a.name)},this))},isStyleControl:function(a){var b=_.find(this.controls,function(b){return a===b.name});return!_.isUndefined(b)&&!_.isEmpty(b.selectors)},getClassControls:function(){return _.filter(this.controls,_.bind(function(a){return this.isClassControl(a.name)},this))},isClassControl:function(a){var b=_.find(this.controls,function(b){return a===b.name});return b&&!_.isUndefined(b.prefix_class)},getControl:function(a){return _.find(this.controls,function(b){return a===b.name})},clone:function(){return new d(elementor.helpers.cloneObject(this.attributes))},toJSON:function(){var a=Backbone.Model.prototype.toJSON.call(this);return delete a.widgetType,delete a.elType,delete a.isInner,_.each(a,function(b,c){b&&b.toJSON&&(a[c]=b.toJSON())}),a}}),b.exports=d},{}],33:[function(a,b,c){var d,e=a("elementor-models/base-settings");d=e.extend({defaults:{_inline_size:"",_column_size:100}}),b.exports=d},{"elementor-models/base-settings":32}],34:[function(a,b,c){var d,e,f=a("elementor-models/base-settings"),g=a("elementor-models/widget-settings"),h=a("elementor-models/column-settings"),i=a("elementor-models/row-settings"),j=a("elementor-models/section-settings");d=Backbone.Model.extend({defaults:{id:"",elType:"",isInner:!1,settings:{},defaultEditSettings:{}},remoteRender:!1,_htmlCache:null,_jqueryXhr:null,initialize:function(a){var b,c=this.get("elements"),d=this.get("elType"),k={widget:g,column:h,row:i,section:j},l=k[d]||f;b=this.get("settings")||{},"widget"===d&&(b.widgetType=this.get("widgetType")),b.elType=d,b.isInner=this.get("isInner"),b=new l(b),this.set("settings",b),this.initEditSettings(),void 0!==c&&this.set("elements",new e(c)),"widget"===this.get("elType")&&(this.remoteRender=!0,this.setHtmlCache(a.htmlCache||"")),delete a.htmlCache,this.renderRemoteServer=_.throttle(this.renderRemoteServer,1e3),this.on("destroy",this.onDestroy),this.on("editor:close",this.onCloseEditor)},initEditSettings:function(){this.set("editSettings",new Backbone.Model(this.get("defaultEditSettings")))},onDestroy:function(){var a=this.get("settings"),b=this.get("elements");void 0!==b&&_.each(_.clone(b.models),function(a){a.destroy()}),a.destroy()},onCloseEditor:function(){this.initEditSettings(),this.renderRemoteServer()},setSetting:function(a,b,c){c=c||!1;var d=this.get("settings");d.set(a,b),this.set("settings",d),c&&(this.trigger("change",this),this.trigger("change:settings",this),this.trigger("change:settings:"+a,this))},getSetting:function(a){var b=this.get("settings");return void 0===b.get(a)?"":b.get(a)},setHtmlCache:function(a){this._htmlCache=a},getHtmlCache:function(){return this._htmlCache},getTitle:function(){var a=elementor.getElementData(this);return a?a.title:"Unknown"},getIcon:function(){var a=elementor.getElementData(this);return a?a.icon:"unknown"},renderRemoteServer:function(){if(this.remoteRender){this.trigger("before:remote:render"),this._jqueryXhr&&4!==this._jqueryXhr&&this._jqueryXhr.abort();var a=this.toJSON();this._jqueryXhr=Backbone.$.ajax({type:"POST",url:elementor.config.ajaxurl,data:{action:"elementor_render_widget",post_id:elementor.config.post_id,data:JSON.stringify(a),_nonce:elementor.config.nonce},dataType:"json"}).done(_.bind(this.onRemoteGetHtml,this))}},onRemoteGetHtml:function(a){this.setHtmlCache(a.data.render),this.trigger("remote:render")},clone:function(){var a=Backbone.Model.prototype.clone.apply(this,arguments);a.set("id",elementor.helpers.getUniqueID()),a.setHtmlCache(this.getHtmlCache());var b=this.get("elements"),c=this.get("settings");return _.isEmpty(b)||a.set("elements",b.clone()),a.set("settings",c.clone()),a},toJSON:function(a){a=_.extend({copyHtmlCache:!1},a);var b=Backbone.Model.prototype.toJSON.call(this);return _.each(b,function(c,d){c&&c.toJSON&&(b[d]=c.toJSON(a))}),a.copyHtmlCache?b.htmlCache=this.getHtmlCache():delete b.htmlCache,b}}),e=Backbone.Collection.extend({add:function(a,b,c){if(!(b&&b.silent||c))throw"Call Error: Adding model to element collection is allowed only by the dedicated addChildModel() method.";return Backbone.Collection.prototype.add.call(this,a,b)},model:function(a,b){return a.elType?new d(a,b):new Backbone.Model(a,b)},clone:function(){var a=Backbone.Collection.prototype.clone.apply(this,arguments),b=new e;return a.forEach(function(a){b.add(a.clone(),null,!0)}),b}}),e.prototype.sync=function(){return null},e.prototype.fetch=function(){return null},e.prototype.save=function(){return null},d.prototype.sync=function(){return null},d.prototype.fetch=function(){return null},d.prototype.save=function(){return null},b.exports={Model:d,Collection:e}},{"elementor-models/base-settings":32,"elementor-models/column-settings":33,"elementor-models/row-settings":35,"elementor-models/section-settings":36,"elementor-models/widget-settings":37}],35:[function(a,b,c){var d,e=a("elementor-models/base-settings");d=e.extend({defaults:{}}),b.exports=d},{"elementor-models/base-settings":32}],36:[function(a,b,c){var d,e=a("elementor-models/base-settings");d=e.extend({defaults:{}}),b.exports=d},{"elementor-models/base-settings":32}],37:[function(a,b,c){var d,e=a("elementor-models/base-settings");d=e.extend({}),b.exports=d},{"elementor-models/base-settings":32}],38:[function(a,b,c){var d;d={init:function(){var a;this.getModal=function(){return a||(a=this.initModal()),a},Backbone.$(document).on({"heartbeat-send":function(a,b){b.elementor_post_lock={post_ID:elementor.config.post_id}},"heartbeat-tick":function(a,b){b.locked_user?d.showLockMessage(b.locked_user):d.getModal().hide(),elementor.config.nonce=b.elementor_nonce}}),elementor.config.locked_user&&d.showLockMessage(elementor.config.locked_user)},initModal:function(){var a=elementor.dialogsManager.createWidget("options",{headerMessage:elementor.translate("take_over")});return a.addButton({name:"go_back",text:elementor.translate("go_back"),callback:function(){parent.history.go(-1)}}),a.addButton({name:"take_over",text:elementor.translate("take_over"),callback:function(){wp.heartbeat.enqueue("elementor_force_post_lock",!0),wp.heartbeat.connectNow()}}),a},showLockMessage:function(a){var b=d.getModal();b.setMessage(elementor.translate("dialog_user_taken_over",[a])).show()}},b.exports=d},{}],39:[function(a,b,c){var d;d={_enqueuedFonts:[],elementsHierarchy:{section:{column:{widget:null,section:null}}},enqueueFont:function(a){if(-1===this._enqueuedFonts.indexOf(a)){var b,c=elementor.config.controls.font.fonts[a];switch(c){case"googlefonts":b="https://fonts.googleapis.com/css?family="+a+":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic";break;case"earlyaccess":var d=a.replace(/\s+/g,"").toLowerCase();b="https://fonts.googleapis.com/earlyaccess/"+d+".css"}_.isEmpty(b)||elementor.$previewContents.find("link:last").after('<link href="'+b+'" rel="stylesheet" type="text/css">'),this._enqueuedFonts.push(a)}},getElementChildType:function(a,b){if(b||(b=this.elementsHierarchy),void 0!==b[a])return Backbone.$.isPlainObject(b[a])?Object.keys(b[a]):null;for(var c in b)if(b.hasOwnProperty(c)&&Backbone.$.isPlainObject(b[c])){var d=this.getElementChildType(a,b[c]);if(d)return d}return null},getUniqueID:function(){var a;return a=Math.random().toString(36).substr(2,7)},stringReplaceAll:function(a,b){var c=new RegExp(Object.keys(b).join("|"),"gi");return a.replace(c,function(a){return b[a]})},isControlVisible:function(a,b){var c;if(c=_.isFunction(a.get)?a.get("condition"):a.condition,_.isEmpty(c))return!0;var d=_.filter(c,function(a,c){var d=c.match(/([a-z_0-9]+)(?:\[([a-z_]+)])?(!?)$/i),e=d[1],f=d[2],g=!!d[3],h=b.get(e);f&&(h=h[f]);var i=_.isArray(a)?_.contains(a,h):a===h;return g?i:!i});return _.isEmpty(d)},cloneObject:function(a){return JSON.parse(JSON.stringify(a))},getYoutubeIDFromURL:function(a){var b=a.match(/^.*(?:youtu.be\/|v\/|e\/|u\/\w+\/|embed\/|v=)([^#\&\?]*).*/);return b&&b[1]}},b.exports=d},{}],40:[function(a,b,c){var d;d=function(){var a,b=this,c=function(){a=elementor.dialogsManager.createWidget("elementor-modal",{id:"elementor-introduction"}),a.getElements("closeButton").on("click",function(){b.setIntroductionViewed()}),a.on("hide",function(){a.getElements("message").empty()})};this.getSettings=function(){return elementor.config.introduction},this.getModal=function(){return a||c(),a},this.startIntroduction=function(){var a=this.getSettings();this.getModal().setHeaderMessage(a.title).setMessage(a.content).show()},this.startOnLoadIntroduction=function(){var a=this.getSettings();a.is_user_should_view&&setTimeout(_.bind(function(){this.startIntroduction()},this),a.delay)},this.setIntroductionViewed=function(){Backbone.$.ajax({type:"POST",url:elementor.config.ajaxurl,data:{action:"elementor_introduction_viewed"}})}},b.exports=new d},{}],41:[function(a,b,c){var d;d={init:function(){this.initModalWidgetType()},initModalWidgetType:function(){var a={getDefaultSettings:function(){var a=DialogsManager.getWidgetType("options").prototype.getDefaultSettings.apply(this,arguments);return _.extend(a,{position:{my:"center",at:"center"},contentWidth:"auto",contentHeight:"auto"})},buildWidget:function(){DialogsManager.getWidgetType("options").prototype.buildWidget.apply(this,arguments);var a=this.addElement("closeButton",'<div><i class="fa fa-times"></i></div>');this.getElements("widgetContent").prepend(a)},attachEvents:function(){this.getElements("closeButton").on("click",this.hide)},onReady:function(){DialogsManager.getWidgetType("options").prototype.onReady.apply(this,arguments);var a=this.getElements(),b=this.getSettings();"auto"!==b.contentWidth&&a.message.width(b.contentWidth),"auto"!==b.contentHeight&&a.message.height(b.contentHeight)}};DialogsManager.addWidgetType("elementor-modal",DialogsManager.getWidgetType("options").extend("elementor-modal",a))}},b.exports=d},{}],42:[function(a,b,c){var d;d={getPresetsDictionary:function(){return{11:100/9,12:12.5,14:100/7,16:100/6,33:100/3,66:2/3*100,83:5/6*100}},getAbsolutePresetValues:function(a){var b=elementor.helpers.cloneObject(a),c=this.getPresetsDictionary();return _.each(b,function(a,d){c[a]&&(b[d]=c[a])}),b},getPresets:function(a,b){var c=elementor.helpers.cloneObject(elementor.config.elements.section.presets);return a&&(c=c[a]),b&&(c=c[b]),c},getPresetByStructure:function(a){var b=this.getParsedStructure(a);return this.getPresets(b.columnsCount,b.presetIndex)},getParsedStructure:function(a){return a+="",{columnsCount:a.slice(0,-1),presetIndex:a.substr(-1)}},getPresetSVG:function(a,b,c,d){b=b||100,c=c||50,d=d||2;var e=this.getAbsolutePresetValues(a),f=this._generatePresetSVGPath(e,b,c,d);return this._createSVGPreset(f,b,c)},_createSVGPreset:function(a,b,c){var d=document.createElementNS("http://www.w3.org/2000/svg","svg");d.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),d.setAttribute("viewBox","0 0 "+b+" "+c);var e=document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttribute("d",a),d.appendChild(e),d},_generatePresetSVGPath:function(a,b,c,d){for(var e=b-d*(a.length-1),f=0,g="",h=0;h<a.length;h++){h&&(g+=" ");var i=a[h]/100*e;f+=i,g+="M"+ +f.toFixed(4)+",0",g+="V"+c,g+="H"+ +(f-i).toFixed(4),g+="V0Z",f+=d}return g}},b.exports=d},{}],43:[function(a,b,c){var d;d=function(){var a=this,b={},c={},d={selectorWrapperPrefix:".elementor-widget-"},e={},f=function(){e.$previewHead.append(e.$style)},g=function(){e.$style=Backbone.$("<style>",{id:"elementor-style-scheme"}),e.$previewHead=elementor.$previewContents.find("head")},h=function(){c=elementor.helpers.cloneObject(elementor.config.schemes.items)},i=function(a,c){b[a]||(b[a]=[]),b[a].push(c)},j=function(b,c){_.each(b.selectors,function(e,f){var g,h,j=a.getSchemeValue(b.scheme.type,b.scheme.value,b.scheme.key);_.isEmpty(j.value)||(g=f.replace(/\{\{WRAPPER\}\}/g,d.selectorWrapperPrefix+c),h=elementor.getControlItemView().replaceStyleValues(e,j.value),i(g,h))})},k=function(b,c){var d=a.getWidgetSchemeControls(b);_.each(d,function(a){j(a,c)})},l=function(){_.each(elementor.config.widgets,function(a,b){k(a,b)})},m=function(){var a="";return _.each(b,function(b,c){a+=c+"{"+b.join("")+"}"}),a},n=function(){b={}};this.init=function(){return g(),f(),h(),a},this.getWidgetSchemeControls=function(a){return _.filter(a.controls,function(a){return _.isObject(a.scheme)})},this.getSchemes=function(){return c},this.getEnabledSchemesTypes=function(){return elementor.config.schemes.enabled_schemes},this.getScheme=function(a){return c[a]},this.getSchemeValue=function(b,c,d){if(this.getEnabledSchemesTypes().indexOf(b)<0)return!1;var e=a.getScheme(b),f=e.items[c];if(d&&_.isObject(f)){var g=elementor.helpers.cloneObject(f);return g.value=f.value[d],g}return f},this.printSchemesStyle=function(){n(),l(),e.$style.text(m())},this.resetSchemes=function(a){c[a]=elementor.helpers.cloneObject(elementor.config.schemes.items[a]),this.onSchemeChange()},this.saveScheme=function(a){elementor.config.schemes.items[a].items=elementor.helpers.cloneObject(c[a].items),NProgress.start(),Backbone.$.ajax({type:"POST",url:elementor.config.ajaxurl,data:{action:"elementor_apply_scheme",scheme_name:a,data:JSON.stringify(c[a].items),_nonce:elementor.config.nonce}}).done(function(a){NProgress.done()})},this.setSchemeValue=function(a,b,d){c[a].items[b].value=d,this.onSchemeChange()},this.onSchemeChange=function(){this.printSchemesStyle()}},b.exports=new d},{}],44:[function(a,b,c){var d,e=a("elementor-models/base-settings");d=Marionette.CompositeView.extend({tagName:"div",id:function(){return this.getElementUniqueClass()},attributes:function(){var a=this.model.get("elType");return"widget"===a&&(a=this.model.get("widgetType")),{"data-element_type":a}},baseEvents:{},elementEvents:{},getElementType:function(){return this.model.get("elType")},getChildType:function(){return elementor.helpers.getElementChildType(this.getElementType())},events:function(){return _.extend({},this.baseEvents,this.elementEvents)},getTemplateType:function(){return"js"},initialize:function(){this.collection=this.model.get("elements"),this.collection&&this.listenTo(this.collection,"add remove reset",this.onCollectionChanged,this),this.listenTo(this.model.get("settings"),"change",this.onSettingsChanged,this),this.listenTo(this.model.get("editSettings"),"change",this.onSettingsChanged,this),this.on("render",function(){this.renderUI(),this.runReadyTrigger()}),this.initRemoveDialog()},addChildModel:function(a,b){return this.collection.add(a,b,!0)},isCollectionFilled:function(){return!1},isInner:function(){return!!this.model.get("isInner")},initRemoveDialog:function(){var a;this.getRemoveDialog=function(){if(!a){var b=this.model.getTitle();a=elementor.dialogsManager.createWidget("confirm",{message:elementor.translate("dialog_confirm_delete",[b.toLowerCase()]),headerMessage:elementor.translate("delete_element",[b]),strings:{confirm:elementor.translate("delete"),cancel:elementor.translate("cancel")},defaultOption:"confirm",onConfirm:_.bind(function(){this.model.destroy()},this)})}return a}},enqueueFonts:function(){_.each(this.model.get("settings").getFontControls(),_.bind(function(a){var b=this.model.getSetting(a.name);if(!_.isEmpty(b)){var c=elementor.helpers.isControlVisible(a,this.model.get("settings"));c&&elementor.helpers.enqueueFont(b)}},this))},renderStyles:function(){var a="",b=elementor.$previewContents.find("#elementor-style-"+this.model.cid),c=this.model.get("settings").getStyleControls();if(_.each(c,_.bind(function(b){var c=this.model.getSetting(b.name);if(_.isNumber(c)||!_.isEmpty(c)){var d=elementor.helpers.isControlVisible(b,this.model.get("settings"));d&&_.each(b.selectors,_.bind(function(d,e){var f=e.replace(/\{\{WRAPPER\}\}/g,"#"+this.getElementUniqueClass()),g=elementor.getControlItemView(b.type).replaceStyleValues(d,c);_.isEmpty(g)||(a+=f+"{"+g+"}")},this))}},this)),"column"===this.model.get("elType")){var d=this.model.getSetting("_inline_size");_.isEmpty(d)||(a+="@media (min-width: 768px) {#"+this.getElementUniqueClass()+"{width:"+d+"%;}")}_.isEmpty(a)&&!b.length||(b.length||(elementor.$previewContents.find("head").append('<style type="text/css" id="elementor-style-'+this.model.cid+'"></style>'),b=elementor.$previewContents.find("#elementor-style-"+this.model.cid)),b.html(a))},renderCustomClasses:function(){this.$el.addClass("elementor-element");var a=this.model.get("settings");_.each(a.attributes,_.bind(function(b,c){if(a.isClassControl(c)){var d=a.getControl(c);this.$el.removeClass(d.prefix_class+a.previous(c));var e=elementor.helpers.isControlVisible(d,this.model.get("settings"));e&&!_.isEmpty(a.get(c))&&(this.$el.addClass(d.prefix_class+a.get(c)),this.$el.addClass(_.result(this,"className")))}},this))},renderUI:function(){this.renderStyles(),this.renderCustomClasses(),this.enqueueFonts()},runReadyTrigger:function(){_.defer(_.bind(function(){elementorBindUI.runReadyTrigger(this.$el)},this))},getElementUniqueClass:function(){return"elementor-element-"+this.model.get("id")},onCollectionChanged:function(){elementor.setFlagEditorChange(!0)},onSettingsChanged:function(a){if(this.model.get("editSettings")!==a&&elementor.setFlagEditorChange(!0),a instanceof e){var b=!1;if(_.each(a.changedAttributes(),function(c,d){a.isStyleControl(d)||a.isClassControl(d)||!a.getControl(d)||(b=!0)}),!b)return void this.renderUI()}switch(this.getTemplateType()){case"js":this.model.setHtmlCache(),this.render();break;default:this.model.renderRemoteServer()}},onClickRemove:function(a){a.preventDefault(),a.stopPropagation(),this.getRemoveDialog().show()}}),b.exports=d},{"elementor-models/base-settings":32}],45:[function(a,b,c){var d,e=a("elementor-views/base-element"),f=a("elementor-views/element-empty"),g=a("elementor-views/widget");d=e.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-element-column-content"),elementEvents:{"click > .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-remove":"onClickRemove","click @ui.listTriggers":"onClickTrigger"},getChildView:function(b){return"section"===b.get("elType")?a("elementor-views/section"):g},emptyView:f,className:function(){var a="elementor-column",b=this.isInner()?"inner":"top";return a+=" elementor-"+b+"-column"},childViewContainer:"> .elementor-column-wrap > .elementor-widget-wrap",triggers:{"click > .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-add":"click:new","click > .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-edit":"click:edit","click > .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-trigger":"click:edit","click > .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-duplicate":"click:duplicate"},ui:{columnTitle:".column-title",columnInner:"> .elementor-column-wrap",listTriggers:"> .elementor-element-overlay .elementor-editor-element-trigger"},behaviors:{Sortable:{behaviorClass:a("elementor-behaviors/sortable"),elChildType:"widget"},Resizable:{behaviorClass:a("elementor-behaviors/resizable")},HandleDuplicate:{behaviorClass:a("elementor-behaviors/handle-duplicate")},HandleEditor:{behaviorClass:a("elementor-behaviors/handle-editor")},HandleEditMode:{behaviorClass:a("elementor-behaviors/handle-edit-mode")},HandleAddMode:{behaviorClass:a("elementor-behaviors/duplicate")},HandleElementsRelation:{behaviorClass:a("elementor-behaviors/elements-relation")}},initialize:function(){e.prototype.initialize.apply(this,arguments),this.listenTo(elementor.data,"widget:drag:start",this.onWidgetDragStart),this.listenTo(elementor.data,"widget:drag:end",this.onWidgetDragEnd)},isDroppingAllowed:function(a,b){var c=elementor.panelElements.request("element:selected"),d=c.model.get("elType");return"section"===d?!this.isInner():"widget"===d},changeSizeUI:function(){var a=this.model.getSetting("_column_size"),b=this.model.getSetting("_inline_size"),c=parseFloat(b||a).toFixed(1)+"%";this.$el.attr("data-col",a),this.ui.columnTitle.html(c)},getSortableOptions:function(){return{connectWith:".elementor-widget-wrap",items:"> .elementor-element"}},onCollectionChanged:function(){e.prototype.onCollectionChanged.apply(this,arguments),this.changeChildContainerClasses()},changeChildContainerClasses:function(){var a="elementor-element-empty",b="elementor-element-populated";this.collection.isEmpty()?this.ui.columnInner.removeClass(b).addClass(a):this.ui.columnInner.removeClass(a).addClass(b)},onRender:function(){var a=this;a.changeChildContainerClasses(),a.changeSizeUI(),a.$el.html5Droppable({items:" > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element, >.elementor-column-wrap > .elementor-widget-wrap > .elementor-empty-view > .elementor-first-add",axis:["vertical"],groups:["elementor-element"],isDroppingAllowed:_.bind(a.isDroppingAllowed,a),onDragging:function(b,c){c.stopPropagation(),a.$el.addClass("elementor-dragging-on-child"),this.dataset.side!==b&&Backbone.$(this).attr("data-side",b)},onDragLeave:function(){a.$el.removeClass("elementor-dragging-on-child"),Backbone.$(this).removeAttr("data-side")},onDropping:function(b,c){c.stopPropagation();var d=elementor.panelElements.request("element:selected"),e=Backbone.$(this).index();"bottom"===b&&e++;var f={id:elementor.helpers.getUniqueID(),elType:d.model.get("elType")};if("widget"===f.elType)f.widgetType=d.model.get("widgetType");else{if("section"!==f.elType)return;f.elements=[],f.isInner=!0}a.triggerMethod("request:add",f,{at:e})}})},onClickTrigger:function(a){a.preventDefault();var b=this.$(a.currentTarget),c=b.hasClass("elementor-active");this.ui.listTriggers.removeClass("elementor-active"),c||b.addClass("elementor-active")},onWidgetDragStart:function(){this.$el.addClass("elementor-dragging")},onWidgetDragEnd:function(){this.$el.removeClass("elementor-dragging")}}),b.exports=d},{"elementor-behaviors/duplicate":2,"elementor-behaviors/elements-relation":3,"elementor-behaviors/handle-duplicate":4,"elementor-behaviors/handle-edit-mode":5,"elementor-behaviors/handle-editor":6,"elementor-behaviors/resizable":7,"elementor-behaviors/sortable":8,"elementor-views/base-element":44,"elementor-views/element-empty":68,"elementor-views/section":69,"elementor-views/widget":71}],46:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({onReady:function(){this.ui.select.select2()}}),b.exports=d},{"elementor-views/controls/base":49}],47:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({applySavedValue:function(){var a=this.getControlValue(),b=this.$("[data-setting]"),c=this;_.each(a,function(a,d){var e=b.filter(function(){return d===this.dataset.setting});c.setInputValue(e,a)})},getControlValue:function(a){var b=this.elementSettingsModel.get(this.model.get("name"));return Backbone.$.isPlainObject(b)?a?b[a]||"":elementor.helpers.cloneObject(b):{}},setValue:function(a,b){var c=this.getControlValue();"object"==typeof a?_.each(a,function(a,b){c[b]=a}):c[a]=b,this.setSettingsModel(c)},updateElementModel:function(a){var b=this.getInputValue(a.currentTarget),c=a.currentTarget.dataset.setting;this.setValue(c,b)}},{replaceStyleValues:function(a,b){if(!_.isObject(b))return"";try{return a.replace(/\{\{([A-Z]+)}}/g,function(a,c){var d=b[c.toLowerCase()];if(""===d)throw"";return d})}catch(a){return""}}}),b.exports=d},{"elementor-views/controls/base":49}],48:[function(a,b,c){var d,e=a("elementor-views/controls/base-multiple");d=e.extend({getCurrentRange:function(){return this.getUnitRange(this.getControlValue("unit"))},getUnitRange:function(a){var b=this.model.get("range");return!(!b||!b[a])&&b[a]}}),b.exports=d},{"elementor-views/controls/base-multiple":47}],49:[function(a,b,c){var d;d=Marionette.CompositeView.extend({ui:function(){return{input:'input[data-setting][type!="checkbox"][type!="radio"]',checkbox:'input[data-setting][type="checkbox"]',radio:'input[data-setting][type="radio"]',select:"select[data-setting]",textarea:"textarea[data-setting]"}},className:function(){var a="elementor-control elementor-control-"+this.model.get("name")+" elementor-control-type-"+this.model.get("type"),b=this.model.get("classes");return _.isEmpty(b)||(a+=" "+b),_.isEmpty(this.model.get("section"))||(a+=" elementor-control-under-section"),a},getTemplate:function(){return Marionette.TemplateCache.get("#tmpl-elementor-control-"+this.model.get("type")+"-content")},templateHelpers:function(){var a={controlValue:this.getControlValue(),_cid:this.model.cid};return{data:_.extend({},this.model.toJSON(),a)}},baseEvents:{"input @ui.input":"onBaseInputChange","change @ui.checkbox":"onBaseInputChange","change @ui.radio":"onBaseInputChange","input @ui.textarea":"onBaseInputChange","change @ui.select":"onBaseInputChange"},childEvents:{},events:function(){return _.extend({},this.baseEvents,this.childEvents)},initialize:function(a){this.elementSettingsModel=a.elementSettingsModel;var b=this.model.get("type"),c=Backbone.$.extend(!0,{},elementor.config.controls[b],this.model.attributes);this.model.set(c),this.listenTo(this.elementSettingsModel,"change",this.toggleControlVisibility),this.listenTo(this.elementSettingsModel,"control:switch:tab",this.onControlSwitchTab)},getControlValue:function(){return this.elementSettingsModel.get(this.model.get("name"))},isValidValue:function(a){return!0},setValue:function(a){this.setSettingsModel(a)},setSettingsModel:function(a){return!0!==this.isValidValue(a)?void this.triggerMethod("settings:error"):(this.elementSettingsModel.set(this.model.get("name"),a),void this.triggerMethod("settings:change"))},applySavedValue:function(){this.setInputValue('[data-setting="'+this.model.get("name")+'"]',this.getControlValue())},getEditSettings:function(a){var b=this.getOption("elementEditSettings").toJSON();return a?b[a]:b},setEditSetting:function(a,b){var c=this.getOption("elementEditSettings");c.set(a,b)},getInputValue:function(a){var b=this.$(a),c=b.val(),d=b.attr("type");return"checkbox"===d?b.prop("checked"):"radio"===d?b.prop("checked")?c:"":c},getFieldTitleValue:function(){return this.getControlValue()},setInputValue:function(a,b){var c=this.$(a),d=c.attr("type");"checkbox"===d?c.prop("checked",!!b):"radio"===d?c.filter('[value="'+b+'"]').prop("checked",!0):c.val(b)},onSettingsError:function(){this.$el.addClass("elementor-error")},onSettingsChange:function(){this.$el.removeClass("elementor-error")},onRender:function(){this.applySavedValue();var a=this.model.get("label_block")?"block":"inline",b=this.model.get("show_label"),c="elementor-label-"+a;
|
4 |
-
c+=" elementor-control-separator-"+this.model.get("separator"),b||(c+=" elementor-control-hidden-label"),this.$el.addClass(c),this.triggerMethod("ready"),this.toggleControlVisibility()},onBaseInputChange:function(a){this.updateElementModel(a),this.triggerMethod("input:change",a)},toggleControlVisibility:function(){var a=elementor.helpers.isControlVisible(this.model,this.elementSettingsModel);this.$el.toggleClass("elementor-hidden-control",!a),elementor.data.trigger("scrollbar:update")},onControlSwitchTab:function(a){this.$el.toggleClass("elementor-active-tab",a===this.model.get("tab")),elementor.data.trigger("scrollbar:update")},onReady:function(){},updateElementModel:function(a){this.setValue(this.getInputValue(a.currentTarget))}},{replaceStyleValues:function(a,b){var c={"{{VALUE}}":b};return elementor.helpers.stringReplaceAll(a,c)}}),b.exports=d},{}],50:[function(a,b,c){var d,e=a("elementor-views/controls/base-multiple");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.sliders=".elementor-slider",a.colors=".elementor-box-shadow-color-picker",a},childEvents:{"slide @ui.sliders":"onSlideChange"},initSliders:function(){var a=this.getControlValue();this.ui.sliders.each(function(){var b=Backbone.$(this),c=b.next(".elementor-slider-input").find("input");b.slider({value:a[this.dataset.input],min:+c.attr("min"),max:+c.attr("max")})})},initColors:function(){var a=this;this.ui.colors.wpColorPicker({change:function(){var b=Backbone.$(this),c=b.data("setting");a.setValue(c,b.wpColorPicker("color"))},clear:function(){a.setValue(this.dataset.setting,"")},width:251})},onInputChange:function(a){var b=a.currentTarget.dataset.setting,c=this.ui.sliders.filter('[data-input="'+b+'"]');c.slider("value",this.getControlValue(b))},onReady:function(){this.initSliders(),this.initColors()},onSlideChange:function(a,b){var c=a.currentTarget.dataset.input,d=this.ui.input.filter('[data-setting="'+c+'"]');d.val(b.value),this.setValue(c,b.value)},onBeforeDestroy:function(){this.ui.colors.each(function(){var a=Backbone.$(this);a.wpColorPicker("instance")&&a.wpColorPicker("close")}),this.$el.remove()}}),b.exports=d},{"elementor-views/controls/base-multiple":47}],51:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.inputs="[type=radio]",a},childEvents:{"mousedown label":"onMouseDownLabel","click @ui.inputs":"onClickInput","change @ui.inputs":"updateElementModel"},onMouseDownLabel:function(a){var b=this.$(a.currentTarget),c=this.$("#"+b.attr("for"));c.data("checked",c.prop("checked"))},onClickInput:function(a){if(this.model.get("toggle")){var b=this.$(a.currentTarget);b.data("checked")&&b.prop("checked",!1).trigger("change")}},onRender:function(){e.prototype.onRender.apply(this,arguments);var a=this.getControlValue();a?this.ui.inputs.filter("[value="+a+"]").prop("checked",!0):this.model.get("toggle")||this.ui.inputs.first().prop("checked",!0).trigger("change")}}),b.exports=d},{"elementor-views/controls/base":49}],52:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.picker=".color-picker-hex",a},onReady:function(){this.ui.picker.wpColorPicker({change:_.bind(function(){this.setValue(this.ui.picker.wpColorPicker("color"))},this),clear:_.bind(function(){this.setValue("")},this),width:251}).wpColorPicker("instance").wrap.find("> .wp-picker-input-wrap > .wp-color-picker").removeAttr("maxlength")},onBeforeDestroy:function(){this.ui.picker.wpColorPicker("instance")&&this.ui.picker.wpColorPicker("close"),this.$el.remove()}}),b.exports=d},{"elementor-views/controls/base":49}],53:[function(a,b,c){var d,e=a("elementor-views/controls/base-units");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.controls=".elementor-control-dimension > input:enabled",a.link="button.elementor-link-dimensions",a},childEvents:{"click @ui.link":"onLinkDimensionsClicked"},defaultDimensionValue:0,initialize:function(){e.prototype.initialize.apply(this,arguments),this.model.set("allowed_dimensions",this.filterDimensions(this.model.get("allowed_dimensions")))},getPossibleDimensions:function(){return["top","right","bottom","left"]},filterDimensions:function(a){a=a||"all";var b=this.getPossibleDimensions();return"all"===a?b:(_.isArray(a)||("horizontal"===a?a=["right","left"]:"vertical"===a&&(a=["top","bottom"])),a)},onReady:function(){var a=this.getControlValue();this.isLinkedDimensions()||(this.ui.link.addClass("unlinked"),this.ui.controls.each(_.bind(function(b,c){var d=a[c.dataset.setting];_.isEmpty(d)&&(d=this.defaultDimensionValue),this.$(c).val(d)},this))),this.fillEmptyDimensions()},updateDimensionsValue:function(){var a={},b=this.getPossibleDimensions(),c=this.ui.controls;b.forEach(_.bind(function(b){var d=c.filter('[data-setting="'+b+'"]');a[b]=d.length?d.val():this.defaultDimensionValue},this)),this.setValue(a)},fillEmptyDimensions:function(){var a=this.getPossibleDimensions(),b=this.model.get("allowed_dimensions"),c=this.ui.controls;this.isLinkedDimensions()||a.forEach(_.bind(function(a){var d=c.filter('[data-setting="'+a+'"]'),e=-1!==_.indexOf(b,a);e&&d.length&&_.isEmpty(d.val())&&d.val(this.defaultDimensionValue)},this))},updateDimensions:function(){this.fillEmptyDimensions(),this.updateDimensionsValue()},resetDimensions:function(){this.ui.controls.val(""),this.updateDimensionsValue()},onInputChange:function(a){var b=a.target.dataset.setting;if("unit"===b&&this.resetDimensions(),_.contains(this.getPossibleDimensions(),b)){if(this.isLinkedDimensions()){var c=this.$(a.target);this.ui.controls.val(c.val())}this.updateDimensions()}},onLinkDimensionsClicked:function(a){a.preventDefault(),a.stopPropagation(),this.ui.link.toggleClass("unlinked"),this.setValue("isLinked",!this.ui.link.hasClass("unlinked")),this.isLinkedDimensions()&&this.ui.controls.val(this.ui.controls.eq(0).val()),this.updateDimensions()},isLinkedDimensions:function(){return this.getControlValue("isLinked")}}),b.exports=d},{"elementor-views/controls/base-units":48}],54:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({onReady:function(){this.ui.select.select2({dir:elementor.config.is_rtl?"rtl":"ltr"})},templateHelpers:function(){var a=e.prototype.templateHelpers.apply(this,arguments);return a.getFontsByGroups=_.bind(function(a){var b=this.model.get("fonts"),c={};return _.each(b,function(b,d){(_.isArray(a)&&_.contains(a,b)||b===a)&&(c[d]=b)}),c},this),a}}),b.exports=d},{"elementor-views/controls/base":49}],55:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.addImages=".elementor-control-gallery-add",a.clearGallery=".elementor-control-gallery-clear",a.galleryThumbnails=".elementor-control-gallery-thumbnails",a},childEvents:{"click @ui.addImages":"onAddImagesClick","click @ui.clearGallery":"onClearGalleryClick","click @ui.galleryThumbnails":"onGalleryThumbnailsClick"},onReady:function(){var a=this.hasImages();this.$el.toggleClass("elementor-gallery-has-images",a).toggleClass("elementor-gallery-empty",!a),this.initRemoveDialog()},hasImages:function(){return!!this.getControlValue().length},openFrame:function(a){this.initFrame(a),this.frame.open()},initFrame:function(a){var b={create:"gallery",add:"gallery-library",edit:"gallery-edit"},c={frame:"post",multiple:!0,state:b[a],button:{text:elementor.translate("insert_media")}};this.hasImages()&&(c.selection=this.fetchSelection()),this.frame=wp.media(c),this.frame.on({update:this.select,"menu:render:default":this.menuRender,"content:render:browse":this.gallerySettings},this)},menuRender:function(a){a.unset("insert"),a.unset("featured-image")},gallerySettings:function(a){a.sidebar.on("ready",function(){a.sidebar.unset("gallery")})},fetchSelection:function(){var a=wp.media.query({orderby:"post__in",order:"ASC",type:"image",perPage:-1,post__in:_.pluck(this.getControlValue(),"id")});return new wp.media.model.Selection(a.models,{props:a.props.toJSON(),multiple:!0})},select:function(a){var b=[];a.each(function(a){b.push({id:a.get("id"),url:a.get("url")})}),this.setValue(b),this.render()},onBeforeDestroy:function(){this.frame&&this.frame.off(),this.$el.remove()},resetGallery:function(){this.setValue(""),this.render()},initRemoveDialog:function(){var a;this.getRemoveDialog=function(){return a||(a=elementor.dialogsManager.createWidget("confirm",{message:elementor.translate("dialog_confirm_gallery_delete"),headerMessage:elementor.translate("delete_gallery"),strings:{confirm:elementor.translate("delete"),cancel:elementor.translate("cancel")},defaultOption:"confirm",onConfirm:_.bind(this.resetGallery,this)})),a}},onAddImagesClick:function(){this.openFrame(this.hasImages()?"add":"create")},onClearGalleryClick:function(){this.getRemoveDialog().show()},onGalleryThumbnailsClick:function(){this.openFrame("edit")}}),b.exports=d},{"elementor-views/controls/base":49}],56:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({initialize:function(){e.prototype.initialize.apply(this,arguments),this.filterIcons()},filterIcons:function(){var a=this.model.get("icons"),b=this.model.get("include"),c=this.model.get("exclude");if(b){var d={};return _.each(b,function(b){d[b]=a[b]}),void this.model.set("icons",d)}c&&_.each(c,function(b){delete a[b]})},iconsList:function(a){return a.id?Backbone.$('<span><i class="'+a.id+'"></i> '+a.text+"</span>"):a.text},getFieldTitleValue:function(){var a=this.getControlValue();return a.replace(/^fa fa-/,"").replace("-"," ")},onReady:function(){this.ui.select.select2({allowClear:!0,templateResult:_.bind(this.iconsList,this),templateSelection:_.bind(this.iconsList,this)})}}),b.exports=d},{"elementor-views/controls/base":49}],57:[function(a,b,c){var d,e=a("elementor-views/controls/base-multiple");d=e.extend({ui:function(){return{inputWidth:'input[data-setting="width"]',inputHeight:'input[data-setting="height"]',btnApply:"button.elementor-image-dimensions-apply-button"}},baseEvents:{"click @ui.btnApply":"onApplyClicked"},onApplyClicked:function(a){a.preventDefault(),this.setValue({width:this.ui.inputWidth.val(),height:this.ui.inputHeight.val()})}}),b.exports=d},{"elementor-views/controls/base-multiple":47}],58:[function(a,b,c){var d,e=a("elementor-views/controls/base-multiple");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.controlMedia=".elementor-control-media",a.frameOpeners=".elementor-control-media-upload-button, .elementor-control-media-image",a.deleteButton=".elementor-control-media-delete",a},childEvents:{"click @ui.frameOpeners":"openFrame","click @ui.deleteButton":"deleteImage"},onReady:function(){_.isEmpty(this.getControlValue("url"))&&this.ui.controlMedia.addClass("media-empty")},openFrame:function(){this.frame||this.initFrame(),this.frame.open()},deleteImage:function(){this.setValue({url:"",id:""}),this.render()},initFrame:function(){this.frame=wp.media({button:{text:"Insert Media"},states:[new wp.media.controller.Library({title:"Insert Media",library:wp.media.query({type:"image"}),multiple:!1,date:!1})]}),this.frame.on("insert select",_.bind(this.select,this))},select:function(){var a=this.frame.state().get("selection").first().toJSON();a.url&&(this.setValue({url:a.url,id:a.id}),this.render())},onBeforeDestroy:function(){this.$el.remove()}}),b.exports=d},{"elementor-views/controls/base-multiple":47}],59:[function(a,b,c){var d;d=Marionette.CompositeView.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-repeater-row"),className:"repeater-fields",ui:{duplicateButton:".elementor-repeater-tool-duplicate",editButton:".elementor-repeater-tool-edit",removeButton:".elementor-repeater-tool-remove",itemTitle:".elementor-repeater-row-item-title"},triggers:{"click @ui.removeButton":"click:remove","click @ui.duplicateButton":"click:duplicate","click @ui.itemTitle":"click:edit"},templateHelpers:function(){return{itemIndex:this.getOption("itemIndex")}},childViewContainer:".elementor-repeater-row-controls",getChildView:function(a){var b=a.get("type");return elementor.getControlItemView(b)},childViewOptions:function(){return{elementSettingsModel:this.model}},updateIndex:function(a){this.itemIndex=a,this.setTitle()},setTitle:function(){var a,b=this.getOption("titleField");if(b){var c=this.collection.find({name:b}),d=this.children.findByModelCid(c.cid);a=d.getFieldTitleValue()}a||(a=elementor.translate("Item #{0}",[this.getOption("itemIndex")])),this.ui.itemTitle.text(a)},initialize:function(a){this.elementSettingsModel=a.elementSettingsModel,this.itemIndex=0,this.collection=new Backbone.Collection(a.controlFields),a.titleField&&this.listenTo(this.model,"change:"+a.titleField,this.setTitle)},onRender:function(){this.setTitle()}}),b.exports=d},{}],60:[function(a,b,c){var d,e=a("elementor-views/controls/base"),f=a("elementor-views/controls/repeater-row");d=e.extend({ui:{btnAddRow:".elementor-repeater-add",fieldContainer:".elementor-repeater-fields"},events:{"click @ui.btnAddRow":"onButtonAddRowClick","sortstart @ui.fieldContainer":"onSortStart","sortupdate @ui.fieldContainer":"onSortUpdate"},childView:f,childViewContainer:".elementor-repeater-fields",templateHelpers:function(){return{data:_.extend({},this.model.toJSON(),{controlValue:[]})}},childViewOptions:function(){return{controlFields:this.model.get("fields"),titleField:this.model.get("title_field")}},initialize:function(a){e.prototype.initialize.apply(this,arguments),this.collection=this.elementSettingsModel.get(this.model.get("name")),this.listenTo(this.collection,"change add remove reset",this.onCollectionChanged,this)},editRow:function(a){return this.currentEditableChild&&this.currentEditableChild.getChildViewContainer(this.currentEditableChild).removeClass("editable"),this.currentEditableChild===a?void delete this.currentEditableChild:(a.getChildViewContainer(a).addClass("editable"),this.currentEditableChild=a,void this.updateActiveRow())},toggleMinRowsClass:function(){this.model.get("prevent_empty")&&this.$el.toggleClass("elementor-repeater-has-minimum-rows",1>=this.collection.length)},updateActiveRow:function(){var a=0;this.currentEditableChild&&(a=this.currentEditableChild.itemIndex),this.setEditSetting("activeItemIndex",a)},updateChildIndexes:function(){this.children.each(_.bind(function(a){a.updateIndex(this.collection.indexOf(a.model)+1)},this))},onRender:function(){this.ui.fieldContainer.sortable({axis:"y"}),this.toggleMinRowsClass()},onSortStart:function(a,b){b.item.data("oldIndex",b.item.index())},onSortUpdate:function(a,b){var c=b.item.data("oldIndex"),d=this.collection.at(c),e=b.item.index();this.collection.remove(d),this.collection.add(d,{at:e})},onAddChild:function(){this.updateChildIndexes(),this.updateActiveRow()},onRemoveChild:function(a){a===this.currentEditableChild&&delete this.currentEditableChild,this.updateChildIndexes(),this.updateActiveRow()},onCollectionChanged:function(){this.elementSettingsModel.trigger("change"),this.toggleMinRowsClass()},onButtonAddRowClick:function(){var a={};_.each(this.model.get("fields"),function(b){a[b.name]=b.default});var b=this.collection.add(a),c=this.children.findByModel(b);this.editRow(c)},onChildviewClickRemove:function(a){a.model.destroy()},onChildviewClickDuplicate:function(a){this.collection.add(a.model.clone(),{at:a.itemIndex})},onChildviewClickEdit:function(a){this.editRow(a)}}),b.exports=d},{"elementor-views/controls/base":49,"elementor-views/controls/repeater-row":59}],61:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.heading=".elementor-panel-heading",a},triggers:{click:"control:section:clicked"}}),b.exports=d},{"elementor-views/controls/base":49}],62:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.select=".elementor-select2",a},onReady:function(){var a={allowClear:!0};this.ui.select.select2(a)},onBeforeDestroy:function(){this.ui.select.data("select2")&&this.ui.select.select2("destroy"),this.$el.remove()}}),b.exports=d},{"elementor-views/controls/base":49}],63:[function(a,b,c){var d,e=a("elementor-views/controls/base-units");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.slider=".elementor-slider",a},childEvents:{"slide @ui.slider":"onSlideChange"},initSlider:function(){var a=this.getControlValue("size"),b=this.getCurrentRange();this.ui.input.attr(b).val(a),this.ui.slider.slider(_.extend({},b,{value:a}))},resetSize:function(){this.setValue("size",""),this.initSlider()},onReady:function(){this.initSlider()},onSlideChange:function(a,b){this.setValue("size",b.value),this.ui.input.val(b.value)},onInputChange:function(a){var b=a.currentTarget.dataset.setting;"size"===b?this.ui.slider.slider("value",this.getControlValue("size")):"unit"===b&&this.resetSize()},onBeforeDestroy:function(){this.ui.slider.slider("destroy"),this.$el.remove()}}),b.exports=d},{"elementor-views/controls/base-units":48}],64:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.resetStructure=".elementor-control-structure-reset",a},childEvents:{"click @ui.resetStructure":"onResetStructureClick"},templateHelpers:function(){var a=e.prototype.templateHelpers.apply(this,arguments);return a.getMorePresets=_.bind(this.getMorePresets,this),a},getCurrentEditedSection:function(){var a=elementor.getPanelView().getCurrentPageView();return a.getOption("editedElementView")},getMorePresets:function(){var a=elementor.presetsFactory.getParsedStructure(this.getControlValue());return elementor.presetsFactory.getPresets(a.columnsCount)},onInputChange:function(){this.getCurrentEditedSection().redefineLayout(),this.render()},onResetStructureClick:function(){this.getCurrentEditedSection().resetColumnsCustomSize()}}),b.exports=d},{"elementor-views/controls/base":49}],65:[function(a,b,c){var d,e=a("elementor-views/controls/base-multiple");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.btnExternal="button.elementor-control-url-target",a},childEvents:{"click @ui.btnExternal":"onExternalClicked"},onReady:function(){this.getControlValue("is_external")&&this.ui.btnExternal.addClass("active")},onExternalClicked:function(a){a.preventDefault(),this.ui.btnExternal.toggleClass("active"),this.setValue("is_external",this.isExternal())},isExternal:function(){return this.ui.btnExternal.hasClass("active")}}),b.exports=d},{"elementor-views/controls/base-multiple":47}],66:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.form="form",a.loading=".wp-widget-form-loading",a},events:{"keyup @ui.form :input":"onFormChanged","change @ui.form :input":"onFormChanged"},onFormChanged:function(){var a="widget-"+this.model.get("id_base"),b=this.ui.form.elementorSerializeObject()[a].REPLACE_TO_ID;this.setValue(b)},onReady:function(){Backbone.$.ajax({type:"POST",url:elementor.config.ajaxurl,data:{action:"elementor_editor_get_wp_widget_form",widget_type:this.model.get("widget"),data:JSON.stringify(this.elementSettingsModel.toJSON()),_nonce:elementor.config.nonce}}).done(_.bind(function(a){this.ui.form.html(a)},this))}}),b.exports=d},{"elementor-views/controls/base":49}],67:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({childEvents:{"keyup textarea.elementor-wp-editor":"updateElementModel"},buttons:{keepInBasic:["bold","italic","link","unlink","wp_adv","fullscreen"],moveToBasic:{underline:"italic"}},initialize:function(){e.prototype.initialize.apply(this,arguments);var a=this;this.editorID="elementorwpeditor"+this.cid;var b={id:this.editorID,selector:"#"+this.editorID,setup:function(b){b.on("keyup change undo redo",function(){b.save(),a.setValue(b.getContent())})}};tinyMCEPreInit.mceInit[this.editorID]=_.extend(_.clone(tinyMCEPreInit.mceInit.elementorwpeditor),b),this.rearrangeButtons(),this.$el.addClass("elementor-loading-editor"),_.defer(function(){quicktags({buttons:"strong,em,del,link,img,close",id:a.editorID}),switchEditors.go(a.editorID,"tmce"),delete QTags.instances[0]})},attachElContent:function(){var a=elementor.config.wp_editor.replace(/elementorwpeditor/g,this.editorID).replace("%%EDITORCONTENT%%",this.getControlValue());return this.$el.html(a),this},rearrangeButtons:function(){var a=tinyMCEPreInit.mceInit[this.editorID],b=a.toolbar1.split(","),c=a.toolbar2.split(","),d=Array.prototype.slice.call(this.buttons.keepInBasic),e=_.difference(b,d),f=_.difference(c,Object.keys(this.buttons.moveToBasic));_.each(this.buttons.moveToBasic,function(a,b){var c=d.indexOf(a);-1!==c&&d.splice(c+1,0,b)}),a.toolbar1=d.join(","),a.toolbar2=e+","+f},onBeforeDestroy:function(){tinymce.EditorManager.execCommand("mceRemoveEditor",!0,this.editorID),delete QTags.instances[this.editorID],delete tinyMCEPreInit.mceInit[this.editorID],delete tinyMCEPreInit.qtInit[this.editorID]}}),b.exports=d},{"elementor-views/controls/base":49}],68:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-empty-preview",className:"elementor-empty-view",events:{click:"onClickAdd"},onClickAdd:function(){elementor.getPanelView().setPage("elements")}}),b.exports=d},{}],69:[function(a,b,c){var d,e=a("elementor-views/base-element"),f=a("elementor-views/column");d=e.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-element-section-content"),childView:f,className:function(){var a="elementor-section",b=this.isInner()?"inner":"top";return a+=" elementor-"+b+"-section"},tagName:"section",childViewContainer:"> .elementor-container > .elementor-row",triggers:{"click .elementor-editor-section-settings-list .elementor-editor-element-edit":"click:edit","click .elementor-editor-section-settings-list .elementor-editor-element-trigger":"click:edit","click .elementor-editor-section-settings-list .elementor-editor-element-duplicate":"click:duplicate"},elementEvents:{"click .elementor-editor-section-settings-list .elementor-editor-element-remove":"onClickRemove"},behaviors:{Sortable:{behaviorClass:a("elementor-behaviors/sortable"),elChildType:"column"},HandleDuplicate:{behaviorClass:a("elementor-behaviors/handle-duplicate")},HandleEditor:{behaviorClass:a("elementor-behaviors/handle-editor")},HandleEditMode:{behaviorClass:a("elementor-behaviors/handle-edit-mode")},HandleAddMode:{behaviorClass:a("elementor-behaviors/duplicate")},HandleElementsRelation:{behaviorClass:a("elementor-behaviors/elements-relation")}},initialize:function(){e.prototype.initialize.apply(this,arguments),this.listenTo(this.collection,"add remove reset",this._checkIsFull),this.listenTo(this.collection,"remove",this.onCollectionRemove),this.listenTo(this.model,"change:settings:structure",this.onStructureChanged)},addEmptyColumn:function(){this.addChildModel({id:elementor.helpers.getUniqueID(),elType:"column",settings:{},elements:[]})},addChildModel:function(a,b){var c=a instanceof Backbone.Model,d=this.isInner();return c?a.set("isInner",d):a.isInner=d,e.prototype.addChildModel.apply(this,arguments)},getSortableOptions:function(){var a=this.isInner()?".elementor-inner-section":".elementor-top-section";return{connectWith:a+" > .elementor-container > .elementor-row",handle:"> .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-trigger",items:"> .elementor-column"}},getColumnPercentSize:function(a,b){return b/a.parent().width()*100},getDefaultStructure:function(){return this.collection.length+"0"},getStructure:function(){return this.model.getSetting("structure")},setStructure:function(a){var b=elementor.presetsFactory.getParsedStructure(a);if(+b.columnsCount!==this.collection.length)throw new TypeError("The provided structure doesn't match the columns count.");this.model.setSetting("structure",a,!0)},redefineLayout:function(){var a=elementor.presetsFactory.getPresetByStructure(this.getStructure());this.collection.each(function(b,c){b.setSetting("_column_size",a.preset[c]),b.setSetting("_inline_size",null)}),this.children.invoke("changeSizeUI")},resetLayout:function(){this.setStructure(this.getDefaultStructure())},resetColumnsCustomSize:function(){this.collection.each(function(a){a.setSetting("_inline_size",null)}),this.children.invoke("changeSizeUI")},isCollectionFilled:function(){var a=10,b=this.collection.length;return a<=b},_checkIsFull:function(){this.$el.toggleClass("elementor-section-filled",this.isCollectionFilled())},_checkIsEmpty:function(){this.collection.length||this.addEmptyColumn()},onBeforeRender:function(){this._checkIsEmpty()},onRender:function(){this._checkIsFull()},onAddChild:function(){this.isBuffering||this.resetLayout()},onCollectionRemove:function(){this._checkIsEmpty(),this.resetLayout()},onChildviewRequestResize:function(a,b){var c=a.model.getSetting("_inline_size");c||(c=this.getColumnPercentSize(b.element,b.originalSize.width));var d=this.getColumnPercentSize(b.element,b.size.width),e=d-c;b.element.css({width:"",left:"initial"});var f=this.collection.indexOf(a.model),g=this.collection.at(f+1),h=this.children.findByModelCid(g.cid);if(h){var i=10,j=h.$el,k=this.getColumnPercentSize(j,j.width()),l=k-e;d<i||d>100||!e||l<i||l>100||(a.model.setSetting("_inline_size",d.toFixed(3)),a.changeSizeUI(),h.model.setSetting("_inline_size",l.toFixed(3)),h.changeSizeUI())}},onStructureChanged:function(){this.redefineLayout()}}),b.exports=d},{"elementor-behaviors/duplicate":2,"elementor-behaviors/elements-relation":3,"elementor-behaviors/handle-duplicate":4,"elementor-behaviors/handle-edit-mode":5,"elementor-behaviors/handle-editor":6,"elementor-behaviors/sortable":8,"elementor-views/base-element":44,"elementor-views/column":45}],70:[function(a,b,c){var d,e=a("elementor-views/section");d=Marionette.CompositeView.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-preview"),id:"elementor-inner",childViewContainer:"#elementor-section-wrap",childView:e,ui:{addSectionArea:"#elementor-add-section",addNewSection:"#elementor-add-new-section",closePresetsIcon:"#elementor-select-preset-close",addIcon:"#elementor-add-section-button",selectPreset:"#elementor-select-preset",presets:".elementor-preset"},events:{"click @ui.addIcon":"showSelectPresets","click @ui.closePresetsIcon":"closeSelectPresets","click @ui.presets":"onPresetSelected"},behaviors:{Sortable:{behaviorClass:a("elementor-behaviors/sortable"),elChildType:"section"},HandleDuplicate:{behaviorClass:a("elementor-behaviors/handle-duplicate")},HandleAdd:{behaviorClass:a("elementor-behaviors/duplicate")},HandleElementsRelation:{behaviorClass:a("elementor-behaviors/elements-relation")}},getSortableOptions:function(){return{handle:"> .elementor-container > .elementor-row > .elementor-column > .elementor-element-overlay .elementor-editor-section-settings-list .elementor-editor-element-trigger",items:"> .elementor-section"}},getChildType:function(){return["section"]},isCollectionFilled:function(){return!1},initialize:function(){},addChildModel:function(a,b){return this.collection.add(a,b,!0)},addSection:function(a){var b={id:elementor.helpers.getUniqueID(),elType:"section",settings:{},elements:[]};a&&_.extend(b,a);var c=this.addChildModel(b);return this.children.findByModelCid(c.cid)},showSelectPresets:function(){this.ui.addNewSection.hide(),this.ui.selectPreset.show()},closeSelectPresets:function(){this.ui.addNewSection.show(),this.ui.selectPreset.hide()},fixBlankPageOffset:function(){var a=27,b=this.$el.offset().top,c=a-b;if(0<c){var d=Backbone.$("<style>").text(".elementor-editor-active #elementor-inner{margin-top: "+c+"px}");elementor.$previewContents.children().children("head").append(d)}},onRender:function(){var a=this;a.ui.addSectionArea.html5Droppable({axis:["vertical"],groups:["elementor-element"],onDragging:function(b){a.ui.addSectionArea.data("side")!==b&&a.ui.addSectionArea.attr("data-side",b)},onDragLeave:function(){a.ui.addSectionArea.removeAttr("data-side")},onDropping:function(){var b=elementor.panelElements.request("element:selected"),c=a.addSection(),d={id:elementor.helpers.getUniqueID(),elType:"widget",widgetType:b.model.get("widgetType")};c.triggerMethod("request:add",d)}}),_.defer(_.bind(a.fixBlankPageOffset,this))},onPresetSelected:function(a){this.closeSelectPresets();var b,c=a.currentTarget.dataset.structure,d=elementor.presetsFactory.getParsedStructure(c),e=[];for(b=0;b<d.columnsCount;b++)e.push({id:elementor.helpers.getUniqueID(),elType:"column",settings:{},elements:[]});var f=this.addSection({elements:e});f.setStructure(c),f.redefineLayout()}}),b.exports=d},{"elementor-behaviors/duplicate":2,"elementor-behaviors/elements-relation":3,"elementor-behaviors/handle-duplicate":4,"elementor-behaviors/sortable":8,"elementor-views/section":69}],71:[function(a,b,c){var d,e=a("elementor-views/base-element");d=e.extend({_templateType:null,getTemplate:function(){return"remote"!==this.getTemplateType()?Marionette.TemplateCache.get("#tmpl-elementor-widget-"+this.model.get("widgetType")+"-content"):_.template("")},className:function(){return"elementor-widget elementor-widget-"+this.model.get("widgetType")},modelEvents:{"before:remote:render":"onModelBeforeRemoteRender","remote:render":"onModelRemoteRender"},triggers:{click:{event:"click:edit",stopPropagation:!1},"click > .elementor-editor-element-settings .elementor-editor-add-element":"click:add","click > .elementor-editor-element-settings .elementor-editor-element-duplicate":"click:duplicate"},elementEvents:{"click > .elementor-editor-element-settings .elementor-editor-element-remove":"onClickRemove"},behaviors:{HandleEditor:{behaviorClass:a("elementor-behaviors/handle-editor")},HandleEditMode:{behaviorClass:a("elementor-behaviors/handle-edit-mode")}},initialize:function(){e.prototype.initialize.apply(this,arguments),this.model.getHtmlCache()||this.model.renderRemoteServer()},getTemplateType:function(){if(null===this.getOption("_templateType")){var a=Backbone.$("#tmpl-elementor-widget-"+this.model.get("widgetType")+"-content");0===a.length?this._templateType="remote":this._templateType="js"}return this.getOption("_templateType")},onModelBeforeRemoteRender:function(){this.$el.addClass("elementor-loading")},onBeforeDestroy:function(){elementor.$previewContents.find("#elementor-style-"+this.model.cid).remove()},onModelRemoteRender:function(){this.isDestroyed||(this.$el.removeClass("elementor-loading"),this.render())},attachElContent:function(a){var b=this.model.getHtmlCache();return b&&(a=b),this.$el.html(a),this},onRender:function(){this.$el.removeClass("elementor-widget-empty").children(".elementor-widget-empty-icon").remove(),this.$el.imagesLoaded().always(_.bind(function(){1>this.$el.height()&&(this.$el.addClass("elementor-widget-empty"),this.$el.append('<i class="elementor-widget-empty-icon eicon-'+this.model.getIcon()+'"></i>'))},this))}}),b.exports=d},{"elementor-behaviors/handle-edit-mode":5,"elementor-behaviors/handle-editor":6,"elementor-views/base-element":44}]},{},[1]);
|
|
1 |
+
/*! elementor - v0.6.6 - 11-08-2016 */
|
2 |
+
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){var d;d=Marionette.Application.extend({helpers:a("elementor-utils/helpers"),heartbeat:a("elementor-utils/heartbeat"),schemes:a("elementor-utils/schemes"),presetsFactory:a("elementor-utils/presets-factory"),modals:a("elementor-utils/modals"),introduction:a("elementor-utils/introduction"),editor:Backbone.Radio.channel("ELEMENTOR:editor"),data:Backbone.Radio.channel("ELEMENTOR:data"),filterState:Backbone.Radio.channel("ELEMENTOR:filterState"),elementLibrary:Backbone.Radio.channel("ELEMENTOR:elementLibrary"),panelElements:Backbone.Radio.channel("ELEMENTOR:panelElements"),dataEditMode:Backbone.Radio.channel("ELEMENTOR:editmode"),preview:Backbone.Radio.channel("ELEMENTOR:preview"),deviceMode:Backbone.Radio.channel("ELEMENTOR:deviceMode"),_controlsItemView:null,getElementData:function(a){var b=a.get("elType");if("widget"===b){var c=a.get("widgetType");return!!this.config.widgets[c]&&this.config.widgets[c]}return!!this.config.elements[b]&&this.config.elements[b]},getElementControls:function(a){var b=this.getElementData(a);if(!b)return!1;var c=a.get("elType"),d=a.get("isInner");return"widget"===c?b.controls:_.filter(b.controls,function(a){return!(d&&a.hide_in_inner||!d&&a.hide_in_top)})},getControlItemView:function(b){return null===this._controlsItemView&&(this._controlsItemView={color:a("elementor-views/controls/color"),dimensions:a("elementor-views/controls/dimensions"),image_dimensions:a("elementor-views/controls/image-dimensions"),media:a("elementor-views/controls/media"),slider:a("elementor-views/controls/slider"),wysiwyg:a("elementor-views/controls/wysiwyg"),choose:a("elementor-views/controls/choose"),url:a("elementor-views/controls/url"),font:a("elementor-views/controls/font"),section:a("elementor-views/controls/section"),repeater:a("elementor-views/controls/repeater"),wp_widget:a("elementor-views/controls/wp_widget"),icon:a("elementor-views/controls/icon"),gallery:a("elementor-views/controls/gallery"),select2:a("elementor-views/controls/select2"),box_shadow:a("elementor-views/controls/box-shadow"),structure:a("elementor-views/controls/structure"),animation:a("elementor-views/controls/animation"),hover_animation:a("elementor-views/controls/animation")},this.editor.trigger("editor:controls:initialize")),this._controlsItemView[b]||a("elementor-views/controls/base")},getPanelView:function(){return this.getRegion("panel").currentView},initDialogsManager:function(){this.dialogsManager=new DialogsManager.Instance},onStart:function(){NProgress.start(),NProgress.inc(.2),this.config=ElementorConfig;var b=a("elementor-models/element");Backbone.Radio.DEBUG=!1,Backbone.Radio.tuneIn("ELEMENTOR"),this.initDialogsManager(),this.heartbeat.init(),this.modals.init(),elementorBindUI.setEditorMode(!0),this.elements=new b.Collection(this.config.data),this.$previewWrapper=Backbone.$("#elementor-preview"),this.$previewResponsiveWrapper=Backbone.$("#elementor-preview-responsive-wrapper");var c="elementor-preview-iframe";if(!Backbone.$("#"+c).length){var d=document.createElement("iframe");d.id=c,d.src=this.config.preview_link+"&"+(new Date).getTime(),this.$previewResponsiveWrapper.append(d)}this.$preview=Backbone.$("#"+c),this.$preview.on("load",_.bind(function(){this.$previewContents=this.$preview.contents(),elementorBindUI.setScopeWindow(this.$preview[0].contentWindow),this.triggerMethod("preview:loaded")},this)),this.listenTo(this.dataEditMode,"switch",this.onEditModeSwitched),this.setWorkSaver()},onPreviewLoaded:function(){NProgress.done();var b=a("elementor-views/sections"),c=a("elementor-layouts/panel/panel"),d=this.$previewContents.find("#elementor");if(!d.length)return void this.onPreviewElNotFound();var e=new Marionette.Region({el:d[0]});this.schemes.init(),this.schemes.printSchemesStyle(),this.$previewContents.on("click",function(a){var b=Backbone.$(a.target),c=elementor.dataEditMode.request("activeMode"),d=!!b.closest("#elementor").length,e=this.contains(b[0]);d&&"preview"!==c||!e||(b.closest("a").length&&a.preventDefault(),d||elementor.getPanelView().setPage("elements"))}),this.addRegions({sections:e,panel:"#elementor-panel"}),this.getRegion("sections").show(new b({collection:this.elements})),this.getRegion("panel").show(new c),this.$previewContents.children().addClass("elementor-html").children("body").addClass("elementor-editor-active"),this.setResizablePanel(),Backbone.$("#elementor-loading").fadeOut(600),this.introduction.startOnLoadIntroduction()},onEditModeSwitched:function(){var a=elementor.dataEditMode.request("activeMode");"preview"===a?this.enterPreviewMode():this.exitPreviewMode()},onPreviewElNotFound:function(){var a=this.dialogsManager.createWidget("confirm",{id:"elementor-fatal-error-dialog",headerMessage:elementor.translate("preview_el_not_found_header"),message:elementor.translate("preview_el_not_found_message"),position:{my:"center center",at:"center center"},strings:{confirm:elementor.translate("learn_more"),cancel:elementor.translate("go_back")},onConfirm:function(){open(elementor.config.help_the_content_url,"_blank")},onCancel:function(){parent.history.go(-1)},hideOnButtonClick:!1});a.show()},setFlagEditorChange:function(a){elementor.editor.reply("editor:changed",a),elementor.editor.trigger("editor:changed",a)},isEditorChanged:function(){return!0===elementor.editor.request("editor:changed")},setWorkSaver:function(){Backbone.$(window).on("beforeunload",function(){if(elementor.isEditorChanged())return elementor.translate("before_unload_alert")})},setResizablePanel:function(){var a=this,b=elementor.config.is_rtl?"right":"left";a.panel.$el.resizable({handles:elementor.config.is_rtl?"w":"e",minWidth:200,maxWidth:500,start:function(){a.$previewWrapper.addClass("ui-resizable-resizing").css("pointer-events","none")},stop:function(){a.$previewWrapper.removeClass("ui-resizable-resizing").css("pointer-events",""),elementor.data.trigger("scrollbar:update")},resize:function(c,d){a.$previewWrapper.css(b,d.size.width)}})},enterPreviewMode:function(){this.$previewContents.find("body").add("body").removeClass("elementor-editor-active").addClass("elementor-editor-preview"),this.$previewWrapper.css(elementor.config.is_rtl?"right":"left",""),this.panel.$el.css("width","")},exitPreviewMode:function(){this.$previewContents.find("body").add("body").removeClass("elementor-editor-preview").addClass("elementor-editor-active")},saveBuilder:function(a){return a=_.extend({revision:"draft",onSuccess:null},a),NProgress.start(),Backbone.$.ajax({type:"POST",url:this.config.ajaxurl,data:{action:"elementor_save_builder",post_id:this.config.post_id,revision:a.revision,data:JSON.stringify(elementor.elements.toJSON()),_nonce:elementor.config.nonce}}).done(function(b){NProgress.done(),elementor.setFlagEditorChange(!1),_.isFunction(a.onSuccess)&&a.onSuccess.call(this,b)})},translate:function(a,b){var c=this.config.i18n[a];return void 0===c&&(c=a),b&&(c=c.replace(/{(\d+)}/g,function(a,c){return void 0!==b[c]?b[c]:a})),c}}),b.exports=(window.elementor=new d).start()},{"elementor-layouts/panel/panel":31,"elementor-models/element":34,"elementor-utils/heartbeat":38,"elementor-utils/helpers":39,"elementor-utils/introduction":40,"elementor-utils/modals":41,"elementor-utils/presets-factory":42,"elementor-utils/schemes":43,"elementor-views/controls/animation":46,"elementor-views/controls/base":49,"elementor-views/controls/box-shadow":50,"elementor-views/controls/choose":51,"elementor-views/controls/color":52,"elementor-views/controls/dimensions":53,"elementor-views/controls/font":54,"elementor-views/controls/gallery":55,"elementor-views/controls/icon":56,"elementor-views/controls/image-dimensions":57,"elementor-views/controls/media":58,"elementor-views/controls/repeater":60,"elementor-views/controls/section":61,"elementor-views/controls/select2":62,"elementor-views/controls/slider":63,"elementor-views/controls/structure":64,"elementor-views/controls/url":65,"elementor-views/controls/wp_widget":66,"elementor-views/controls/wysiwyg":67,"elementor-views/sections":70}],2:[function(a,b,c){var d;d=Marionette.Behavior.extend({onChildviewClickNew:function(a){var b=a.$el.index()+1;this.addChild({at:b})},onRequestNew:function(){this.addChild()},addChild:function(a){if(!this.view.isCollectionFilled()){a=a||{};var b={id:elementor.helpers.getUniqueID(),elType:this.view.getChildType()[0],settings:{},elements:[]};this.view.addChildModel(b,a)}}}),b.exports=d},{}],3:[function(a,b,c){var d;d=Marionette.Behavior.extend({onRequestAdd:function(a,b){this._addChildElement(a,b)},_addChildElement:function(a,b){b=b||{};var c=this.view.getChildType();if(-1===c.indexOf(a.elType))return delete b.at,void this.view.children.last().triggerMethod("request:add",a,b);var d=this.view.addChildModel(a,b),e=this.view.children.findByModel(d);"section"===e.getElementType()&&e.isInner()&&e.addEmptyColumn(),e.triggerMethod("open:editor")}}),b.exports=d},{}],4:[function(a,b,c){var d;d=Marionette.Behavior.extend({onChildviewClickDuplicate:function(a){if(!this.view.isCollectionFilled()){var b=this.view.collection.indexOf(a.model),c=a.model.clone();this.view.addChildModel(c,{at:b})}}}),b.exports=d},{}],5:[function(a,b,c){var d;d=Marionette.Behavior.extend({initialize:function(){this.listenTo(elementor.dataEditMode,"switch",this.onEditModeSwitched)},onEditModeSwitched:function(){var a=elementor.dataEditMode.request("activeMode");this.view.$el.toggleClass("elementor-active-mode","preview"!==a)},onRender:function(){this.onEditModeSwitched()}}),b.exports=d},{}],6:[function(a,b,c){var d;d=Marionette.Behavior.extend({onClickEdit:function(){var a=elementor.dataEditMode.request("activeMode");"preview"!==a&&this.onOpenEditor()},onOpenEditor:function(){var a=elementor.getPanelView().getCurrentPageName();if("editor"===a){var b=elementor.getPanelView().getCurrentPageView(),c=b.model;if(c===this.view.model)return}var d=elementor.getElementData(this.view.model);elementor.getPanelView().setPage("editor",elementor.translate("edit_element",[d.title]),{model:this.view.model,editedElementView:this.view})}}),b.exports=d},{}],7:[function(a,b,c){var d;d=Marionette.Behavior.extend({defaults:{handles:elementor.config.is_rtl?"w":"e"},ui:{columnTitle:".column-title"},events:{resizestart:"onResizeStart",resizestop:"onResizeStop",resize:"onResize"},initialize:function(){Marionette.Behavior.prototype.initialize.apply(this,arguments),this.listenTo(elementor.dataEditMode,"switch",this.onEditModeSwitched)},active:function(){var a=_.clone(this.options);delete a.behaviorClass;var b=this.getChildViewContainer(),c={},d=_.extend(c,a);b.resizable(d)},deactivate:function(){this.getChildViewContainer().resizable("instance")&&this.getChildViewContainer().resizable("destroy")},onEditModeSwitched:function(){var a=elementor.dataEditMode.request("activeMode");"preview"!==a?this.active():this.deactivate()},onRender:function(){_.defer(_.bind(this.onEditModeSwitched,this))},onDestroy:function(){this.deactivate()},onResizeStart:function(a){a.stopPropagation(),this.view.triggerMethod("request:resize:start")},onResizeStop:function(a){a.stopPropagation(),this.view.triggerMethod("request:resize:stop")},onResize:function(a,b){a.stopPropagation(),this.view.triggerMethod("request:resize",b)},getChildViewContainer:function(){return this.$el}}),b.exports=d},{}],8:[function(a,b,c){var d;d=Marionette.Behavior.extend({defaults:{elChildType:"widget"},events:{sortstart:"onSortStart",sortreceive:"onSortReceive",sortupdate:"onSortUpdate",sortstop:"onSortStop",sortover:"onSortOver",sortout:"onSortOut"},initialize:function(){this.listenTo(elementor.dataEditMode,"switch",this.onEditModeSwitched),this.listenTo(elementor.deviceMode,"change",this.onDeviceModeChange)},onEditModeSwitched:function(){var a=elementor.dataEditMode.request("activeMode");"preview"!==a?this.active():this.deactivate()},onDeviceModeChange:function(){var a=elementor.deviceMode.request("currentMode");"desktop"===a?this.active():this.deactivate()},onRender:function(){_.defer(_.bind(this.onEditModeSwitched,this))},onDestroy:function(){this.deactivate()},active:function(){if(!this.getChildViewContainer().sortable("instance")){var a=this.getChildViewContainer(),b={connectWith:a.selector,cursor:"move",placeholder:"elementor-sortable-placeholder",cursorAt:{top:20,left:25},helper:_.bind(this._getSortableHelper,this)},c=_.extend(b,this.view.getSortableOptions());a.sortable(c)}},_getSortableHelper:function(a,b){var c=this.view.collection.get({cid:b.data("model-cid")});return'<div style="height: 84px; width: 125px;" class="elementor-sortable-helper elementor-sortable-helper-'+c.get("elType")+'"><div class="icon"><i class="eicon-'+c.getIcon()+'"></i></div><div class="elementor-element-title-wrapper"><div class="title">'+c.getTitle()+"</div></div></div>"},deactivate:function(){this.getChildViewContainer().sortable("instance")&&this.getChildViewContainer().sortable("destroy")},onSortStart:function(a,b){a.stopPropagation();var c=this.view.collection.get({cid:b.item.data("model-cid")});if("column"===this.options.elChildType){b.placeholder.addClass("elementor-column");var d=b.item.data("sortableItem"),e=d.items,f=0;e.forEach(function(a){if(a.item[0]===b.item[0])return f=a.height,!1}),b.placeholder.height(f)}elementor.data.trigger(c.get("elType")+":drag:start"),elementor.data.reply("cache:"+c.cid,c)},onSortOver:function(a,b){a.stopPropagation();var c=elementor.data.request("cache:"+b.item.data("model-cid"));Backbone.$(a.target).addClass("elementor-draggable-over").attr({"data-dragged-element":c.get("elType"),"data-dragged-is-inner":c.get("isInner")}),this.$el.addClass("elementor-dragging-on-child")},onSortOut:function(a){a.stopPropagation(),Backbone.$(a.target).removeClass("elementor-draggable-over").removeAttr("data-dragged-element data-dragged-is-inner"),this.$el.removeClass("elementor-dragging-on-child")},onSortReceive:function(a,b){if(a.stopPropagation(),this.view.isCollectionFilled())return void Backbone.$(b.sender).sortable("cancel");var c=elementor.data.request("cache:"+b.item.data("model-cid")),d=c.get("elType"),e="section"===d&&c.get("isInner"),f="column"===this.view.getElementType()&&this.view.isInner();if(e&&f)return void Backbone.$(b.sender).sortable("cancel");var g=b.item.parent().children().index(b.item),h=new this.view.collection.model(c.toJSON({copyHtmlCache:!0}));this.view.addChildModel(h,{at:g}),elementor.data.trigger(d+":drag:end"),c.destroy()},onSortUpdate:function(a,b){a.stopPropagation();var c=this.view.collection.get(b.item.attr("data-model-cid"));c&&elementor.data.trigger(c.get("elType")+":drag:end")},onSortStop:function(a,b){a.stopPropagation();var c=b.item,d=this.view.collection,e=d.get(c.attr("data-model-cid")),f=c.parent().children().index(c);if(this.getChildViewContainer()[0]===b.item.parent()[0]&&null===b.sender&&e){var g=d.indexOf(e);g!==f&&(d.remove(e,{silent:!0}),d.add(e,{silent:!0,at:f}),elementor.setFlagEditorChange(!0)),elementor.data.trigger(e.get("elType")+":drag:end")}},onAddChild:function(a){a.$el.attr("data-model-cid",a.model.cid)},getChildViewContainer:function(){return"function"==typeof this.view.getChildViewContainer?this.view.getChildViewContainer(this.view):this.$el}}),b.exports=d},{}],9:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-mode-switcher-content",id:"elementor-mode-switcher-inner",ui:{previewButton:"#elementor-mode-switcher-preview-input",previewLabel:"#elementor-mode-switcher-preview",previewLabelA11y:"#elementor-mode-switcher-preview .elementor-screen-only"},events:{"change @ui.previewButton":"onEditModeChange"},getCurrentMode:function(){return this.ui.previewButton.is(":checked")?"preview":"edit"},setMode:function(a){this.ui.previewButton.prop("checked","preview"===a)},onRender:function(){this.onEditModeChange()},onEditModeChange:function(){var a=elementor.dataEditMode.request("activeMode"),b=this.getCurrentMode();if(elementor.dataEditMode.reply("activeMode",b),b!==a){elementor.dataEditMode.trigger("switch");var c="preview"===b?"Back to Editor":"Preview";this.ui.previewLabel.attr("title",c),this.ui.previewLabelA11y.text(c)}}}),b.exports=d},{}],10:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-footer-content",tagName:"nav",id:"elementor-panel-footer-tools",defaultDeviceMode:"desktop",currentDeviceMode:"",possibleRotateModes:["portrait","landscape"],ui:{menuButtons:".elementor-panel-footer-tool",deviceModeButtons:"#elementor-panel-footer-responsive .elementor-panel-footer-sub-menu-item",buttonSave:"#elementor-panel-footer-save",buttonSaveButton:"#elementor-panel-footer-save .elementor-button",buttonPublish:"#elementor-panel-footer-publish",watchTutorial:"#elementor-panel-footer-watch-tutorial"},events:{"click @ui.deviceModeButtons":"onClickResponsiveButtons","click @ui.buttonSave":"onClickButtonSave","click @ui.buttonPublish":"onClickButtonPublish","click @ui.watchTutorial":"onClickWatchTutorial"},initialize:function(){this._initDialog(),Backbone.$(document).on("click",_.bind(this.onDocumentClick,this)),this.listenTo(elementor.editor,"editor:changed",this.onEditorChanged)},_initDialog:function(){var a;this.getDialog=function(){if(!a){var b=Backbone.$,c=b("<div>",{class:"elementor-dialog-message"}),d=b("<i>",{class:"fa fa-check-circle"}),e=b("<div>",{class:"elementor-dialog-message-text"}).text(elementor.translate("saved"));c.append(d,e),a=elementor.dialogsManager.createWidget("popup",{hide:{delay:1500}}),a.setMessage(c)}return a}},_publishBuilder:function(){var a=this,b={revision:"publish",onSuccess:function(){a.getDialog().show(),a.ui.buttonSaveButton.removeClass("elementor-button-state")}};a.ui.buttonSaveButton.addClass("elementor-button-state"),elementor.saveBuilder(b)},_saveBuilderDraft:function(){elementor.saveBuilder()},onRender:function(){this.changeDeviceMode(this.defaultDeviceMode)},changeDeviceMode:function(a){this.currentDeviceMode!==a&&(this.getCurrentDeviceModeButton().removeClass("active"),elementor.$previewWrapper.removeClass("elementor-device-"+this.currentDeviceMode).addClass("elementor-device-"+a),this.currentDeviceMode=a,this.getCurrentDeviceModeButton().addClass("active"),elementor.deviceMode.reply("currentMode",this.currentDeviceMode),elementor.deviceMode.trigger("change"))},getCurrentDeviceModeButton:function(){return this.ui.deviceModeButtons.filter('[data-device-mode="'+this.currentDeviceMode+'"]')},onDocumentClick:function(a){var b=Backbone.$(a.target),c=b.closest(".elementor-panel-footer-sub-menu-wrapper").length;if(!c){var d=b.closest(".elementor-panel-footer-tool"),e=d.length&&!d.hasClass("elementor-open");this.ui.menuButtons.removeClass("elementor-open"),e&&d.addClass("elementor-open")}},onEditorChanged:function(){this.ui.buttonSave.toggleClass("elementor-save-active",elementor.isEditorChanged())},onClickButtonSave:function(){this._publishBuilder()},onClickButtonPublish:function(a){a.stopPropagation(),this._publishBuilder()},onClickResponsiveButtons:function(a){var b=this.$(a.currentTarget),c=b.data("device-mode");this.changeDeviceMode(c)},onClickWatchTutorial:function(){elementor.introduction.startIntroduction()}}),b.exports=d},{}],11:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-header",id:"elementor-panel-header",ui:{menuButton:"#elementor-panel-header-menu-button",title:"#elementor-panel-header-title",addButton:"#elementor-panel-header-add-button"},events:{"click @ui.addButton":"onClickAdd","click @ui.menuButton":"onClickMenu"},setTitle:function(a){this.ui.title.html(a)},onClickAdd:function(){elementor.getPanelView().setPage("elements")},onClickMenu:function(){var a=elementor.getPanelView(),b=a.getCurrentPageName(),c="menu"===b?"elements":"menu";a.setPage(c)}}),b.exports=d},{}],12:[function(a,b,c){var d;d=Marionette.CompositeView.extend({template:Marionette.TemplateCache.get("#tmpl-editor-content"),id:"elementor-panel-page-editor",templateHelpers:function(){return{elementData:elementor.getElementData(this.model)}},childViewContainer:"div.elementor-controls",modelEvents:{destroy:"onModelDestroy"},ui:{tabs:".elementor-tabs-controls li"},events:{"click @ui.tabs a":"onClickTabControl"},getChildView:function(a){var b=a.get("type");return elementor.getControlItemView(b)},childViewOptions:function(){return{elementSettingsModel:this.model.get("settings"),elementEditSettings:this.model.get("editSettings")}},onDestroy:function(){this.getOption("editedElementView").$el.removeClass("elementor-element-editable"),this.model.trigger("editor:close"),this.triggerMethod("editor:destroy")},onBeforeRender:function(){var a=elementor.getElementControls(this.model.get("settings"));if(!a)throw new Error("Editor controls not found");this.collection=new Backbone.Collection(a)},onRender:function(){this.getOption("editedElementView").$el.addClass("elementor-element-editable"),this.ui.tabs.eq(0).find("a").trigger("click"),this.$(".tooltip-target").tipsy({gravity:function(){var a=Backbone.$(this).data("tooltip-pos");return void 0!==a?a:"n"},title:function(){return this.getAttribute("data-tooltip")}})},onModelDestroy:function(){this.destroy()},onClickTabControl:function(a){a.preventDefault();var b=this.$(a.target);this.ui.tabs.removeClass("active"),b.closest("li").addClass("active"),this.model.get("settings").trigger("control:switch:tab",b.data("tab")),this.openFirstSectionInCurrentTab(b.data("tab"))},openFirstSectionInCurrentTab:function(a){var b="elementor-open",c=this.children.filter(function(a){return!_.isEmpty(a.model.get("section"))}),d=this.children.filter(function(b){return"section"===b.model.get("type")&&a===b.model.get("tab")});_.isEmpty(d)||(d=d[0],d.ui.heading.addClass(b),_.each(c,function(a){return a.model.get("section")!==d.model.get("name")?void a.$el.removeClass(b):void a.$el.addClass(b)}))},onChildviewControlSectionClicked:function(a){var b="elementor-open",c=a.model.get("name"),d=a.ui.heading.hasClass(b),e=this.children.filter(function(a){return!_.isEmpty(a.model.get("section"))});this.$(".elementor-control.elementor-control-type-section .elementor-panel-heading").removeClass(b),d?c="":a.ui.heading.addClass(b),_.each(e,function(a){return a.model.get("section")!==c?void a.$el.removeClass(b):void a.$el.addClass(b)}),elementor.data.trigger("scrollbar:update")}}),b.exports=d},{}],13:[function(a,b,c){var d,e=a("../models/element");d=Backbone.Collection.extend({model:e}),b.exports=d},{"../models/element":16}],14:[function(a,b,c){var d,e=a("../models/element");d=Backbone.Collection.extend({model:e}),b.exports=d},{"../models/element":16}],15:[function(a,b,c){var d,e=a("./collections/categories"),f=a("./collections/elements"),g=a("./views/categories"),h=a("./views/elements"),i=a("./views/search");d=Marionette.LayoutView.extend({template:"#tmpl-elementor-panel-elements",regions:{elements:"#elementor-panel-elements-wrapper",search:"#elementor-panel-elements-search-area"},elementsCollection:null,categoriesCollection:null,initialize:function(){this.listenTo(elementor.panelElements,"element:selected",this.destroy)},initElementsCollection:function(){var a=new f,b=elementor.config.elements.section;a.add({title:elementor.translate("inner_section"),elType:"section",categories:b.categories,keywords:b.keywords,icon:b.icon}),_.each(elementor.config.widgets,function(b,c){a.add({title:b.title,elType:"widget",categories:b.categories,keywords:b.keywords,icon:b.icon,widgetType:c})}),this.elementsCollection=a},initCategoriesCollection:function(){var a={};this.elementsCollection.each(function(b){_.each(b.get("categories"),function(c){a[c]||(a[c]=[]),a[c].push(b)})});var b=new e;_.each(elementor.config.elements_categories,function(c,d){a[d]&&b.add({name:d,title:c.title,icon:c.icon,items:a[d]})}),this.categoriesCollection=b},showCategoriesView:function(){this.getRegion("elements").show(new g({collection:this.categoriesCollection}))},showElementsView:function(){this.getRegion("elements").show(new h({collection:this.elementsCollection}))},clearSearchInput:function(){this.getChildView("search").clearInput()},changeFilter:function(a){elementor.panelElements.reply("filter:value",a).trigger("change")},clearFilters:function(){this.changeFilter(null),this.clearSearchInput()},onChildviewChildrenRender:function(){this.updateElementsScrollbar()},onChildviewSearchChangeInput:function(a){var b=a.ui.input.val();if(_.isEmpty(b))this.showCategoriesView();else{var c=elementor.panelElements.request("filter:value");_.isEmpty(c)&&this.showElementsView()}this.changeFilter(b,"search")},onDestroy:function(){elementor.panelElements.reply("filter:value",null)},onShow:function(){var a=this.getRegion("search");this.initElementsCollection(),this.initCategoriesCollection(),this.showCategoriesView(),a.show(new i)},updateElementsScrollbar:function(){elementor.data.trigger("scrollbar:update")}}),b.exports=d},{"./collections/categories":13,"./collections/elements":14,"./views/categories":17,"./views/elements":20,"./views/search":21}],16:[function(a,b,c){var d;d=Backbone.Model.extend({defaults:{title:"",categories:[],keywords:[],icon:"",elType:"widget",widgetType:""}}),b.exports=d},{}],17:[function(a,b,c){var d,e=a("./category");d=Marionette.CollectionView.extend({childView:e,id:"elementor-panel-elements-categories"}),b.exports=d},{"./category":18}],18:[function(a,b,c){var d,e=a("./element"),f=a("../collections/elements");d=Marionette.CompositeView.extend({template:"#tmpl-elementor-panel-elements-category",className:"elementor-panel-category",childView:e,childViewContainer:".panel-elements-category-items",initialize:function(){this.collection=new f(this.model.get("items"))}}),b.exports=d},{"../collections/elements":14,"./element":19}],19:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-element-library-element",className:"elementor-element-wrapper",onRender:function(){var a=this;this.$el.html5Draggable({onDragStart:function(){elementor.panelElements.reply("element:selected",a).trigger("element:drag:start")},onDragEnd:function(){elementor.panelElements.trigger("element:drag:end")},groups:["elementor-element"]})}}),b.exports=d},{}],20:[function(a,b,c){var d,e=a("./element");d=Marionette.CollectionView.extend({childView:e,id:"elementor-panel-elements",initialize:function(){this.listenTo(elementor.panelElements,"change",this.onFilterChanged)},filter:function(a){var b=elementor.panelElements.request("filter:value");return!b||_.any(["title","keywords"],function(c){return-1!==a.get(c).toLowerCase().indexOf(b.toLowerCase())})},onFilterChanged:function(){this._renderChildren(),this.triggerMethod("children:render")}}),b.exports=d},{"./element":19}],21:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-element-search",id:"elementor-panel-elements-search-wrapper",ui:{input:"input"},events:{"keyup @ui.input":"onInputChanged"},onInputChanged:function(a){var b=27;b===a.keyCode&&this.clearInput(),this.triggerMethod("search:change:input")},clearInput:function(){this.ui.input.val("")}}),b.exports=d},{}],22:[function(a,b,c){var d,e=a("elementor-panel/pages/menu/views/item");d=Marionette.CollectionView.extend({id:"elementor-panel-page-menu",childView:e,initialize:function(){this.collection=new Backbone.Collection([{icon:"paint-brush",title:elementor.translate("global_colors"),type:"page",pageName:"colorScheme"},{icon:"font",title:elementor.translate("global_fonts"),type:"page",pageName:"typographyScheme"},{icon:"file-text",title:elementor.translate("page_settings")+" <span>("+elementor.translate("soon")+")</span>"},{icon:"cog",title:elementor.translate("elementor_settings"),type:"link",link:elementor.config.settings_page_link},{icon:"history",title:elementor.translate("revisions_history")+" <span>("+elementor.translate("soon")+")</span>"},{icon:"info-circle",title:elementor.translate("about_elementor"),type:"link",link:elementor.config.elementor_site,newTab:!0}])},onChildviewClick:function(a){var b=a.model.get("type");switch(b){case"page":var c=a.model.get("pageName"),d=a.model.get("title");elementor.getPanelView().setPage(c,d);break;case"link":var e=a.model.get("link"),f=a.model.get("newTab");f?open(e,"_blank"):location.href=a.model.get("link")}}}),b.exports=d},{"elementor-panel/pages/menu/views/item":23}],23:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-menu-item",className:"elementor-panel-menu-item",triggers:{click:"click"}}),b.exports=d},{}],24:[function(a,b,c){var d;d=Marionette.CompositeView.extend({id:function(){return"elementor-panel-scheme-"+this.getType()},className:"elementor-panel-scheme",childViewContainer:".elementor-panel-scheme-items",getTemplate:function(){return Marionette.TemplateCache.get("#tmpl-elementor-panel-schemes-"+this.getType())},ui:function(){return{saveButton:".elementor-panel-scheme-save .elementor-button",discardButton:".elementor-panel-scheme-discard .elementor-button",resetButton:".elementor-panel-scheme-reset .elementor-button"}},events:function(){return{"click @ui.saveButton":"saveScheme","click @ui.discardButton":"discardScheme","click @ui.resetButton":"setDefaultScheme"}},initialize:function(){this.model=new Backbone.Model,this.resetScheme()},getType:function(){},getScheme:function(){return elementor.schemes.getScheme(this.getType())},changeChildrenUIValues:function(a){var b=this;_.each(a,function(a,c){var d=b.collection.findWhere({key:c}),e=b.children.findByModelCid(d.cid);e.changeUIValue(a)})},discardScheme:function(){elementor.schemes.resetSchemes(this.getType()),this.ui.saveButton.prop("disabled",!0),this._renderChildren()},setSchemeValue:function(a,b){elementor.schemes.setSchemeValue(this.getType(),a,b)},saveScheme:function(){elementor.schemes.saveScheme(this.getType()),this.ui.saveButton.prop("disabled",!0),this.resetScheme(),this._renderChildren()},setDefaultScheme:function(){var a=elementor.config.default_schemes[this.getType()].items;this.changeChildrenUIValues(a)},resetItems:function(){this.model.set("items",this.getScheme().items)},resetCollection:function(){var a=this.model.get("items");this.collection=new Backbone.Collection,_.each(a,_.bind(function(a,b){a.type=this.getType(),a.key=b,this.collection.add(a)},this))},resetScheme:function(){this.resetItems(),this.resetCollection()},onChildviewValueChange:function(a,b){this.ui.saveButton.removeProp("disabled"),this.setSchemeValue(a.model.get("key"),b)}}),b.exports=d},{}],25:[function(a,b,c){var d,e=a("elementor-panel/pages/schemes/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.systemSchemes=".elementor-panel-scheme-color-system-scheme",a},events:function(){var a=e.prototype.events.apply(this,arguments);return a["click @ui.systemSchemes"]="onSystemSchemeClick",a},getChildView:function(){return a("elementor-panel/pages/schemes/items/color")},getType:function(){return"color"},onSystemSchemeClick:function(a){var b=Backbone.$(a.currentTarget),c=b.data("schemeName"),d=elementor.config.system_schemes.color[c].items;this.changeChildrenUIValues(d)}}),b.exports=d},{"elementor-panel/pages/schemes/base":24,"elementor-panel/pages/schemes/items/color":28}],26:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-schemes-disabled",disabledTitle:"",templateHelpers:function(){return{disabledTitle:this.disabledTitle}},id:"elementor-panel-schemes-disabled"}),b.exports=d},{}],27:[function(a,b,c){var d;d=Marionette.ItemView.extend({getTemplate:function(){return Marionette.TemplateCache.get("#tmpl-elementor-panel-scheme-"+this.model.get("type")+"-item")},className:function(){return"elementor-panel-scheme-item"}}),b.exports=d},{}],28:[function(a,b,c){var d,e=a("elementor-panel/pages/schemes/items/base");
|
3 |
+
d=e.extend({ui:{input:".elementor-panel-scheme-color-value"},changeUIValue:function(a){this.ui.input.wpColorPicker("color",a)},onBeforeDestroy:function(){this.ui.input.wpColorPicker("instance")&&this.ui.input.wpColorPicker("close")},onRender:function(){this.ui.input.wpColorPicker({change:_.bind(function(a,b){this.triggerMethod("value:change",b.color.toString())},this)})}}),b.exports=d},{"elementor-panel/pages/schemes/items/base":27}],29:[function(a,b,c){var d,e=a("elementor-panel/pages/schemes/items/base");d=e.extend({className:function(){var a=e.prototype.className.apply(this,arguments);return a+" elementor-panel-box"},ui:{heading:".elementor-panel-heading",allFields:".elementor-panel-scheme-typography-item-field",inputFields:"input.elementor-panel-scheme-typography-item-field",selectFields:"select.elementor-panel-scheme-typography-item-field",selectFamilyFields:'select.elementor-panel-scheme-typography-item-field[name="font_family"]'},events:{"input @ui.inputFields":"onFieldChange","change @ui.selectFields":"onFieldChange","click @ui.heading":"toggleVisibility"},onRender:function(){var a=this;this.ui.inputFields.add(this.ui.selectFields).each(function(){var b=Backbone.$(this),c=b.attr("name"),d=a.model.get("value")[c];b.val(d)}),this.ui.selectFamilyFields.select2({dir:elementor.config.is_rtl?"rtl":"ltr"})},toggleVisibility:function(){this.ui.heading.toggleClass("elementor-open")},changeUIValue:function(a){this.ui.allFields.each(function(){var b=Backbone.$(this),c=b.attr("name"),d=a[c];b.val(d).trigger("change")})},onFieldChange:function(a){var b=this.$(a.currentTarget),c=elementor.helpers.cloneObject(this.model.get("value")),d=b.attr("name");c[d]=b.val(),"font_family"!==d||_.isEmpty(c[d])||elementor.helpers.enqueueFont(c[d]),this.triggerMethod("value:change",c)}}),b.exports=d},{"elementor-panel/pages/schemes/items/base":27}],30:[function(a,b,c){var d,e=a("elementor-panel/pages/schemes/base");d=e.extend({getChildView:function(){return a("elementor-panel/pages/schemes/items/typography")},getType:function(){return"typography"}}),b.exports=d},{"elementor-panel/pages/schemes/base":24,"elementor-panel/pages/schemes/items/typography":29}],31:[function(a,b,c){var d,e=a("elementor-layouts/edit-mode");d=Marionette.LayoutView.extend({template:"#tmpl-elementor-panel",id:"elementor-panel-inner",regions:{content:"#elementor-panel-content-wrapper",header:"#elementor-panel-header-wrapper",footer:"#elementor-panel-footer",modeSwitcher:"#elementor-mode-switcher"},pages:{},childEvents:{"click:add":function(){this.setPage("elements")},"editor:destroy":function(){this.setPage("elements")}},currentPageName:null,_isScrollbarInitialized:!1,initialize:function(){this.initPages()},initPages:function(){var b={elements:{view:a("elementor-panel/pages/elements/elements"),title:'<img src="'+elementor.config.assets_url+'images/logo-panel.svg">'},editor:{view:a("elementor-panel/pages/editor")},menu:{view:a("elementor-panel/pages/menu/menu"),title:'<img src="'+elementor.config.assets_url+'images/logo-panel.svg">'},colorScheme:{view:a("elementor-panel/pages/schemes/colors")},typographyScheme:{view:a("elementor-panel/pages/schemes/typography")}},c=Object.keys(elementor.schemes.getSchemes()),d=_.difference(c,elementor.schemes.getEnabledSchemesTypes());_.each(d,function(c){var d=elementor.schemes.getScheme(c);b[c+"Scheme"].view=a("elementor-panel/pages/schemes/disabled").extend({disabledTitle:d.disabled_title})}),this.pages=b},getHeaderView:function(){return this.getChildView("header")},getCurrentPageName:function(){return this.currentPageName},getCurrentPageView:function(){return this.getChildView("content")},setPage:function(a,b,c){var d=this.pages[a];if(!d)throw new ReferenceError("Elementor panel doesn't have page named '"+a+"'");this.showChildView("content",new d.view(c)),this.getHeaderView().setTitle(b||d.title),this.currentPageName=a},onBeforeShow:function(){elementor.filterState.reply("get",{type:"parent",term:""});var b=a("elementor-layouts/panel/footer"),c=a("elementor-layouts/panel/header");this.showChildView("modeSwitcher",new e),this.showChildView("header",new c),this.showChildView("footer",new b),this.updateScrollbar=_.throttle(this.updateScrollbar,100),this.getRegion("content").on("before:show",_.bind(this.onEditorBeforeShow,this)).on("empty",_.bind(this.onEditorEmpty,this)).on("show",_.bind(this.updateScrollbar,this)),this.setPage("elements"),this.listenTo(elementor.data,"scrollbar:update",this.updateScrollbar)},onEditorBeforeShow:function(){_.defer(_.bind(this.updateScrollbar,this))},onEditorEmpty:function(){this.updateScrollbar()},updateScrollbar:function(){var a=this.content.$el;return this._isScrollbarInitialized?void a.perfectScrollbar("update"):(a.perfectScrollbar(),void(this._isScrollbarInitialized=!0))}}),b.exports=d},{"elementor-layouts/edit-mode":9,"elementor-layouts/panel/footer":10,"elementor-layouts/panel/header":11,"elementor-panel/pages/editor":12,"elementor-panel/pages/elements/elements":15,"elementor-panel/pages/menu/menu":22,"elementor-panel/pages/schemes/colors":25,"elementor-panel/pages/schemes/disabled":26,"elementor-panel/pages/schemes/typography":30}],32:[function(a,b,c){var d;d=Backbone.Model.extend({initialize:function(a){if(this.controls=elementor.getElementControls(this),this.controls){var b=a||{},c={};_.each(this.controls,function(a){var b=elementor.config.controls[a.type];_.isObject(b.default_value)?c[a.name]=_.extend({},b.default_value,a.default||{}):c[a.name]=a.default||b.default_value}),this.defaults=c,b=_.defaults({},b,c),_.each(this.controls,function(a){"repeater"===a.type&&(b[a.name]=new Backbone.Collection(b[a.name],{model:d}))}),this.set(b)}},getFontControls:function(){return _.filter(this.controls,_.bind(function(a){return"font"===a.type},this))},getStyleControls:function(){return _.filter(this.controls,_.bind(function(a){return this.isStyleControl(a.name)},this))},isStyleControl:function(a){var b=_.find(this.controls,function(b){return a===b.name});return!_.isUndefined(b)&&!_.isEmpty(b.selectors)},getClassControls:function(){return _.filter(this.controls,_.bind(function(a){return this.isClassControl(a.name)},this))},isClassControl:function(a){var b=_.find(this.controls,function(b){return a===b.name});return b&&!_.isUndefined(b.prefix_class)},getControl:function(a){return _.find(this.controls,function(b){return a===b.name})},clone:function(){return new d(elementor.helpers.cloneObject(this.attributes))},toJSON:function(){var a=Backbone.Model.prototype.toJSON.call(this);return delete a.widgetType,delete a.elType,delete a.isInner,_.each(a,function(b,c){b&&b.toJSON&&(a[c]=b.toJSON())}),a}}),b.exports=d},{}],33:[function(a,b,c){var d,e=a("elementor-models/base-settings");d=e.extend({defaults:{_inline_size:"",_column_size:100}}),b.exports=d},{"elementor-models/base-settings":32}],34:[function(a,b,c){var d,e,f=a("elementor-models/base-settings"),g=a("elementor-models/widget-settings"),h=a("elementor-models/column-settings"),i=a("elementor-models/row-settings"),j=a("elementor-models/section-settings");d=Backbone.Model.extend({defaults:{id:"",elType:"",isInner:!1,settings:{},defaultEditSettings:{}},remoteRender:!1,_htmlCache:null,_jqueryXhr:null,initialize:function(a){var b,c=this.get("elements"),d=this.get("elType"),k={widget:g,column:h,row:i,section:j},l=k[d]||f;b=this.get("settings")||{},"widget"===d&&(b.widgetType=this.get("widgetType")),b.elType=d,b.isInner=this.get("isInner"),b=new l(b),this.set("settings",b),this.initEditSettings(),void 0!==c&&this.set("elements",new e(c)),"widget"===this.get("elType")&&(this.remoteRender=!0,this.setHtmlCache(a.htmlCache||"")),delete a.htmlCache,this.renderRemoteServer=_.throttle(this.renderRemoteServer,1e3),this.on("destroy",this.onDestroy),this.on("editor:close",this.onCloseEditor)},initEditSettings:function(){this.set("editSettings",new Backbone.Model(this.get("defaultEditSettings")))},onDestroy:function(){var a=this.get("settings"),b=this.get("elements");void 0!==b&&_.each(_.clone(b.models),function(a){a.destroy()}),a.destroy()},onCloseEditor:function(){this.initEditSettings(),this.renderRemoteServer()},setSetting:function(a,b,c){c=c||!1;var d=this.get("settings");d.set(a,b),this.set("settings",d),c&&(this.trigger("change",this),this.trigger("change:settings",this),this.trigger("change:settings:"+a,this))},getSetting:function(a){var b=this.get("settings");return void 0===b.get(a)?"":b.get(a)},setHtmlCache:function(a){this._htmlCache=a},getHtmlCache:function(){return this._htmlCache},getTitle:function(){var a=elementor.getElementData(this);return a?a.title:"Unknown"},getIcon:function(){var a=elementor.getElementData(this);return a?a.icon:"unknown"},renderRemoteServer:function(){if(this.remoteRender){this.trigger("before:remote:render"),this._jqueryXhr&&4!==this._jqueryXhr&&this._jqueryXhr.abort();var a=this.toJSON();this._jqueryXhr=Backbone.$.ajax({type:"POST",url:elementor.config.ajaxurl,data:{action:"elementor_render_widget",post_id:elementor.config.post_id,data:JSON.stringify(a),_nonce:elementor.config.nonce},dataType:"json"}).done(_.bind(this.onRemoteGetHtml,this))}},onRemoteGetHtml:function(a){this.setHtmlCache(a.data.render),this.trigger("remote:render")},clone:function(){var a=Backbone.Model.prototype.clone.apply(this,arguments);a.set("id",elementor.helpers.getUniqueID()),a.setHtmlCache(this.getHtmlCache());var b=this.get("elements"),c=this.get("settings");return _.isEmpty(b)||a.set("elements",b.clone()),a.set("settings",c.clone()),a},toJSON:function(a){a=_.extend({copyHtmlCache:!1},a);var b=Backbone.Model.prototype.toJSON.call(this);return _.each(b,function(c,d){c&&c.toJSON&&(b[d]=c.toJSON(a))}),a.copyHtmlCache?b.htmlCache=this.getHtmlCache():delete b.htmlCache,b}}),e=Backbone.Collection.extend({add:function(a,b,c){if(!(b&&b.silent||c))throw"Call Error: Adding model to element collection is allowed only by the dedicated addChildModel() method.";return Backbone.Collection.prototype.add.call(this,a,b)},model:function(a,b){return a.elType?new d(a,b):new Backbone.Model(a,b)},clone:function(){var a=Backbone.Collection.prototype.clone.apply(this,arguments),b=new e;return a.forEach(function(a){b.add(a.clone(),null,!0)}),b}}),e.prototype.sync=function(){return null},e.prototype.fetch=function(){return null},e.prototype.save=function(){return null},d.prototype.sync=function(){return null},d.prototype.fetch=function(){return null},d.prototype.save=function(){return null},b.exports={Model:d,Collection:e}},{"elementor-models/base-settings":32,"elementor-models/column-settings":33,"elementor-models/row-settings":35,"elementor-models/section-settings":36,"elementor-models/widget-settings":37}],35:[function(a,b,c){var d,e=a("elementor-models/base-settings");d=e.extend({defaults:{}}),b.exports=d},{"elementor-models/base-settings":32}],36:[function(a,b,c){var d,e=a("elementor-models/base-settings");d=e.extend({defaults:{}}),b.exports=d},{"elementor-models/base-settings":32}],37:[function(a,b,c){var d,e=a("elementor-models/base-settings");d=e.extend({}),b.exports=d},{"elementor-models/base-settings":32}],38:[function(a,b,c){var d;d={init:function(){var a;this.getModal=function(){return a||(a=this.initModal()),a},Backbone.$(document).on({"heartbeat-send":function(a,b){b.elementor_post_lock={post_ID:elementor.config.post_id}},"heartbeat-tick":function(a,b){b.locked_user?d.showLockMessage(b.locked_user):d.getModal().hide(),elementor.config.nonce=b.elementor_nonce}}),elementor.config.locked_user&&d.showLockMessage(elementor.config.locked_user)},initModal:function(){var a=elementor.dialogsManager.createWidget("options",{headerMessage:elementor.translate("take_over")});return a.addButton({name:"go_back",text:elementor.translate("go_back"),callback:function(){parent.history.go(-1)}}),a.addButton({name:"take_over",text:elementor.translate("take_over"),callback:function(){wp.heartbeat.enqueue("elementor_force_post_lock",!0),wp.heartbeat.connectNow()}}),a},showLockMessage:function(a){var b=d.getModal();b.setMessage(elementor.translate("dialog_user_taken_over",[a])).show()}},b.exports=d},{}],39:[function(a,b,c){var d;d={_enqueuedFonts:[],elementsHierarchy:{section:{column:{widget:null,section:null}}},enqueueFont:function(a){if(-1===this._enqueuedFonts.indexOf(a)){var b,c=elementor.config.controls.font.fonts[a];switch(c){case"googlefonts":b="https://fonts.googleapis.com/css?family="+a+":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic";break;case"earlyaccess":var d=a.replace(/\s+/g,"").toLowerCase();b="https://fonts.googleapis.com/earlyaccess/"+d+".css"}_.isEmpty(b)||elementor.$previewContents.find("link:last").after('<link href="'+b+'" rel="stylesheet" type="text/css">'),this._enqueuedFonts.push(a)}},getElementChildType:function(a,b){if(b||(b=this.elementsHierarchy),void 0!==b[a])return Backbone.$.isPlainObject(b[a])?Object.keys(b[a]):null;for(var c in b)if(b.hasOwnProperty(c)&&Backbone.$.isPlainObject(b[c])){var d=this.getElementChildType(a,b[c]);if(d)return d}return null},getUniqueID:function(){var a;return a=Math.random().toString(36).substr(2,7)},stringReplaceAll:function(a,b){var c=new RegExp(Object.keys(b).join("|"),"gi");return a.replace(c,function(a){return b[a]})},isControlVisible:function(a,b){var c;if(c=_.isFunction(a.get)?a.get("condition"):a.condition,_.isEmpty(c))return!0;var d=_.filter(c,function(a,c){var d=c.match(/([a-z_0-9]+)(?:\[([a-z_]+)])?(!?)$/i),e=d[1],f=d[2],g=!!d[3],h=b.get(e);f&&(h=h[f]);var i=_.isArray(a)?_.contains(a,h):a===h;return g?i:!i});return _.isEmpty(d)},cloneObject:function(a){return JSON.parse(JSON.stringify(a))},getYoutubeIDFromURL:function(a){var b=a.match(/^.*(?:youtu.be\/|v\/|e\/|u\/\w+\/|embed\/|v=)([^#\&\?]*).*/);return b&&b[1]},disableElementEvents:function(a){a.each(function(){var a=this.style.pointerEvents;"none"!==a&&Backbone.$(this).data("backup-pointer-events",a).css("pointer-events","none")})},enableElementEvents:function(a){a.each(function(){var a=Backbone.$(this),b=a.data("backup-pointer-events");void 0!==b&&a.removeData("backup-pointer-events").css("pointer-events",b)})}},b.exports=d},{}],40:[function(a,b,c){var d;d=function(){var a,b=this,c=function(){a=elementor.dialogsManager.createWidget("elementor-modal",{id:"elementor-introduction"}),a.getElements("closeButton").on("click",function(){b.setIntroductionViewed()}),a.on("hide",function(){a.getElements("message").empty()})};this.getSettings=function(){return elementor.config.introduction},this.getModal=function(){return a||c(),a},this.startIntroduction=function(){var a=this.getSettings();this.getModal().setHeaderMessage(a.title).setMessage(a.content).show()},this.startOnLoadIntroduction=function(){var a=this.getSettings();a.is_user_should_view&&setTimeout(_.bind(function(){this.startIntroduction()},this),a.delay)},this.setIntroductionViewed=function(){Backbone.$.ajax({type:"POST",url:elementor.config.ajaxurl,data:{action:"elementor_introduction_viewed"}})}},b.exports=new d},{}],41:[function(a,b,c){var d;d={init:function(){this.initModalWidgetType()},initModalWidgetType:function(){var a={getDefaultSettings:function(){var a=DialogsManager.getWidgetType("options").prototype.getDefaultSettings.apply(this,arguments);return _.extend(a,{position:{my:"center",at:"center"},contentWidth:"auto",contentHeight:"auto"})},buildWidget:function(){DialogsManager.getWidgetType("options").prototype.buildWidget.apply(this,arguments);var a=this.addElement("closeButton",'<div><i class="fa fa-times"></i></div>');this.getElements("widgetContent").prepend(a)},attachEvents:function(){this.getElements("closeButton").on("click",this.hide)},onReady:function(){DialogsManager.getWidgetType("options").prototype.onReady.apply(this,arguments);var a=this.getElements(),b=this.getSettings();"auto"!==b.contentWidth&&a.message.width(b.contentWidth),"auto"!==b.contentHeight&&a.message.height(b.contentHeight)}};DialogsManager.addWidgetType("elementor-modal",DialogsManager.getWidgetType("options").extend("elementor-modal",a))}},b.exports=d},{}],42:[function(a,b,c){var d;d={getPresetsDictionary:function(){return{11:100/9,12:12.5,14:100/7,16:100/6,33:100/3,66:2/3*100,83:5/6*100}},getAbsolutePresetValues:function(a){var b=elementor.helpers.cloneObject(a),c=this.getPresetsDictionary();return _.each(b,function(a,d){c[a]&&(b[d]=c[a])}),b},getPresets:function(a,b){var c=elementor.helpers.cloneObject(elementor.config.elements.section.presets);return a&&(c=c[a]),b&&(c=c[b]),c},getPresetByStructure:function(a){var b=this.getParsedStructure(a);return this.getPresets(b.columnsCount,b.presetIndex)},getParsedStructure:function(a){return a+="",{columnsCount:a.slice(0,-1),presetIndex:a.substr(-1)}},getPresetSVG:function(a,b,c,d){b=b||100,c=c||50,d=d||2;var e=this.getAbsolutePresetValues(a),f=this._generatePresetSVGPath(e,b,c,d);return this._createSVGPreset(f,b,c)},_createSVGPreset:function(a,b,c){var d=document.createElementNS("http://www.w3.org/2000/svg","svg");d.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),d.setAttribute("viewBox","0 0 "+b+" "+c);var e=document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttribute("d",a),d.appendChild(e),d},_generatePresetSVGPath:function(a,b,c,d){for(var e=b-d*(a.length-1),f=0,g="",h=0;h<a.length;h++){h&&(g+=" ");var i=a[h]/100*e;f+=i,g+="M"+ +f.toFixed(4)+",0",g+="V"+c,g+="H"+ +(f-i).toFixed(4),g+="V0Z",f+=d}return g}},b.exports=d},{}],43:[function(a,b,c){var d;d=function(){var a=this,b={},c={},d={selectorWrapperPrefix:".elementor-widget-"},e={},f=function(){e.$previewHead.append(e.$style)},g=function(){e.$style=Backbone.$("<style>",{id:"elementor-style-scheme"}),e.$previewHead=elementor.$previewContents.find("head")},h=function(){c=elementor.helpers.cloneObject(elementor.config.schemes.items)},i=function(a,c){b[a]||(b[a]=[]),b[a].push(c)},j=function(b,c){_.each(b.selectors,function(e,f){var g,h,j=a.getSchemeValue(b.scheme.type,b.scheme.value,b.scheme.key);_.isEmpty(j.value)||(g=f.replace(/\{\{WRAPPER\}\}/g,d.selectorWrapperPrefix+c),h=elementor.getControlItemView().replaceStyleValues(e,j.value),i(g,h))})},k=function(b,c){var d=a.getWidgetSchemeControls(b);_.each(d,function(a){j(a,c)})},l=function(){_.each(elementor.config.widgets,function(a,b){k(a,b)})},m=function(){var a="";return _.each(b,function(b,c){a+=c+"{"+b.join("")+"}"}),a},n=function(){b={}};this.init=function(){return g(),f(),h(),a},this.getWidgetSchemeControls=function(a){return _.filter(a.controls,function(a){return _.isObject(a.scheme)})},this.getSchemes=function(){return c},this.getEnabledSchemesTypes=function(){return elementor.config.schemes.enabled_schemes},this.getScheme=function(a){return c[a]},this.getSchemeValue=function(b,c,d){if(this.getEnabledSchemesTypes().indexOf(b)<0)return!1;var e=a.getScheme(b),f=e.items[c];if(d&&_.isObject(f)){var g=elementor.helpers.cloneObject(f);return g.value=f.value[d],g}return f},this.printSchemesStyle=function(){n(),l(),e.$style.text(m())},this.resetSchemes=function(a){c[a]=elementor.helpers.cloneObject(elementor.config.schemes.items[a]),this.onSchemeChange()},this.saveScheme=function(a){elementor.config.schemes.items[a].items=elementor.helpers.cloneObject(c[a].items),NProgress.start(),Backbone.$.ajax({type:"POST",url:elementor.config.ajaxurl,data:{action:"elementor_apply_scheme",scheme_name:a,data:JSON.stringify(c[a].items),_nonce:elementor.config.nonce}}).done(function(a){NProgress.done()})},this.setSchemeValue=function(a,b,d){c[a].items[b].value=d,this.onSchemeChange()},this.onSchemeChange=function(){this.printSchemesStyle()}},b.exports=new d},{}],44:[function(a,b,c){var d,e=a("elementor-models/base-settings");d=Marionette.CompositeView.extend({tagName:"div",id:function(){return this.getElementUniqueClass()},attributes:function(){var a=this.model.get("elType");return"widget"===a&&(a=this.model.get("widgetType")),{"data-element_type":a}},baseEvents:{},elementEvents:{},getElementType:function(){return this.model.get("elType")},getChildType:function(){return elementor.helpers.getElementChildType(this.getElementType())},events:function(){return _.extend({},this.baseEvents,this.elementEvents)},getTemplateType:function(){return"js"},initialize:function(){this.collection=this.model.get("elements"),this.collection&&this.listenTo(this.collection,"add remove reset",this.onCollectionChanged,this),this.listenTo(this.model.get("settings"),"change",this.onSettingsChanged,this),this.listenTo(this.model.get("editSettings"),"change",this.onSettingsChanged,this),this.on("render",function(){this.renderUI(),this.runReadyTrigger()}),this.initRemoveDialog()},addChildModel:function(a,b){return this.collection.add(a,b,!0)},isCollectionFilled:function(){return!1},isInner:function(){return!!this.model.get("isInner")},initRemoveDialog:function(){var a;this.getRemoveDialog=function(){if(!a){var b=this.model.getTitle();a=elementor.dialogsManager.createWidget("confirm",{message:elementor.translate("dialog_confirm_delete",[b.toLowerCase()]),headerMessage:elementor.translate("delete_element",[b]),strings:{confirm:elementor.translate("delete"),cancel:elementor.translate("cancel")},defaultOption:"confirm",onConfirm:_.bind(function(){this.model.destroy()},this)})}return a}},enqueueFonts:function(){_.each(this.model.get("settings").getFontControls(),_.bind(function(a){var b=this.model.getSetting(a.name);if(!_.isEmpty(b)){var c=elementor.helpers.isControlVisible(a,this.model.get("settings"));c&&elementor.helpers.enqueueFont(b)}},this))},renderStyles:function(){var a="",b=elementor.$previewContents.find("#elementor-style-"+this.model.cid),c=this.model.get("settings").getStyleControls();if(_.each(c,_.bind(function(b){var c=this.model.getSetting(b.name);if(_.isNumber(c)||!_.isEmpty(c)){var d=elementor.helpers.isControlVisible(b,this.model.get("settings"));d&&_.each(b.selectors,_.bind(function(d,e){var f=e.replace(/\{\{WRAPPER\}\}/g,"#"+this.getElementUniqueClass()),g=elementor.getControlItemView(b.type).replaceStyleValues(d,c);_.isEmpty(g)||(a+=f+"{"+g+"}")},this))}},this)),"column"===this.model.get("elType")){var d=this.model.getSetting("_inline_size");_.isEmpty(d)||(a+="@media (min-width: 768px) {#"+this.getElementUniqueClass()+"{width:"+d+"%;}")}_.isEmpty(a)&&!b.length||(b.length||(elementor.$previewContents.find("head").append('<style type="text/css" id="elementor-style-'+this.model.cid+'"></style>'),b=elementor.$previewContents.find("#elementor-style-"+this.model.cid)),b.html(a))},renderCustomClasses:function(){this.$el.addClass("elementor-element");var a=this.model.get("settings");_.each(a.attributes,_.bind(function(b,c){if(a.isClassControl(c)){var d=a.getControl(c);this.$el.removeClass(d.prefix_class+a.previous(c));var e=elementor.helpers.isControlVisible(d,this.model.get("settings"));e&&!_.isEmpty(a.get(c))&&(this.$el.addClass(d.prefix_class+a.get(c)),this.$el.addClass(_.result(this,"className")))}},this))},renderUI:function(){this.renderStyles(),this.renderCustomClasses(),this.enqueueFonts()},runReadyTrigger:function(){_.defer(_.bind(function(){elementorBindUI.runReadyTrigger(this.$el)},this))},getElementUniqueClass:function(){return"elementor-element-"+this.model.get("id")},onCollectionChanged:function(){elementor.setFlagEditorChange(!0)},onSettingsChanged:function(a){if(this.model.get("editSettings")!==a&&elementor.setFlagEditorChange(!0),a instanceof e){var b=!1;if(_.each(a.changedAttributes(),function(c,d){a.isStyleControl(d)||a.isClassControl(d)||!a.getControl(d)||(b=!0)}),!b)return void this.renderUI()}switch(this.getTemplateType()){case"js":this.model.setHtmlCache(),this.render();break;default:this.model.renderRemoteServer()}},onClickRemove:function(a){a.preventDefault(),a.stopPropagation(),this.getRemoveDialog().show()}}),b.exports=d},{"elementor-models/base-settings":32}],45:[function(a,b,c){var d,e=a("elementor-views/base-element"),f=a("elementor-views/element-empty"),g=a("elementor-views/widget");d=e.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-element-column-content"),elementEvents:{"click > .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-remove":"onClickRemove","click @ui.listTriggers":"onClickTrigger"},getChildView:function(b){return"section"===b.get("elType")?a("elementor-views/section"):g},emptyView:f,className:function(){var a="elementor-column",b=this.isInner()?"inner":"top";return a+=" elementor-"+b+"-column"},childViewContainer:"> .elementor-column-wrap > .elementor-widget-wrap",triggers:{"click > .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-add":"click:new","click > .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-edit":"click:edit","click > .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-trigger":"click:edit","click > .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-duplicate":"click:duplicate"},ui:{columnTitle:".column-title",columnInner:"> .elementor-column-wrap",listTriggers:"> .elementor-element-overlay .elementor-editor-element-trigger"},behaviors:{Sortable:{behaviorClass:a("elementor-behaviors/sortable"),elChildType:"widget"},Resizable:{behaviorClass:a("elementor-behaviors/resizable")},HandleDuplicate:{behaviorClass:a("elementor-behaviors/handle-duplicate")},HandleEditor:{behaviorClass:a("elementor-behaviors/handle-editor")},HandleEditMode:{behaviorClass:a("elementor-behaviors/handle-edit-mode")},HandleAddMode:{behaviorClass:a("elementor-behaviors/duplicate")},HandleElementsRelation:{behaviorClass:a("elementor-behaviors/elements-relation")}},initialize:function(){e.prototype.initialize.apply(this,arguments),this.listenTo(elementor.data,"widget:drag:start",this.onWidgetDragStart),this.listenTo(elementor.data,"widget:drag:end",this.onWidgetDragEnd)},isDroppingAllowed:function(a,b){var c=elementor.panelElements.request("element:selected"),d=c.model.get("elType");return"section"===d?!this.isInner():"widget"===d},changeSizeUI:function(){var a=this.model.getSetting("_column_size"),b=this.model.getSetting("_inline_size"),c=parseFloat(b||a).toFixed(1)+"%";this.$el.attr("data-col",a),this.ui.columnTitle.html(c)},getSortableOptions:function(){return{connectWith:".elementor-widget-wrap",items:"> .elementor-element"}},onCollectionChanged:function(){e.prototype.onCollectionChanged.apply(this,arguments),this.changeChildContainerClasses()},changeChildContainerClasses:function(){var a="elementor-element-empty",b="elementor-element-populated";this.collection.isEmpty()?this.ui.columnInner.removeClass(b).addClass(a):this.ui.columnInner.removeClass(a).addClass(b)},onRender:function(){var a=this;a.changeChildContainerClasses(),a.changeSizeUI(),a.$el.html5Droppable({items:" > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element, >.elementor-column-wrap > .elementor-widget-wrap > .elementor-empty-view > .elementor-first-add",axis:["vertical"],groups:["elementor-element"],isDroppingAllowed:_.bind(a.isDroppingAllowed,a),onDragEnter:function(){a.$el.addClass("elementor-dragging-on-child")},onDragging:function(a,b){b.stopPropagation(),this.dataset.side!==a&&Backbone.$(this).attr("data-side",a)},onDragLeave:function(){a.$el.removeClass("elementor-dragging-on-child"),Backbone.$(this).removeAttr("data-side")},onDropping:function(b,c){c.stopPropagation();var d=elementor.panelElements.request("element:selected"),e=Backbone.$(this).index();"bottom"===b&&e++;var f={id:elementor.helpers.getUniqueID(),elType:d.model.get("elType")};if("widget"===f.elType)f.widgetType=d.model.get("widgetType");else{if("section"!==f.elType)return;f.elements=[],f.isInner=!0}a.triggerMethod("request:add",f,{at:e})}})},onClickTrigger:function(a){a.preventDefault();var b=this.$(a.currentTarget),c=b.hasClass("elementor-active");this.ui.listTriggers.removeClass("elementor-active"),c||b.addClass("elementor-active")},onWidgetDragStart:function(){this.$el.addClass("elementor-dragging")},onWidgetDragEnd:function(){this.$el.removeClass("elementor-dragging")}}),b.exports=d},{"elementor-behaviors/duplicate":2,"elementor-behaviors/elements-relation":3,"elementor-behaviors/handle-duplicate":4,"elementor-behaviors/handle-edit-mode":5,"elementor-behaviors/handle-editor":6,"elementor-behaviors/resizable":7,"elementor-behaviors/sortable":8,"elementor-views/base-element":44,"elementor-views/element-empty":68,"elementor-views/section":69,"elementor-views/widget":71}],46:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({onReady:function(){this.ui.select.select2()}}),b.exports=d},{"elementor-views/controls/base":49}],47:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({applySavedValue:function(){var a=this.getControlValue(),b=this.$("[data-setting]"),c=this;_.each(a,function(a,d){var e=b.filter(function(){return d===this.dataset.setting});c.setInputValue(e,a)})},getControlValue:function(a){var b=this.elementSettingsModel.get(this.model.get("name"));return Backbone.$.isPlainObject(b)?a?b[a]||"":elementor.helpers.cloneObject(b):{}},setValue:function(a,b){var c=this.getControlValue();"object"==typeof a?_.each(a,function(a,b){c[b]=a}):c[a]=b,this.setSettingsModel(c)},updateElementModel:function(a){var b=this.getInputValue(a.currentTarget),c=a.currentTarget.dataset.setting;this.setValue(c,b)}},{replaceStyleValues:function(a,b){if(!_.isObject(b))return"";try{return a.replace(/\{\{([A-Z]+)}}/g,function(a,c){var d=b[c.toLowerCase()];if(""===d)throw"";return d})}catch(a){return""}}}),b.exports=d},{"elementor-views/controls/base":49}],48:[function(a,b,c){var d,e=a("elementor-views/controls/base-multiple");d=e.extend({getCurrentRange:function(){return this.getUnitRange(this.getControlValue("unit"))},getUnitRange:function(a){var b=this.model.get("range");return!(!b||!b[a])&&b[a]}}),b.exports=d},{"elementor-views/controls/base-multiple":47}],49:[function(a,b,c){var d;d=Marionette.CompositeView.extend({ui:function(){return{input:'input[data-setting][type!="checkbox"][type!="radio"]',checkbox:'input[data-setting][type="checkbox"]',radio:'input[data-setting][type="radio"]',select:"select[data-setting]",textarea:"textarea[data-setting]"}},className:function(){var a="elementor-control elementor-control-"+this.model.get("name")+" elementor-control-type-"+this.model.get("type"),b=this.model.get("classes");return _.isEmpty(b)||(a+=" "+b),_.isEmpty(this.model.get("section"))||(a+=" elementor-control-under-section"),a},getTemplate:function(){return Marionette.TemplateCache.get("#tmpl-elementor-control-"+this.model.get("type")+"-content")},templateHelpers:function(){var a={controlValue:this.getControlValue(),_cid:this.model.cid};return{data:_.extend({},this.model.toJSON(),a)}},baseEvents:{"input @ui.input":"onBaseInputChange","change @ui.checkbox":"onBaseInputChange","change @ui.radio":"onBaseInputChange","input @ui.textarea":"onBaseInputChange","change @ui.select":"onBaseInputChange"},childEvents:{},events:function(){return _.extend({},this.baseEvents,this.childEvents)},initialize:function(a){this.elementSettingsModel=a.elementSettingsModel;var b=this.model.get("type"),c=Backbone.$.extend(!0,{},elementor.config.controls[b],this.model.attributes);this.model.set(c),this.listenTo(this.elementSettingsModel,"change",this.toggleControlVisibility),this.listenTo(this.elementSettingsModel,"control:switch:tab",this.onControlSwitchTab)},getControlValue:function(){return this.elementSettingsModel.get(this.model.get("name"))},isValidValue:function(a){return!0},setValue:function(a){this.setSettingsModel(a)},setSettingsModel:function(a){return!0!==this.isValidValue(a)?void this.triggerMethod("settings:error"):(this.elementSettingsModel.set(this.model.get("name"),a),void this.triggerMethod("settings:change"))},applySavedValue:function(){this.setInputValue('[data-setting="'+this.model.get("name")+'"]',this.getControlValue())},getEditSettings:function(a){var b=this.getOption("elementEditSettings").toJSON();return a?b[a]:b},setEditSetting:function(a,b){
|
4 |
+
var c=this.getOption("elementEditSettings");c.set(a,b)},getInputValue:function(a){var b=this.$(a),c=b.val(),d=b.attr("type");return"checkbox"===d?b.prop("checked"):"radio"===d?b.prop("checked")?c:"":c},getFieldTitleValue:function(){return this.getControlValue()},setInputValue:function(a,b){var c=this.$(a),d=c.attr("type");"checkbox"===d?c.prop("checked",!!b):"radio"===d?c.filter('[value="'+b+'"]').prop("checked",!0):c.val(b)},onSettingsError:function(){this.$el.addClass("elementor-error")},onSettingsChange:function(){this.$el.removeClass("elementor-error")},onRender:function(){this.applySavedValue();var a=this.model.get("label_block")?"block":"inline",b=this.model.get("show_label"),c="elementor-label-"+a;c+=" elementor-control-separator-"+this.model.get("separator"),b||(c+=" elementor-control-hidden-label"),this.$el.addClass(c),this.triggerMethod("ready"),this.toggleControlVisibility()},onBaseInputChange:function(a){this.updateElementModel(a),this.triggerMethod("input:change",a)},toggleControlVisibility:function(){var a=elementor.helpers.isControlVisible(this.model,this.elementSettingsModel);this.$el.toggleClass("elementor-hidden-control",!a),elementor.data.trigger("scrollbar:update")},onControlSwitchTab:function(a){this.$el.toggleClass("elementor-active-tab",a===this.model.get("tab")),elementor.data.trigger("scrollbar:update")},onReady:function(){},updateElementModel:function(a){this.setValue(this.getInputValue(a.currentTarget))}},{replaceStyleValues:function(a,b){var c={"{{VALUE}}":b};return elementor.helpers.stringReplaceAll(a,c)}}),b.exports=d},{}],50:[function(a,b,c){var d,e=a("elementor-views/controls/base-multiple");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.sliders=".elementor-slider",a.colors=".elementor-box-shadow-color-picker",a},childEvents:{"slide @ui.sliders":"onSlideChange"},initSliders:function(){var a=this.getControlValue();this.ui.sliders.each(function(){var b=Backbone.$(this),c=b.next(".elementor-slider-input").find("input");b.slider({value:a[this.dataset.input],min:+c.attr("min"),max:+c.attr("max")})})},initColors:function(){var a=this;this.ui.colors.wpColorPicker({change:function(){var b=Backbone.$(this),c=b.data("setting");a.setValue(c,b.wpColorPicker("color"))},clear:function(){a.setValue(this.dataset.setting,"")},width:251})},onInputChange:function(a){var b=a.currentTarget.dataset.setting,c=this.ui.sliders.filter('[data-input="'+b+'"]');c.slider("value",this.getControlValue(b))},onReady:function(){this.initSliders(),this.initColors()},onSlideChange:function(a,b){var c=a.currentTarget.dataset.input,d=this.ui.input.filter('[data-setting="'+c+'"]');d.val(b.value),this.setValue(c,b.value)},onBeforeDestroy:function(){this.ui.colors.each(function(){var a=Backbone.$(this);a.wpColorPicker("instance")&&a.wpColorPicker("close")}),this.$el.remove()}}),b.exports=d},{"elementor-views/controls/base-multiple":47}],51:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.inputs="[type=radio]",a},childEvents:{"mousedown label":"onMouseDownLabel","click @ui.inputs":"onClickInput","change @ui.inputs":"updateElementModel"},onMouseDownLabel:function(a){var b=this.$(a.currentTarget),c=this.$("#"+b.attr("for"));c.data("checked",c.prop("checked"))},onClickInput:function(a){if(this.model.get("toggle")){var b=this.$(a.currentTarget);b.data("checked")&&b.prop("checked",!1).trigger("change")}},onRender:function(){e.prototype.onRender.apply(this,arguments);var a=this.getControlValue();a?this.ui.inputs.filter("[value="+a+"]").prop("checked",!0):this.model.get("toggle")||this.ui.inputs.first().prop("checked",!0).trigger("change")}}),b.exports=d},{"elementor-views/controls/base":49}],52:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.picker=".color-picker-hex",a},onReady:function(){this.ui.picker.wpColorPicker({change:_.bind(function(){this.setValue(this.ui.picker.wpColorPicker("color"))},this),clear:_.bind(function(){this.setValue("")},this),width:251}).wpColorPicker("instance").wrap.find("> .wp-picker-input-wrap > .wp-color-picker").removeAttr("maxlength")},onBeforeDestroy:function(){this.ui.picker.wpColorPicker("instance")&&this.ui.picker.wpColorPicker("close"),this.$el.remove()}}),b.exports=d},{"elementor-views/controls/base":49}],53:[function(a,b,c){var d,e=a("elementor-views/controls/base-units");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.controls=".elementor-control-dimension > input:enabled",a.link="button.elementor-link-dimensions",a},childEvents:{"click @ui.link":"onLinkDimensionsClicked"},defaultDimensionValue:0,initialize:function(){e.prototype.initialize.apply(this,arguments),this.model.set("allowed_dimensions",this.filterDimensions(this.model.get("allowed_dimensions")))},getPossibleDimensions:function(){return["top","right","bottom","left"]},filterDimensions:function(a){a=a||"all";var b=this.getPossibleDimensions();return"all"===a?b:(_.isArray(a)||("horizontal"===a?a=["right","left"]:"vertical"===a&&(a=["top","bottom"])),a)},onReady:function(){var a=this.getControlValue();this.isLinkedDimensions()||(this.ui.link.addClass("unlinked"),this.ui.controls.each(_.bind(function(b,c){var d=a[c.dataset.setting];_.isEmpty(d)&&(d=this.defaultDimensionValue),this.$(c).val(d)},this))),this.fillEmptyDimensions()},updateDimensionsValue:function(){var a={},b=this.getPossibleDimensions(),c=this.ui.controls;b.forEach(_.bind(function(b){var d=c.filter('[data-setting="'+b+'"]');a[b]=d.length?d.val():this.defaultDimensionValue},this)),this.setValue(a)},fillEmptyDimensions:function(){var a=this.getPossibleDimensions(),b=this.model.get("allowed_dimensions"),c=this.ui.controls;this.isLinkedDimensions()||a.forEach(_.bind(function(a){var d=c.filter('[data-setting="'+a+'"]'),e=-1!==_.indexOf(b,a);e&&d.length&&_.isEmpty(d.val())&&d.val(this.defaultDimensionValue)},this))},updateDimensions:function(){this.fillEmptyDimensions(),this.updateDimensionsValue()},resetDimensions:function(){this.ui.controls.val(""),this.updateDimensionsValue()},onInputChange:function(a){var b=a.target.dataset.setting;if("unit"===b&&this.resetDimensions(),_.contains(this.getPossibleDimensions(),b)){if(this.isLinkedDimensions()){var c=this.$(a.target);this.ui.controls.val(c.val())}this.updateDimensions()}},onLinkDimensionsClicked:function(a){a.preventDefault(),a.stopPropagation(),this.ui.link.toggleClass("unlinked"),this.setValue("isLinked",!this.ui.link.hasClass("unlinked")),this.isLinkedDimensions()&&this.ui.controls.val(this.ui.controls.eq(0).val()),this.updateDimensions()},isLinkedDimensions:function(){return this.getControlValue("isLinked")}}),b.exports=d},{"elementor-views/controls/base-units":48}],54:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({onReady:function(){this.ui.select.select2({dir:elementor.config.is_rtl?"rtl":"ltr"})},templateHelpers:function(){var a=e.prototype.templateHelpers.apply(this,arguments);return a.getFontsByGroups=_.bind(function(a){var b=this.model.get("fonts"),c={};return _.each(b,function(b,d){(_.isArray(a)&&_.contains(a,b)||b===a)&&(c[d]=b)}),c},this),a}}),b.exports=d},{"elementor-views/controls/base":49}],55:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.addImages=".elementor-control-gallery-add",a.clearGallery=".elementor-control-gallery-clear",a.galleryThumbnails=".elementor-control-gallery-thumbnails",a},childEvents:{"click @ui.addImages":"onAddImagesClick","click @ui.clearGallery":"onClearGalleryClick","click @ui.galleryThumbnails":"onGalleryThumbnailsClick"},onReady:function(){var a=this.hasImages();this.$el.toggleClass("elementor-gallery-has-images",a).toggleClass("elementor-gallery-empty",!a),this.initRemoveDialog()},hasImages:function(){return!!this.getControlValue().length},openFrame:function(a){this.initFrame(a),this.frame.open()},initFrame:function(a){var b={create:"gallery",add:"gallery-library",edit:"gallery-edit"},c={frame:"post",multiple:!0,state:b[a],button:{text:elementor.translate("insert_media")}};this.hasImages()&&(c.selection=this.fetchSelection()),this.frame=wp.media(c),this.frame.on({update:this.select,"menu:render:default":this.menuRender,"content:render:browse":this.gallerySettings},this)},menuRender:function(a){a.unset("insert"),a.unset("featured-image")},gallerySettings:function(a){a.sidebar.on("ready",function(){a.sidebar.unset("gallery")})},fetchSelection:function(){var a=wp.media.query({orderby:"post__in",order:"ASC",type:"image",perPage:-1,post__in:_.pluck(this.getControlValue(),"id")});return new wp.media.model.Selection(a.models,{props:a.props.toJSON(),multiple:!0})},select:function(a){var b=[];a.each(function(a){b.push({id:a.get("id"),url:a.get("url")})}),this.setValue(b),this.render()},onBeforeDestroy:function(){this.frame&&this.frame.off(),this.$el.remove()},resetGallery:function(){this.setValue(""),this.render()},initRemoveDialog:function(){var a;this.getRemoveDialog=function(){return a||(a=elementor.dialogsManager.createWidget("confirm",{message:elementor.translate("dialog_confirm_gallery_delete"),headerMessage:elementor.translate("delete_gallery"),strings:{confirm:elementor.translate("delete"),cancel:elementor.translate("cancel")},defaultOption:"confirm",onConfirm:_.bind(this.resetGallery,this)})),a}},onAddImagesClick:function(){this.openFrame(this.hasImages()?"add":"create")},onClearGalleryClick:function(){this.getRemoveDialog().show()},onGalleryThumbnailsClick:function(){this.openFrame("edit")}}),b.exports=d},{"elementor-views/controls/base":49}],56:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({initialize:function(){e.prototype.initialize.apply(this,arguments),this.filterIcons()},filterIcons:function(){var a=this.model.get("icons"),b=this.model.get("include"),c=this.model.get("exclude");if(b){var d={};return _.each(b,function(b){d[b]=a[b]}),void this.model.set("icons",d)}c&&_.each(c,function(b){delete a[b]})},iconsList:function(a){return a.id?Backbone.$('<span><i class="'+a.id+'"></i> '+a.text+"</span>"):a.text},getFieldTitleValue:function(){var a=this.getControlValue();return a.replace(/^fa fa-/,"").replace("-"," ")},onReady:function(){this.ui.select.select2({allowClear:!0,templateResult:_.bind(this.iconsList,this),templateSelection:_.bind(this.iconsList,this)})}}),b.exports=d},{"elementor-views/controls/base":49}],57:[function(a,b,c){var d,e=a("elementor-views/controls/base-multiple");d=e.extend({ui:function(){return{inputWidth:'input[data-setting="width"]',inputHeight:'input[data-setting="height"]',btnApply:"button.elementor-image-dimensions-apply-button"}},baseEvents:{"click @ui.btnApply":"onApplyClicked"},onApplyClicked:function(a){a.preventDefault(),this.setValue({width:this.ui.inputWidth.val(),height:this.ui.inputHeight.val()})}}),b.exports=d},{"elementor-views/controls/base-multiple":47}],58:[function(a,b,c){var d,e=a("elementor-views/controls/base-multiple");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.controlMedia=".elementor-control-media",a.frameOpeners=".elementor-control-media-upload-button, .elementor-control-media-image",a.deleteButton=".elementor-control-media-delete",a},childEvents:{"click @ui.frameOpeners":"openFrame","click @ui.deleteButton":"deleteImage"},onReady:function(){_.isEmpty(this.getControlValue("url"))&&this.ui.controlMedia.addClass("media-empty")},openFrame:function(){this.frame||this.initFrame(),this.frame.open()},deleteImage:function(){this.setValue({url:"",id:""}),this.render()},initFrame:function(){this.frame=wp.media({button:{text:"Insert Media"},states:[new wp.media.controller.Library({title:"Insert Media",library:wp.media.query({type:"image"}),multiple:!1,date:!1})]}),this.frame.on("insert select",_.bind(this.select,this))},select:function(){var a=this.frame.state().get("selection").first().toJSON();a.url&&(this.setValue({url:a.url,id:a.id}),this.render())},onBeforeDestroy:function(){this.$el.remove()}}),b.exports=d},{"elementor-views/controls/base-multiple":47}],59:[function(a,b,c){var d;d=Marionette.CompositeView.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-repeater-row"),className:"repeater-fields",ui:{duplicateButton:".elementor-repeater-tool-duplicate",editButton:".elementor-repeater-tool-edit",removeButton:".elementor-repeater-tool-remove",itemTitle:".elementor-repeater-row-item-title"},triggers:{"click @ui.removeButton":"click:remove","click @ui.duplicateButton":"click:duplicate","click @ui.itemTitle":"click:edit"},templateHelpers:function(){return{itemIndex:this.getOption("itemIndex")}},childViewContainer:".elementor-repeater-row-controls",getChildView:function(a){var b=a.get("type");return elementor.getControlItemView(b)},childViewOptions:function(){return{elementSettingsModel:this.model}},updateIndex:function(a){this.itemIndex=a,this.setTitle()},setTitle:function(){var a,b=this.getOption("titleField");if(b){var c=this.collection.find({name:b}),d=this.children.findByModelCid(c.cid);a=d.getFieldTitleValue()}a||(a=elementor.translate("Item #{0}",[this.getOption("itemIndex")])),this.ui.itemTitle.text(a)},initialize:function(a){this.elementSettingsModel=a.elementSettingsModel,this.itemIndex=0,this.collection=new Backbone.Collection(a.controlFields),a.titleField&&this.listenTo(this.model,"change:"+a.titleField,this.setTitle)},onRender:function(){this.setTitle()}}),b.exports=d},{}],60:[function(a,b,c){var d,e=a("elementor-views/controls/base"),f=a("elementor-views/controls/repeater-row");d=e.extend({ui:{btnAddRow:".elementor-repeater-add",fieldContainer:".elementor-repeater-fields"},events:{"click @ui.btnAddRow":"onButtonAddRowClick","sortstart @ui.fieldContainer":"onSortStart","sortupdate @ui.fieldContainer":"onSortUpdate"},childView:f,childViewContainer:".elementor-repeater-fields",templateHelpers:function(){return{data:_.extend({},this.model.toJSON(),{controlValue:[]})}},childViewOptions:function(){return{controlFields:this.model.get("fields"),titleField:this.model.get("title_field")}},initialize:function(a){e.prototype.initialize.apply(this,arguments),this.collection=this.elementSettingsModel.get(this.model.get("name")),this.listenTo(this.collection,"change add remove reset",this.onCollectionChanged,this)},editRow:function(a){return this.currentEditableChild&&this.currentEditableChild.getChildViewContainer(this.currentEditableChild).removeClass("editable"),this.currentEditableChild===a?void delete this.currentEditableChild:(a.getChildViewContainer(a).addClass("editable"),this.currentEditableChild=a,void this.updateActiveRow())},toggleMinRowsClass:function(){this.model.get("prevent_empty")&&this.$el.toggleClass("elementor-repeater-has-minimum-rows",1>=this.collection.length)},updateActiveRow:function(){var a=0;this.currentEditableChild&&(a=this.currentEditableChild.itemIndex),this.setEditSetting("activeItemIndex",a)},updateChildIndexes:function(){this.children.each(_.bind(function(a){a.updateIndex(this.collection.indexOf(a.model)+1)},this))},onRender:function(){this.ui.fieldContainer.sortable({axis:"y"}),this.toggleMinRowsClass()},onSortStart:function(a,b){b.item.data("oldIndex",b.item.index())},onSortUpdate:function(a,b){var c=b.item.data("oldIndex"),d=this.collection.at(c),e=b.item.index();this.collection.remove(d),this.collection.add(d,{at:e})},onAddChild:function(){this.updateChildIndexes(),this.updateActiveRow()},onRemoveChild:function(a){a===this.currentEditableChild&&delete this.currentEditableChild,this.updateChildIndexes(),this.updateActiveRow()},onCollectionChanged:function(){this.elementSettingsModel.trigger("change"),this.toggleMinRowsClass()},onButtonAddRowClick:function(){var a={};_.each(this.model.get("fields"),function(b){a[b.name]=b.default});var b=this.collection.add(a),c=this.children.findByModel(b);this.editRow(c)},onChildviewClickRemove:function(a){a.model.destroy()},onChildviewClickDuplicate:function(a){this.collection.add(a.model.clone(),{at:a.itemIndex})},onChildviewClickEdit:function(a){this.editRow(a)}}),b.exports=d},{"elementor-views/controls/base":49,"elementor-views/controls/repeater-row":59}],61:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.heading=".elementor-panel-heading",a},triggers:{click:"control:section:clicked"}}),b.exports=d},{"elementor-views/controls/base":49}],62:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.select=".elementor-select2",a},onReady:function(){var a={allowClear:!0};this.ui.select.select2(a)},onBeforeDestroy:function(){this.ui.select.data("select2")&&this.ui.select.select2("destroy"),this.$el.remove()}}),b.exports=d},{"elementor-views/controls/base":49}],63:[function(a,b,c){var d,e=a("elementor-views/controls/base-units");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.slider=".elementor-slider",a},childEvents:{"slide @ui.slider":"onSlideChange"},initSlider:function(){var a=this.getControlValue("size"),b=this.getCurrentRange();this.ui.input.attr(b).val(a),this.ui.slider.slider(_.extend({},b,{value:a}))},resetSize:function(){this.setValue("size",""),this.initSlider()},onReady:function(){this.initSlider()},onSlideChange:function(a,b){this.setValue("size",b.value),this.ui.input.val(b.value)},onInputChange:function(a){var b=a.currentTarget.dataset.setting;"size"===b?this.ui.slider.slider("value",this.getControlValue("size")):"unit"===b&&this.resetSize()},onBeforeDestroy:function(){this.ui.slider.slider("destroy"),this.$el.remove()}}),b.exports=d},{"elementor-views/controls/base-units":48}],64:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.resetStructure=".elementor-control-structure-reset",a},childEvents:{"click @ui.resetStructure":"onResetStructureClick"},templateHelpers:function(){var a=e.prototype.templateHelpers.apply(this,arguments);return a.getMorePresets=_.bind(this.getMorePresets,this),a},getCurrentEditedSection:function(){var a=elementor.getPanelView().getCurrentPageView();return a.getOption("editedElementView")},getMorePresets:function(){var a=elementor.presetsFactory.getParsedStructure(this.getControlValue());return elementor.presetsFactory.getPresets(a.columnsCount)},onInputChange:function(){this.getCurrentEditedSection().redefineLayout(),this.render()},onResetStructureClick:function(){this.getCurrentEditedSection().resetColumnsCustomSize()}}),b.exports=d},{"elementor-views/controls/base":49}],65:[function(a,b,c){var d,e=a("elementor-views/controls/base-multiple");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.btnExternal="button.elementor-control-url-target",a},childEvents:{"click @ui.btnExternal":"onExternalClicked"},onReady:function(){this.getControlValue("is_external")&&this.ui.btnExternal.addClass("active")},onExternalClicked:function(a){a.preventDefault(),this.ui.btnExternal.toggleClass("active"),this.setValue("is_external",this.isExternal())},isExternal:function(){return this.ui.btnExternal.hasClass("active")}}),b.exports=d},{"elementor-views/controls/base-multiple":47}],66:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({ui:function(){var a=e.prototype.ui.apply(this,arguments);return a.form="form",a.loading=".wp-widget-form-loading",a},events:{"keyup @ui.form :input":"onFormChanged","change @ui.form :input":"onFormChanged"},onFormChanged:function(){var a="widget-"+this.model.get("id_base"),b=this.ui.form.elementorSerializeObject()[a].REPLACE_TO_ID;this.setValue(b)},onReady:function(){Backbone.$.ajax({type:"POST",url:elementor.config.ajaxurl,data:{action:"elementor_editor_get_wp_widget_form",widget_type:this.model.get("widget"),data:JSON.stringify(this.elementSettingsModel.toJSON()),_nonce:elementor.config.nonce}}).done(_.bind(function(a){this.ui.form.html(a)},this))}}),b.exports=d},{"elementor-views/controls/base":49}],67:[function(a,b,c){var d,e=a("elementor-views/controls/base");d=e.extend({childEvents:{"keyup textarea.elementor-wp-editor":"updateElementModel"},buttons:{keepInBasic:["bold","italic","link","unlink","wp_adv","fullscreen"],moveToBasic:{underline:"italic"}},initialize:function(){e.prototype.initialize.apply(this,arguments);var a=this;this.editorID="elementorwpeditor"+this.cid;var b={id:this.editorID,selector:"#"+this.editorID,setup:function(b){b.on("keyup change undo redo",function(){b.save(),a.setValue(b.getContent())})}};tinyMCEPreInit.mceInit[this.editorID]=_.extend(_.clone(tinyMCEPreInit.mceInit.elementorwpeditor),b),this.rearrangeButtons(),this.$el.addClass("elementor-loading-editor"),_.defer(function(){quicktags({buttons:"strong,em,del,link,img,close",id:a.editorID}),switchEditors.go(a.editorID,"tmce"),delete QTags.instances[0]})},attachElContent:function(){var a=elementor.config.wp_editor.replace(/elementorwpeditor/g,this.editorID).replace("%%EDITORCONTENT%%",this.getControlValue());return this.$el.html(a),this},rearrangeButtons:function(){var a=tinyMCEPreInit.mceInit[this.editorID],b=a.toolbar1.split(","),c=a.toolbar2.split(","),d=Array.prototype.slice.call(this.buttons.keepInBasic),e=_.difference(b,d),f=_.difference(c,Object.keys(this.buttons.moveToBasic));_.each(this.buttons.moveToBasic,function(a,b){var c=d.indexOf(a);-1!==c&&d.splice(c+1,0,b)}),a.toolbar1=d.join(","),a.toolbar2=e+","+f},onBeforeDestroy:function(){tinymce.EditorManager.execCommand("mceRemoveEditor",!0,this.editorID),delete QTags.instances[this.editorID],delete tinyMCEPreInit.mceInit[this.editorID],delete tinyMCEPreInit.qtInit[this.editorID]}}),b.exports=d},{"elementor-views/controls/base":49}],68:[function(a,b,c){var d;d=Marionette.ItemView.extend({template:"#tmpl-elementor-empty-preview",className:"elementor-empty-view",events:{click:"onClickAdd"},onClickAdd:function(){elementor.getPanelView().setPage("elements")}}),b.exports=d},{}],69:[function(a,b,c){var d,e=a("elementor-views/base-element"),f=a("elementor-views/column");d=e.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-element-section-content"),childView:f,className:function(){var a="elementor-section",b=this.isInner()?"inner":"top";return a+=" elementor-"+b+"-section"},tagName:"section",childViewContainer:"> .elementor-container > .elementor-row",triggers:{"click .elementor-editor-section-settings-list .elementor-editor-element-edit":"click:edit","click .elementor-editor-section-settings-list .elementor-editor-element-trigger":"click:edit","click .elementor-editor-section-settings-list .elementor-editor-element-duplicate":"click:duplicate"},elementEvents:{"click .elementor-editor-section-settings-list .elementor-editor-element-remove":"onClickRemove"},behaviors:{Sortable:{behaviorClass:a("elementor-behaviors/sortable"),elChildType:"column"},HandleDuplicate:{behaviorClass:a("elementor-behaviors/handle-duplicate")},HandleEditor:{behaviorClass:a("elementor-behaviors/handle-editor")},HandleEditMode:{behaviorClass:a("elementor-behaviors/handle-edit-mode")},HandleAddMode:{behaviorClass:a("elementor-behaviors/duplicate")},HandleElementsRelation:{behaviorClass:a("elementor-behaviors/elements-relation")}},initialize:function(){e.prototype.initialize.apply(this,arguments),this.listenTo(this.collection,"add remove reset",this._checkIsFull),this.listenTo(this.collection,"remove",this.onCollectionRemove),this.listenTo(this.model,"change:settings:structure",this.onStructureChanged)},addEmptyColumn:function(){this.addChildModel({id:elementor.helpers.getUniqueID(),elType:"column",settings:{},elements:[]})},addChildModel:function(a,b){var c=a instanceof Backbone.Model,d=this.isInner();return c?a.set("isInner",d):a.isInner=d,e.prototype.addChildModel.apply(this,arguments)},getSortableOptions:function(){var a=this.isInner()?".elementor-inner-section":".elementor-top-section";return{connectWith:a+" > .elementor-container > .elementor-row",handle:"> .elementor-element-overlay .elementor-editor-column-settings-list .elementor-editor-element-trigger",items:"> .elementor-column"}},getColumnPercentSize:function(a,b){return b/a.parent().width()*100},getDefaultStructure:function(){return this.collection.length+"0"},getStructure:function(){return this.model.getSetting("structure")},setStructure:function(a){var b=elementor.presetsFactory.getParsedStructure(a);if(+b.columnsCount!==this.collection.length)throw new TypeError("The provided structure doesn't match the columns count.");this.model.setSetting("structure",a,!0)},redefineLayout:function(){var a=elementor.presetsFactory.getPresetByStructure(this.getStructure());this.collection.each(function(b,c){b.setSetting("_column_size",a.preset[c]),b.setSetting("_inline_size",null)}),this.children.invoke("changeSizeUI")},resetLayout:function(){this.setStructure(this.getDefaultStructure())},resetColumnsCustomSize:function(){this.collection.each(function(a){a.setSetting("_inline_size",null)}),this.children.invoke("changeSizeUI")},isCollectionFilled:function(){var a=10,b=this.collection.length;return a<=b},_checkIsFull:function(){this.$el.toggleClass("elementor-section-filled",this.isCollectionFilled())},_checkIsEmpty:function(){this.collection.length||this.addEmptyColumn()},getNextColumn:function(a){var b=this.collection.indexOf(a.model),c=this.collection.at(b+1);return this.children.findByModelCid(c.cid)},onBeforeRender:function(){this._checkIsEmpty()},onRender:function(){this._checkIsFull()},onAddChild:function(){this.isBuffering||this.resetLayout()},onCollectionRemove:function(){this._checkIsEmpty(),this.resetLayout()},onChildviewRequestResizeStart:function(a){var b=this.getNextColumn(a);if(b){var c=a.$el.find("iframe").add(b.$el.find("iframe"));elementor.helpers.disableElementEvents(c)}},onChildviewRequestResizeStop:function(a){var b=this.getNextColumn(a);if(b){var c=a.$el.find("iframe").add(b.$el.find("iframe"));elementor.helpers.enableElementEvents(c)}},onChildviewRequestResize:function(a,b){var c=a.model.getSetting("_inline_size");c||(c=this.getColumnPercentSize(b.element,b.originalSize.width));var d=this.getColumnPercentSize(b.element,b.size.width),e=d-c;b.element.css({width:"",left:"initial"});var f=this.getNextColumn(a);if(f){var g=10,h=f.$el,i=this.getColumnPercentSize(h,h.width()),j=i-e;d<g||d>100||!e||j<g||j>100||(a.model.setSetting("_inline_size",d.toFixed(3)),a.changeSizeUI(),f.model.setSetting("_inline_size",j.toFixed(3)),f.changeSizeUI())}},onStructureChanged:function(){this.redefineLayout()}}),b.exports=d},{"elementor-behaviors/duplicate":2,"elementor-behaviors/elements-relation":3,"elementor-behaviors/handle-duplicate":4,"elementor-behaviors/handle-edit-mode":5,"elementor-behaviors/handle-editor":6,"elementor-behaviors/sortable":8,"elementor-views/base-element":44,"elementor-views/column":45}],70:[function(a,b,c){var d,e=a("elementor-views/section");d=Marionette.CompositeView.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-preview"),id:"elementor-inner",childViewContainer:"#elementor-section-wrap",childView:e,ui:{addSectionArea:"#elementor-add-section",addNewSection:"#elementor-add-new-section",closePresetsIcon:"#elementor-select-preset-close",addIcon:"#elementor-add-section-button",selectPreset:"#elementor-select-preset",presets:".elementor-preset"},events:{"click @ui.addIcon":"showSelectPresets","click @ui.closePresetsIcon":"closeSelectPresets","click @ui.presets":"onPresetSelected"},behaviors:{Sortable:{behaviorClass:a("elementor-behaviors/sortable"),elChildType:"section"},HandleDuplicate:{behaviorClass:a("elementor-behaviors/handle-duplicate")},HandleAdd:{behaviorClass:a("elementor-behaviors/duplicate")},HandleElementsRelation:{behaviorClass:a("elementor-behaviors/elements-relation")}},getSortableOptions:function(){return{handle:"> .elementor-container > .elementor-row > .elementor-column > .elementor-element-overlay .elementor-editor-section-settings-list .elementor-editor-element-trigger",items:"> .elementor-section"}},getChildType:function(){return["section"]},isCollectionFilled:function(){return!1},initialize:function(){this.listenTo(this.collection,"add remove reset",this.onCollectionChanged).listenTo(elementor.panelElements,"element:drag:start",this.onPanelElementDragStart).listenTo(elementor.panelElements,"element:drag:end",this.onPanelElementDragEnd)},addChildModel:function(a,b){return this.collection.add(a,b,!0)},addSection:function(a){var b={id:elementor.helpers.getUniqueID(),elType:"section",settings:{},elements:[]};a&&_.extend(b,a);var c=this.addChildModel(b);return this.children.findByModelCid(c.cid)},showSelectPresets:function(){this.ui.addNewSection.hide(),this.ui.selectPreset.show()},closeSelectPresets:function(){this.ui.addNewSection.show(),this.ui.selectPreset.hide()},fixBlankPageOffset:function(){var a=27,b=this.$el.offset().top,c=a-b;if(0<c){var d=Backbone.$("<style>").text(".elementor-editor-active #elementor-inner{margin-top: "+c+"px}");elementor.$previewContents.children().children("head").append(d)}},onRender:function(){var a=this;a.ui.addSectionArea.html5Droppable({axis:["vertical"],groups:["elementor-element"],onDragEnter:function(b){a.ui.addSectionArea.attr("data-side",b)},onDragLeave:function(){a.ui.addSectionArea.removeAttr("data-side")},onDropping:function(){var b=elementor.panelElements.request("element:selected"),c=a.addSection(),d=b.model.get("elType"),e={id:elementor.helpers.getUniqueID(),elType:d};"widget"===d?e.widgetType=b.model.get("widgetType"):(e.elements=[],e.isInner=!0),c.triggerMethod("request:add",e)}}),_.defer(_.bind(a.fixBlankPageOffset,this))},onCollectionChanged:function(){elementor.setFlagEditorChange(!0)},onPresetSelected:function(a){this.closeSelectPresets();var b,c=a.currentTarget.dataset.structure,d=elementor.presetsFactory.getParsedStructure(c),e=[];for(b=0;b<d.columnsCount;b++)e.push({id:elementor.helpers.getUniqueID(),elType:"column",settings:{},elements:[]});var f=this.addSection({elements:e});f.setStructure(c),f.redefineLayout()},onPanelElementDragStart:function(){elementor.helpers.disableElementEvents(this.$el.find("iframe"))},onPanelElementDragEnd:function(){elementor.helpers.enableElementEvents(this.$el.find("iframe"))}}),b.exports=d},{"elementor-behaviors/duplicate":2,"elementor-behaviors/elements-relation":3,"elementor-behaviors/handle-duplicate":4,"elementor-behaviors/sortable":8,"elementor-views/section":69}],71:[function(a,b,c){var d,e=a("elementor-views/base-element");d=e.extend({_templateType:null,getTemplate:function(){return"remote"!==this.getTemplateType()?Marionette.TemplateCache.get("#tmpl-elementor-widget-"+this.model.get("widgetType")+"-content"):_.template("")},className:function(){return"elementor-widget elementor-widget-"+this.model.get("widgetType")},modelEvents:{"before:remote:render":"onModelBeforeRemoteRender","remote:render":"onModelRemoteRender"},triggers:{click:{event:"click:edit",stopPropagation:!1},"click > .elementor-editor-element-settings .elementor-editor-add-element":"click:add","click > .elementor-editor-element-settings .elementor-editor-element-duplicate":"click:duplicate"},elementEvents:{"click > .elementor-editor-element-settings .elementor-editor-element-remove":"onClickRemove"},behaviors:{HandleEditor:{behaviorClass:a("elementor-behaviors/handle-editor")},HandleEditMode:{behaviorClass:a("elementor-behaviors/handle-edit-mode")}},initialize:function(){e.prototype.initialize.apply(this,arguments),this.model.getHtmlCache()||this.model.renderRemoteServer()},getTemplateType:function(){if(null===this.getOption("_templateType")){var a=Backbone.$("#tmpl-elementor-widget-"+this.model.get("widgetType")+"-content");0===a.length?this._templateType="remote":this._templateType="js"}return this.getOption("_templateType")},onModelBeforeRemoteRender:function(){this.$el.addClass("elementor-loading")},onBeforeDestroy:function(){elementor.$previewContents.find("#elementor-style-"+this.model.cid).remove();
|
5 |
+
},onModelRemoteRender:function(){this.isDestroyed||(this.$el.removeClass("elementor-loading"),this.render())},attachElContent:function(a){var b=this.model.getHtmlCache();return b&&(a=b),this.$el.html(a),this},onRender:function(){this.$el.removeClass("elementor-widget-empty").children(".elementor-widget-empty-icon").remove(),this.$el.imagesLoaded().always(_.bind(function(){1>this.$el.height()&&(this.$el.addClass("elementor-widget-empty"),this.$el.append('<i class="elementor-widget-empty-icon eicon-'+this.model.getIcon()+'"></i>'))},this))}}),b.exports=d},{"elementor-behaviors/handle-edit-mode":5,"elementor-behaviors/handle-editor":6,"elementor-views/base-element":44}]},{},[1]);
|
assets/admin/js/lib/jquery-html5-dnd.js
CHANGED
@@ -23,7 +23,8 @@
|
|
23 |
defaultSettings = {
|
24 |
element: '',
|
25 |
groups: null,
|
26 |
-
onDragStart: null
|
|
|
27 |
};
|
28 |
|
29 |
var init = function() {
|
@@ -49,7 +50,9 @@
|
|
49 |
};
|
50 |
|
51 |
var attachEvents = function() {
|
52 |
-
elementsCache.$element
|
|
|
|
|
53 |
};
|
54 |
|
55 |
var onDragStart = function( event ) {
|
@@ -67,6 +70,12 @@
|
|
67 |
}
|
68 |
};
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
this.destroy = function() {
|
71 |
elementsCache.$element.off( 'dragstart', onDragStart );
|
72 |
|
@@ -87,6 +96,7 @@
|
|
87 |
axis: [ 'vertical', 'horizontal' ],
|
88 |
groups: null,
|
89 |
isDroppingAllowed: null,
|
|
|
90 |
onDragging: null,
|
91 |
onDropping: null,
|
92 |
onDragLeave: null
|
@@ -109,11 +119,11 @@
|
|
109 |
};
|
110 |
|
111 |
var attachEvents = function() {
|
112 |
-
elementsCache.$element
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
};
|
118 |
|
119 |
var checkHorizontal = function( offsetX, elementWidth ) {
|
@@ -237,6 +247,35 @@
|
|
237 |
return true;
|
238 |
};
|
239 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
var onDragOver = function( event ) {
|
241 |
var side = getSide( this, event );
|
242 |
|
@@ -266,17 +305,31 @@
|
|
266 |
};
|
267 |
|
268 |
var onDragLeave = function( event ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
if ( $.isFunction( settings.onDragLeave ) ) {
|
270 |
settings.onDragLeave.call( this, event, self );
|
271 |
}
|
272 |
};
|
273 |
|
274 |
this.destroy = function() {
|
275 |
-
elementsCache.$element
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
};
|
281 |
|
282 |
init();
|
23 |
defaultSettings = {
|
24 |
element: '',
|
25 |
groups: null,
|
26 |
+
onDragStart: null,
|
27 |
+
onDragEnd: null
|
28 |
};
|
29 |
|
30 |
var init = function() {
|
50 |
};
|
51 |
|
52 |
var attachEvents = function() {
|
53 |
+
elementsCache.$element
|
54 |
+
.on( 'dragstart', onDragStart )
|
55 |
+
.on( 'dragend', onDragEnd );
|
56 |
};
|
57 |
|
58 |
var onDragStart = function( event ) {
|
70 |
}
|
71 |
};
|
72 |
|
73 |
+
var onDragEnd = function( event ) {
|
74 |
+
if ( $.isFunction( settings.onDragEnd ) ) {
|
75 |
+
settings.onDragEnd.call( elementsCache.$element, event, self );
|
76 |
+
}
|
77 |
+
};
|
78 |
+
|
79 |
this.destroy = function() {
|
80 |
elementsCache.$element.off( 'dragstart', onDragStart );
|
81 |
|
96 |
axis: [ 'vertical', 'horizontal' ],
|
97 |
groups: null,
|
98 |
isDroppingAllowed: null,
|
99 |
+
onDragEnter: null,
|
100 |
onDragging: null,
|
101 |
onDropping: null,
|
102 |
onDragLeave: null
|
119 |
};
|
120 |
|
121 |
var attachEvents = function() {
|
122 |
+
elementsCache.$element
|
123 |
+
.on( 'dragenter', settings.items, onDragEnter )
|
124 |
+
.on( 'dragover', settings.items, onDragOver )
|
125 |
+
.on( 'drop', settings.items, onDrop )
|
126 |
+
.on( 'dragleave drop', settings.items, onDragLeave );
|
127 |
};
|
128 |
|
129 |
var checkHorizontal = function( offsetX, elementWidth ) {
|
247 |
return true;
|
248 |
};
|
249 |
|
250 |
+
var onDragEnter = function( event ) {
|
251 |
+
if ( event.target !== this ) {
|
252 |
+
return;
|
253 |
+
}
|
254 |
+
|
255 |
+
// Avoid internal elements event firing
|
256 |
+
$( this ).children().each( function() {
|
257 |
+
var currentPointerEvents = this.style.pointerEvents;
|
258 |
+
|
259 |
+
if ( 'none' === currentPointerEvents ) {
|
260 |
+
return;
|
261 |
+
}
|
262 |
+
|
263 |
+
$( this )
|
264 |
+
.data( 'backup-pointer-events', currentPointerEvents )
|
265 |
+
.css( 'pointer-events', 'none' );
|
266 |
+
} );
|
267 |
+
|
268 |
+
var side = getSide( this, event );
|
269 |
+
|
270 |
+
if ( ! isDroppingAllowed( this, side, event ) ) {
|
271 |
+
return;
|
272 |
+
}
|
273 |
+
|
274 |
+
if ( $.isFunction( settings.onDragEnter ) ) {
|
275 |
+
settings.onDragEnter.call( this, side, event, self );
|
276 |
+
}
|
277 |
+
};
|
278 |
+
|
279 |
var onDragOver = function( event ) {
|
280 |
var side = getSide( this, event );
|
281 |
|
305 |
};
|
306 |
|
307 |
var onDragLeave = function( event ) {
|
308 |
+
// Avoid internal elements event firing
|
309 |
+
$(this).children().each( function() {
|
310 |
+
var $this = $( this ),
|
311 |
+
backupPointerEvents = $this.data( 'backup-pointer-events' );
|
312 |
+
|
313 |
+
if ( undefined === backupPointerEvents ) {
|
314 |
+
return;
|
315 |
+
}
|
316 |
+
|
317 |
+
$this
|
318 |
+
.removeData( 'backup-pointer-events' )
|
319 |
+
.css( 'pointer-events', backupPointerEvents );
|
320 |
+
} );
|
321 |
+
|
322 |
if ( $.isFunction( settings.onDragLeave ) ) {
|
323 |
settings.onDragLeave.call( this, event, self );
|
324 |
}
|
325 |
};
|
326 |
|
327 |
this.destroy = function() {
|
328 |
+
elementsCache.$element
|
329 |
+
.off( 'dragenter', settings.items, onDragEnter )
|
330 |
+
.off( 'dragover', settings.items, onDragOver )
|
331 |
+
.off( 'drop', settings.items, onDrop )
|
332 |
+
.off( 'dragleave drop', settings.items, onDragLeave );
|
333 |
};
|
334 |
|
335 |
init();
|
assets/admin/js/lib/jquery-html5-dnd.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var n=function(t){try{return t.originalEvent.dataTransfer.setData("test","test"),t.originalEvent.dataTransfer.clearData("test"),!0}catch(n){return!1}},e=function(e){var
|
1 |
+
!function(t){var n=function(t){try{return t.originalEvent.dataTransfer.setData("test","test"),t.originalEvent.dataTransfer.clearData("test"),!0}catch(n){return!1}},e=function(e){var i=this,r={},o={},a={element:"",groups:null,onDragStart:null,onDragEnd:null},s=function(){l(),u(),c(),f()},l=function(){t.extend(!0,r,a,e)},u=function(){o.$element=t(r.element)},c=function(){o.$element.attr("draggable",!0)},f=function(){o.$element.on("dragstart",g).on("dragend",h)},g=function(e){var a=r.groups||[],s={groups:a};n(e)&&e.originalEvent.dataTransfer.setData(JSON.stringify(s),!0),t.isFunction(r.onDragStart)&&r.onDragStart.call(o.$element,e,i)},h=function(n){t.isFunction(r.onDragEnd)&&r.onDragEnd.call(o.$element,n,i)};this.destroy=function(){o.$element.off("dragstart",g),o.$element.removeAttr("draggable")},s()},i=function(e){var i=this,r={},o={},a={element:"",items:">",horizontalSensitivity:"10%",axis:["vertical","horizontal"],groups:null,isDroppingAllowed:null,onDragEnter:null,onDragging:null,onDropping:null,onDragLeave:null},s=function(){l(),u(),c()},l=function(){t.extend(r,a,e)},u=function(){o.$element=t(r.element)},c=function(){o.$element.on("dragenter",r.items,p).on("dragover",r.items,m).on("drop",r.items,D).on("dragleave drop",r.items,y)},f=function(t,n){var e,i;return g()?h()?(i=r.horizontalSensitivity.match(/\d+/))?(i=i[0],e=/%$/.test(r.horizontalSensitivity),e&&(i=n/i),t>n-i?"right":i>t?"left":!1):!1:t>n/2?"right":"left":!1},g=function(){return-1!==r.axis.indexOf("horizontal")},h=function(){return-1!==r.axis.indexOf("vertical")},d=function(n,e){var i,r,o,a;return e=e.originalEvent,i=t(n),r=i.outerHeight(),o=i.outerWidth(),(a=f(e.offsetX,o))?a:h()?a=e.offsetY>r/2?"bottom":"top":!1},v=function(e,o,a){var s,l,u,c;return r.groups&&n(a)&&(s=a.originalEvent.dataTransfer.types,u=!1,s=Array.prototype.slice.apply(s),s.forEach(function(t){try{if(l=JSON.parse(t),!l.groups.slice)return;r.groups.forEach(function(t){return-1!==l.groups.indexOf(t)?(u=!0,!1):void 0})}catch(n){}}),!u)?!1:t.isFunction(r.isDroppingAllowed)&&(c=r.isDroppingAllowed.call(e,o,a,i),!c)?!1:!0},p=function(n){if(n.target===this){t(this).children().each(function(){var n=this.style.pointerEvents;"none"!==n&&t(this).data("backup-pointer-events",n).css("pointer-events","none")});var e=d(this,n);v(this,e,n)&&t.isFunction(r.onDragEnter)&&r.onDragEnter.call(this,e,n,i)}},m=function(n){var e=d(this,n);v(this,e,n)&&(n.preventDefault(),t.isFunction(r.onDragging)&&r.onDragging.call(this,e,n,i))},D=function(n){var e=d(this,n);v(this,e,n)&&(n.preventDefault(),t.isFunction(r.onDropping)&&r.onDropping.call(this,e,n,i))},y=function(n){t(this).children().each(function(){var n=t(this),e=n.data("backup-pointer-events");void 0!==e&&n.removeData("backup-pointer-events").css("pointer-events",e)}),t.isFunction(r.onDragLeave)&&r.onDragLeave.call(this,n,i)};this.destroy=function(){o.$element.off("dragenter",r.items,p).off("dragover",r.items,m).off("drop",r.items,D).off("dragleave drop",r.items,y)},s()},r={html5Draggable:e,html5Droppable:i};t.each(r,function(n,e){t.fn[n]=function(i){return i=i||{},this.each(function(){var r=t.data(this,n),o=r instanceof e;return o?void("destroy"===i&&(r.destroy(),t.removeData(this,n))):(i.element=this,void t.data(this,n,new e(i)))}),this}})}(jQuery);
|
assets/css/editor-preview-rtl.css
CHANGED
@@ -280,7 +280,6 @@ body.elementor-editor-active .elementor-draggable-over[data-dragged-element="sec
|
|
280 |
body.elementor-editor-active #elementor-add-section {
|
281 |
background-color: rgba(255, 255, 255, 0.5);
|
282 |
margin: 60px auto;
|
283 |
-
padding: 40px 0;
|
284 |
max-width: 1140px;
|
285 |
position: relative; }
|
286 |
body.elementor-editor-active #elementor-add-section:not([data-side]) {
|
@@ -289,7 +288,10 @@ body.elementor-editor-active #elementor-add-section {
|
|
289 |
border: 3px dashed #71d7f7; }
|
290 |
body.elementor-editor-active #elementor-add-section-inner {
|
291 |
text-align: center;
|
292 |
-
margin-top: 10px;
|
|
|
|
|
|
|
293 |
body.elementor-editor-active #elementor-add-section-button {
|
294 |
background-color: #9b0a46;
|
295 |
background-image: none;
|
280 |
body.elementor-editor-active #elementor-add-section {
|
281 |
background-color: rgba(255, 255, 255, 0.5);
|
282 |
margin: 60px auto;
|
|
|
283 |
max-width: 1140px;
|
284 |
position: relative; }
|
285 |
body.elementor-editor-active #elementor-add-section:not([data-side]) {
|
288 |
border: 3px dashed #71d7f7; }
|
289 |
body.elementor-editor-active #elementor-add-section-inner {
|
290 |
text-align: center;
|
291 |
+
margin-top: 10px;
|
292 |
+
padding: 40px 0; }
|
293 |
+
body.elementor-editor-active #elementor-add-new-section {
|
294 |
+
display: inline-block; }
|
295 |
body.elementor-editor-active #elementor-add-section-button {
|
296 |
background-color: #9b0a46;
|
297 |
background-image: none;
|
assets/css/editor-preview-rtl.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";body.layout-section .entry-content{overflow:visible}#elementor .animated{animation-fill-mode:none!important}#elementor .elementor-editor-element-settings-list{word-break:normal}html.elementor-html{margin-top:0!important}body.elementor-editor-active #elementor{position:relative}body.elementor-editor-active #elementor .elementor-element-empty .elementor-sortable-placeholder{display:none}body.elementor-editor-active #elementor .elementor-empty-view{display:table;width:100%;height:100%;position:relative;z-index:1}body.elementor-editor-active #elementor .elementor-first-add{display:table-cell;vertical-align:middle;text-align:center;border:1px dashed #d5dadf}body.elementor-editor-active #elementor .elementor-first-add .elementor-icon{font-size:19px;color:#a4afb7;cursor:pointer}body.elementor-editor-active #elementor .elementor-element>.elementor-element-overlay{position:absolute;top:0;right:0;left:0;bottom:0;letter-spacing:0;z-index:1}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty{height:50px;background:#fff}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty:after{position:absolute;content:'';left:0;right:0;top:0;bottom:0;background-color:rgba(230,233,236,.8)}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty .elementor-widget-empty-icon{position:absolute;height:25px;width:25px;top:0;bottom:0;right:0;left:0;margin:auto;color:#818a91;font-size:22px}body.elementor-editor-active #elementor .elementor-element:not(:hover):not(.elementor-element-editable)>.elementor-element-overlay .elementor-editor-element-settings-list,body.elementor-editor-active #elementor .elementor-element:not(:hover):not(.ui-resizable-resizing)>.elementor-element-overlay .column-title{display:none}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-element>.elementor-element-overlay .column-title{display:none}}body.elementor-editor-active #elementor .elementor-element[data-side]{animation:increase-border .6s;animation-timing-function:ease-out}body.elementor-editor-active #elementor .elementor-element[data-side=bottom]+.elementor-element,body.elementor-editor-active #elementor .elementor-element[data-side=top]{border-top:4px solid #71d7f7}body.elementor-editor-active #elementor .elementor-element[data-side=bottom]:last-child{border-bottom:4px solid #71d7f7}@media (min-width:768px){body.elementor-editor-active #elementor .elementor-section:not(.elementor-section-height-full) .elementor-column-wrap.elementor-element-empty,body.elementor-editor-active #elementor .elementor-section:not(.elementor-section-height-full) .elementor-column-wrap.elementor-element-empty .elementor-widget-wrap{position:absolute;width:100%;height:100%;top:0}}body.elementor-editor-active #elementor .elementor-top-column .elementor-widget-wrap .elementor-inner-section{margin-top:20px}body.elementor-editor-active #elementor .elementor-editor-element-settings{position:absolute;overflow:hidden}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list{display:table;table-layout:fixed;height:20px;list-style:none;margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:400;font-style:normal;line-height:1}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list{background-color:#a4afb7}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting:not(:last-child){border-left:1px solid #c2cbd2}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting.elementor-editor-element-trigger:not(.elementor-active){border:none}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting>a:hover{background-color:#c2cbd2}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list .fa{color:#fff}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting{display:table-cell;vertical-align:middle;width:35px;text-align:center;padding:0;margin:0}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting:not(.elementor-editor-element-edit){display:none}}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting>a{padding:8.5px 0;display:inline-block;width:100%;font-size:11px;line-height:1;color:#fff}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-remove .fa{color:red}body.elementor-editor-active #elementor .elementor-editor-column-settings{right:-1px;z-index:1;bottom:100%;margin-bottom:1px;transform:translateY(1px);border-radius:3px 3px 0 0}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list{float:right;background-color:#495157}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list .elementor-editor-element-setting:not(:last-child){border-left:1px solid #556068}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list .elementor-editor-element-setting>a:hover{background-color:#556068}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger:not(.elementor-active)~.elementor-editor-element-setting{display:none}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger>a{cursor:move;padding:8.5px}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger.elementor-active>a:after,body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger>a:hover:after{content:"";font-family:FontAwesome;margin-right:5px}body.elementor-editor-active #elementor .elementor-editor-widget-settings{z-index:2;top:2px;left:2px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting{width:24px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting:not(:last-child){padding-left:2px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting>a{background-color:#71d7f7;font-size:10px;padding:6px 8px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting>a:hover{background-color:#41c9f4}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-remove .fa{color:#fff}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-remove:hover .fa{color:red}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-edit a{cursor:move}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-editor-element-setting:not(.elementor-editor-element-edit){display:none}}body.elementor-editor-active #elementor .elementor-section-filled .elementor-editor-column-settings .elementor-editor-element-add,body.elementor-editor-active #elementor .elementor-section-filled .elementor-editor-column-settings .elementor-editor-element-duplicate,body.elementor-editor-active #elementor .elementor-section-filled .elementor-sortable-placeholder.elementor-column{display:none}body.elementor-editor-active #elementor .elementor-section-filled .elementor-row.elementor-draggable-over{border:1px solid red}body.elementor-editor-active #elementor .elementor-row{min-height:100px}body.elementor-editor-active #elementor .elementor-column.elementor-element-editable>.elementor-element-overlay,body.elementor-editor-active #elementor .elementor-column:hover>.elementor-element-overlay{border:1px solid #fff}body.elementor-editor-active #elementor .elementor-column.elementor-element-editable>.elementor-element-overlay:after,body.elementor-editor-active #elementor .elementor-column:hover>.elementor-element-overlay:after{position:absolute;content:'';left:0;right:0;top:0;bottom:0;width:100%;height:100%;outline:1px dashed #373a3c}body.elementor-editor-active #elementor .elementor-column.elementor-dragging-on-child>.elementor-element-overlay{border:1px solid #71d7f7}body.elementor-editor-active #elementor .elementor-column.elementor-dragging-on-child>.elementor-element-overlay:after{display:none}body.elementor-editor-active #elementor .elementor-column .column-title{position:absolute;bottom:100%;left:0;margin-bottom:5px;color:#999;font-family:Arial,Helvetica,sans-serif;font-weight:400;line-height:1;font-size:12px;font-style:italic}body.elementor-editor-active #elementor .elementor-column>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column>.ui-resizable-w{cursor:ew-resize;width:7px;position:absolute;left:-5px;top:0;height:100%}body.elementor-editor-active #elementor .elementor-column:last-of-type>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column:last-of-type>.ui-resizable-w{display:none!important}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-column>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column>.ui-resizable-w{display:none!important}}@media (min-width:768px){body.elementor-editor-active .elementor-column-wrap.elementor-element-empty .elementor-widget-wrap{padding:10px}}body.elementor-editor-active .elementor-widget.elementor-loading{opacity:.3}body.elementor-editor-active .elementor-widget:not(.elementor-loading):not(.elementor-widget-menu-anchor){transition:all .1s}body.elementor-editor-active .elementor-widget.elementor-element-editable,body.elementor-editor-active .elementor-widget:hover{outline:1px solid #71d7f7}body.elementor-editor-active .elementor-widget:not(.elementor-element-editable):not(:hover) .elementor-editor-element-settings{display:none}body.elementor-editor-active .elementor-column.elementor-dragging div.elementor-column-wrap{min-height:50px}body.elementor-editor-active div.handle{display:none}body.elementor-editor-active .elementor-sortable-placeholder{background:#71d7f7;transition-timing-function:ease-out}body.elementor-editor-active .elementor-sortable-placeholder:not(.elementor-column){height:5px}body.elementor-editor-active .elementor-sortable-placeholder.elementor-column{width:5px}body.elementor-editor-active .elementor-sortable-helper{position:absolute;border-radius:3px;background-color:#fff;text-align:center;color:#556068;box-shadow:0 2px 6px rgba(0,0,0,.2)}body.elementor-editor-active .elementor-sortable-helper .icon{font-size:28px;padding-top:15px;line-height:1}body.elementor-editor-active .elementor-sortable-helper .elementor-element-title-wrapper{display:table;width:100%}body.elementor-editor-active .elementor-sortable-helper .title{font-size:11px;font-family:Arial,Helvetica,sans-serif;font-weight:400;font-style:normal;display:table-cell;vertical-align:middle;height:40px}body.elementor-editor-active .elementor-draggable-over:not([data-dragged-element=section]):not([data-dragged-is-inner=true])>.elementor-empty-view>.elementor-first-add:after,body.elementor-editor-active .elementor-first-add[data-side]:after{content:'';height:4px;display:block;background-color:#71d7f7}body.elementor-editor-active .elementor-draggable-over:not([data-dragged-element=section]):not([data-dragged-is-inner=true])>.elementor-empty-view>.elementor-first-add .elementor-icon,body.elementor-editor-active .elementor-draggable-over[data-dragged-element=section][data-dragged-is-inner=true] .elementor-sortable-placeholder,body.elementor-editor-active .elementor-first-add[data-side] .elementor-icon{display:none}body.elementor-editor-active #elementor-add-section{background-color:hsla(0,0%,100%,.5);margin:60px auto;padding:40px 0;max-width:1140px;position:relative}body.elementor-editor-active #elementor-add-section:not([data-side]){border:2px dashed #d5dadf}body.elementor-editor-active #elementor-add-section[data-side]{border:3px dashed #71d7f7}body.elementor-editor-active #elementor-add-section-inner{text-align:center;margin-top:10px}body.elementor-editor-active #elementor-add-section-button{background-color:#9b0a46;background-image:none;color:#fff;font-size:13px;font-family:Arial,Helvetica,sans-serif;font-weight:400;font-style:normal;line-height:1;text-transform:uppercase;height:40px;width:170px;padding:0;border:none;border-radius:3px;cursor:pointer}body.elementor-editor-active #elementor-add-section-button:hover{opacity:.85;box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 2px rgba(0,0,0,.2)}body.elementor-editor-active #elementor-add-section-button:active{box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.1)}body.elementor-editor-active #elementor-add-section-drag-title{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:400;font-style:italic;line-height:1;color:#556068;margin-top:10px}body.elementor-editor-active #elementor-select-preset-close{position:absolute;right:20px;top:20px;font-size:20px;cursor:pointer;line-height:1;color:#d5dadf}body.elementor-editor-active #elementor-select-preset-title{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:500;font-style:normal;color:#556068}body.elementor-editor-active ul#elementor-select-preset-list{list-style:none;padding:0 25px;margin:20px auto 0;overflow:hidden;max-width:700px}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset{cursor:pointer;margin:0;padding:10px;float:right}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset:hover path{fill:#6d7882}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset:not(:hover) path{fill:#d5dadf}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset svg{height:50px}body.elementor-editor-preview #elementor-add-section,body.elementor-editor-preview .column-title,body.elementor-editor-preview .elementor-editor-widget-settings,body.elementor-editor-preview .elementor-element-empty,body.elementor-editor-preview .elementor-element-overlay,body.elementor-editor-preview .elementor-empty,body.elementor-editor-preview .elementor-widget-empty{display:none}
|
1 |
+
@charset "UTF-8";body.layout-section .entry-content{overflow:visible}#elementor .animated{animation-fill-mode:none!important}#elementor .elementor-editor-element-settings-list{word-break:normal}html.elementor-html{margin-top:0!important}body.elementor-editor-active #elementor{position:relative}body.elementor-editor-active #elementor .elementor-element-empty .elementor-sortable-placeholder{display:none}body.elementor-editor-active #elementor .elementor-empty-view{display:table;width:100%;height:100%;position:relative;z-index:1}body.elementor-editor-active #elementor .elementor-first-add{display:table-cell;vertical-align:middle;text-align:center;border:1px dashed #d5dadf}body.elementor-editor-active #elementor .elementor-first-add .elementor-icon{font-size:19px;color:#a4afb7;cursor:pointer}body.elementor-editor-active #elementor .elementor-element>.elementor-element-overlay{position:absolute;top:0;right:0;left:0;bottom:0;letter-spacing:0;z-index:1}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty{height:50px;background:#fff}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty:after{position:absolute;content:'';left:0;right:0;top:0;bottom:0;background-color:rgba(230,233,236,.8)}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty .elementor-widget-empty-icon{position:absolute;height:25px;width:25px;top:0;bottom:0;right:0;left:0;margin:auto;color:#818a91;font-size:22px}body.elementor-editor-active #elementor .elementor-element:not(:hover):not(.elementor-element-editable)>.elementor-element-overlay .elementor-editor-element-settings-list,body.elementor-editor-active #elementor .elementor-element:not(:hover):not(.ui-resizable-resizing)>.elementor-element-overlay .column-title{display:none}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-element>.elementor-element-overlay .column-title{display:none}}body.elementor-editor-active #elementor .elementor-element[data-side]{animation:increase-border .6s;animation-timing-function:ease-out}body.elementor-editor-active #elementor .elementor-element[data-side=bottom]+.elementor-element,body.elementor-editor-active #elementor .elementor-element[data-side=top]{border-top:4px solid #71d7f7}body.elementor-editor-active #elementor .elementor-element[data-side=bottom]:last-child{border-bottom:4px solid #71d7f7}@media (min-width:768px){body.elementor-editor-active #elementor .elementor-section:not(.elementor-section-height-full) .elementor-column-wrap.elementor-element-empty,body.elementor-editor-active #elementor .elementor-section:not(.elementor-section-height-full) .elementor-column-wrap.elementor-element-empty .elementor-widget-wrap{position:absolute;width:100%;height:100%;top:0}}body.elementor-editor-active #elementor .elementor-top-column .elementor-widget-wrap .elementor-inner-section{margin-top:20px}body.elementor-editor-active #elementor .elementor-editor-element-settings{position:absolute;overflow:hidden}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list{display:table;table-layout:fixed;height:20px;list-style:none;margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:400;font-style:normal;line-height:1}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list{background-color:#a4afb7}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting:not(:last-child){border-left:1px solid #c2cbd2}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting.elementor-editor-element-trigger:not(.elementor-active){border:none}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting>a:hover{background-color:#c2cbd2}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list .fa{color:#fff}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting{display:table-cell;vertical-align:middle;width:35px;text-align:center;padding:0;margin:0}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting:not(.elementor-editor-element-edit){display:none}}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting>a{padding:8.5px 0;display:inline-block;width:100%;font-size:11px;line-height:1;color:#fff}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-remove .fa{color:red}body.elementor-editor-active #elementor .elementor-editor-column-settings{right:-1px;z-index:1;bottom:100%;margin-bottom:1px;transform:translateY(1px);border-radius:3px 3px 0 0}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list{float:right;background-color:#495157}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list .elementor-editor-element-setting:not(:last-child){border-left:1px solid #556068}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list .elementor-editor-element-setting>a:hover{background-color:#556068}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger:not(.elementor-active)~.elementor-editor-element-setting{display:none}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger>a{cursor:move;padding:8.5px}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger.elementor-active>a:after,body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger>a:hover:after{content:"";font-family:FontAwesome;margin-right:5px}body.elementor-editor-active #elementor .elementor-editor-widget-settings{z-index:2;top:2px;left:2px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting{width:24px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting:not(:last-child){padding-left:2px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting>a{background-color:#71d7f7;font-size:10px;padding:6px 8px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting>a:hover{background-color:#41c9f4}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-remove .fa{color:#fff}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-remove:hover .fa{color:red}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-edit a{cursor:move}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-editor-element-setting:not(.elementor-editor-element-edit){display:none}}body.elementor-editor-active #elementor .elementor-section-filled .elementor-editor-column-settings .elementor-editor-element-add,body.elementor-editor-active #elementor .elementor-section-filled .elementor-editor-column-settings .elementor-editor-element-duplicate,body.elementor-editor-active #elementor .elementor-section-filled .elementor-sortable-placeholder.elementor-column{display:none}body.elementor-editor-active #elementor .elementor-section-filled .elementor-row.elementor-draggable-over{border:1px solid red}body.elementor-editor-active #elementor .elementor-row{min-height:100px}body.elementor-editor-active #elementor .elementor-column.elementor-element-editable>.elementor-element-overlay,body.elementor-editor-active #elementor .elementor-column:hover>.elementor-element-overlay{border:1px solid #fff}body.elementor-editor-active #elementor .elementor-column.elementor-element-editable>.elementor-element-overlay:after,body.elementor-editor-active #elementor .elementor-column:hover>.elementor-element-overlay:after{position:absolute;content:'';left:0;right:0;top:0;bottom:0;width:100%;height:100%;outline:1px dashed #373a3c}body.elementor-editor-active #elementor .elementor-column.elementor-dragging-on-child>.elementor-element-overlay{border:1px solid #71d7f7}body.elementor-editor-active #elementor .elementor-column.elementor-dragging-on-child>.elementor-element-overlay:after{display:none}body.elementor-editor-active #elementor .elementor-column .column-title{position:absolute;bottom:100%;left:0;margin-bottom:5px;color:#999;font-family:Arial,Helvetica,sans-serif;font-weight:400;line-height:1;font-size:12px;font-style:italic}body.elementor-editor-active #elementor .elementor-column>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column>.ui-resizable-w{cursor:ew-resize;width:7px;position:absolute;left:-5px;top:0;height:100%}body.elementor-editor-active #elementor .elementor-column:last-of-type>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column:last-of-type>.ui-resizable-w{display:none!important}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-column>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column>.ui-resizable-w{display:none!important}}@media (min-width:768px){body.elementor-editor-active .elementor-column-wrap.elementor-element-empty .elementor-widget-wrap{padding:10px}}body.elementor-editor-active .elementor-widget.elementor-loading{opacity:.3}body.elementor-editor-active .elementor-widget:not(.elementor-loading):not(.elementor-widget-menu-anchor){transition:all .1s}body.elementor-editor-active .elementor-widget.elementor-element-editable,body.elementor-editor-active .elementor-widget:hover{outline:1px solid #71d7f7}body.elementor-editor-active .elementor-widget:not(.elementor-element-editable):not(:hover) .elementor-editor-element-settings{display:none}body.elementor-editor-active .elementor-column.elementor-dragging div.elementor-column-wrap{min-height:50px}body.elementor-editor-active div.handle{display:none}body.elementor-editor-active .elementor-sortable-placeholder{background:#71d7f7;transition-timing-function:ease-out}body.elementor-editor-active .elementor-sortable-placeholder:not(.elementor-column){height:5px}body.elementor-editor-active .elementor-sortable-placeholder.elementor-column{width:5px}body.elementor-editor-active .elementor-sortable-helper{position:absolute;border-radius:3px;background-color:#fff;text-align:center;color:#556068;box-shadow:0 2px 6px rgba(0,0,0,.2)}body.elementor-editor-active .elementor-sortable-helper .icon{font-size:28px;padding-top:15px;line-height:1}body.elementor-editor-active .elementor-sortable-helper .elementor-element-title-wrapper{display:table;width:100%}body.elementor-editor-active .elementor-sortable-helper .title{font-size:11px;font-family:Arial,Helvetica,sans-serif;font-weight:400;font-style:normal;display:table-cell;vertical-align:middle;height:40px}body.elementor-editor-active .elementor-draggable-over:not([data-dragged-element=section]):not([data-dragged-is-inner=true])>.elementor-empty-view>.elementor-first-add:after,body.elementor-editor-active .elementor-first-add[data-side]:after{content:'';height:4px;display:block;background-color:#71d7f7}body.elementor-editor-active .elementor-draggable-over:not([data-dragged-element=section]):not([data-dragged-is-inner=true])>.elementor-empty-view>.elementor-first-add .elementor-icon,body.elementor-editor-active .elementor-draggable-over[data-dragged-element=section][data-dragged-is-inner=true] .elementor-sortable-placeholder,body.elementor-editor-active .elementor-first-add[data-side] .elementor-icon{display:none}body.elementor-editor-active #elementor-add-section{background-color:hsla(0,0%,100%,.5);margin:60px auto;max-width:1140px;position:relative}body.elementor-editor-active #elementor-add-section:not([data-side]){border:2px dashed #d5dadf}body.elementor-editor-active #elementor-add-section[data-side]{border:3px dashed #71d7f7}body.elementor-editor-active #elementor-add-section-inner{text-align:center;margin-top:10px;padding:40px 0}body.elementor-editor-active #elementor-add-new-section{display:inline-block}body.elementor-editor-active #elementor-add-section-button{background-color:#9b0a46;background-image:none;color:#fff;font-size:13px;font-family:Arial,Helvetica,sans-serif;font-weight:400;font-style:normal;line-height:1;text-transform:uppercase;height:40px;width:170px;padding:0;border:none;border-radius:3px;cursor:pointer}body.elementor-editor-active #elementor-add-section-button:hover{opacity:.85;box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 2px rgba(0,0,0,.2)}body.elementor-editor-active #elementor-add-section-button:active{box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.1)}body.elementor-editor-active #elementor-add-section-drag-title{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:400;font-style:italic;line-height:1;color:#556068;margin-top:10px}body.elementor-editor-active #elementor-select-preset-close{position:absolute;right:20px;top:20px;font-size:20px;cursor:pointer;line-height:1;color:#d5dadf}body.elementor-editor-active #elementor-select-preset-title{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:500;font-style:normal;color:#556068}body.elementor-editor-active ul#elementor-select-preset-list{list-style:none;padding:0 25px;margin:20px auto 0;overflow:hidden;max-width:700px}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset{cursor:pointer;margin:0;padding:10px;float:right}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset:hover path{fill:#6d7882}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset:not(:hover) path{fill:#d5dadf}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset svg{height:50px}body.elementor-editor-preview #elementor-add-section,body.elementor-editor-preview .column-title,body.elementor-editor-preview .elementor-editor-widget-settings,body.elementor-editor-preview .elementor-element-empty,body.elementor-editor-preview .elementor-element-overlay,body.elementor-editor-preview .elementor-empty,body.elementor-editor-preview .elementor-widget-empty{display:none}
|
assets/css/editor-preview.css
CHANGED
@@ -280,7 +280,6 @@ body.elementor-editor-active .elementor-draggable-over[data-dragged-element="sec
|
|
280 |
body.elementor-editor-active #elementor-add-section {
|
281 |
background-color: rgba(255, 255, 255, 0.5);
|
282 |
margin: 60px auto;
|
283 |
-
padding: 40px 0;
|
284 |
max-width: 1140px;
|
285 |
position: relative; }
|
286 |
body.elementor-editor-active #elementor-add-section:not([data-side]) {
|
@@ -289,7 +288,10 @@ body.elementor-editor-active #elementor-add-section {
|
|
289 |
border: 3px dashed #71d7f7; }
|
290 |
body.elementor-editor-active #elementor-add-section-inner {
|
291 |
text-align: center;
|
292 |
-
margin-top: 10px;
|
|
|
|
|
|
|
293 |
body.elementor-editor-active #elementor-add-section-button {
|
294 |
background-color: #9b0a46;
|
295 |
background-image: none;
|
280 |
body.elementor-editor-active #elementor-add-section {
|
281 |
background-color: rgba(255, 255, 255, 0.5);
|
282 |
margin: 60px auto;
|
|
|
283 |
max-width: 1140px;
|
284 |
position: relative; }
|
285 |
body.elementor-editor-active #elementor-add-section:not([data-side]) {
|
288 |
border: 3px dashed #71d7f7; }
|
289 |
body.elementor-editor-active #elementor-add-section-inner {
|
290 |
text-align: center;
|
291 |
+
margin-top: 10px;
|
292 |
+
padding: 40px 0; }
|
293 |
+
body.elementor-editor-active #elementor-add-new-section {
|
294 |
+
display: inline-block; }
|
295 |
body.elementor-editor-active #elementor-add-section-button {
|
296 |
background-color: #9b0a46;
|
297 |
background-image: none;
|
assets/css/editor-preview.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";body.layout-section .entry-content{overflow:visible}#elementor .animated{animation-fill-mode:none!important}#elementor .elementor-editor-element-settings-list{word-break:normal}html.elementor-html{margin-top:0!important}body.elementor-editor-active #elementor{position:relative}body.elementor-editor-active #elementor .elementor-element-empty .elementor-sortable-placeholder{display:none}body.elementor-editor-active #elementor .elementor-empty-view{display:table;width:100%;height:100%;position:relative;z-index:1}body.elementor-editor-active #elementor .elementor-first-add{display:table-cell;vertical-align:middle;text-align:center;border:1px dashed #d5dadf}body.elementor-editor-active #elementor .elementor-first-add .elementor-icon{font-size:19px;color:#a4afb7;cursor:pointer}body.elementor-editor-active #elementor .elementor-element>.elementor-element-overlay{position:absolute;top:0;right:0;left:0;bottom:0;letter-spacing:0;z-index:1}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty{height:50px;background:#fff}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty:after{position:absolute;content:'';left:0;right:0;top:0;bottom:0;background-color:rgba(230,233,236,.8)}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty .elementor-widget-empty-icon{position:absolute;height:25px;width:25px;top:0;bottom:0;right:0;left:0;margin:auto;color:#818a91;font-size:22px}body.elementor-editor-active #elementor .elementor-element:not(:hover):not(.elementor-element-editable)>.elementor-element-overlay .elementor-editor-element-settings-list,body.elementor-editor-active #elementor .elementor-element:not(:hover):not(.ui-resizable-resizing)>.elementor-element-overlay .column-title{display:none}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-element>.elementor-element-overlay .column-title{display:none}}body.elementor-editor-active #elementor .elementor-element[data-side]{animation:increase-border .6s;animation-timing-function:ease-out}body.elementor-editor-active #elementor .elementor-element[data-side=bottom]+.elementor-element,body.elementor-editor-active #elementor .elementor-element[data-side=top]{border-top:4px solid #71d7f7}body.elementor-editor-active #elementor .elementor-element[data-side=bottom]:last-child{border-bottom:4px solid #71d7f7}@media (min-width:768px){body.elementor-editor-active #elementor .elementor-section:not(.elementor-section-height-full) .elementor-column-wrap.elementor-element-empty,body.elementor-editor-active #elementor .elementor-section:not(.elementor-section-height-full) .elementor-column-wrap.elementor-element-empty .elementor-widget-wrap{position:absolute;width:100%;height:100%;top:0}}body.elementor-editor-active #elementor .elementor-top-column .elementor-widget-wrap .elementor-inner-section{margin-top:20px}body.elementor-editor-active #elementor .elementor-editor-element-settings{position:absolute;overflow:hidden}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list{display:table;table-layout:fixed;height:20px;list-style:none;margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:400;font-style:normal;line-height:1}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list{background-color:#a4afb7}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting:not(:last-child){border-right:1px solid #c2cbd2}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting.elementor-editor-element-trigger:not(.elementor-active){border:none}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting>a:hover{background-color:#c2cbd2}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list .fa{color:#fff}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting{display:table-cell;vertical-align:middle;width:35px;text-align:center;padding:0;margin:0}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting:not(.elementor-editor-element-edit){display:none}}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting>a{padding:8.5px 0;display:inline-block;width:100%;font-size:11px;line-height:1;color:#fff}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-remove .fa{color:red}body.elementor-editor-active #elementor .elementor-editor-column-settings{left:-1px;z-index:1;bottom:100%;margin-bottom:1px;transform:translateY(1px);border-radius:3px 3px 0 0}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list{float:left;background-color:#495157}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list .elementor-editor-element-setting:not(:last-child){border-right:1px solid #556068}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list .elementor-editor-element-setting>a:hover{background-color:#556068}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger:not(.elementor-active)~.elementor-editor-element-setting{display:none}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger>a{cursor:move;padding:8.5px}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger.elementor-active>a:after,body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger>a:hover:after{content:"";font-family:FontAwesome;margin-left:5px}body.elementor-editor-active #elementor .elementor-editor-widget-settings{z-index:2;top:2px;right:2px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting{width:24px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting:not(:last-child){padding-right:2px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting>a{background-color:#71d7f7;font-size:10px;padding:6px 8px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting>a:hover{background-color:#41c9f4}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-remove .fa{color:#fff}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-remove:hover .fa{color:red}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-edit a{cursor:move}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-editor-element-setting:not(.elementor-editor-element-edit){display:none}}body.elementor-editor-active #elementor .elementor-section-filled .elementor-editor-column-settings .elementor-editor-element-add,body.elementor-editor-active #elementor .elementor-section-filled .elementor-editor-column-settings .elementor-editor-element-duplicate,body.elementor-editor-active #elementor .elementor-section-filled .elementor-sortable-placeholder.elementor-column{display:none}body.elementor-editor-active #elementor .elementor-section-filled .elementor-row.elementor-draggable-over{border:1px solid red}body.elementor-editor-active #elementor .elementor-row{min-height:100px}body.elementor-editor-active #elementor .elementor-column.elementor-element-editable>.elementor-element-overlay,body.elementor-editor-active #elementor .elementor-column:hover>.elementor-element-overlay{border:1px solid #fff}body.elementor-editor-active #elementor .elementor-column.elementor-element-editable>.elementor-element-overlay:after,body.elementor-editor-active #elementor .elementor-column:hover>.elementor-element-overlay:after{position:absolute;content:'';left:0;right:0;top:0;bottom:0;width:100%;height:100%;outline:1px dashed #373a3c}body.elementor-editor-active #elementor .elementor-column.elementor-dragging-on-child>.elementor-element-overlay{border:1px solid #71d7f7}body.elementor-editor-active #elementor .elementor-column.elementor-dragging-on-child>.elementor-element-overlay:after{display:none}body.elementor-editor-active #elementor .elementor-column .column-title{position:absolute;bottom:100%;right:0;margin-bottom:5px;color:#999;font-family:Arial,Helvetica,sans-serif;font-weight:400;line-height:1;font-size:12px;font-style:italic}body.elementor-editor-active #elementor .elementor-column>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column>.ui-resizable-w{cursor:ew-resize;width:7px;position:absolute;right:-5px;top:0;height:100%}body.elementor-editor-active #elementor .elementor-column:last-of-type>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column:last-of-type>.ui-resizable-w{display:none!important}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-column>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column>.ui-resizable-w{display:none!important}}@media (min-width:768px){body.elementor-editor-active .elementor-column-wrap.elementor-element-empty .elementor-widget-wrap{padding:10px}}body.elementor-editor-active .elementor-widget.elementor-loading{opacity:.3}body.elementor-editor-active .elementor-widget:not(.elementor-loading):not(.elementor-widget-menu-anchor){transition:all .1s}body.elementor-editor-active .elementor-widget.elementor-element-editable,body.elementor-editor-active .elementor-widget:hover{outline:1px solid #71d7f7}body.elementor-editor-active .elementor-widget:not(.elementor-element-editable):not(:hover) .elementor-editor-element-settings{display:none}body.elementor-editor-active .elementor-column.elementor-dragging div.elementor-column-wrap{min-height:50px}body.elementor-editor-active div.handle{display:none}body.elementor-editor-active .elementor-sortable-placeholder{background:#71d7f7;transition-timing-function:ease-out}body.elementor-editor-active .elementor-sortable-placeholder:not(.elementor-column){height:5px}body.elementor-editor-active .elementor-sortable-placeholder.elementor-column{width:5px}body.elementor-editor-active .elementor-sortable-helper{position:absolute;border-radius:3px;background-color:#fff;text-align:center;color:#556068;box-shadow:0 2px 6px rgba(0,0,0,.2)}body.elementor-editor-active .elementor-sortable-helper .icon{font-size:28px;padding-top:15px;line-height:1}body.elementor-editor-active .elementor-sortable-helper .elementor-element-title-wrapper{display:table;width:100%}body.elementor-editor-active .elementor-sortable-helper .title{font-size:11px;font-family:Arial,Helvetica,sans-serif;font-weight:400;font-style:normal;display:table-cell;vertical-align:middle;height:40px}body.elementor-editor-active .elementor-draggable-over:not([data-dragged-element=section]):not([data-dragged-is-inner=true])>.elementor-empty-view>.elementor-first-add:after,body.elementor-editor-active .elementor-first-add[data-side]:after{content:'';height:4px;display:block;background-color:#71d7f7}body.elementor-editor-active .elementor-draggable-over:not([data-dragged-element=section]):not([data-dragged-is-inner=true])>.elementor-empty-view>.elementor-first-add .elementor-icon,body.elementor-editor-active .elementor-draggable-over[data-dragged-element=section][data-dragged-is-inner=true] .elementor-sortable-placeholder,body.elementor-editor-active .elementor-first-add[data-side] .elementor-icon{display:none}body.elementor-editor-active #elementor-add-section{background-color:hsla(0,0%,100%,.5);margin:60px auto;padding:40px 0;max-width:1140px;position:relative}body.elementor-editor-active #elementor-add-section:not([data-side]){border:2px dashed #d5dadf}body.elementor-editor-active #elementor-add-section[data-side]{border:3px dashed #71d7f7}body.elementor-editor-active #elementor-add-section-inner{text-align:center;margin-top:10px}body.elementor-editor-active #elementor-add-section-button{background-color:#9b0a46;background-image:none;color:#fff;font-size:13px;font-family:Arial,Helvetica,sans-serif;font-weight:400;font-style:normal;line-height:1;text-transform:uppercase;height:40px;width:170px;padding:0;border:none;border-radius:3px;cursor:pointer}body.elementor-editor-active #elementor-add-section-button:hover{opacity:.85;box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 2px rgba(0,0,0,.2)}body.elementor-editor-active #elementor-add-section-button:active{box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.1)}body.elementor-editor-active #elementor-add-section-drag-title{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:400;font-style:italic;line-height:1;color:#556068;margin-top:10px}body.elementor-editor-active #elementor-select-preset-close{position:absolute;right:20px;top:20px;font-size:20px;cursor:pointer;line-height:1;color:#d5dadf}body.elementor-editor-active #elementor-select-preset-title{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:500;font-style:normal;color:#556068}body.elementor-editor-active ul#elementor-select-preset-list{list-style:none;padding:0 25px;margin:20px auto 0;overflow:hidden;max-width:700px}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset{cursor:pointer;margin:0;padding:10px;float:left}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset:hover path{fill:#6d7882}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset:not(:hover) path{fill:#d5dadf}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset svg{height:50px}body.elementor-editor-preview #elementor-add-section,body.elementor-editor-preview .column-title,body.elementor-editor-preview .elementor-editor-widget-settings,body.elementor-editor-preview .elementor-element-empty,body.elementor-editor-preview .elementor-element-overlay,body.elementor-editor-preview .elementor-empty,body.elementor-editor-preview .elementor-widget-empty{display:none}
|
1 |
+
@charset "UTF-8";body.layout-section .entry-content{overflow:visible}#elementor .animated{animation-fill-mode:none!important}#elementor .elementor-editor-element-settings-list{word-break:normal}html.elementor-html{margin-top:0!important}body.elementor-editor-active #elementor{position:relative}body.elementor-editor-active #elementor .elementor-element-empty .elementor-sortable-placeholder{display:none}body.elementor-editor-active #elementor .elementor-empty-view{display:table;width:100%;height:100%;position:relative;z-index:1}body.elementor-editor-active #elementor .elementor-first-add{display:table-cell;vertical-align:middle;text-align:center;border:1px dashed #d5dadf}body.elementor-editor-active #elementor .elementor-first-add .elementor-icon{font-size:19px;color:#a4afb7;cursor:pointer}body.elementor-editor-active #elementor .elementor-element>.elementor-element-overlay{position:absolute;top:0;right:0;left:0;bottom:0;letter-spacing:0;z-index:1}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty{height:50px;background:#fff}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty:after{position:absolute;content:'';left:0;right:0;top:0;bottom:0;background-color:rgba(230,233,236,.8)}body.elementor-editor-active #elementor .elementor-element.elementor-widget-empty .elementor-widget-empty-icon{position:absolute;height:25px;width:25px;top:0;bottom:0;right:0;left:0;margin:auto;color:#818a91;font-size:22px}body.elementor-editor-active #elementor .elementor-element:not(:hover):not(.elementor-element-editable)>.elementor-element-overlay .elementor-editor-element-settings-list,body.elementor-editor-active #elementor .elementor-element:not(:hover):not(.ui-resizable-resizing)>.elementor-element-overlay .column-title{display:none}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-element>.elementor-element-overlay .column-title{display:none}}body.elementor-editor-active #elementor .elementor-element[data-side]{animation:increase-border .6s;animation-timing-function:ease-out}body.elementor-editor-active #elementor .elementor-element[data-side=bottom]+.elementor-element,body.elementor-editor-active #elementor .elementor-element[data-side=top]{border-top:4px solid #71d7f7}body.elementor-editor-active #elementor .elementor-element[data-side=bottom]:last-child{border-bottom:4px solid #71d7f7}@media (min-width:768px){body.elementor-editor-active #elementor .elementor-section:not(.elementor-section-height-full) .elementor-column-wrap.elementor-element-empty,body.elementor-editor-active #elementor .elementor-section:not(.elementor-section-height-full) .elementor-column-wrap.elementor-element-empty .elementor-widget-wrap{position:absolute;width:100%;height:100%;top:0}}body.elementor-editor-active #elementor .elementor-top-column .elementor-widget-wrap .elementor-inner-section{margin-top:20px}body.elementor-editor-active #elementor .elementor-editor-element-settings{position:absolute;overflow:hidden}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list{display:table;table-layout:fixed;height:20px;list-style:none;margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:400;font-style:normal;line-height:1}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list{background-color:#a4afb7}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting:not(:last-child){border-right:1px solid #c2cbd2}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting.elementor-editor-element-trigger:not(.elementor-active){border:none}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list.elementor-editor-section-settings-list .elementor-editor-element-setting>a:hover{background-color:#c2cbd2}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-settings-list .fa{color:#fff}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting{display:table-cell;vertical-align:middle;width:35px;text-align:center;padding:0;margin:0}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting:not(.elementor-editor-element-edit){display:none}}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-setting>a{padding:8.5px 0;display:inline-block;width:100%;font-size:11px;line-height:1;color:#fff}body.elementor-editor-active #elementor .elementor-editor-element-settings .elementor-editor-element-remove .fa{color:red}body.elementor-editor-active #elementor .elementor-editor-column-settings{left:-1px;z-index:1;bottom:100%;margin-bottom:1px;transform:translateY(1px);border-radius:3px 3px 0 0}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list{float:left;background-color:#495157}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list .elementor-editor-element-setting:not(:last-child){border-right:1px solid #556068}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-settings-list .elementor-editor-element-setting>a:hover{background-color:#556068}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger:not(.elementor-active)~.elementor-editor-element-setting{display:none}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger>a{cursor:move;padding:8.5px}body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger.elementor-active>a:after,body.elementor-editor-active #elementor .elementor-editor-column-settings .elementor-editor-element-trigger>a:hover:after{content:"";font-family:FontAwesome;margin-left:5px}body.elementor-editor-active #elementor .elementor-editor-widget-settings{z-index:2;top:2px;right:2px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting{width:24px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting:not(:last-child){padding-right:2px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting>a{background-color:#71d7f7;font-size:10px;padding:6px 8px}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-setting>a:hover{background-color:#41c9f4}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-remove .fa{color:#fff}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-remove:hover .fa{color:red}body.elementor-editor-active #elementor .elementor-editor-widget-settings .elementor-editor-element-edit a{cursor:move}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-editor-element-setting:not(.elementor-editor-element-edit){display:none}}body.elementor-editor-active #elementor .elementor-section-filled .elementor-editor-column-settings .elementor-editor-element-add,body.elementor-editor-active #elementor .elementor-section-filled .elementor-editor-column-settings .elementor-editor-element-duplicate,body.elementor-editor-active #elementor .elementor-section-filled .elementor-sortable-placeholder.elementor-column{display:none}body.elementor-editor-active #elementor .elementor-section-filled .elementor-row.elementor-draggable-over{border:1px solid red}body.elementor-editor-active #elementor .elementor-row{min-height:100px}body.elementor-editor-active #elementor .elementor-column.elementor-element-editable>.elementor-element-overlay,body.elementor-editor-active #elementor .elementor-column:hover>.elementor-element-overlay{border:1px solid #fff}body.elementor-editor-active #elementor .elementor-column.elementor-element-editable>.elementor-element-overlay:after,body.elementor-editor-active #elementor .elementor-column:hover>.elementor-element-overlay:after{position:absolute;content:'';left:0;right:0;top:0;bottom:0;width:100%;height:100%;outline:1px dashed #373a3c}body.elementor-editor-active #elementor .elementor-column.elementor-dragging-on-child>.elementor-element-overlay{border:1px solid #71d7f7}body.elementor-editor-active #elementor .elementor-column.elementor-dragging-on-child>.elementor-element-overlay:after{display:none}body.elementor-editor-active #elementor .elementor-column .column-title{position:absolute;bottom:100%;right:0;margin-bottom:5px;color:#999;font-family:Arial,Helvetica,sans-serif;font-weight:400;line-height:1;font-size:12px;font-style:italic}body.elementor-editor-active #elementor .elementor-column>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column>.ui-resizable-w{cursor:ew-resize;width:7px;position:absolute;right:-5px;top:0;height:100%}body.elementor-editor-active #elementor .elementor-column:last-of-type>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column:last-of-type>.ui-resizable-w{display:none!important}@media (max-width:1023px){body.elementor-editor-active #elementor .elementor-column>.ui-resizable-e,body.elementor-editor-active #elementor .elementor-column>.ui-resizable-w{display:none!important}}@media (min-width:768px){body.elementor-editor-active .elementor-column-wrap.elementor-element-empty .elementor-widget-wrap{padding:10px}}body.elementor-editor-active .elementor-widget.elementor-loading{opacity:.3}body.elementor-editor-active .elementor-widget:not(.elementor-loading):not(.elementor-widget-menu-anchor){transition:all .1s}body.elementor-editor-active .elementor-widget.elementor-element-editable,body.elementor-editor-active .elementor-widget:hover{outline:1px solid #71d7f7}body.elementor-editor-active .elementor-widget:not(.elementor-element-editable):not(:hover) .elementor-editor-element-settings{display:none}body.elementor-editor-active .elementor-column.elementor-dragging div.elementor-column-wrap{min-height:50px}body.elementor-editor-active div.handle{display:none}body.elementor-editor-active .elementor-sortable-placeholder{background:#71d7f7;transition-timing-function:ease-out}body.elementor-editor-active .elementor-sortable-placeholder:not(.elementor-column){height:5px}body.elementor-editor-active .elementor-sortable-placeholder.elementor-column{width:5px}body.elementor-editor-active .elementor-sortable-helper{position:absolute;border-radius:3px;background-color:#fff;text-align:center;color:#556068;box-shadow:0 2px 6px rgba(0,0,0,.2)}body.elementor-editor-active .elementor-sortable-helper .icon{font-size:28px;padding-top:15px;line-height:1}body.elementor-editor-active .elementor-sortable-helper .elementor-element-title-wrapper{display:table;width:100%}body.elementor-editor-active .elementor-sortable-helper .title{font-size:11px;font-family:Arial,Helvetica,sans-serif;font-weight:400;font-style:normal;display:table-cell;vertical-align:middle;height:40px}body.elementor-editor-active .elementor-draggable-over:not([data-dragged-element=section]):not([data-dragged-is-inner=true])>.elementor-empty-view>.elementor-first-add:after,body.elementor-editor-active .elementor-first-add[data-side]:after{content:'';height:4px;display:block;background-color:#71d7f7}body.elementor-editor-active .elementor-draggable-over:not([data-dragged-element=section]):not([data-dragged-is-inner=true])>.elementor-empty-view>.elementor-first-add .elementor-icon,body.elementor-editor-active .elementor-draggable-over[data-dragged-element=section][data-dragged-is-inner=true] .elementor-sortable-placeholder,body.elementor-editor-active .elementor-first-add[data-side] .elementor-icon{display:none}body.elementor-editor-active #elementor-add-section{background-color:hsla(0,0%,100%,.5);margin:60px auto;max-width:1140px;position:relative}body.elementor-editor-active #elementor-add-section:not([data-side]){border:2px dashed #d5dadf}body.elementor-editor-active #elementor-add-section[data-side]{border:3px dashed #71d7f7}body.elementor-editor-active #elementor-add-section-inner{text-align:center;margin-top:10px;padding:40px 0}body.elementor-editor-active #elementor-add-new-section{display:inline-block}body.elementor-editor-active #elementor-add-section-button{background-color:#9b0a46;background-image:none;color:#fff;font-size:13px;font-family:Arial,Helvetica,sans-serif;font-weight:400;font-style:normal;line-height:1;text-transform:uppercase;height:40px;width:170px;padding:0;border:none;border-radius:3px;cursor:pointer}body.elementor-editor-active #elementor-add-section-button:hover{opacity:.85;box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 2px rgba(0,0,0,.2)}body.elementor-editor-active #elementor-add-section-button:active{box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.1)}body.elementor-editor-active #elementor-add-section-drag-title{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:400;font-style:italic;line-height:1;color:#556068;margin-top:10px}body.elementor-editor-active #elementor-select-preset-close{position:absolute;right:20px;top:20px;font-size:20px;cursor:pointer;line-height:1;color:#d5dadf}body.elementor-editor-active #elementor-select-preset-title{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:500;font-style:normal;color:#556068}body.elementor-editor-active ul#elementor-select-preset-list{list-style:none;padding:0 25px;margin:20px auto 0;overflow:hidden;max-width:700px}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset{cursor:pointer;margin:0;padding:10px;float:left}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset:hover path{fill:#6d7882}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset:not(:hover) path{fill:#d5dadf}body.elementor-editor-active ul#elementor-select-preset-list li.elementor-preset svg{height:50px}body.elementor-editor-preview #elementor-add-section,body.elementor-editor-preview .column-title,body.elementor-editor-preview .elementor-editor-widget-settings,body.elementor-editor-preview .elementor-element-empty,body.elementor-editor-preview .elementor-element-overlay,body.elementor-editor-preview .elementor-empty,body.elementor-editor-preview .elementor-widget-empty{display:none}
|
assets/js/admin-feedback.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! elementor - v0.6.
|
2 |
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){var d;d={init:function(){this.initModalWidgetType()},initModalWidgetType:function(){var a={getDefaultSettings:function(){var a=DialogsManager.getWidgetType("options").prototype.getDefaultSettings.apply(this,arguments);return _.extend(a,{position:{my:"center",at:"center"},contentWidth:"auto",contentHeight:"auto"})},buildWidget:function(){DialogsManager.getWidgetType("options").prototype.buildWidget.apply(this,arguments);var a=this.addElement("closeButton",'<div><i class="fa fa-times"></i></div>');this.getElements("widgetContent").prepend(a)},attachEvents:function(){this.getElements("closeButton").on("click",this.hide)},onReady:function(){DialogsManager.getWidgetType("options").prototype.onReady.apply(this,arguments);var a=this.getElements(),b=this.getSettings();"auto"!==b.contentWidth&&a.message.width(b.contentWidth),"auto"!==b.contentHeight&&a.message.height(b.contentHeight)}};DialogsManager.addWidgetType("elementor-modal",DialogsManager.getWidgetType("options").extend("elementor-modal",a))}},b.exports=d},{}],2:[function(a,b,c){!function(b){"use strict";var c={elementorModals:a("elementor-utils/modals"),dialogsManager:new DialogsManager.Instance,cacheElements:function(){this.cache={$deactivateLink:b("#the-list").find('[data-slug="elementor"] span.deactivate a'),$dialogHeader:b("#elementor-deactivate-feedback-dialog-header"),$dialogForm:b("#elementor-deactivate-feedback-dialog-form")}},bindEvents:function(){var a=this;a.cache.$deactivateLink.on("click",function(b){b.preventDefault(),a.getModal().show()})},deactivate:function(){location.href=this.cache.$deactivateLink.attr("href")},initModal:function(){var a,b=this;b.getModal=function(){return a||(a=b.dialogsManager.createWidget("elementor-modal",{id:"elementor-deactivate-feedback-modal",headerMessage:b.cache.$dialogHeader,message:b.cache.$dialogForm,hideOnButtonClick:!1,onReady:function(){DialogsManager.getWidgetType("elementor-modal").prototype.onReady.apply(this,arguments),this.addButton({name:"submit",text:ElementorAdminFeedbackArgs.i18n.submit_n_deactivate,callback:_.bind(b.sendFeedback,b)}),this.addButton({name:"skip",text:ElementorAdminFeedbackArgs.i18n.skip_n_deactivate,callback:function(){b.deactivate()}})}})),a}},sendFeedback:function(){var a=this,c=a.cache.$dialogForm.serialize();a.getModal().getElements("submit").text("").addClass("elementor-loading"),b.post(ajaxurl,c,_.bind(this.deactivate,this))},init:function(){this.elementorModals.init(),this.initModal(),this.cacheElements(),this.bindEvents()}};b(function(){c.init()})}(jQuery)},{"elementor-utils/modals":1}]},{},[2]);
|
1 |
+
/*! elementor - v0.6.6 - 11-08-2016 */
|
2 |
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){var d;d={init:function(){this.initModalWidgetType()},initModalWidgetType:function(){var a={getDefaultSettings:function(){var a=DialogsManager.getWidgetType("options").prototype.getDefaultSettings.apply(this,arguments);return _.extend(a,{position:{my:"center",at:"center"},contentWidth:"auto",contentHeight:"auto"})},buildWidget:function(){DialogsManager.getWidgetType("options").prototype.buildWidget.apply(this,arguments);var a=this.addElement("closeButton",'<div><i class="fa fa-times"></i></div>');this.getElements("widgetContent").prepend(a)},attachEvents:function(){this.getElements("closeButton").on("click",this.hide)},onReady:function(){DialogsManager.getWidgetType("options").prototype.onReady.apply(this,arguments);var a=this.getElements(),b=this.getSettings();"auto"!==b.contentWidth&&a.message.width(b.contentWidth),"auto"!==b.contentHeight&&a.message.height(b.contentHeight)}};DialogsManager.addWidgetType("elementor-modal",DialogsManager.getWidgetType("options").extend("elementor-modal",a))}},b.exports=d},{}],2:[function(a,b,c){!function(b){"use strict";var c={elementorModals:a("elementor-utils/modals"),dialogsManager:new DialogsManager.Instance,cacheElements:function(){this.cache={$deactivateLink:b("#the-list").find('[data-slug="elementor"] span.deactivate a'),$dialogHeader:b("#elementor-deactivate-feedback-dialog-header"),$dialogForm:b("#elementor-deactivate-feedback-dialog-form")}},bindEvents:function(){var a=this;a.cache.$deactivateLink.on("click",function(b){b.preventDefault(),a.getModal().show()})},deactivate:function(){location.href=this.cache.$deactivateLink.attr("href")},initModal:function(){var a,b=this;b.getModal=function(){return a||(a=b.dialogsManager.createWidget("elementor-modal",{id:"elementor-deactivate-feedback-modal",headerMessage:b.cache.$dialogHeader,message:b.cache.$dialogForm,hideOnButtonClick:!1,onReady:function(){DialogsManager.getWidgetType("elementor-modal").prototype.onReady.apply(this,arguments),this.addButton({name:"submit",text:ElementorAdminFeedbackArgs.i18n.submit_n_deactivate,callback:_.bind(b.sendFeedback,b)}),this.addButton({name:"skip",text:ElementorAdminFeedbackArgs.i18n.skip_n_deactivate,callback:function(){b.deactivate()}})}})),a}},sendFeedback:function(){var a=this,c=a.cache.$dialogForm.serialize();a.getModal().getElements("submit").text("").addClass("elementor-loading"),b.post(ajaxurl,c,_.bind(this.deactivate,this))},init:function(){this.elementorModals.init(),this.initModal(),this.cacheElements(),this.bindEvents()}};b(function(){c.init()})}(jQuery)},{"elementor-utils/modals":1}]},{},[2]);
|
assets/js/admin.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! elementor - v0.6.
|
2 |
!function(a,b,c){"use strict";var d={cacheElements:function(){this.cache={$body:a("body"),$switchMode:a("#elementor-switch-mode"),$goToEditLink:a("#elementor-go-to-edit-page-link"),$switchModeInput:a("#elementor-switch-mode-input"),$switchModeButton:a("#elementor-switch-mode-button"),$elementorLoader:a("#elementor-loader"),$builderEditor:a("#elementor-editor")}},toggleStatus:function(){var a="builder"===this.getEditMode();this.cache.$body.toggleClass("elementor-editor-active",a).toggleClass("elementor-editor-inactive",!a)},bindEvents:function(){var d=this;d.cache.$switchModeButton.on("click",function(e){if(e.preventDefault(),"builder"===d.getEditMode())d.cache.$switchModeInput.val("editor");else{d.cache.$switchModeInput.val("builder");var f=a("#title");f.val()||f.val("Elementor #"+a("#post_ID").val()),wp.autosave.server.triggerSave(),d.animateLoader(),a(c).on("heartbeat-tick.autosave",function(){a(b).off("beforeunload.edit-post"),b.location=d.cache.$goToEditLink.attr("href")})}d.toggleStatus()}),d.cache.$goToEditLink.on("click",function(){d.animateLoader()}),a("div.notice.elementor-message-dismissed").on("click","button.notice-dismiss",function(b){b.preventDefault(),a.post(ajaxurl,{action:"elementor_set_admin_notice_viewed",notice_id:a(this).closest(".elementor-message-dismissed").data("notice_id")})})},init:function(){this.cacheElements(),this.bindEvents()},getEditMode:function(){return this.cache.$switchModeInput.val()},animateLoader:function(){this.cache.$goToEditLink.addClass("elementor-animate")}};a(function(){d.init()})}(jQuery,window,document);
|
1 |
+
/*! elementor - v0.6.6 - 11-08-2016 */
|
2 |
!function(a,b,c){"use strict";var d={cacheElements:function(){this.cache={$body:a("body"),$switchMode:a("#elementor-switch-mode"),$goToEditLink:a("#elementor-go-to-edit-page-link"),$switchModeInput:a("#elementor-switch-mode-input"),$switchModeButton:a("#elementor-switch-mode-button"),$elementorLoader:a("#elementor-loader"),$builderEditor:a("#elementor-editor")}},toggleStatus:function(){var a="builder"===this.getEditMode();this.cache.$body.toggleClass("elementor-editor-active",a).toggleClass("elementor-editor-inactive",!a)},bindEvents:function(){var d=this;d.cache.$switchModeButton.on("click",function(e){if(e.preventDefault(),"builder"===d.getEditMode())d.cache.$switchModeInput.val("editor");else{d.cache.$switchModeInput.val("builder");var f=a("#title");f.val()||f.val("Elementor #"+a("#post_ID").val()),wp.autosave.server.triggerSave(),d.animateLoader(),a(c).on("heartbeat-tick.autosave",function(){a(b).off("beforeunload.edit-post"),b.location=d.cache.$goToEditLink.attr("href")})}d.toggleStatus()}),d.cache.$goToEditLink.on("click",function(){d.animateLoader()}),a("div.notice.elementor-message-dismissed").on("click","button.notice-dismiss",function(b){b.preventDefault(),a.post(ajaxurl,{action:"elementor_set_admin_notice_viewed",notice_id:a(this).closest(".elementor-message-dismissed").data("notice_id")})})},init:function(){this.cacheElements(),this.bindEvents()},getEditMode:function(){return this.cache.$switchModeInput.val()},animateLoader:function(){this.cache.$goToEditLink.addClass("elementor-animate")}};a(function(){d.init()})}(jQuery,window,document);
|
assets/js/frontend.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! elementor - v0.6.
|
2 |
!function(a,b){"use strict";var c=b,d=function(){var b={},d=[],e=!1,f=function(a){e=a},g=function(a){c=a},h=function(){return e},i=function(a,c){b[a]=c},j=function(a){d.push(a)},k=function(b){a.each(d,function(){this.call(b)})},l=function(a){var c=a.data("element_type");c&&(k(a),b[c]&&b[c].call(a))};return{isEditorMode:h,setEditorMode:f,setScopeWindow:g,addBindEvent:i,addGlobalHandler:j,runReadyTrigger:l}}(),e=function(a){b.YT&&YT.loaded?a(YT):setTimeout(function(){e(a)},350)};d.addGlobalHandler(function(){if(!d.isEditorMode()){var a=this,b=a.data("animation");b&&(a.addClass("elementor-invisible").removeClass(b),a.waypoint(function(){a.removeClass("elementor-invisible").addClass(b)},{offset:"90%"}))}}),d.addBindEvent("counter",function(){this.find(".elementor-counter-number").waypoint(function(){var b=a(this);b.numerator({duration:b.data("duration")})},{offset:"90%"})}),d.addBindEvent("progress",function(){a(this).find(".elementor-progress-bar").waypoint(function(){var b=a(this),c=parseInt(b.data("max"),10),d=b.next(),e=d.find(".elementor-progress-text"),f=d.find(".elementor-progress-percentage"),g=d.data("inner")?d.data("inner"):"";b.css("width",c+"%"),d.css("width",c+"%"),e.html(g+""),f.html(c+"%")},{offset:"90%"})}),d.addBindEvent("tabs",function(){var b,c,d=a(this),e=d.find(".elementor-tabs").data("active-tab"),f=d.find(".elementor-tab-title"),g=d.find(".elementor-tab-content");e||(e=1);var h=function(a){b&&(b.removeClass("active"),c.hide()),b=f.filter('[data-tab="'+a+'"]'),b.addClass("active"),c=g.filter('[data-tab="'+a+'"]'),c.show()};h(e),f.on("click",function(){h(this.dataset.tab)})}),d.addBindEvent("accordion",function(){var b=a(this),c=b.find(".elementor-accordion").data("active-section"),d=b.find(".elementor-accordion-title"),e=d.filter(".active"),f=function(a){var b=d.filter('[data-section="'+a+'"]'),c=b.hasClass("active");e.removeClass("active").next().slideUp(),c||(b.addClass("active").next().slideDown(),e=b)};c||(c=1),f(c),d.on("click",function(){f(this.dataset.section)})}),d.addBindEvent("toggle",function(){var b=a(this).find(".elementor-toggle-title");b.on("click",function(){var b=a(this),c=b.next();b.hasClass("active")?(b.removeClass("active"),c.slideUp()):(b.addClass("active"),c.slideDown())})}),d.addBindEvent("image-carousel",function(){var b=a(this).find(".elementor-image-carousel");if(b.length){var c={responsive:[{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]},d=a.extend({},c,b.data("slider_options"));b.slick(d)}}),d.addBindEvent("alert",function(){a(this).find(".elementor-alert-dismiss").on("click",function(){a(this).parent().fadeOut()})}),d.addBindEvent("section",function(){var b,d={backgroundVideoContainer:this.find(".elementor-background-video-container")},f=!1;if(d.backgroundVideoContainer.length){d.backgroundVideo=d.backgroundVideoContainer.children(".elementor-background-video");var g=function(){var a=d.backgroundVideoContainer.outerWidth(),b=d.backgroundVideoContainer.outerHeight(),c="16:9",e=c.split(":"),f=e[0]/e[1],g=a/f,h=b*f,i=a/b>f;return{width:i?a:h,height:i?g:b}},h=function(){var c=f?a(b.getIframe()):d.backgroundVideo,e=g();c.width(e.width).height(e.height)},i=function(a,c){b=new a.Player(d.backgroundVideo[0],{videoId:c,events:{onReady:function(){b.mute(),h(),b.playVideo()},onStateChange:function(c){c.data===a.PlayerState.ENDED&&b.seekTo(0)}},playerVars:{controls:0,showinfo:0}})},j=d.backgroundVideo.data("video-id");j?(f=!0,e(function(a){setTimeout(function(){i(a,j)},1)})):d.backgroundVideo.one("canplay",h),a(c).on("resize",h)}}),d.addBindEvent("video",function(){var b=a(this),c=b.find(".elementor-custom-embed-image-overlay"),d=b.find("iframe");c.length&&c.on("click",function(){c.remove();var a=d[0].src;a=a.replace("&autoplay=0",""),d[0].src=a+"&autoplay=1"})}),d.addBindEvent("menu-anchor",function(){if(!d.isEditorMode()){var b=this.find(".elementor-menu-anchor"),c=b.attr("id"),e=a('a[href*="#'+c+'"]'),f=a("html, body"),g=a("#wpadminbar").height();e.on("click",function(a){var c=location.pathname===this.pathname,d=location.hostname===this.hostname;d&&c&&(a.preventDefault(),f.animate({scrollTop:b.offset().top-g},1e3))})}}),b.elementorBindUI=d}(jQuery,window),jQuery(function(a){var b=document.createElement("script"),c=document.getElementsByTagName("script")[0];b.src="https://www.youtube.com/iframe_api",c.parentNode.insertBefore(b,c),a(".elementor-element").each(function(){elementorBindUI.runReadyTrigger(a(this))})});
|
1 |
+
/*! elementor - v0.6.6 - 11-08-2016 */
|
2 |
!function(a,b){"use strict";var c=b,d=function(){var b={},d=[],e=!1,f=function(a){e=a},g=function(a){c=a},h=function(){return e},i=function(a,c){b[a]=c},j=function(a){d.push(a)},k=function(b){a.each(d,function(){this.call(b)})},l=function(a){var c=a.data("element_type");c&&(k(a),b[c]&&b[c].call(a))};return{isEditorMode:h,setEditorMode:f,setScopeWindow:g,addBindEvent:i,addGlobalHandler:j,runReadyTrigger:l}}(),e=function(a){b.YT&&YT.loaded?a(YT):setTimeout(function(){e(a)},350)};d.addGlobalHandler(function(){if(!d.isEditorMode()){var a=this,b=a.data("animation");b&&(a.addClass("elementor-invisible").removeClass(b),a.waypoint(function(){a.removeClass("elementor-invisible").addClass(b)},{offset:"90%"}))}}),d.addBindEvent("counter",function(){this.find(".elementor-counter-number").waypoint(function(){var b=a(this);b.numerator({duration:b.data("duration")})},{offset:"90%"})}),d.addBindEvent("progress",function(){a(this).find(".elementor-progress-bar").waypoint(function(){var b=a(this),c=parseInt(b.data("max"),10),d=b.next(),e=d.find(".elementor-progress-text"),f=d.find(".elementor-progress-percentage"),g=d.data("inner")?d.data("inner"):"";b.css("width",c+"%"),d.css("width",c+"%"),e.html(g+""),f.html(c+"%")},{offset:"90%"})}),d.addBindEvent("tabs",function(){var b,c,d=a(this),e=d.find(".elementor-tabs").data("active-tab"),f=d.find(".elementor-tab-title"),g=d.find(".elementor-tab-content");e||(e=1);var h=function(a){b&&(b.removeClass("active"),c.hide()),b=f.filter('[data-tab="'+a+'"]'),b.addClass("active"),c=g.filter('[data-tab="'+a+'"]'),c.show()};h(e),f.on("click",function(){h(this.dataset.tab)})}),d.addBindEvent("accordion",function(){var b=a(this),c=b.find(".elementor-accordion").data("active-section"),d=b.find(".elementor-accordion-title"),e=d.filter(".active"),f=function(a){var b=d.filter('[data-section="'+a+'"]'),c=b.hasClass("active");e.removeClass("active").next().slideUp(),c||(b.addClass("active").next().slideDown(),e=b)};c||(c=1),f(c),d.on("click",function(){f(this.dataset.section)})}),d.addBindEvent("toggle",function(){var b=a(this).find(".elementor-toggle-title");b.on("click",function(){var b=a(this),c=b.next();b.hasClass("active")?(b.removeClass("active"),c.slideUp()):(b.addClass("active"),c.slideDown())})}),d.addBindEvent("image-carousel",function(){var b=a(this).find(".elementor-image-carousel");if(b.length){var c={responsive:[{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]},d=a.extend({},c,b.data("slider_options"));b.slick(d)}}),d.addBindEvent("alert",function(){a(this).find(".elementor-alert-dismiss").on("click",function(){a(this).parent().fadeOut()})}),d.addBindEvent("section",function(){var b,d={backgroundVideoContainer:this.find(".elementor-background-video-container")},f=!1;if(d.backgroundVideoContainer.length){d.backgroundVideo=d.backgroundVideoContainer.children(".elementor-background-video");var g=function(){var a=d.backgroundVideoContainer.outerWidth(),b=d.backgroundVideoContainer.outerHeight(),c="16:9",e=c.split(":"),f=e[0]/e[1],g=a/f,h=b*f,i=a/b>f;return{width:i?a:h,height:i?g:b}},h=function(){var c=f?a(b.getIframe()):d.backgroundVideo,e=g();c.width(e.width).height(e.height)},i=function(a,c){b=new a.Player(d.backgroundVideo[0],{videoId:c,events:{onReady:function(){b.mute(),h(),b.playVideo()},onStateChange:function(c){c.data===a.PlayerState.ENDED&&b.seekTo(0)}},playerVars:{controls:0,showinfo:0}})},j=d.backgroundVideo.data("video-id");j?(f=!0,e(function(a){setTimeout(function(){i(a,j)},1)})):d.backgroundVideo.one("canplay",h),a(c).on("resize",h)}}),d.addBindEvent("video",function(){var b=a(this),c=b.find(".elementor-custom-embed-image-overlay"),d=b.find("iframe");c.length&&c.on("click",function(){c.remove();var a=d[0].src;a=a.replace("&autoplay=0",""),d[0].src=a+"&autoplay=1"})}),d.addBindEvent("menu-anchor",function(){if(!d.isEditorMode()){var b=this.find(".elementor-menu-anchor"),c=b.attr("id"),e=a('a[href*="#'+c+'"]'),f=a("html, body"),g=a("#wpadminbar").height();e.on("click",function(a){var c=location.pathname===this.pathname,d=location.hostname===this.hostname;d&&c&&(a.preventDefault(),f.animate({scrollTop:b.offset().top-g},1e3))})}}),b.elementorBindUI=d}(jQuery,window),jQuery(function(a){var b=document.createElement("script"),c=document.getElementsByTagName("script")[0];b.src="https://www.youtube.com/iframe_api",c.parentNode.insertBefore(b,c),a(".elementor-element").each(function(){elementorBindUI.runReadyTrigger(a(this))})});
|
elementor.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Description: The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
|
5 |
* Plugin URI: https://elementor.com/
|
6 |
* Author: Elementor.com
|
7 |
-
* Version: 0.6.
|
8 |
* Author URI: https://elementor.com/
|
9 |
*
|
10 |
* Text Domain: elementor
|
@@ -22,7 +22,7 @@
|
|
22 |
|
23 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
24 |
|
25 |
-
define( 'ELEMENTOR_VERSION', '0.6.
|
26 |
|
27 |
define( 'ELEMENTOR__FILE__', __FILE__ );
|
28 |
define( 'ELEMENTOR_PLUGIN_BASE', plugin_basename( ELEMENTOR__FILE__ ) );
|
4 |
* Description: The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
|
5 |
* Plugin URI: https://elementor.com/
|
6 |
* Author: Elementor.com
|
7 |
+
* Version: 0.6.6
|
8 |
* Author URI: https://elementor.com/
|
9 |
*
|
10 |
* Text Domain: elementor
|
22 |
|
23 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
24 |
|
25 |
+
define( 'ELEMENTOR_VERSION', '0.6.6' );
|
26 |
|
27 |
define( 'ELEMENTOR__FILE__', __FILE__ );
|
28 |
define( 'ELEMENTOR_PLUGIN_BASE', plugin_basename( ELEMENTOR__FILE__ ) );
|
includes/api.php
CHANGED
@@ -16,7 +16,7 @@ class Api {
|
|
16 |
* @return array|bool
|
17 |
*/
|
18 |
private static function _get_info_data( $force = false ) {
|
19 |
-
$cache_key = '
|
20 |
$info_data = get_transient( $cache_key );
|
21 |
|
22 |
if ( $force || false === $info_data ) {
|
16 |
* @return array|bool
|
17 |
*/
|
18 |
private static function _get_info_data( $force = false ) {
|
19 |
+
$cache_key = 'elementor_remote_info_api_data_' . Plugin::instance()->get_version();
|
20 |
$info_data = get_transient( $cache_key );
|
21 |
|
22 |
if ( $force || false === $info_data ) {
|
includes/widgets/social-icons.php
CHANGED
@@ -295,8 +295,10 @@ class Widget_Social_Icons extends Widget_Base {
|
|
295 |
$has_link = ! empty( $item['link']['url'] );
|
296 |
$social = str_replace( 'fa fa-', '', $item['social'] );
|
297 |
|
298 |
-
if ( $has_link ) :
|
299 |
-
|
|
|
|
|
300 |
<?php endif; ?>
|
301 |
<div class="elementor-icon elementor-social-icon elementor-social-icon-<?php echo esc_attr( $social ); ?>">
|
302 |
<i class="<?php echo $item['social']; ?>"></i>
|
295 |
$has_link = ! empty( $item['link']['url'] );
|
296 |
$social = str_replace( 'fa fa-', '', $item['social'] );
|
297 |
|
298 |
+
if ( $has_link ) :
|
299 |
+
$target = ! empty( $item['link']['is_external'] ) ? ' target="_blank"' : '';
|
300 |
+
?>
|
301 |
+
<a class="elementor-social-icon-link" href="<?php echo esc_attr( $item['link']['url'] ); ?>"<?php echo $target; ?>>
|
302 |
<?php endif; ?>
|
303 |
<div class="elementor-icon elementor-social-icon elementor-social-icon-<?php echo esc_attr( $social ); ?>">
|
304 |
<i class="<?php echo $item['social']; ?>"></i>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: pojo.me, KingYes, ariel.k, jzaltzberg, yehudah
|
|
3 |
Tags: page builder, editor, builder, visual editor, front-end editor, design, drag and drop builder, front-end builder, landing page, page builder plugin, site builder, template builder, visual builder, website builder, wysiwyg
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 4.5
|
6 |
-
Stable tag: 0.6.
|
7 |
License: GPLv3
|
8 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -155,6 +155,13 @@ No. Elementor supports WordPress 4.4 or greater, and is compatible with PHP 5.4
|
|
155 |
|
156 |
== Changelog ==
|
157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
= 0.6.5 - 08.08.2016 =
|
159 |
* Tweak! - Added border and box shadow controls for Image widget
|
160 |
* Tweak! - In new page don't create empty section
|
3 |
Tags: page builder, editor, builder, visual editor, front-end editor, design, drag and drop builder, front-end builder, landing page, page builder plugin, site builder, template builder, visual builder, website builder, wysiwyg
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 4.5
|
6 |
+
Stable tag: 0.6.6
|
7 |
License: GPLv3
|
8 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
155 |
|
156 |
== Changelog ==
|
157 |
|
158 |
+
= 0.6.6 - 11.08.2016 =
|
159 |
+
* Tweak! - Improved Drag & Drop area to new section
|
160 |
+
* Tweak! - Make changes in new section
|
161 |
+
* Fixed! - Resize columns with Widgets using iframe (YouTube, Google Maps, etc)
|
162 |
+
* Fixed! - Adding columns widget in 'Add new Section' area
|
163 |
+
* Fixed! - Allow blank target link for social-icons widget
|
164 |
+
|
165 |
= 0.6.5 - 08.08.2016 =
|
166 |
* Tweak! - Added border and box shadow controls for Image widget
|
167 |
* Tweak! - In new page don't create empty section
|