text: /*! elementor - v2.2.7 - 24-10-2018 */
  !function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=164)}({1:function(t,e,n){"use strict";var o;o=n(2).extend({elements:null,getDefaultElements:function(){return{}},bindEvents:function(){},onInit:function(){this.initElements(),this.bindEvents()},initElements:function(){this.elements=this.getDefaultElements()}}),t.exports=o},14:function(t,e,n){"use strict";var o;o=Marionette.LayoutView.extend({className:"elementor-templates-modal__header",template:"#tmpl-elementor-templates-modal__header",regions:{logoArea:".elementor-templates-modal__header__logo-area",tools:"#elementor-template-library-header-tools",menuArea:".elementor-templates-modal__header__menu-area"},ui:{closeModal:".elementor-templates-modal__header__close"},events:{"click @ui.closeModal":"onCloseModalClick"},templateHelpers:function(){return{closeType:this.getOption("closeType")}},onCloseModalClick:function(){this._parent._parent._parent.hideModal()}}),t.exports=o},15:function(t,e,n){"use strict";var o;o=Marionette.ItemView.extend({id:"elementor-template-library-loading",template:"#tmpl-elementor-template-library-loading"}),t.exports=o},164:function(t,e,n){"use strict";var o=n(1),i=n(165),r=o.extend({getDefaultSettings:function(){return{selectors:{addButton:".page-title-action:first, #elementor-template-library-add-new"}}},getDefaultElements:function(){var t=this.getSettings("selectors");return{$addButton:jQuery(t.addButton)}},bindEvents:function(){this.elements.$addButton.on("click",this.onAddButtonClick)},onInit:function(){o.prototype.onInit.apply(this,arguments),this.layout=new i},onAddButtonClick:function(t){t.preventDefault(),this.layout.showModal()}});jQuery(function(){window.elementorNewTemplate=new r})},165:function(t,e,n){"use strict";var o=n(8),i=n(166);t.exports=o.extend({getModalOptions:function(){return{id:"elementor-new-template-modal"}},getLogoOptions:function(){return{title:elementorAdmin.config.i18n.new_template}},initialize:function(){o.prototype.initialize.apply(this,arguments),this.showLogo(),this.showContentView()},getDialogsManager:function(){return elementorAdmin.getDialogsManager()},showContentView:function(){this.modalContent.show(new i)}})},166:function(t,e,n){"use strict";t.exports=Marionette.ItemView.extend({id:"elementor-new-template-dialog-content",template:"#tmpl-elementor-new-template",ui:{},events:{},onRender:function(){}})},2:function(t,e,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){var t,e=jQuery,n=arguments,i=this,r={};this.getItems=function(t,e){if(e){var n=e.split("."),o=n.splice(0,1);if(!n.length)return t[o];if(!t[o])return;return this.getItems(t[o],n.join("."))}return t},this.getSettings=function(e){return this.getItems(t,e)},this.setSettings=function(n,r,l){if(l||(l=t),"object"===(void 0===n?"undefined":o(n)))return e.extend(l,n),i;var a=n.split("."),s=a.splice(0,1);return a.length?(l[s]||(l[s]={}),i.setSettings(a.join("."),r,l[s])):(l[s]=r,i)},this.forceMethodImplementation=function(t){var e=t.callee.name;throw new ReferenceError("The method "+e+" must to be implemented in the inheritor child.")},this.on=function(t,n){return"object"===(void 0===t?"undefined":o(t))?(e.each(t,function(t){i.on(t,this)}),i):(t.split(" ").forEach(function(t){r[t]||(r[t]=[]),r[t].push(n)}),i)},this.off=function(t,e){if(!r[t])return i;if(!e)return delete r[t],i;var n=r[t].indexOf(e);return-1!==n&&delete r[t][n],i},this.trigger=function(t){var n="on"+t[0].toUpperCase()+t.slice(1),o=Array.prototype.slice.call(arguments,1);i[n]&&i[n].apply(i,o);var l=r[t];return l?(e.each(l,function(t,e){e.apply(i,o)}),i):i},i.__construct.apply(i,n),e.each(i,function(t){var e=i[t];"function"==typeof e&&(i[t]=function(){return e.apply(i,arguments)})}),function(){t=i.getDefaultSettings();var o=n[0];o&&e.extend(t,o)}(),i.trigger("init")};i.prototype.__construct=function(){},i.prototype.getDefaultSettings=function(){return{}},i.extendsCount=0,i.extend=function(t){var e=jQuery,n=this,o=function(){return n.apply(this,arguments)};e.extend(o,n),(o.prototype=Object.create(e.extend({},n.prototype,t))).constructor=o;var r=++i.extendsCount;return o.prototype.getConstructorID=function(){return r},o.__super__=n.prototype,o},t.exports=i},8:function(t,e,n){"use strict";var o=n(14),i=n(9),r=n(15);t.exports=Marionette.LayoutView.extend({el:function(){return this.modal.getElements("widget")},modal:null,regions:function(){return{modalHeader:".dialog-header",modalContent:".dialog-lightbox-content",modalLoading:".dialog-lightbox-loading"}},constructor:function(){this.initModal(),Marionette.LayoutView.prototype.constructor.apply(this,arguments)},initialize:function(){this.modalHeader.show(new o(this.getHeaderOptions()))},initModal:function(){var t={className:"elementor-templates-modal",closeButton:!1,hide:{onOutsideClick:!1}};jQuery.extend(!0,t,this.getModalOptions()),this.modal=this.getDialogsManager().createWidget("lightbox",t),this.modal.getElements("message").append(this.modal.addElement("content"),this.modal.addElement("loading"))},getDialogsManager:function(){return elementor.dialogsManager},showModal:function(){this.modal.show()},hideModal:function(){this.modal.hide()},getModalOptions:function(){return{}},getLogoOptions:function(){return{}},getHeaderOptions:function(){return{}},getHeaderView:function(){return this.modalHeader.currentView},showLoadingView:function(){this.modalLoading.show(new r),this.modalLoading.$el.show(),this.modalContent.$el.hide()},hideLoadingView:function(){this.modalContent.$el.show(),this.modalLoading.$el.hide()},showLogo:function(){this.getHeaderView().logoArea.show(new i(this.getLogoOptions()))}})},9:function(t,e,n){"use strict";t.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-templates-modal__header__logo",className:"elementor-templates-modal__header__logo",events:{click:"onClick"},templateHelpers:function(){return{title:this.getOption("title")}},onClick:function(){var t=this.getOption("click");t&&t()}})}});