Post and Page Builder by BoldGrid – Visual Drag and Drop Editor - Version 1.7.1

Version Description

Release Date: March 8th, 2018

  • Bug Fix: Fixed compatibility issues on older WordPress Versions.
  • Bug Fix: Fixed default category displayed for users with inspiration installs.
  • Bug Fix: Typo in Connect Key prompt.
Download this release

Release Info

Developer rramo012
Plugin Icon 128x128 Post and Page Builder by BoldGrid – Visual Drag and Drop Editor
Version 1.7.1
Comparing to
See all releases

Code changes from version 1.7.0 to 1.7.1

assets/js/builder/connect-key/enter-key.html CHANGED
@@ -6,7 +6,7 @@
6
<h2><%= ( 'basic' === license ) ? 'Free' : 'Premium' %> BoldGrid Connect Key</h2>
7
<p>
8
<% if ( 'basic' === license ) { %>
9
- Thank your for adding your Connect Key. Try upgrading to a Premium subscription for full access to BoldGrid!
10
<% } else if ( 'premium' === license ) { %>
11
You already have a Premium Connect key saved on this site. If needed you can change your Connect Key with the link below.
12
<% } %>
@@ -48,7 +48,7 @@
48
<h2>Successfully Saved Your Connect Key!</h2>
49
<p>
50
<span class="post-add-message basic-key">
51
- Thank your for adding your Connect Key.
52
Try upgrading to a Premium subscription for full access to BoldGrid! To find out more, please see:
53
<a target="_blank" href="<%=newKeyLink %>">BoldGrid Connect Keys</a>
54
</span>
6
<h2><%= ( 'basic' === license ) ? 'Free' : 'Premium' %> BoldGrid Connect Key</h2>
7
<p>
8
<% if ( 'basic' === license ) { %>
9
+ Thank you for adding your Connect Key. Try upgrading to a Premium subscription for full access to BoldGrid!
10
<% } else if ( 'premium' === license ) { %>
11
You already have a Premium Connect key saved on this site. If needed you can change your Connect Key with the link below.
12
<% } %>
48
<h2>Successfully Saved Your Connect Key!</h2>
49
<p>
50
<span class="post-add-message basic-key">
51
+ Thank you for adding your Connect Key.
52
Try upgrading to a Premium subscription for full access to BoldGrid! To find out more, please see:
53
<a target="_blank" href="<%=newKeyLink %>">BoldGrid Connect Keys</a>
54
</span>
assets/js/builder/connect-key/prompt.js CHANGED
@@ -1,4 +1,5 @@
1
- var BG = BOLDGRID.EDITOR;
2
3
import enterKeyHtml from './enter-key.html';
4
1
+ var BG = BOLDGRID.EDITOR,
2
+ $ = window.jQuery;
3
4
import enterKeyHtml from './enter-key.html';
5
assets/js/builder/gridblock/industry.js CHANGED
@@ -129,7 +129,8 @@ export class Industry {
129
*/
130
_setDefault() {
131
const inspirationCategory = this._getInspirationsCategory(),
132
- defaultCategory = BoldgridEditor.block_default_industry || inspirationCategory;
133
134
if ( this.$select.find( '[value="' + defaultCategory + '"]' ).length ) {
135
@@ -155,7 +156,7 @@ export class Industry {
155
let category;
156
157
if ( BoldgridEditor.inspiration && BoldgridEditor.inspiration.subcategory_key ) {
158
- category = BoldgridEditor.inspiration.subcategory_key;
159
}
160
161
if ( 'property_management' === category ) {
129
*/
130
_setDefault() {
131
const inspirationCategory = this._getInspirationsCategory(),
132
+ defaultCategory =
133
+ BoldgridEditor.block_default_industry || inspirationCategory || this.defaults.selection;
134
135
if ( this.$select.find( '[value="' + defaultCategory + '"]' ).length ) {
136
156
let category;
157
158
if ( BoldgridEditor.inspiration && BoldgridEditor.inspiration.subcategory_key ) {
159
+ category = BoldgridEditor.inspiration.subcategory_key.toLowerCase();
160
}
161
162
if ( 'property_management' === category ) {
assets/js/builder/view.js CHANGED
@@ -1,3 +1,5 @@
1
export class View {
2
3
/**
1
+ var $ = window.jQuery;
2
+
3
export class View {
4
5
/**
assets/js/editor.min.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(e){function o(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,o),r.l=!0,r.exports}var n={};return o.m=e,o.c=n,o.d=function(e,n,a){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},o.n=function(e){var n=e&&e.__esModule?function(){return e['default']}:function(){return e};return o.d(n,'a',n),n},o.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},o.p='/',o(o.s='./assets/js/index.js')})({"./assets/css/font-family-controls.min.css":function(){},"./assets/image/icons/customize-nav/animation.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny" x="0px" y="0px" viewBox="0 0 56.693 70.86625" xml:space="preserve"><path d="M46.39,36.714c-3.367,0-6.107-2.74-6.107-6.108c0-3.367,2.74-6.107,6.107-6.107c3.368,0,6.108,2.74,6.108,6.107 C52.498,33.974,49.758,36.714,46.39,36.714z M46.39,27.676c-1.615,0-2.929,1.314-2.929,2.929c0,1.615,1.314,2.93,2.929,2.93 s2.93-1.314,2.93-2.93C49.319,28.99,48.005,27.676,46.39,27.676z M22.127,38.875c-0.111-0.869,0.508-1.663,1.377-1.775l0,0 c0.869-0.106,1.664,0.514,1.775,1.383l0,0l0,0l0,0c0.106,0.874-0.508,1.663-1.383,1.774l0,0c-0.064,0.006-0.132,0.011-0.196,0.011 l0,0C22.911,40.268,22.222,39.68,22.127,38.875z M21.084,33.964L21.084,33.964c-0.255-0.842,0.222-1.727,1.065-1.981l0,0 c0.837-0.255,1.721,0.222,1.981,1.065l0,0c0.249,0.837-0.222,1.727-1.065,1.975l0,0c-0.154,0.048-0.307,0.069-0.461,0.069l0,0 C21.921,35.093,21.29,34.653,21.084,33.964z M19.23,29.298L19.23,29.298c-0.387-0.784-0.069-1.738,0.715-2.13l0,0 c0.789-0.392,1.743-0.074,2.135,0.715l0,0l0,0l0,0c0.386,0.784,0.069,1.737-0.715,2.129l0,0c-0.228,0.111-0.471,0.165-0.71,0.165 l0,0C20.072,30.177,19.51,29.854,19.23,29.298z M16.624,25.007L16.624,25.007c-0.519-0.71-0.361-1.705,0.35-2.219l0,0 c0.71-0.519,1.7-0.36,2.219,0.344l0,0c0.519,0.71,0.36,1.706-0.35,2.225l0,0c-0.28,0.201-0.609,0.302-0.932,0.302l0,0 C17.419,25.659,16.937,25.431,16.624,25.007z M13.335,21.209c-0.625-0.614-0.636-1.621-0.021-2.251l0,0 c0.609-0.625,1.615-0.635,2.246-0.026l0,0c0.625,0.615,0.636,1.621,0.027,2.251l0,0c-0.313,0.318-0.726,0.477-1.139,0.477l0,0 C14.044,21.66,13.647,21.512,13.335,21.209z M9.462,18.005c-0.72-0.498-0.9-1.488-0.402-2.209l0,0c0.503-0.72,1.494-0.9,2.214-0.402 l0,0c0.72,0.503,0.9,1.494,0.397,2.214l0,0c-0.307,0.445-0.8,0.683-1.303,0.683l0,0C10.056,18.291,9.738,18.201,9.462,18.005z M5.109,15.5c-0.795-0.376-1.133-1.319-0.763-2.114l0,0c0.371-0.795,1.319-1.139,2.114-0.768l0,0c0,0,0,0,0,0.005l0,0 c0.795,0.371,1.133,1.319,0.763,2.114l0,0c-0.27,0.572-0.842,0.911-1.441,0.911l0,0C5.559,15.648,5.326,15.6,5.109,15.5z M22.821,43.758c-0.62-0.625-0.614-1.631,0.006-2.251l0,0l0,0l0,0c0.625-0.615,1.631-0.615,2.251,0.011l0,0 c0.615,0.625,0.609,1.626-0.011,2.245l0,0c-0.307,0.307-0.715,0.461-1.117,0.461l0,0C23.536,44.224,23.128,44.071,22.821,43.758z M26.704,40.157c-0.509-0.721-0.334-1.711,0.382-2.22l0,0c0.72-0.503,1.711-0.328,2.214,0.387l0,0 c0.508,0.715,0.334,1.711-0.381,2.214l0,0c-0.281,0.196-0.598,0.291-0.917,0.291l0,0C27.504,40.829,27.011,40.591,26.704,40.157z M31.137,37.254c-0.381-0.795-0.048-1.743,0.747-2.119l0,0c0.789-0.381,1.737-0.048,2.119,0.747l0,0 c0.376,0.789,0.042,1.738-0.747,2.119l0,0c-0.222,0.106-0.455,0.154-0.688,0.154l0,0C31.974,38.154,31.408,37.82,31.137,37.254z M35.984,35.125c-0.238-0.842,0.249-1.722,1.091-1.965l0,0l0,0l0,0c0.842-0.244,1.722,0.244,1.965,1.091l0,0 c0.244,0.842-0.244,1.722-1.086,1.965h-0.005c-0.143,0.042-0.291,0.058-0.435,0.058l0,0C36.821,36.274,36.185,35.824,35.984,35.125z "></path></svg>'},"./assets/image/icons/customize-nav/background-color.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M89.691,49.851c0.056-0.609-0.127-1.217-0.523-1.688L55.216,7.299c-0.813-0.983-2.271-1.114-3.256-0.302l-6.685,5.56 c-13.468-2.367-24.385,1.029-26.057,8.193c-0.782,3.392,0.74,6.969,3.922,10.195L1.917,48.582 c-0.985,0.817-1.114,2.271-0.301,3.254L35.568,92.7c0.396,0.478,0.963,0.765,1.575,0.823c0.064,0.006,0.139,0.012,0.203,0.012 c0.547,0,1.061-0.188,1.479-0.531l50.045-41.585C89.337,51.022,89.64,50.46,89.691,49.851z M23.718,21.793 c0.804-3.431,7.467-5.982,16.713-5.22l-13.723,11.41C24.436,25.793,23.311,23.581,23.718,21.793z M83.342,50.004L7.38,50.049 l19.381-16.103c3.889,2.722,9.021,4.992,14.944,6.363c3.718,0.869,7.406,1.289,10.832,1.289c3.439,0,6.567-0.466,9.269-1.302 c0.419,0.316,0.87,0.597,1.402,0.757c2.42,0.738,4.982-0.631,5.724-3.052c0.737-2.423-0.621-4.987-3.056-5.725 c-2.421-0.736-4.982,0.63-5.72,3.054c-0.077,0.229-0.033,0.46-0.064,0.693c-4.554,1.306-10.907,1.281-17.346-0.211 c-4.972-1.155-9.116-2.944-12.29-4.936l22.682-18.848l31.004,37.311L83.342,50.004z M90.263,50.445c0,0-8.66,19.28-8.66,24.057 c0,4.779,3.879,8.657,8.66,8.657c4.785,0,8.655-3.878,8.655-8.657C98.918,69.725,90.263,50.445,90.263,50.445z"></path></g></svg>'},"./assets/image/icons/customize-nav/block-align.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><switch><g xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" i:extraneous="self"><g><rect x="86.6" y="9.1" width="8.4" height="81.8"></rect><rect x="29.6" y="54.2" width="48.5" height="26.2"></rect><rect x="5" y="19.5" width="73.1" height="26.2"></rect></g></g></switch></svg>'},"./assets/image/icons/customize-nav/border-radius.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M72.5,50V40c0-6.9-5.6-12.5-12.5-12.5H50v-20C50,6.1,48.9,5,47.5,5h-40C6.1,5,5,6.1,5,7.5v40C5,48.9,6.1,50,7.5,50h20v10 c0,6.9,5.6,12.5,12.5,12.5h10C50,84.9,60.1,95,72.5,95S95,84.9,95,72.5S84.9,50,72.5,50z M27.5,40v5H10V10h35v17.5h-5 C33.1,27.5,27.5,33.1,27.5,40z M40,67.5c-4.1,0-7.5-3.4-7.5-7.5V40c0-4.1,3.4-7.5,7.5-7.5h20c4.1,0,7.5,3.4,7.5,7.5v10.6 c-8.4,1.9-15,8.5-16.9,16.9H40z M72.5,90C62.9,90,55,82.1,55,72.5S62.9,55,72.5,55S90,62.9,90,72.5S82.1,90,72.5,90z"></path></svg>'},"./assets/image/icons/customize-nav/border.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125" x="0px" y="0px"><g data-name="Layer 2"><path d="M92.087,85.3913a1.91314,1.91314,0,0,0-1.913,1.913v2.86957H87.30435a1.913,1.913,0,1,0,0,3.82609H92.087A1.91314,1.91314,0,0,0,94,92.087V87.30435A1.91314,1.91314,0,0,0,92.087,85.3913Z"></path><path d="M73.85,94h6.11557a1.913,1.913,0,1,0,0-3.82609H73.85A1.913,1.913,0,0,0,73.85,94Z"></path><path d="M60.3961,94h6.11557a1.913,1.913,0,0,0,0-3.82609H60.3961a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M33.48832,94H39.6039a1.913,1.913,0,0,0,0-3.82609H33.48832a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M46.94221,94h6.11557a1.913,1.913,0,1,0,0-3.82609H51.913V87.30435a1.913,1.913,0,1,0-3.82609,0v2.86957H46.94221a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M26.14954,90.17391H20.03443a1.913,1.913,0,0,0,0,3.82609h6.11511a1.913,1.913,0,1,0,0-3.82609Z"></path><path d="M7.913,94h4.78261a1.913,1.913,0,1,0,0-3.82609H9.82609V87.30435a1.913,1.913,0,1,0-3.82609,0V92.087A1.91314,1.91314,0,0,0,7.913,94Z"></path><path d="M7.913,81.87908a1.91314,1.91314,0,0,0,1.913-1.913V73.85046a1.913,1.913,0,1,0-3.82609,0V79.966A1.91314,1.91314,0,0,0,7.913,81.87908Z"></path><path d="M7.913,68.42519a1.91314,1.91314,0,0,0,1.913-1.913V60.39657a1.913,1.913,0,0,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,68.42519Z"></path><path d="M7.913,54.97036a1.91314,1.91314,0,0,0,1.913-1.913V51.913h2.86957a1.913,1.913,0,1,0,0-3.82609H9.82609V46.94175a1.913,1.913,0,0,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,54.97036Z"></path><path d="M7.913,41.51647a1.91314,1.91314,0,0,0,1.913-1.913V33.48786a1.913,1.913,0,1,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,41.51647Z"></path><path d="M7.913,28.06258a1.91314,1.91314,0,0,0,1.913-1.913V20.034A1.913,1.913,0,1,0,6,20.034v6.11557A1.91314,1.91314,0,0,0,7.913,28.06258Z"></path><path d="M7.913,14.6087a1.91314,1.91314,0,0,0,1.913-1.913V9.82609h2.86957a1.913,1.913,0,1,0,0-3.82609H7.913A1.91314,1.91314,0,0,0,6,7.913v4.78261A1.91314,1.91314,0,0,0,7.913,14.6087Z"></path><path d="M33.48832,9.82609H39.6039A1.913,1.913,0,1,0,39.6039,6H33.48832a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M26.15,6H20.03443a1.913,1.913,0,1,0,0,3.82609H26.15A1.913,1.913,0,1,0,26.15,6Z"></path><path d="M60.3961,9.82609h6.11557a1.913,1.913,0,1,0,0-3.82609H60.3961a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M73.85046,9.82609h6.11511a1.913,1.913,0,1,0,0-3.82609H73.85046a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M92.087,6H87.30435a1.913,1.913,0,1,0,0,3.82609h2.86957v2.86957a1.913,1.913,0,1,0,3.82609,0V7.913A1.91314,1.91314,0,0,0,92.087,6Z"></path><path d="M92.087,31.57481a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V33.48786A1.91314,1.91314,0,0,0,92.087,31.57481Z"></path><path d="M92.087,18.12092a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,1,0,3.82609,0V20.034A1.91314,1.91314,0,0,0,92.087,18.12092Z"></path><path d="M92.087,71.93742a1.91314,1.91314,0,0,0-1.913,1.913V79.966A1.913,1.913,0,1,0,94,79.966V73.85046A1.91314,1.91314,0,0,0,92.087,71.93742Z"></path><path d="M92.087,58.48353a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V60.39657A1.91314,1.91314,0,0,0,92.087,58.48353Z"></path><path d="M92.087,45.02964a1.91314,1.91314,0,0,0-1.913,1.913V48.087H87.30435a1.913,1.913,0,1,0,0,3.82609h2.86957v1.14521a1.913,1.913,0,0,0,3.82609,0V46.94268A1.91314,1.91314,0,0,0,92.087,45.02964Z"></path><path d="M51.913,9.82609h1.14474a1.913,1.913,0,1,0,0-3.82609H46.94221a1.913,1.913,0,1,0,0,3.82609H48.087v2.86957a1.913,1.913,0,1,0,3.82609,0Z"></path><path d="M51.913,20.034a1.913,1.913,0,1,0-3.82609,0v6.11557a1.913,1.913,0,1,0,3.82609,0Z"></path><path d="M50,31.57481a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V33.48786A1.91314,1.91314,0,0,0,50,31.57481Z"></path><path d="M50,71.93742a1.91314,1.91314,0,0,0-1.913,1.913V79.966a1.913,1.913,0,1,0,3.82609,0V73.85046A1.91314,1.91314,0,0,0,50,71.93742Z"></path><path d="M51.913,60.39657a1.913,1.913,0,0,0-3.82609,0v6.11557a1.913,1.913,0,0,0,3.82609,0Z"></path><path d="M73.85,51.913h6.11557a1.913,1.913,0,1,0,0-3.82609H73.85a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M60.3961,51.913h6.11557a1.913,1.913,0,0,0,0-3.82609H60.3961a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M26.14954,48.087H20.03443a1.913,1.913,0,0,0,0,3.82609h6.11511a1.913,1.913,0,1,0,0-3.82609Z"></path><path d="M46.94221,51.913H48.087v1.14521a1.913,1.913,0,0,0,3.82609,0V51.913h1.14474a1.913,1.913,0,1,0,0-3.82609H51.913V46.94268a1.913,1.913,0,1,0-3.82609,0V48.087H46.94221a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M33.48832,51.913H39.6039a1.913,1.913,0,0,0,0-3.82609H33.48832a1.913,1.913,0,0,0,0,3.82609Z"></path></g></svg>'},"./assets/image/icons/customize-nav/box-shadow.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 30 37.5" xml:space="preserve"><g transform="translate(-30 -740)"><g xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon points="50,748 50,746 36,746 36,760 38,760 38,748 "></polygon><polygon points="54,746 54,748 57,748 57,767 38,767 38,764 36,764 36,769 59,769 59,746 "></polygon><path d="M30,740v23h23v-23H30z M51,761H32v-19h19V761z"></path></g></g></svg>'},"./assets/image/icons/customize-nav/color.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M52.2,9.693L50,7.916l-2.2,1.777c-1.262,1.02-30.898,25.245-30.898,49.291c0,18.251,14.848,33.1,33.099,33.1 s33.099-14.849,33.099-33.1C83.099,34.938,53.462,10.713,52.2,9.693z M23.901,58.984c0-17.244,19.442-36.027,26.099-41.951v68.051 C35.609,85.084,23.901,73.376,23.901,58.984z"></path></g></svg>'},"./assets/image/icons/customize-nav/custom-class.svg":function(e){e.exports='<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512.00001 640.0000124999999" version="1.1" x="0px" y="0px"><g transform="translate(0,-540.36216)"><path style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" clip-path="none" d="M 92.792969 1 C 76.538969 1 63.142578 14.396441 63.142578 30.650391 L 63.142578 481.35156 C 63.142578 497.60556 76.538969 511 92.792969 511 L 419.20703 511 C 435.46103 511 448.85742 497.60556 448.85742 481.35156 L 448.85742 127.44336 L 446.01562 124.54688 L 324.80664 1 L 92.792969 1 z M 92.792969 20.863281 L 310.70508 20.863281 L 310.70508 111.28906 C 310.70508 127.66254 323.99953 141.43364 340.55273 141.43359 L 428.99414 141.43359 L 428.99414 481.35156 C 428.99414 486.94536 424.80083 491.13867 419.20703 491.13867 L 92.792969 491.13867 C 87.199169 491.13867 83.005859 486.94536 83.005859 481.35156 L 83.005859 30.650391 C 83.005859 25.056601 87.199169 20.863281 92.792969 20.863281 z M 330.56836 35.236328 L 415.26953 121.57031 L 340.55273 121.57031 C 335.25823 121.57033 330.56846 116.76328 330.56836 111.28906 L 330.56836 35.236328 z M 124.42188 47.574219 C 124.35287 47.574219 124.2858 47.584938 124.2168 47.585938 L 293.37305 145.24805 C 292.64965 144.11235 291.95757 142.95381 291.32227 141.75781 L 128.19531 47.576172 L 124.42188 47.576172 L 124.42188 47.574219 z M 139.51562 47.574219 L 287.71094 133.13672 C 287.42084 132.22392 287.15176 131.30063 286.91016 130.36523 L 143.51172 47.574219 L 139.51562 47.574219 z M 154.83398 47.574219 L 285.56445 123.05273 C 285.47245 122.24703 285.4017 121.43459 285.3457 120.61719 L 158.83008 47.574219 L 154.83398 47.574219 z M 170.15039 47.574219 L 285.20117 114 L 285.20117 111.69141 L 174.14844 47.574219 L 170.15039 47.574219 z M 185.46875 47.574219 L 285.20117 105.1543 L 285.20117 102.84961 L 189.4668 47.574219 L 185.46875 47.574219 z M 200.78711 47.574219 L 285.20117 96.3125 L 285.20117 94.003906 L 204.7832 47.574219 L 200.78711 47.574219 z M 216.10352 47.574219 L 285.20117 87.466797 L 285.20117 85.162109 L 220.10156 47.574219 L 216.10352 47.574219 z M 231.41992 47.574219 L 285.20117 78.625 L 285.20117 76.316406 L 235.41602 47.574219 L 231.41992 47.574219 z M 246.73828 47.574219 L 285.20117 69.783203 L 285.20117 67.474609 L 250.73438 47.574219 L 246.73828 47.574219 z M 262.05469 47.574219 L 285.20117 60.9375 L 285.20117 58.628906 L 266.05273 47.574219 L 262.05469 47.574219 z M 277.37109 47.574219 L 285.20117 52.095703 L 285.20117 49.787109 L 281.36914 47.574219 L 277.37109 47.574219 z M 116.61719 49.732422 C 115.98099 50.112122 115.36807 50.524734 114.79688 50.990234 L 402.80273 217.26953 L 402.80273 214.96289 L 313.89844 163.63281 C 311.79624 162.60021 309.77201 161.43804 307.84961 160.14062 L 116.61719 49.732422 z M 111.10938 55.400391 C 110.78628 55.982191 110.50557 56.590797 110.25977 57.216797 L 402.80273 226.11328 L 402.80273 223.80664 L 111.10938 55.400391 z M 109.19727 63.136719 L 109.19727 65.445312 L 402.80273 234.95703 L 402.80273 232.65039 L 109.19727 63.136719 z M 109.19727 71.978516 L 109.19727 74.287109 L 402.80273 243.80078 L 402.80273 241.49219 L 109.19727 71.978516 z M 109.19727 80.824219 L 109.19727 83.132812 L 393.25195 247.13086 L 397.25195 247.13086 L 109.19727 80.824219 z M 109.19727 89.666016 L 109.19727 91.974609 L 377.93555 247.13086 L 381.93359 247.13086 L 109.19727 89.666016 z M 109.19727 98.511719 L 109.19727 100.82031 L 362.61719 247.13086 L 366.61523 247.13086 L 109.19727 98.511719 z M 109.19727 107.35352 L 109.19727 109.66211 L 347.29883 247.13086 L 351.29883 247.13086 L 109.19727 107.35352 z M 109.19727 116.19922 L 109.19727 118.50781 L 331.98438 247.13086 L 335.98047 247.13086 L 109.19727 116.19922 z M 109.19727 125.04102 L 109.19727 127.34961 L 316.66602 247.13086 L 320.66211 247.13086 L 109.19727 125.04102 z M 109.19727 133.88672 L 109.19727 136.19531 L 301.34766 247.13086 L 305.34375 247.13086 L 109.19727 133.88672 z M 109.19727 142.72852 L 109.19727 145.03711 L 286.03125 247.13086 L 290.02734 247.13086 L 109.19727 142.72852 z M 109.19727 151.57031 L 109.19727 153.87891 L 270.71484 247.13086 L 274.71289 247.13086 L 109.19727 151.57031 z M 109.19727 160.41602 L 109.19727 162.72461 L 255.39453 247.13086 L 259.39258 247.13086 L 109.19727 160.41602 z M 334.31641 168.88672 L 402.80273 208.42578 L 402.80273 206.12109 L 338.4375 168.95703 L 337.0957 168.95703 C 336.1621 168.95703 335.23631 168.93332 334.31641 168.88672 z M 349.75586 168.95703 L 402.80273 199.58398 L 402.80273 197.27539 L 353.75391 168.95703 L 349.75586 168.95703 z M 365.07422 168.95703 L 402.80273 190.74023 L 402.80273 188.43359 L 369.07031 168.95703 L 365.07422 168.95703 z M 380.39062 168.95703 L 402.80273 181.89648 L 402.80273 179.58789 L 384.38867 168.95703 L 380.39062 168.95703 z M 395.70898 168.95703 L 402.80273 173.05273 L 402.80273 170.74609 L 399.70703 168.95703 L 395.70898 168.95703 z M 109.19727 169.25781 L 109.19727 171.56641 L 240.07812 247.13086 L 244.07617 247.13086 L 109.19727 169.25781 z M 109.19727 178.10352 L 109.19727 180.41211 L 224.75781 247.13086 L 228.75781 247.13086 L 109.19727 178.10352 z M 109.19727 186.94531 L 109.19727 189.25391 L 209.44336 247.13086 L 213.44141 247.13086 L 109.19727 186.94531 z M 109.19727 195.79102 L 109.19727 198.09961 L 194.12305 247.13086 L 198.12109 247.13086 L 109.19727 195.79102 z M 109.19727 204.63281 L 109.19727 206.94141 L 178.80859 247.13086 L 182.80664 247.13086 L 109.19727 204.63281 z M 109.19727 213.47852 L 109.19727 215.78516 L 163.49023 247.13086 L 167.48438 247.13086 L 109.19727 213.47852 z M 109.19727 222.32031 L 109.19727 224.62891 L 148.17188 247.13086 L 152.16992 247.13086 L 109.19727 222.32031 z M 109.19727 231.16211 L 109.19727 233.47266 L 132.85352 247.13086 L 136.85547 247.13086 L 109.19727 231.16211 z M 109.19727 240.00586 L 109.19727 242.31641 L 117.53711 247.13086 L 121.53906 247.13086 L 109.19727 240.00586 z M 144.33398 293.35352 C 135.81185 293.35352 128.93652 296.16243 123.70703 301.7793 C 118.47754 307.36849 115.86133 315.22656 115.86133 325.35352 C 115.86133 334.92708 118.46224 342.48177 123.66406 348.01562 C 128.86589 353.52181 135.50651 356.27344 143.58594 356.27344 C 150.11589 356.27344 155.49902 354.66862 159.73242 351.45898 C 163.99349 348.22168 167.03711 343.2832 168.86328 336.64258 L 156.95117 332.86523 C 155.92741 337.31999 154.23861 340.58496 151.88672 342.66016 C 149.53483 344.73535 146.72786 345.77344 143.46289 345.77344 C 139.03581 345.77344 135.4388 344.14193 132.67188 340.87695 C 129.90495 337.61198 128.52148 332.13346 128.52148 324.44141 C 128.52148 317.19206 129.91829 311.94824 132.71289 308.71094 C 135.53516 305.47363 139.20085 303.85547 143.71094 303.85547 C 146.97591 303.85547 149.74284 304.76758 152.01172 306.59375 C 154.30827 308.41992 155.81576 310.91016 156.53516 314.06445 L 168.69727 311.16016 C 167.3138 306.29036 165.23763 302.55404 162.4707 299.95312 C 157.82227 295.55371 151.77702 293.35352 144.33398 293.35352 z M 314.29297 293.35352 C 309.61686 293.35352 305.61719 294.05957 302.29688 295.4707 C 299.00423 296.88184 296.47396 298.94271 294.70312 301.6543 C 292.95996 304.33822 292.08789 307.23112 292.08789 310.33008 C 292.08789 315.14453 293.95605 319.22428 297.69141 322.57227 C 300.34766 324.95182 304.96745 326.95931 311.55273 328.5918 C 316.67155 329.86458 319.94987 330.75 321.38867 331.24805 C 323.49154 331.99512 324.95898 332.88053 325.78906 333.9043 C 326.64681 334.90039 327.07617 336.11784 327.07617 337.55664 C 327.07617 339.79785 326.06478 341.76139 324.04492 343.44922 C 322.05273 345.10938 319.07975 345.93945 315.12305 345.93945 C 311.3877 345.93945 308.41276 344.9987 306.19922 343.11719 C 304.01335 341.23568 302.5612 338.28939 301.8418 334.27734 L 289.88867 335.43945 C 290.69108 342.24609 293.15267 347.43457 297.27539 351.00391 C 301.39811 354.54557 307.30599 356.31641 314.99805 356.31641 C 320.28288 356.31641 324.69661 355.58171 328.23828 354.11523 C 331.77995 352.62109 334.51823 350.35221 336.45508 347.30859 C 338.39193 344.26497 339.36133 341 339.36133 337.51367 C 339.36133 333.66764 338.5446 330.44466 336.91211 327.84375 C 335.30729 325.21517 333.0651 323.1543 330.1875 321.66016 C 327.33757 320.13835 322.92578 318.6709 316.94922 317.25977 C 310.97266 315.84863 307.20964 314.49382 305.66016 313.19336 C 304.44271 312.1696 303.83398 310.9388 303.83398 309.5 C 303.83398 307.92285 304.48275 306.66341 305.7832 305.72266 C 307.80306 304.25618 310.59863 303.52344 314.16797 303.52344 C 317.62663 303.52344 320.21419 304.21419 321.92969 305.59766 C 323.67285 306.95345 324.80632 309.19564 325.33203 312.32227 L 337.61719 311.78125 C 337.4235 306.19206 335.38932 301.72493 331.51562 298.37695 C 327.6696 295.02897 321.92969 293.35352 314.29297 293.35352 z M 371.07031 293.35352 C 366.39421 293.35352 362.39453 294.05957 359.07422 295.4707 C 355.78158 296.88184 353.2513 298.94271 351.48047 301.6543 C 349.7373 304.33822 348.86523 307.23112 348.86523 310.33008 C 348.86523 315.14453 350.7334 319.22428 354.46875 322.57227 C 357.125 324.95182 361.74479 326.95931 368.33008 328.5918 C 373.44889 329.86458 376.72721 330.75 378.16602 331.24805 C 380.26888 331.99512 381.73633 332.88053 382.56641 333.9043 C 383.42415 334.90039 383.85352 336.11784 383.85352 337.55664 C 383.85352 339.79785 382.84212 341.76139 380.82227 343.44922 C 378.83008 345.10938 375.8571 345.93945 371.90039 345.93945 C 368.16504 345.93945 365.1901 344.9987 362.97656 343.11719 C 360.79069 341.23568 359.33854 338.28939 358.61914 334.27734 L 346.66602 335.43945 C 347.46842 342.24609 349.93001 347.43457 354.05273 351.00391 C 358.17546 354.54557 364.08333 356.31641 371.77539 356.31641 C 377.06022 356.31641 381.47396 355.58171 385.01562 354.11523 C 388.55729 352.62109 391.29557 350.35221 393.23242 347.30859 C 395.16927 344.26497 396.13867 341 396.13867 337.51367 C 396.13867 333.66764 395.32194 330.44466 393.68945 327.84375 C 392.08464 325.21517 389.84245 323.1543 386.96484 321.66016 C 384.11491 320.13835 379.70312 318.6709 373.72656 317.25977 C 367.75 315.84863 363.98698 314.49382 362.4375 313.19336 C 361.22005 312.1696 360.61133 310.9388 360.61133 309.5 C 360.61133 307.92285 361.26009 306.66341 362.56055 305.72266 C 364.5804 304.25618 367.37598 303.52344 370.94531 303.52344 C 374.40397 303.52344 376.99154 304.21419 378.70703 305.59766 C 380.4502 306.95345 381.58366 309.19564 382.10938 312.32227 L 394.39453 311.78125 C 394.20085 306.19206 392.16667 301.72493 388.29297 298.37695 C 384.44694 295.02897 378.70703 293.35352 371.07031 293.35352 z M 248.92383 294.39258 L 225.22461 355.23633 L 238.25781 355.23633 L 243.2793 341.41602 L 267.59961 341.41602 L 272.91211 355.23633 L 286.27734 355.23633 L 261.91406 294.39258 L 248.92383 294.39258 z M 179.77734 294.89062 L 179.77734 355.23633 L 222.60938 355.23633 L 222.60938 344.98438 L 192.0625 344.98438 L 192.0625 294.89062 L 179.77734 294.89062 z M 255.27344 308.58594 L 263.6582 331.16406 L 247.05664 331.16406 L 255.27344 308.58594 z M 117.2207 406.13086 L 218.1875 464.42578 L 222.18555 464.42578 L 121.2168 406.13086 L 117.2207 406.13086 z M 132.53906 406.13086 L 233.50586 464.42578 L 237.50391 464.42578 L 136.53516 406.13086 L 132.53906 406.13086 z M 147.85352 406.13086 L 248.82227 464.42578 L 252.81836 464.42578 L 151.85156 406.13086 L 147.85352 406.13086 z M 163.16992 406.13086 L 264.13867 464.42578 L 268.13672 464.42578 L 167.16992 406.13086 L 163.16992 406.13086 z M 178.48828 406.13086 L 279.45703 464.42578 L 283.45508 464.42578 L 182.48633 406.13086 L 178.48828 406.13086 z M 193.80469 406.13086 L 294.77344 464.42578 L 298.77148 464.42578 L 197.80469 406.13086 L 193.80469 406.13086 z M 209.12305 406.13086 L 310.0918 464.42578 L 314.08789 464.42578 L 213.12109 406.13086 L 209.12305 406.13086 z M 224.44141 406.13086 L 325.4082 464.42578 L 329.40625 464.42578 L 228.43945 406.13086 L 224.44141 406.13086 z M 239.75781 406.13086 L 340.72656 464.42578 L 344.72461 464.42578 L 243.75586 406.13086 L 239.75781 406.13086 z M 255.07617 406.13086 L 356.04492 464.42578 L 360.04102 464.42578 L 259.07422 406.13086 L 255.07617 406.13086 z M 270.39453 406.13086 L 371.36328 464.42578 L 375.35938 464.42578 L 274.39258 406.13086 L 270.39453 406.13086 z M 285.70898 406.13086 L 386.67969 464.42578 L 387.57617 464.42578 C 388.48967 464.42578 389.37965 464.32888 390.24805 464.17578 L 289.71094 406.13086 L 285.70898 406.13086 z M 301.02734 406.13086 L 396.71289 461.375 C 397.27969 460.9498 397.82497 460.49489 398.32617 459.99609 L 305.0293 406.13086 L 301.02734 406.13086 z M 316.3457 406.13086 L 401.52539 455.30859 C 401.79489 454.69151 402.02003 454.05159 402.20703 453.39453 L 320.34375 406.13086 L 316.3457 406.13086 z M 331.66211 406.13086 L 402.80273 447.20312 L 402.80273 444.89453 L 335.66211 406.13086 L 331.66211 406.13086 z M 346.98047 406.13086 L 402.80273 438.35938 L 402.80273 436.05078 L 350.98047 406.13086 L 346.98047 406.13086 z M 362.29883 406.13086 L 402.80273 429.51562 L 402.80273 427.20703 L 366.29688 406.13086 L 362.29883 406.13086 z M 377.61719 406.13086 L 402.80273 420.67188 L 402.80273 418.36328 L 381.61523 406.13086 L 377.61719 406.13086 z M 392.93555 406.13086 L 402.80273 411.82812 L 402.80273 409.51953 L 396.93359 406.13086 L 392.93555 406.13086 z M 109.19727 408.03516 L 109.19727 410.3418 L 202.87109 464.42578 L 206.86719 464.42578 L 109.19727 408.03516 z M 109.19727 416.87891 L 109.19727 419.18555 L 187.55273 464.42578 L 191.54883 464.42578 L 109.19727 416.87891 z M 109.19727 425.72266 L 109.19727 428.0293 L 172.23438 464.42578 L 176.23242 464.42578 L 109.19727 425.72266 z M 109.19727 434.56641 L 109.19727 436.87305 L 156.91602 464.42578 L 160.91406 464.42578 L 109.19727 434.56641 z M 109.19727 443.41016 L 109.19727 445.7168 L 141.59961 464.42578 L 145.59766 464.42578 L 109.19727 443.41016 z M 109.55273 452.45703 C 109.76613 453.44144 110.07224 454.3887 110.46484 455.29102 L 126.28125 464.42578 L 130.2793 464.42578 L 109.55273 452.45703 z " transform="translate(0,540.36216)"></path></g></svg>'},"./assets/image/icons/customize-nav/design.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="-949 951 100 125" style="enable-background:new -949 951 100 100;" xml:space="preserve"><switch><g xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" i:extraneous="self"><g><path d="M-853.3,973.6c2-2,2-5.3,0-7.4l-10.9-10.9c-2-2-5.3-2-7.4,0l-4.5,4.5l18.3,18.3L-853.3,973.6z"></path><path d="M-852.1,1027.7l-27.7-27.7l19.4-19.4l-18.3-18.3l-19.4,19.4l-27.7-27.7c-0.7-0.7-1.9-0.7-2.7,0l-17.6,17.6 c-0.4,0.4-0.6,0.8-0.6,1.3s0.2,1,0.6,1.3l27.7,27.7l-22,22c-0.6,0.6-1,1.3-1.1,2.1l-3.6,17.5c-0.2,0.8,0,1.6,0.4,2.2 c0.6,0.9,1.8,1.4,2.8,1.2l17.6-3.6c0.8-0.2,1.6-0.6,2.1-1.1l22-22l27.7,27.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l17.6-17.6 c0.4-0.4,0.6-0.8,0.6-1.3C-851.5,1028.5-851.7,1028-852.1,1027.7z M-924.7,1039.9l-11.1,2.3l-4.3-4.3l2.3-11.1l0.1-0.1l3.8,0.7 l-0.1,3.3c0,0.3,0.2,0.5,0.5,0.5l4.7-0.2l-0.2,4.7c0,0.3,0.2,0.5,0.5,0.5l3.3-0.1L-924.7,1039.9L-924.7,1039.9z M-941.9,973 l14.9-14.9l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4 c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7 c0.4,0.4,0.9,0.6,1.3,0.6c0.5,0,1-0.2,1.3-0.6l7.4-7.4l4.2,4.2l-14.9,14.9L-941.9,973z M-871,1043.9l-26.3-26.3l14.9-14.9 l4.2,4.2l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4 c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7 c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7L-871,1043.9z"></path></g></g></switch></svg>'},"./assets/image/icons/customize-nav/devices.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M93.8,42.6H81.2c-2,0-3.7,1.7-3.7,3.8v1.1v26v0.7c0,2.1,1.7,3.8,3.7,3.8h12.6c2,0,3.7-1.7,3.7-3.8v-0.7v-7.1V49.7v-2.1 v-1.1C97.5,44.3,95.9,42.6,93.8,42.6z M89.1,76.4h-3.6c-0.5,0-1-0.4-1-1s0.4-1,1-1h3.6c0.5,0,1,0.4,1,1S89.7,76.4,89.1,76.4z M94.7,72.8C94.7,72.8,94.6,72.8,94.7,72.8l-14.2,0c0,0-0.1,0-0.1,0V47.8c0,0,0.1,0,0.1,0h14.2c0,0,0,0,0.1,0V72.8z M81.9,29.7 c-0.5-0.2-1-0.3-1.5-0.3l-12.9,0l-12.9,0c-0.5,0-1,0.1-1.5,0.3c-1.4,0.6-2.3,2-2.3,3.6V34v35.3l0,4.8c0,2.2,1.7,3.9,3.8,3.9l6.7,0 c0,0,0,0,0,0l6.2,0l6.2,0c0,0,0,0,0,0l2.2,0c-0.7-1.1-1.2-2.4-1.2-3.8v-2.3h-2.7H54.5c0,0-0.1,0-0.1,0V34.7c0,0,0,0,0,0 c0,0,0.1,0,0.1,0h26.1c0,0,0.1,0,0.1,0v5c0.2,0,0.4,0,0.6,0h2.9v-5.8l0,0v-0.6C84.2,31.7,83.2,30.3,81.9,29.7z M64.9,74.4 c0-0.1,0.1-0.1,0.1-0.2c0.2-0.2,0.4-0.3,0.7-0.3h3.7c0.4,0,0.7,0.2,0.9,0.5c0.1,0.1,0.1,0.3,0.1,0.5s0,0.3-0.1,0.5 c-0.2,0.3-0.5,0.5-0.9,0.5h-3.7c-0.5,0-1-0.5-1-1C64.7,74.8,64.8,74.6,64.9,74.4z M63,26.4v0.3l-1.8,0h-54v33h40.9l0,9.4h-8.6 c0,0.9,0.5,4.8,6.4,5.6h-0.3c0.9,0,1.7,0.8,1.7,1.7c0,0.9-0.8,1.7-1.7,1.7H19.8c-0.9,0-1.7-0.8-1.7-1.7c0-0.9,0.8-1.7,1.7-1.7h-0.2 c5.9-0.7,6.4-4.7,6.4-5.6H6.4c-2.1,0-3.8-1.7-3.9-3.7h0v-0.1c0,0,0,0,0-0.1v-0.3c0,0,0,0,0-0.1v-5.9c0,0,0,0,0-0.1V26.4 c0-2.4,2-4.4,4.4-4.4h51.7C61.1,22,63,24,63,26.4z"></path></g></svg>'},"./assets/image/icons/customize-nav/divider.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 29 37.5" xml:space="preserve"><g transform="translate(-390 -740)"><g xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><rect x="404" y="744" width="1" height="3"></rect><rect x="404" y="748" width="1" height="3"></rect><rect x="404" y="752" width="1" height="3"></rect><rect x="404" y="756" width="1" height="3"></rect><rect x="404" y="760" width="1" height="3"></rect><rect x="404" y="764" width="1" height="3"></rect><polygon points="393,746 402,746 402,745 392,745 392,766 402,766 402,765 393,765 "></polygon><rect x="394" y="747" width="8" height="17"></rect><polygon points="416,765 407,765 407,766 417,766 417,745 407,745 407,746 416,746 "></polygon><rect x="407" y="747" width="8" height="17"></rect></g></g></svg>'},"./assets/image/icons/customize-nav/font-size.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 64 80" enable-background="new 0 0 64 64" xml:space="preserve"><g><g><path d="M36,12H12c-1.104,0-2,0.896-2,2v4c0,1.104,0.896,2,2,2s2-0.896,2-2v-2h8v32h-2c-1.104,0-2,0.896-2,2s0.896,2,2,2h8 c1.104,0,2-0.896,2-2s-0.896-2-2-2h-2V16h8v2c0,1.104,0.896,2,2,2s2-0.896,2-2v-4C38,12.896,37.104,12,36,12z"></path><path d="M50.586,44.586L50,45.172V18.828l0.586,0.586C50.977,19.805,51.488,20,52,20s1.023-0.195,1.414-0.586 c0.781-0.781,0.781-2.047,0-2.828l-4-4c-0.781-0.781-2.047-0.781-2.828,0l-4,4c-0.781,0.781-0.781,2.047,0,2.828 c0.781,0.781,2.047,0.781,2.828,0L46,18.828v26.344l-0.586-0.586c-0.781-0.781-2.047-0.781-2.828,0s-0.781,2.047,0,2.828l4,4 C46.977,51.805,47.488,52,48,52s1.023-0.195,1.414-0.586l4-4c0.781-0.781,0.781-2.047,0-2.828S51.367,43.805,50.586,44.586z"></path></g></g></svg>'},"./assets/image/icons/customize-nav/margin.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M92.5,20h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,20,92.5,20z"></path><path d="M37.5,40h35c1.4,0,2.5-1.1,2.5-2.5S73.9,35,72.5,35h-35c-1.4,0-2.5,1.1-2.5,2.5S36.1,40,37.5,40z"></path><path d="M92.5,50h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,50,92.5,50z"></path><path d="M37.5,70h35c1.4,0,2.5-1.1,2.5-2.5S73.9,65,72.5,65h-35c-1.4,0-2.5,1.1-2.5,2.5S36.1,70,37.5,70z"></path><path d="M92.5,80h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,80,92.5,80z"></path><path d="M5.7,64.3C6.2,64.8,6.9,65,7.5,65s1.3-0.2,1.8-0.7l10-10c1-1,1-2.6,0-3.5l-10-10c-1-1-2.6-1-3.5,0c-1,1-1,2.6,0,3.5l8.2,8.2 l-8.2,8.2C4.8,61.7,4.8,63.3,5.7,64.3z"></path><path d="M30,92.5v-80c0-1.4-1.1-2.5-2.5-2.5S25,11.1,25,12.5v80c0,1.4,1.1,2.5,2.5,2.5S30,93.9,30,92.5z"></path></svg>'},"./assets/image/icons/customize-nav/padding.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M92.5,20h-85C6.1,20,5,21.1,5,22.5S6.1,25,7.5,25h85c1.4,0,2.5-1.1,2.5-2.5S93.9,20,92.5,20z"></path><path d="M92.5,35h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,35,92.5,35z"></path><path d="M92.5,50h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,50,92.5,50z"></path><path d="M92.5,65h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,65,92.5,65z"></path><path d="M92.5,80h-85C6.1,80,5,81.1,5,82.5S6.1,85,7.5,85h85c1.4,0,2.5-1.1,2.5-2.5S93.9,80,92.5,80z"></path><path d="M5.7,64.3C6.2,64.8,6.9,65,7.5,65s1.3-0.2,1.8-0.7l10-10c1-1,1-2.6,0-3.5l-10-10c-1-1-2.6-1-3.5,0c-1,1-1,2.6,0,3.5l8.2,8.2 l-8.2,8.2C4.8,61.7,4.8,63.3,5.7,64.3z"></path></svg>'},"./assets/image/icons/customize-nav/rotate.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path fill="#000000" d="M68,32H32v36h36V32z M64,64H36V36h28V64z"></path><path fill="#000000" d="M64,84c0,1.104,0.896,2,2,2h6c7.72,0,14-6.28,14-14v-9.172l4.586,4.586c0.78,0.781,2.048,0.781,2.828,0 c0.781-0.781,0.781-2.047,0-2.828l-8-8c-0.78-0.781-2.048-0.781-2.828,0l-8,8c-0.781,0.781-0.781,2.047,0,2.828 C74.976,67.805,75.488,68,76,68s1.024-0.195,1.414-0.586L82,62.828V72c0,5.514-4.486,10-10,10h-6C64.896,82,64,82.896,64,84z"></path><path fill="#000000" d="M6.586,35.414l8,8C14.977,43.805,15.488,44,16,44s1.023-0.195,1.414-0.586l8-8 c0.781-0.781,0.781-2.047,0-2.828c-0.781-0.781-2.047-0.781-2.828,0L18,37.172V28c0-5.514,4.486-10,10-10h6c1.104,0,2-0.896,2-2 s-0.896-2-2-2h-6c-7.72,0-14,6.28-14,14v9.172l-4.586-4.586c-0.781-0.781-2.047-0.781-2.828,0 C5.805,33.367,5.805,34.633,6.586,35.414z"></path></g></svg>'},"./assets/image/icons/customize-nav/width.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 24 30" enable-background="new 0 0 24 24" xml:space="preserve"><g><path d="M21.333,23.833H2.667c-1.378,0-2.5-1.121-2.5-2.5V2.667c0-1.379,1.122-2.5,2.5-2.5h18.667c1.378,0,2.5,1.121,2.5,2.5 v18.666C23.833,22.712,22.712,23.833,21.333,23.833z M2.667,1.167c-0.827,0-1.5,0.673-1.5,1.5v18.666c0,0.827,0.673,1.5,1.5,1.5 h18.667c0.827,0,1.5-0.673,1.5-1.5V2.667c0-0.827-0.673-1.5-1.5-1.5H2.667z"></path><g><path d="M18.914,15.494c-0.128,0-0.256-0.049-0.354-0.146c-0.195-0.195-0.195-0.512,0-0.707L21.201,12L18.56,9.359 c-0.195-0.195-0.195-0.512,0-0.707s0.512-0.195,0.707,0l2.994,2.994c0.195,0.195,0.195,0.512,0,0.707l-2.994,2.994 C19.169,15.445,19.042,15.494,18.914,15.494z"></path><path d="M21.908,12.5h-8.346c-0.276,0-0.5-0.224-0.5-0.5s0.224-0.5,0.5-0.5h8.346c0.276,0,0.5,0.224,0.5,0.5 S22.184,12.5,21.908,12.5z"></path></g><g><path d="M5.087,15.494c-0.128,0-0.256-0.049-0.354-0.146l-2.995-2.994C1.645,12.26,1.592,12.133,1.592,12s0.053-0.26,0.146-0.354 l2.995-2.994c0.195-0.195,0.512-0.195,0.707,0s0.195,0.512,0,0.707L2.799,12l2.641,2.641c0.195,0.195,0.195,0.512,0,0.707 C5.343,15.445,5.215,15.494,5.087,15.494z"></path><path d="M10.438,12.5H2.092c-0.276,0-0.5-0.224-0.5-0.5s0.224-0.5,0.5-0.5h8.346c0.276,0,0.5,0.224,0.5,0.5 S10.715,12.5,10.438,12.5z"></path></g></g></svg>'},"./assets/image/notice/plugin-icon-editor.png":function(e){e.exports='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKkAAABbCAYAAAAIj6U9AAANoklEQVR4nO2dabAU1RWAv4chiNtVcYuo5ULcprVIXIgYDTwEREHLJSbRadRoyrXUxFiSxVQlMRHLCtFS0ZgfLj1qQqFxQwwg4IILFTWGnpAY0bhARBG8Irsy+XG6eT09W/dM90zPTH9VU++9ft09h+F73X3vPefeHlJSGkCbxnnATcCOwJ+Ai5Rlr43yPXqiPFlKd6FN4xJgqm/zPGB8lKKmkqbURQVBXSIVNZU0JTQ1BHWZB5ykLHt9o+/Xr9ETpHQXAQUFGAlM06bx5UbfM72SpgRGm4YJ3BfysMeBM5Vlb6z3fVNJUwKhTeMcRNB67r4NiZpKmlKTBgV1qVvUVNKUqmjT6AVmE037pS5R04ZTSi0uIjpPJgDTwzamUklTarEp4vO5om4V9IBU0pRa3Eo8ot4XVNRU0pSqKMt+GTiT6EU9m4Cipg2nlC3obGYc8AdgMPAkcL7K5VcAaNM4BZgO9I/4bR8AJirL/qLSDqmkKQDobKachP8Ajle5vIbWiZre7lMqCQpwODBLZzMKQFn2Y7Tg1p9K2uVUEdTlaEpFPRfYHHEoFUVNJe1iAgjq4hf1QWAi8Yh6rzaNosfQVNIuJYSgLn5R7yceUc8BpnpFTRtOXYjOZnqR1vuAOg5fCIzxNKaiGNcvx53ApcqyC6mkXYYj6BPAwAq7zAOmANOq7NNUUdPbfRcRUNDxKpd/AhgPrKuw39HATJ3NbAOx3vovBn6ZXkm7hBCCrg15zASVy6+B2K6oa1JJu4AAsi0ETlC5/OrQx/b0rAIOVJbtjkxdDNwRQdgu6xN5u9emMUibxq6tjqMTCCjomHKCAqhcfi6Vbv09PQA7AW9o09gFQFn2ncClDQfex+2Ju5Jq0zgCWIC0PAvAKs/rA+B95/Uu8E/g38qyP2tNtMkmhKA6wLnGIknL0mXV41OnUHgWGOc+LoQo2KvGA8DEJEp6IfDHkIe9ByxGPvQXgYXu7adb0dnMMGAOsF2FXQIL6jnnKcDD9PQUjwoVCu53Rc+1DYq6ZTw/iZJug0zbsh+wCzAIuaXsFPJU/0GEnQPMUpa9PMo4k4wj6Cxghwq7hBYUtiSYPAz0SdonqEsUohYlnCRO0ko4Y7q7AfsAewL7A191XkOc7dV4FXgE+IuybDvGUFtKzIJ6R6gKFCr2s89CWv0bnWPDiFqSEdU2ktZCm8b2wFDgCGA4cCwiczkWAXcDOWXZHzUnwvhpoqDzKBTuAO6n8rCqFN2FE/URpFCvKGWvYyQthzaNA4ExwInAKGBr3y6bgD8DN7b71TWAoDYw0k1iDnzeUkFfBE5Qlr02wPi/X9RJwA1V9y1TSdrRknrRprEdMBb4DnAq4K9YfBK4Tln2q82OrVECCtqrcvlQdw1tGhOAh+iTUK7Elr3lShyRqFVLnbtGUi/aNHZG0sIuAw72/KqAPAb8yPsfkWRiFNTffVUiqCeGbyNzk1bqdy936/810vNwN3BltVr8rpTURZtGP6SjehJwjOdX7wFnKct+qSWBBURnM4chrelBFXaJXVBPLLWGRItEDUNXS+pFm8apwM3Avs6mdcApyrLntCyoKjiCzkW66crRNEE9MdUS9R6Vy58fJh5IJS3CeW69Bfi+uwkYqiz7vy0LqgxJFNQTWy1Rd1G5/Mdh4krk2H2rUJb9mbLsC4DfuZuAH7cwpBKSLKjDaqBieTJ1OJdKWp5JwErn+2GtDMRLAEGXIOPnjQq6iDoEDdDSnx42NoAvhT2g03Em07oG2NnZtKyF4WwhoKAjVC7/fqjzmsZIigW1gVExCDoPqTINTSopoE1jADJKNQ44D/CmCd7Wipi8xCjoMGSUxytob9hROJ3NnEBtQYsSqsPQ0ZI6Q6X9kT7ErRH59kD+swcjY/6HAIdS+llsAC5Xlj27aQGXQWczQ4CZxCOot3+1XkF7gceISVBocetem8buwF6IMLsh/X3uayeks9d9uR/mDvQ9Sw+gdKizUdYDDwK/VZb9ZsTnDoUj6Hzk8ylHEgQNVZJSD7FLqk1jH2RU5yDgQOf7/YC9KR2abAWfA68jrdlZwNPKsstmqTeTVNA+IpVUm4YCjgeOQrKRjkSukHGymr4qRY0MbQJsBNYCnwBrnO8/BJY6X5cBbwJvKcv+POYYQ9EBgi5Ekllav9iYk+P5DSTTaDRS6hp4Bl8PHyElIcsReZY721bSVzqyGhFuHbBOWfanjcSeVAIIuhQRNNSjSBlBlwDDlWV/GDK+yEpSghK64eRMf3IckqBxOsUt4WqsRv5y80ht0hLgLeBtZdlrwsbRicQo6FGUCjqiHQSFEFdSZ8jwQuAS5NmyGhuQTPgXgJeQmqN36w2yG4hRUH/3lStouEcFybaaR5MFhQBXUm0a2wJXA1fS18FdjsVITuYMYEEjK6B1Gzqb2Qt4imQLOosWCAo1rqTOMn03Al+psMtrSE3K9KQlYbQLjqDzgQMq7JIUQSMtSQlDWUm1aewB3IWsEuFnPVLbcruy7NfiCqwbSAUNRomkzkP2Y8jIjJeNyPQpNyrL/l+cQXUDAQRdBnwrwYLayHz6q8Kctx6KnkmdZIMZlD57zASuaPUITKcQQNAVwIkRCLoUSRaJQ9DeZggKniup8w983hfYOuAqZdl3NSOYbiCgoL0ql18U6rymcSjwDMWCjgh7YYmrZqoRemDLrCGvUdy1tAIY7yw2lRIBOpsZjIgUtaD+7qt6BT0MeBbYscIuTRcU+m73P6VYUI0Ml4X6sFIqo7OZXZFupiQLOpeECQrQo01jEPAOsK1n+2nKsh9pdjCdiiPoXMCosEtSBI20JCUq+gHfpVjQx1NBoyMVtHH6ASf7tv2+FYF0IgEEXUmyBV0CjG6loCCSfs3z81rkwTmlQQII+ilwUgSCrgBGxyToCJXLfxDmvHHQj+JO+3eqrZabEoyAgo5RuXyonhNtGvtSKmivsuzFIeOLpWYqLvwlzfXkgqZ40NnMIOIRdC9kQmC/oOGuxJJtNZs2ERRE0k88Pw9x+kxT6uce4hF0Pn3dV40IOh/YvcIuiRMURNJ/+X4+rkWxtD06m9ma0oaoSwGZuKHVgkZaktIM+gHP+bZd0IpAOoQNSKlLOXqAC3U2EybRvOsFBZH0Id+2051x/JSQqFy+QPW5o84HpgYRtYmCLkW6mRIpKPSN3b8CfN2zfR6SPVOytERKMc6EsIOBX7nVCDqbqTU/vKxALFKXO6df0E8RQV8JFVtMJSnNxm3d/8K3fSRwbZNjaTucyS2mAj8DpjvzSKFy+TuovircxVS4ojoJ5/MpFnRMtwoKjqTKsmcgV08v12vTOKn5IbUV3rzbCZSKenWVY0tEdZaqnE2poOEaW5IOOJsOEBSK+0l/gEyi4LIV8qEfQ0pQ/KJOAX5SZf8tojqCevtXGxF0Pn0zVvtpK0HBI6my7CXA5b7fDwSeduavTAmGX9TJ1Bb1bqIVNNKaqVZTNOKkLPseYIpvn4HAU9o0JjYrqA4gnKg9PeeSClqRcjM9X4OUKXvpD9yrTeNm94NPqUkwUYtXO95APIKuAMa2o6BQRlJl2ZuBiZSKCjJBxAJtGgeX+V1KKROAac6cWaWili7HPYBC4bQwbxCiZiof5rxJouyc+U4m1ESk9t7PkcDftWlcq02joyfhjYhTgft8ol5XRlD3u2t1NjM5yInjKupLGhUXdlCW/YWy7IuQv/zNvl8PACYDr2rTGBVjfJ3C2RSLej1SmSuULsddU1QnHfCvdLigEGD1EWXZk5G55MutvXMYMEebxpPpUGpNikW17OOABWUEdakoqidf9dAKx3aMoBBwiRxl2bOAw5EO4nKMQx4Bcto0MlEF14H4Rf0mMtdWJUpEjatmKskEXsdJWfYyZJXjS5C5Rsud6xzA1qbxqDaNY6MJsePw3/onUVvU66A7BYU6Z3rWpjEYuAn4Xo1dX0fGtu/vxIlynXKOt+s8/AFgoluu41wxq+VL/AZphFVLqB6tcvmFdcaTWBqdjnw4cCvFGVTlWA1MQ2bje8bp5mp7GpQUZA3O89xsswCiVqKujP92oeGFHZzluM9CMqkOCXDIUkTYR4Hn27nwLwJJwU3bq1/UjhYUIlx9pA5ZQXoMZiATZM1Rlr08qniaQUSSQqmotwGXBTiu4wWFGNZxcmQ9GbgKCJuYsgjpP3wOeEFZ9jsRhxcpEUoKHlGd9L2pSPJJJbpCUIh5sTGn7/RSpIGl6jjFCuBvzmsxsmrJG8qyI1kfqFEilhSCi9o1gkKTlm3UpjEQOANZXHYkjS1hXgDeRYR9C1n/6T3n6/vAcmXZnzUSb1BikBRqi9pVgkIL1hbVprEnIuxZwLExxbAJmWdpJZLIXan7SyH/6VOUZT8a9k1ikhRKRf0hMrHcx8DPVS4fqpSk3Wn1Ari7Is+vE5BV9bZrYThjnZG1wMQoKcCtyrKviOncbUVLJfXiZFQNA0YhDa6jqbxuUBw8rCz7jDAHxCwpyCIak2I8f1uQGEn9aNPojwwSDEdm/huKdG3FlR44U1l2qMLDJkgKcJCy7Ddifo9Ek9h8UGXZm4CXnRcA2jQGIMOCQ5EMrAOAIcD+NL4suX+SjCBsRqZuj4tFSCOxq0nslTQMTt/s3kiF5J5IKe8eztcdgO2drzt6vnf/QFcBtyCTO6STYSSQ/wN53Ls4vhWTywAAAABJRU5ErkJggg=='},"./assets/js/builder recursive \\.jsquot;:function(e,o,n){function a(e){return n(r(e))}function r(e){var o=s[e];if(!(o+1))throw new Error('Cannot find module \''+e+'\'.');return o}var s={"./browser/ie-version.js":'./assets/js/builder/browser/ie-version.js',"./connect-key/prompt.js":'./assets/js/builder/connect-key/prompt.js',"./controls.js":'./assets/js/builder/controls.js',"./controls/add.js":'./assets/js/builder/controls/add.js',"./controls/color.js":'./assets/js/builder/controls/color.js',"./controls/color/palette.js":'./assets/js/builder/controls/color/palette.js',"./controls/container.js":'./assets/js/builder/controls/container.js',"./controls/element/advanced.js":'./assets/js/builder/controls/element/advanced.js',"./controls/element/background.js":'./assets/js/builder/controls/element/background.js',"./controls/element/box.js":'./assets/js/builder/controls/element/box.js',"./controls/element/button.js":'./assets/js/builder/controls/element/button.js',"./controls/element/font.js":'./assets/js/builder/controls/element/font.js',"./controls/element/hr.js":'./assets/js/builder/controls/element/hr.js',"./controls/element/icon.js":'./assets/js/builder/controls/element/icon.js',"./controls/element/image.js":'./assets/js/builder/controls/element/image.js',"./controls/generic.js":'./assets/js/builder/controls/generic.js',"./controls/generic/background-color.js":'./assets/js/builder/controls/generic/background-color.js',"./controls/generic/block-alignment.js":'./assets/js/builder/controls/generic/block-alignment.js',"./controls/generic/border.js":'./assets/js/builder/controls/generic/border.js',"./controls/generic/custom-classes.js":'./assets/js/builder/controls/generic/custom-classes.js',"./controls/generic/font-color.js":'./assets/js/builder/controls/generic/font-color.js',"./controls/generic/font-size.js":'./assets/js/builder/controls/generic/font-size.js',"./controls/generic/link.js":'./assets/js/builder/controls/generic/link.js',"./controls/generic/margin.js":'./assets/js/builder/controls/generic/margin.js',"./controls/generic/rotate.js":'./assets/js/builder/controls/generic/rotate.js',"./controls/generic/width.js":'./assets/js/builder/controls/generic/width.js',"./controls/global.js":'./assets/js/builder/controls/global.js',"./controls/help.js":'./assets/js/builder/controls/help.js',"./controls/image/change.js":'./assets/js/builder/controls/image/change.js',"./controls/image/filter.js":'./assets/js/builder/controls/image/filter.js',"./controls/information.js":'./assets/js/builder/controls/information.js',"./controls/media/edit.js":'./assets/js/builder/controls/media/edit.js',"./controls/media/map.js":'./assets/js/builder/controls/media/map.js',"./controls/section.js":'./assets/js/builder/controls/section.js',"./controls/template.js":'./assets/js/builder/controls/template.js',"./customize/navigation.js":'./assets/js/builder/customize/navigation.js',"./drag.js":'./assets/js/builder/drag.js',"./drag/column.js":'./assets/js/builder/drag/column.js',"./drag/content.js":'./assets/js/builder/drag/content.js',"./drag/placeholder.js":'./assets/js/builder/drag/placeholder.js',"./drag/row.js":'./assets/js/builder/drag/row.js',"./drag/section.js":'./assets/js/builder/drag/section.js',"./feedback.js":'./assets/js/builder/feedback.js',"./gridblock/add.js":'./assets/js/builder/gridblock/add.js',"./gridblock/category.js":'./assets/js/builder/gridblock/category.js',"./gridblock/create.js":'./assets/js/builder/gridblock/create.js',"./gridblock/delete.js":'./assets/js/builder/gridblock/delete.js',"./gridblock/drag.js":'./assets/js/builder/gridblock/drag.js',"./gridblock/fetch-saved.js":'./assets/js/builder/gridblock/fetch-saved.js',"./gridblock/filter.js":'./assets/js/builder/gridblock/filter.js',"./gridblock/generate.js":'./assets/js/builder/gridblock/generate.js',"./gridblock/image.js":'./assets/js/builder/gridblock/image.js',"./gridblock/industry.js":'./assets/js/builder/gridblock/industry.js',"./gridblock/lead.js":'./assets/js/builder/gridblock/lead.js',"./gridblock/loader.js":'./assets/js/builder/gridblock/loader.js',"./gridblock/preview.js":'./assets/js/builder/gridblock/preview.js',"./gridblock/save.js":'./assets/js/builder/gridblock/save.js',"./gridblock/view.js":'./assets/js/builder/gridblock/view.js',"./library/save.js":'./assets/js/builder/library/save.js',"./menu.js":'./assets/js/builder/menu.js',"./notice/base.js":'./assets/js/builder/notice/base.js',"./notice/intro.js":'./assets/js/builder/notice/intro.js',"./notice/update.js":'./assets/js/builder/notice/update.js',"./panel.js":'./assets/js/builder/panel.js',"./popover/actions/clone.js":'./assets/js/builder/popover/actions/clone.js',"./popover/actions/delete.js":'./assets/js/builder/popover/actions/delete.js',"./popover/actions/general.js":'./assets/js/builder/popover/actions/general.js',"./popover/base.js":'./assets/js/builder/popover/base.js',"./popover/column.js":'./assets/js/builder/popover/column.js',"./popover/content.js":'./assets/js/builder/popover/content.js',"./popover/row.js":'./assets/js/builder/popover/row.js',"./popover/section.js":'./assets/js/builder/popover/section.js',"./render-fonts.js":'./assets/js/builder/render-fonts.js',"./resize/row.js":'./assets/js/builder/resize/row.js',"./service.js":'./assets/js/builder/service.js',"./style/remote.js":'./assets/js/builder/style/remote.js',"./style/updater.js":'./assets/js/builder/style/updater.js',"./tinymce/loading.js":'./assets/js/builder/tinymce/loading.js',"./tinymce/width.js":'./assets/js/builder/tinymce/width.js',"./tinymce/wp-mce-draggable.js":'./assets/js/builder/tinymce/wp-mce-draggable.js',"./tooltips.js":'./assets/js/builder/tooltips.js',"./util.js":'./assets/js/builder/util.js',"./validation/section.js":'./assets/js/builder/validation/section.js',"./view.js":'./assets/js/builder/view.js'};a.keys=function(){return Object.keys(s)},a.resolve=r,e.exports=a,a.id='./assets/js/builder recursive \\.js#x27;},"./assets/js/builder/browser/ie-version.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0}),o['default']=function(){var e=window.navigator.userAgent,o,n,a,r;return(a=e.indexOf('MSIE '),0<a)?parseInt(e.substring(a+5,e.indexOf('.',a)),10):(o=e.indexOf('Trident/'),0<o)?(r=e.indexOf('rv:'),parseInt(e.substring(r+3,e.indexOf('.',r)),10)):(n=e.indexOf('Edge/'),0<n?parseInt(e.substring(n+5,e.indexOf('.',n)),10):void 0)}},"./assets/js/builder/connect-key/enter-key.html":function(e){e.exports='<div class=connect-key-entry data-journey="<%= journey %>"> <div class=column> <span class="dashicons dashicons-admin-network"></span> </div> <div class=existing-key> <h2><%= ( \'basic\' === license ) ? \'Free\' : \'Premium\' %> BoldGrid Connect Key</h2> <p> <% if ( \'basic\' === license ) { %> Thank your for adding your Connect Key. Try upgrading to a Premium subscription for full access to BoldGrid! <% } else if ( \'premium\' === license ) { %> You already have a Premium Connect key saved on this site. If needed you can change your Connect Key with the link below. <% } %> </p> <% if ( \'basic\' === license ) { %> <p><a class="button button-primary upgrade-key" target=_blank href="<%=newKeyLink %>">Upgrade</a></p> <% } %> <p> <a class=change-connect-key href=#>Click here to change your Connect Key</a> </p> </div> <div class=upgrade-key-section> <h2>Upgrade Your Connect Key</h2> <p>You were taken to <a target=_blank href=https://www.boldgrid.com/central>BoldGrid Central</a> to upgrade your Connect Key. Once you\'ve finished you\'ll be able to install Premium Blocks. </p> <p> <a class="button button-primary">Okay, Got It!</a> </p> </div> <div class=key-entry> <form> <h2>Enter Your BoldGrid Connect Key</h2> <p>A <a target=_blank href="<%=newKeyLink %>">Connect Key</a> allows you to fully explore BoldGrid features. Please enter your <strong>32 digit BoldGrid Connect Key</strong> below and click submit.</p> <p class=error>You must enter a valid BoldGrid Connect Key.</p> <label><input type=checkbox required name=tos> I agree to the <a href=https://www.boldgrid.com/software-privacy-policy/ target=_blank>Terms of Use and Privacy Policy</a></label> <p> <input type=text name=boldgrid-connect-key required placeholder="XXXXXXXX - XXXXXXXX - XXXXXXXX - XXXXXXXX"> <button class="button button-primary">Submit</button> </p> <p><a target=_blank href="<%=newKeyLink %>">Don\'t have a Connect Key yet?</a></p> </form> </div> <div class=success data-key-type=""> <h2>Successfully Saved Your Connect Key!</h2> <p> <span class="post-add-message basic-key"> Thank your for adding your Connect Key. Try upgrading to a Premium subscription for full access to BoldGrid! To find out more, please see: <a target=_blank href="<%=newKeyLink %>">BoldGrid Connect Keys</a> </span> <span class="post-add-message premium-key"> Congratulations on your new BoldGrid Connect Key. You now have access to Premium Blocks as well as any other premium <a target=_blank href=https://www.boldgrid.com/wordpress-plugins/ >BoldGrid plugins</a> and features. </span> </p> <p> <button class="button button-primary">Okay, Got It!</button> </p> </div> </div> '},"./assets/js/builder/connect-key/prompt.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'ConnectKey',function(){return d});var r=n('./assets/js/builder/connect-key/enter-key.html'),s=n.n(r),l=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),i=BOLDGRID.EDITOR,d=function(){function e(){a(this,e),this.licenseTypes=[],this.activeConfig={},this.newKeyLink=BoldgridEditor.plugin_configs.urls.premium_key+'?source=plugin-add-gridblock',this.config={free:{text:'Add Connect Key',typeAttr:'no-connect-key'},basic:{text:'Get Premium',typeAttr:'basic-connect-key'},premium:{text:'Premium Active',typeAttr:'premium-connect-key'}},this.controlConfig={panel:{title:'BoldGrid Connect',height:'315px',width:'610px',icon:'dashicons dashicons-admin-network',autoCenter:!0,showOverlay:!0}},this.apiKey=BoldgridEditor.boldgrid_settings.api_key}return l(e,[{key:'postLicenseCheck',value:function(e){this.licenseTypes=e instanceof Array?e:[],this._setHasPremium(),this._displayBlocksButton()}},{key:'init',value:function(){this.$actionButton=i.GRIDBLOCK.View.$gridblockNav.find('.connect-key-action'),this.$actionText=this.$actionButton.find('.action-text'),this._bindClick()}},{key:'sanitizeKey',value:function(e){return e.replace(/[^a-z0-9]/gi,'').replace(/(.{8})/g,'$1-').slice(0,-1)}},{key:'validateKey',value:function(e){return 35!==this.sanitizeKey(e).length}},{key:'showNotice',value:function(){var e=$(_.template(s.a)({newKeyLink:this.newKeyLink,journey:this.licenseTypes.length?'existing-key':'',license:this.getLicenseType(this.licenseTypes)}));i.Panel.clear(),i.Panel.$element.find('.panel-body').html(e),this._bindHandlers(e),i.Panel.open(this.controlConfig),i.Panel.centerPanel()}},{key:'getLicenseType',value:function(e){var o='free';return-1===e.indexOf('premium')?-1!==e.indexOf('basic')&&(o='basic'):o='premium',o}},{key:'_setHasPremium',value:function(){i.GRIDBLOCK.View.$gridblocks.attr('data-requires-premium',-1===this.licenseTypes.indexOf('premium')?1:0)}},{key:'_findFormElements',value:function(e){this.$content=e,this.$form=e.find('form'),this.$tos=this.$form.find('[name="tos"]'),this.$keyEntry=this.$form.find('[name="boldgrid-connect-key"]'),this.$formError=this.$form.find('.error'),this.$formSuccess=e.find('.success'),this.$upgradeKey=e.find('.existing-key .upgrade-key'),this.$formPrompt=e.find('.key-entry'),this.$changeConnectKey=e.find('.change-connect-key')}},{key:'_bindHandlers',value:function(e){var o=this;this._findFormElements(e),this._bindFormSubmission(),this._bindPanelClose(),this._bindUpgradeKey(),this.$changeConnectKey.on('click',function(n){n.preventDefault(),o.$content.removeAttr('data-journey')})}},{key:'_bindUpgradeKey',value:function(){var e=this;this.$upgradeKey.on('click',function(){e.$content.find('.upgrade-key-section').show(),e.$content.find('.existing-key').hide()}),this.$content.find('.upgrade-key-section .button').on('click',function(){i.Panel.showLoading(),e._saveKey(e.apiKey).done(function(o){e.licenseTypes=o.data.licenses,e.apiKey=o.data.key,e.postLicenseCheck(e.licenseTypes)}).always(function(){i.Panel.hideLoading(),i.Panel.closePanel()})})}},{key:'_bindPanelClose',value:function(){this.$formSuccess.find('button').on('click',function(){return i.Panel.closePanel()})}},{key:'_bindFormSubmission',value:function(){var o=this;this.$form.on('submit',function(n){n.preventDefault(),o.$formError.hide().removeClass('animated'),o._validate()&&(i.Panel.showLoading(),o._saveKey(o.sanitizeKey(o.$keyEntry.val())).done(function(e){o.licenseTypes=e.data.licenses,o.$formSuccess.attr('data-key-type',o.getLicenseType(o.licenseTypes)),o.apiKey=e.data.key,o.$formPrompt.hide(),o.$formSuccess.addClass('animated zoomIn').show(),o.postLicenseCheck(o.licenseTypes)}).fail(function(){o._displayError('\n\t\t\t\t\t\t\tWe were unable to confirm your Connect Key, please check your entry and try again.\n\t\t\t\t\t\t')}).always(function(){i.Panel.hideLoading()}))})}},{key:'_saveKey',value:function(e){return $.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_editor_save_key',boldgrid_editor_gridblock_save:BoldgridEditor.nonce_gridblock_save,connectKey:e}})}},{key:'_bindClick',value:function(){var o=this;this.$actionButton.on('click',function(n){n.preventDefault(),o.showNotice()})}},{key:'_displayBlocksButton',value:function(){this._setActiveConfig(),this.$actionText.html(this.activeConfig.text),this.$actionButton.attr('type',this.activeConfig.typeAttr),this.$actionButton.addClass('animated slideInLeft'),this.$actionButton.css('visibility','visible')}},{key:'_setActiveConfig',value:function(){var e=this.config[this.getLicenseType(this.licenseTypes)];this.activeConfig=e}},{key:'_displayError',value:function(e){this.$formError.html(e).show().addClass('animated bounceIn')}},{key:'_validate',value:function(){var e='';return this.$tos.val()&&this.$keyEntry.val()?this.validateKey(this.$keyEntry.val())&&(e='Please enter a BoldGrid Connect Key in the correct format'):e='Please complete all fields to continue',e&&this._displayError(e),!e}}]),e}()},"./assets/js/builder/controls.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(o){'use strict';var e=BOLDGRID.EDITOR;BOLDGRID.EDITOR.Controls={$panel:null,$menu:null,$colorControl:null,controls:[],indexedControls:{},$container:null,init:function(o){this.$container=o,this.$container.find('body').css('marginTop','50px'),this.$menu=BOLDGRID.EDITOR.Menu.init(),this.$panel=BOLDGRID.EDITOR.Panel.init(),this.onEditibleClick(),this.setupSliders(),e.$window.trigger('boldgrid_editor_preload'),this.setupControls(),e.CONTROLS.Generic.setupInputCustomization(),e.CONTROLS.Generic.setupInputInitialization(),e.NOTICE.Update.init(),this.browser=e.Util.checkBrowser(),e.$window.trigger('boldgrid_editor_loaded')},hasThemeFeature:function(e){return-1!==BoldgridEditor.builder_config.theme_features.indexOf(e)},addStyle:function(e,o,n){e.css(o,n),BOLDGRID.EDITOR.mce.dom.setStyle(e,o,n)},setupSliders:function(){this.$panel.on('slide','.section .slider',function(e,n){var a=o(this);a.siblings('.value').html(n.value)})},registerControl:function(e){this.controls.push(e),this.indexedControls[e.name]=e},get:function(e){return this.indexedControls[e]||this.indexedControls[e.toLowerCase()]},editorMceInstance:function(){var e=!1;return IMHWPB.WP_MCE_Draggable&&IMHWPB.WP_MCE_Draggable.instance&&(e=IMHWPB.WP_MCE_Draggable.instance),e},clearMenuItems:function(){this.$menu.items=[]},_setupUpdateMenu:function(){var n=this;this.$container.on('click',function(a){n.$menu.find('li[data-action]').hide(),n.$menu.items.length?n.$menu.show():(n.$menu.hide(),BOLDGRID.EDITOR.Panel.closePanel()),o.each(n.$menu.items,function(){n.$menu.find('[data-action="menu-'+this+'"]').show(),BOLDGRID.EDITOR.Menu.reactivateMenu()}),n._closeOpenControl(),a.boldgridRefreshPanel||BOLDGRID.EDITOR.CONTROLS.Color.closePicker(),n.clearMenuItems()})},onEditibleClick:function(){this._setupUpdateMenu()},_closeOpenControl:function(){e.Panel.currentControl&&-1===this.$menu.items.indexOf(e.Panel.currentControl.name)&&e.Panel.closePanel()},setupControls:function(){var e=this;this.controls=_.sortBy(this.controls,'priority'),o.each(this.controls,function(){e.setupControl(this)}),BoldgridEditor.display_intro||this.$container.find('body').click()},setupControl:function(o){this.bindControlHandler(o),BOLDGRID.EDITOR.Menu.createListItem(o),o.setup&&o.setup(),e.Panel.setupPanelClick(o)},bindControlHandler:function(e){e.selectors&&this.setupElementClick(e),e.onMenuClick&&this.$menu.on('click','[data-action="menu-'+e.name+'"]',e.onMenuClick)},setupElementClick:function(n){var a=this;this.$container.on('click',n.selectors.join(),function(r){var e=o(this);if('box'===n.name){var s,l;if(r.boxFound)return;if(s=e.closest('.editing-as-row').length,l=e.is('.row .row [class*="col-md"]'),s&&!1===l)return;if(s&&(r.boxFound=!0),!r.boxFound&&e.parent().closest('[class*="col-md"]').length){var i=BOLDGRID.EDITOR.CONTROLS.Box.findModule(e),d=i.css('background-color');if(!BOLDGRID.EDITOR.CONTROLS.Color.isColorTransparent(d))r.boxFound=!0;else return}}e.closest('.wpview').length&&'edit-media'!==n.name||n.exceptionSelector&&r.target&&o(r.target).is(n.exceptionSelector)||(a.$menu.targetData=a.$menu.targetData||{},a.$menu.targetData[n.name]=e,n.elementClick&&n.elementClick(r),a.$menu.items.push(n.name))})}}}(jQuery)},"./assets/js/builder/controls/add.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;o.CONTROLS.Add={$element:null,name:'add',tooltip:'Add New Item',priority:1,iconClasses:'genericon genericon-plus add-element-trigger',selectors:['html'],menuDropDown:{title:'Add New',options:[{name:'Media',class:'action add-media dashicons dashicons-admin-media'},{name:'Button',class:'action font-awesome add-button'},{name:'Icon',class:'action font-awesome add-icon'},{name:'Block',class:'action add-gridblock'},{name:'Section',class:'action add-row'}]},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){n._setupMenuClick()},_setupMenuClick:function(){o.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.add-gridblock',n.addGridblock).on('click','.action.add-row',n.addSection).on('click','.action.add-button',o.CONTROLS.Button.insertNew).on('click','.action.add-media',n.openAddMedia).on('click','.action.add-icon',o.CONTROLS.Icon.insertNew)},openAddMedia:function(){wp.media.editor.open(),wp.media.frame.setState('insert')},scrollToElement:function(o,n){e('html, body').animate({scrollTop:o.offset().top},n)},addSection:function(){var a=BOLDGRID.EDITOR.Controls.$container,r=e(wp.template('boldgrid-editor-empty-section')());a.$body.prepend(r),n.scrollToElement(r,200),o.Service.popover.section.transistionSection(r)},addGridblock:function(){var e=BOLDGRID.EDITOR.Controls.editorMceInstance();e&&e.insert_layout_action()}},BOLDGRID.EDITOR.CONTROLS.Add.init(),n=BOLDGRID.EDITOR.CONTROLS.Add}(jQuery)},"./assets/js/builder/controls/color.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});n('./assets/js/builder/controls/color/palette.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){var n=BOLDGRID.EDITOR,a;n.CONTROLS.Color={$currentInput:null,$colorPanel:null,$colorPicker:null,colorTemplate:wp.template('boldgrid-editor-color'),transparentColors:['rgba(0, 0, 0, 0)','transparent'],colorClasses:['color1-color','color2-color','color3-color','color4-color','color5-color'],textContrastClasses:['color-neutral-text-default','color1-text-default','color2-text-default','color3-text-default','color4-text-default','color5-text-default','color-neutral-text-contrast','color-1-text-contrast','color-2-text-contrast','color-3-text-contrast','color-4-text-contrast','color-5-text-contrast'],backgroundColorClasses:['color-neutral-background-color','color1-background-color','color2-background-color','color3-background-color','color4-background-color','color5-background-color'],borderColorClasses:['color1-border-color','color2-border-color','color3-border-color','color4-border-color','color5-border-color'],customColors:BoldgridEditor.saved_colors,init:function(){var e=n.Service.colorPalette.getPaletteSettings();return a.importPaletteSettings(e),a._create(),a._setupClosePicker(),a._renderColorOptions(),a._setupPanelDrag(),a._setupAddNew(),a._setupColorPicker(),a._setupCallback(),a._setupColorPreview(),a._setupRemove(),a._setupAutoHide(),a._setupResetDefault(),a._addPanelClasses(),a._setupOpenCustomization(),a},updatePaletteSettings:function(e){this.importPaletteSettings(e),this._renderColorOptions()},importPaletteSettings:function(e){!BoldgridEditor.is_boldgrid_theme&&e&&(BoldgridEditor.colors={defaults:e.palettes[0].colors,neutral:e.palettes[0]['neutral-color']})},resetBorderClasses:function(e){e.removeClass(a.borderColorClasses.join(' ')),n.Controls.addStyle(e,'border-color','')},_addPanelClasses:function(){BoldgridEditor.is_boldgrid_theme||a.$colorPanel.addClass('non-bg-theme')},_setupResetDefault:function(){a.$colorPanel.find('.wp-picker-default').on('click',function(o){o.preventDefault(),o.stopPropagation(),a.$currentInput.attr('data-type','color'),a.$currentInput.val('').change(),a.$colorPanel.find('.selected').removeClass('selected'),a.$currentInput.parent().find('label').css('background-color','#333')})},_setupOpenCustomization:function(){n.Panel.$element.on('bg-customize-open',function(){a.initColorControls()})},_setupAutoHide:function(){o('body').on('click',function(){a.closePicker()}),a.$colorPanel.on('click',function(o){o.stopPropagation()})},getColorClass:function(e,o){var n='text-contrast'===e?'-':'';return'color'+n+o+'-'+e},openPicker:function(e){a.$colorPanel.show(),a.$currentInput=e,BOLDGRID.EDITOR.mce.undoManager.add()},closePicker:function(){a.$colorPanel.is(':visible')&&(BOLDGRID.EDITOR.mce.undoManager.add(),a.$colorPanel.hide(),a.$currentInput=null,a.saveCustomColors())},saveCustomColors:function(){o('#post input[name="boldgrid-custom-colors"]').val(JSON.stringify(a.customColors))},_setupColorPreview:function(){n.Panel.$element.on('click','.color-preview',function(r){r.stopPropagation();var e=o(this),s=n.Panel.$element.find('input[name="'+e.attr('for')+'"]'),l;'color'!==s.attr('data-type')&&s.attr('data-type')?'class'===s.attr('data-type')&&(l=a.$colorPanel.find('.panel-selection[data-preset="'+s.val()+'"]')):a.$colorPanel.find('[data-type="custom"].panel-selection').each(function(){var n=o(this);if(e.css('background-color')===n.css('background-color'))return l=n,!1}),a.$colorPanel.find('.panel-selection.selected').removeClass('selected'),a.updatePicker(e.css('background-color')),a.openPicker(s),l&&l.length&&a.selectColor(l)}),n.Panel.$element.on('change','input.color-control',function(){var e=o(this),r=n.Panel.$element.find('.color-preview[for="'+e.attr('name')+'"]');r.css('background-color',a.$colorPicker.iris('color'))})},_setupClosePicker:function(){a.$colorPanel.find('.panel-title .close-icon').on('click',function(){a.closePicker()})},_setupPanelDrag:function(){this.$colorPanel.draggable({containment:'#wpwrap',handle:'.panel-title',scroll:!1})},findAncestorColor:function(e,n){var r=[],s;return r.push(e),e.parents().each(function(){r.push(this)}),o.each(r,function(){var e=o(this),r=e.css(n);if(!1===a.isColorTransparent(r))return s=r,!1}),s},getPaletteBackgroundColors:function(){var e={};return o.each(BoldgridEditor.colors.defaults,function(o){e['color'+(o+1)+'-background-color']=this}),e},getBackgroundForegroundColors:function(){var e=[],a;return o.each(BoldgridEditor.colors.defaults,function(o){a=o+1,e.push({color:this,colorNum:a,text:n.CONTROLS.Color.getColorClass('text-default',a),background:n.CONTROLS.Color.getColorClass('background-color',a)})}),e},isColorTransparent:function(e){return-1!==n.CONTROLS.Color.transparentColors.indexOf(e)||!e},initColorControls:function(){n.Panel.$element.find('input.color-control').each(function(){var e=o(this),n=e.val(),r=e.prev('label');!1===a.isColorTransparent(n)&&r.css('background-color',n),e.attr('data-type','color')})},_setupColorPicker:function(){var e='#e3e',n=a.$colorPanel.find('.panel-selection.selected[data-preset]');n.length&&(e=n.css('background-color')),a.$colorPicker=a.$colorPanel.find('.boldgrid-color-picker'),a.$colorPicker.val(e),a.$colorPicker.wpColorPicker({mode:'hsl',defaultColor:e,change:function(e,n){var r=o(this),s=n.color.toCSS(),l=r.closest('.color-control').find('.colors .panel-selection.selected[data-preset]');return l.length&&l.is('[data-type="default"]')?void a._copyColor():void(l=a.$colorPanel.find('.colors .panel-selection.selected[data-preset]'),l.length&&(l.css('background-color',s),l.attr('data-preset',s),a.customColors[l.attr('data-index')]=s),a.$currentInput&&(a.$currentInput.attr('data-type','color'),a.$currentInput.attr('value',s),a.$currentInput.change()))},hide:!1,palettes:!0})},_copyColor:function(){var e,o;o=a.$colorPanel.find('.colors .panel-selection.selected').css('background-color'),o||(o=a.$colorPicker.iris('color')),a.customColors.push(o),a._renderColorOptions(),e=a.$colorPanel.find('.color-control'),e.find('ul.colors').removeClass('selected'),a.updatePicker(o),a.selectColor(e.find('.my-colors li:last-of-type'))},updatePicker:function(e){var o;a.$colorPicker.iris('color',e),o=parseInt(100*Color(e)._alpha),a.$colorPanel.find('.iris-slider-offset-alpha').slider('value',o)},_setupAddNew:function(){a.$colorPanel.on('click','.colors .panel-selection.custom-color',function(){a._copyColor()})},_renderColorOptions:function(){a.$colorPanel.find('.colors-wrap').html(a.colorTemplate({colors:a.getColorsFormatted(),customColors:a.customColors})),BOLDGRID.EDITOR.Tooltip.renderTooltips()},getColorsFormatted:function(){var e=[];return o.each(BoldgridEditor.colors.defaults,function(o){e.push({color:this,paletteNum:o+1})}),e},getGridblockColors:function(){var e=a.getColorsFormatted();return BoldgridEditor.colors.neutral&&e.push({paletteNum:'neutral',color:BoldgridEditor.colors.neutral}),e},_create:function(){var e=wp.template('boldgrid-editor-color-panel');a.$colorPanel=o(e()),o('body').append(a.$colorPanel)},_setupRemove:function(){a.$colorPanel.on('click','.color-picker-wrap .cancel',function(n){var e=o(this),r,s,l;n.preventDefault(),s=e.closest('.color-control'),s.find('.custom-color').removeClass('selected'),r=s.find('.colors .selected[data-type="custom"]'),r.length&&(a.customColors.splice(r.attr('data-index'),1),r.remove(),l=a.$colorPanel.find('.panel-selection').first(),a.$colorPicker.iris('color',l.css('background-color')),a.selectColor(l))})},selectColor:function(e){a.$colorPanel.find('.selected').removeClass('selected'),e.addClass('selected'),e.is('[data-type="custom"]')?a.$colorPanel.attr('current-selection','custom'):a.$colorPanel.attr('current-selection','default')},_setupCallback:function(){a.$colorPanel.on('click','.colors .panel-selection',function(){var e=o(this),n;e.hasClass('custom-color')||(n='default'===e.data('type')?'class':'color',a.$colorPanel.find('ul.colors .panel-selection').removeClass('selected'),a.updatePicker(e.css('background-color')),a.selectColor(e),a.$currentInput.val(e.attr('data-preset')),a.$currentInput.attr('data-type',n),a.$currentInput.change())})}},a=BOLDGRID.EDITOR.CONTROLS.Color}(jQuery)},"./assets/js/builder/controls/color/palette.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Palette',function(){return d}),n.d(o,'default',function(){return d});var r=n('./node_modules/@boldgrid/controls/src/controls/index.js'),s=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),l=window.jQuery,i=BOLDGRID.EDITOR,d=function(){function e(){a(this,e),this.paletteConfig=new r.j,this.name='Palette',this.panel={title:'Color Palette',height:'600px',width:'325px'},this.workerUrl=BoldgridEditor.plugin_url+'/assets/js/sass-js/sass.worker.js?'+BoldgridEditor.version,this.colorPalette=new r.e({sass:{workerURL:this.workerUrl,basePath:BoldgridEditor.plugin_url+'/assets/scss'}}),this.colorPalette.init()}return s(e,[{key:'init',value:function(){return i.Controls.registerControl(this),this}},{key:'setup',value:function(){this._setupParentLoader()}},{key:'openPanel',value:function(){i.Panel.clear(),this.colorPalette.initialCompilesDone||i.Panel.showLoading(),this.renderCustomization(i.Panel.$element.find('.panel-body')),i.Panel.showFooter(),i.Panel.open(this)}},{key:'getPaletteSettings',value:function(){var e=this.getSavedSettings();return e||(e=this.paletteConfig.createSimpleConfig()),e}},{key:'getSavedSettings',value:function(){return this.updatedPaletteSettings||this.getLivePalettes()||!1}},{key:'getLivePalettes',value:function(){var e=BoldgridEditor.control_styles.configuration,o,n;return e&&e.length&&(o=_.find(e,function(e){return'bg-controls-colors'===e.id}),n=!!o.options&&o.options.paletteSettings),n}},{key:'renderCustomization',value:function(e){var o=this,n=this.colorPalette.render(e,this.getSavedSettings());return this.colorPalette.initialCompilesDone||n.on('rendered',function(){o.colorPalette.initialCompiles(3).done(function(){i.Panel.hideLoading()})}),n.on('sass_compiled',function(n,e){i.Service.styleUpdater.update({id:'bg-controls-colors',css:e.result.text,scss:e.scss}),o.styleUpdaterParent.update({id:'bg-controls-colors',css:e.result.text,scss:e.scss,priority:60}),o._postPaletteUpdate()}),n}},{key:'_savePaletteSettings',value:function(){var e;e=this.paletteConfig.createSavableState(BOLDGRID.COLOR_PALETTE.Modify.format_current_palette_state()),i.Service.styleUpdater.stylesState[0].options=i.Service.styleUpdater.stylesState[0].options||{},i.Service.styleUpdater.stylesState[0].options.paletteSettings=e,i.CONTROLS.Color.updatePaletteSettings(e),this.updatedPaletteSettings=e}},{key:'_postPaletteUpdate',value:function(){this._savePaletteSettings(),i.Service.styleUpdater.updateInput()}},{key:'_setupParentLoader',value:function(){var e=BoldgridEditor.control_styles.configuration||[],o=_.find(e,function(e){return'bg-controls-colors'===e.id});o=o?[o]:[],this.styleUpdaterParent=new r.k(document),this.styleUpdaterParent.loadSavedConfig(o),this.styleUpdaterParent.setup()}}]),e}()},"./assets/js/builder/controls/container.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Container={name:'container',tooltip:'Section Width',priority:15,iconClasses:'fa fa-arrows-h',selectors:['.boldgrid-section .container','.boldgrid-section .container-fluid'],init:function(){},onMenuClick:function(){n.toggleSectionWidth()},transitionSize:function(n){o.Controls.$container.find('html').addClass('bg-disabled-handles'),n.css('transition','width .5s'),setTimeout(function(){n.css('transition',''),e(window).trigger('resize'),o.Controls.$container.find('html').removeClass('bg-disabled-handles')},600)},toggleSectionWidth:function(e){e||(e=o.Controls.$menu.targetData[n.name].closest('.container, .container-fluid')),e.hasClass('container')?(n.transitionSize(e),e.addClass('container-fluid'),e.removeClass('container')):(n.transitionSize(e),e.addClass('container'),e.removeClass('container-fluid'))}},BOLDGRID.EDITOR.CONTROLS.Container.init(),n=BOLDGRID.EDITOR.CONTROLS.Container}(jQuery)},"./assets/js/builder/controls/element/advanced.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Advanced',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=window.jQuery,l=BOLDGRID.EDITOR,i=function(){function e(){a(this,e),this.name='Advanced',this.panel={title:'Advanced',height:'650px',width:'375px',customizeCallback:!0,customizeSupport:['margin','padding','border','width','box-shadow','border-radius','animation','background-color','blockAlignment','device-visibility','customClasses']}}return r(e,[{key:'init',value:function(){l.Controls.registerControl(this)}},{key:'_setTargetType',value:function(e){l.Panel.$element.find('.customize-navigation').attr('data-element-type',e)}},{key:'openPanel',value:function(e,o){this.$target=e,l.Menu.$element.targetData[this.name]=e,l.Panel.clear(),l.Panel.showFooter(),l.Panel.open(this),this._setTargetType(o),l.Panel.enterCustomization(),l.Panel.customizeOpenEvent()}}]),e}()},"./assets/js/builder/controls/element/background.js":function(){var e=Math.floor;window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var n=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Background={name:'background',tooltip:'Section Background',uploadFrame:null,priority:10,iconClasses:'genericon genericon-picture',selectors:['.boldgrid-section'],availableEffects:['background-parallax','background-fixed'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Section Background',height:'625px',width:'325px',scrollTarget:'.presets',customizeSupport:['margin','padding','border','width','box-shadow','animation','border-radius','blockAlignment','device-visibility','customClasses'],sizeOffset:-230},onMenuClick:function(){a.openPanel()},_setupAddImage:function(){n.Panel.$element.on('click','.background-design .add-image-controls',function(){return a.uploadFrame?void a.uploadFrame.open():void(a.uploadFrame=wp.media({title:'Select Background Image',library:{type:'image'},button:{text:'Use this media'},multiple:!1}),a.uploadFrame.on('select',function(){var e=a.uploadFrame.state().get('selection').first().toJSON();a.setImageBackground(e.url),a.setImageSelection('image')}),a.uploadFrame.open())})},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&a.openPanel()},setup:function(){a._setupBackgroundClick(),a._setupFilterClick(),a._setupCustomizeLeave(),a._setupBackgroundSize(),a._setupBackgroundColor(),a._setupGradientColor(),a._setupOverlayColor(),a._setupOverlayReset(),a._setupScrollEffects(),a._setupGradientDirection(),a._setupCustomization(),a._setupAddImage()},_setupBackgroundColor:function(){var e=n.Panel;e.$element.on('change','.background-design [name="section-background-color"]',function(){var e=o(this),r=n.Menu.$element.targetData[a.name],s=e.val(),l=e.attr('data-type'),i=n.Panel.$element.find('.current-selection'),d=i.attr('data-type');a.removeColorClasses(r),n.Controls.addStyle(r,'background-color',''),'pattern'!==d&&(n.Controls.addStyle(r,'background-image',''),r.removeAttr('data-bg-color-1'),r.removeAttr('data-bg-color-2'),r.removeAttr('data-bg-direction')),'pattern'!==d&&n.Panel.$element.find('.presets .selected').removeClass('selected'),'class'===l?r.addClass('bg-background-color').addClass(n.CONTROLS.Color.getColorClass('background-color',s)).addClass(n.CONTROLS.Color.getColorClass('text-contrast',s)):n.Controls.addStyle(r,'background-color',s),a.setImageSelection(d,r.css('background'))})},_setupOverlayReset:function(){var e=n.Panel;e.$element.on('click','.background-design .overlay-color .default-color',function(r){var e=o(this),s=n.Menu.$element.targetData[a.name];r.preventDefault(),e.closest('.color-controls').find('label').css('background-color','rgba(255,255,255,.5)'),s.removeAttr('data-bg-overlaycolor'),a.updateBackgroundImage()})},_setupOverlayColor:function(){var e=n.Panel;e.$element.on('change','.background-design [name="overlay-color"]',function(){var e=o(this),r=e.attr('data-type'),s=e.val(),l=n.Menu.$element.targetData[a.name];'class'===r&&(s=BoldgridEditor.colors.defaults[s-1]),l.attr('data-bg-overlaycolor',s),a.updateBackgroundImage()})},updateBackgroundImage:function(){var e=n.Menu.$element.targetData[a.name],o=e.attr('data-bg-overlaycolor'),r=e.attr('data-image-url');o&&r?n.Controls.addStyle(e,'background-image',a.getOverlayImage(o)+', url("'+r+'")'):r&&n.Controls.addStyle(e,'background-image','url("'+r+'")')},getOverlayImage:function(e){return'linear-gradient(to left, '+e+', '+e+')'},_setupGradientColor:function(){var e=n.Panel;e.$element.on('change','.background-design [name^="gradient-color"]',function(){var e=o(this),r=n.Menu.$element.targetData[a.name],s=e.val(),l=e.attr('name'),i=e.attr('data-type');'class'===i&&(s=BoldgridEditor.colors.defaults[s-1]),'gradient-color-1'===l?r.attr('data-bg-color-1',s):r.attr('data-bg-color-2',s),n.Controls.addStyle(r,'background-image',a.createGradientCss(r))})},_setupCustomization:function(){var e=n.Panel;e.$element.on('click','.current-selection .settings .panel-button',function(o){o.preventDefault(),a.openCustomization()})},_setupScrollEffects:function(){var e=n.Panel;e.$element.on('change','.background-design input[name="scroll-effects"]',function(){var e=o(this),r=n.Menu.getTarget(a);'none'===e.val()?r.removeClass(a.availableEffects.join(' ')):(r.removeClass(a.availableEffects.join(' ')),r.addClass(e.val()))})},_setupGradientDirection:function(){var e=n.Panel;e.$element.on('change','.background-design input[name="bg-direction"]',function(){var e=o(this),r=n.Menu.getTarget(a);r.attr('data-bg-direction',e.val()),n.Controls.addStyle(r,'background-image',a.createGradientCss(r))})},createGradientCss:function(e){return'linear-gradient('+e.attr('data-bg-direction')+','+e.attr('data-bg-color-1')+','+e.attr('data-bg-color-2')+')'},_setupBackgroundSize:function(){var e=n.Panel;e.$element.on('change','.background-design input[name="background-size"]',function(){var e=o(this),r=n.Menu.getTarget(a);'tiled'===e.val()?(n.Controls.addStyle(r,'background-size','auto auto'),n.Controls.addStyle(r,'background-repeat','repeat')):'cover'===e.val()&&(n.Controls.addStyle(r,'background-size','cover'),n.Controls.addStyle(r,'background-repeat',''))})},_setupCustomizeLeave:function(){var o=n.Panel;o.$element.on('click','.background-design .back .panel-button',function(r){r.preventDefault(),o.$element.find('.preset-wrapper').show(),o.$element.find('.background-design .customize').hide(),o.initScroll(),a.preselectBackground(),o.scrollToSelected(),n.Service.customize.navigation.disable()})},_setupFilterClick:function(){var a=n.Panel;a.$element.on('click','.background-design .filter',function(n){n.preventDefault();var e=o(this),r=e.data('type'),s=e.data('label'),l=a.$element.find('.current-selection'),i=a.$element.find('.presets .background-color.section');a.$element.find('.filter').removeClass('selected'),e.addClass('selected'),a.$element.find('.presets .selection').hide(),o.each(r,function(){a.$element.find('.presets .selection[data-type="'+this+'"]').show()}),a.$element.find('.presets .title > *').text(s),a.$element.find('.presets').attr('data-filter',r),l.attr('data-filter',r),r.length&&-1!==r.indexOf('image')?i.hide():i.show(),a.scrollToSelected()})},removeColorClasses:function(e){e.removeClass('bg-background-color'),e.removeClass(n.CONTROLS.Color.backgroundColorClasses.join(' ')),e.removeClass(n.CONTROLS.Color.textContrastClasses.join(' '))},_setupBackgroundClick:function(){var e=n.Panel;e.$element.on('click','.background-design .selection',function(){var r=o(this),s=n.Menu.getTarget(a),l=r.attr('data-image-url'),i=r.css('background-image'),d=r.css('background');return r.hasClass('selected')?(a.removeColorClasses(s),n.Controls.addStyle(s,'background',''),s.removeAttr('data-image-url'),r.removeClass('selected'),void a.preselectBackground(!0)):void(e.$element.find('.presets .selected').removeClass('selected'),r.addClass('selected'),s.removeAttr('data-bg-color-1').removeAttr('data-image-url').removeAttr('data-bg-color-2').removeAttr('data-bg-direction'),'pattern'!==r.data('type')&&a.removeColorClasses(s),'image'===r.data('type')?a.setImageBackground(l):'color'===r.data('type')?(s.addClass(r.data('class')),s.addClass(n.CONTROLS.Color.getColorClass('text-contrast',r.data('class').replace(/\D/g,''))),s.addClass('bg-background-color'),n.Controls.addStyle(s,'background-image',''),a.setDefaultBackgroundColors()):'pattern'===r.data('type')?(n.Controls.addStyle(s,'background-size','auto auto'),n.Controls.addStyle(s,'background-repeat','repeat'),n.Controls.addStyle(s,'background-image',i)):'gradients'===r.data('type')?(n.Controls.addStyle(s,'background-image',i),s.attr('data-bg-color-1',r.data('color1')).attr('data-bg-color-2',r.data('color2')).attr('data-bg-direction',r.data('direction'))):n.Controls.addStyle(s,'background-image',i),a.setImageSelection(r.data('type'),d))})},activateFilter:function(e){var r=!1,s=n.Menu.getTarget(a),l;n.Panel.$element.find('.current-selection .filter').each(function(){var n=o(this),a=n.data('type');if(e&&-1!==a.indexOf(e))return n.click(),r=!0,!1}),r||e||(l=s.css('background-image'),l&&'none'!==l&&(n.Panel.$element.find('.filter[data-type]:first-of-type').click(),r=!0)),!1==r&&n.Panel.$element.find('.filter[data-default="1"]').click()},setImageSelection:function(e,o){var r=n.Panel.$element.find('.current-selection'),s=n.Menu.getTarget(a);r.css('background',''),'color'===e?r.css('background-color',o):(r.css('background-color',s.css('background-color')),r.css('background-image',s[0].style['background-image'])),r.attr('data-type',e)},setImageBackground:function(e){var o=n.Menu.getTarget(a);o.attr('data-image-url',e),n.Controls.addStyle(o,'background',''),a.updateBackgroundImage(),n.Controls.addStyle(o,'background-size','cover'),n.Controls.addStyle(o,'background-position','50% 50%')},_initSliders:function(){a._initVerticleSlider()},_initVerticleSlider:function(){var e=n.Menu.getTarget(a),o=e.css('background-position-y'),r=e.css('background-position-x');o=o?parseInt(o):50,r=r?parseInt(r):50,n.Panel.$element.find('.background-design .vertical-position .slider').slider({min:0,max:100,value:o,range:'max',slide:function(o,a){e.css('background-image')&&n.Controls.addStyle(e,'background-position',r+'% '+a.value+'%')}}).siblings('.value').html(o)},openCustomization:function(){n.Panel.$element.find('.preset-wrapper').hide(),n.Panel.$element.find('.background-design .customize').show(),n.Panel.$element.find('.preset-wrapper').attr('data-type',n.Panel.$element.find('.current-selection').attr('data-type')),a._initSliders(),a.selectDefaults(),n.Panel.enterCustomization(),n.Panel.customizeOpenEvent(),n.Panel.createScrollbar('.customize',{height:a.panel.height})},selectDefaults:function(){a.setScrollEffect(),a.setSize(),a.setDefaultDirection(),a.setDefaultBackgroundColors(),a.setDefaultOverlayColor()},setDefaultOverlayColor:function(){var e=n.Menu.getTarget(a),o=n.Panel.$element.find('.overlay-color'),r=e.attr('data-bg-overlaycolor');r&&o.find('input').attr('value',r)},setSize:function(){var e=n.Panel.$element.find('input[name="background-size"]'),o=n.Menu.getTarget(a);-1===o.css('background-size').indexOf('cover')&&e.filter('[value="tiled"]').prop('checked',!0)},setScrollEffect:function(){var e=n.Menu.getTarget(a);o.each(a.availableEffects,function(){if(e.hasClass(this))return n.Panel.$element.find('input[name="scroll-effects"][value="'+this+'"]').prop('checked',!0),!1})},setDefaultDirection:function(){var e=n.Menu.getTarget(a),o=e.attr('data-bg-direction');a.backgroundIsGradient(e.css('background-image'))&&o&&n.Panel.$element.find('input[name="bg-direction"][value="'+o+'"]').prop('checked',!0)},setDefaultBackgroundColors:function(){var e=n.Menu.getTarget(a),o,r;a.backgroundIsGradient(e.css('background-image'))?(n.Panel.$element.find('input[name="gradient-color-1"]').attr('value',e.attr('data-bg-color-1')),n.Panel.$element.find('input[name="gradient-color-2"]').attr('value',e.attr('data-bg-color-2'))):(o=n.CONTROLS.Color.findAncestorColor(e,'background-color'),r=n.Panel.$element.find('input[name="section-background-color"]'),r.prev('label').css('background-color',o),r.attr('value',o))},randomGradientDirection:function(){var o=['to left','to bottom'];return o[e(Math.random()*o.length)]},_createGradients:function(){var e=[];o.each(BoldgridEditor.sample_backgrounds.default_gradients,function(){var o=this.colors[0],n=this.colors[1],r=a.randomGradientDirection();e.push({color1:o,color2:n,direction:r,css:'linear-gradient('+r+','+o+','+n+')'})}),console.log(JSON.stringify(e))},setPaletteGradients:function(){var n=[];BoldgridEditor.colors.defaults&&BoldgridEditor.colors.defaults.length&&o.each([0,1],function(){var o,r,s;o=BoldgridEditor.colors.defaults[e(Math.random()*BoldgridEditor.colors.defaults.length)],r=BoldgridEditor.colors.defaults[e(Math.random()*BoldgridEditor.colors.defaults.length)],o!==r&&(s=a.randomGradientDirection(),n.push({color1:o,color2:r,direction:s,css:'linear-gradient('+s+','+o+','+r+')'}))}),o.each(n,function(){BoldgridEditor.sample_backgrounds.gradients.unshift(this)})},backgroundIsGradient:function(e){return-1!==e.indexOf('linear-gradient')&&-1===e.indexOf('url')},preselectBackground:function(e){var r='color',s=n.Menu.getTarget(a),l=s.css('background-color'),i=s.css('background-image'),d=n.Panel.$element.find('.current-selection'),c=a.backgroundIsGradient(i),p=!1;a.setImageSelection('image'),d.css('background-color',l),n.Panel.$element.find('.selection').each(function(){var e=o(this),n=e.data('type'),l=e.data('class');switch(n){case'color':if(l&&s.hasClass(l)&&'none'===s.css('background-image'))return e.addClass('selected'),r=n,p=!0,a.activateFilter(r),!1;break;case'image':if(e.attr('data-image-url')===s.attr('data-image-url'))return e.addClass('selected'),r=n,p=!0,a.activateFilter(r),!1;break;case'gradients':case'pattern':if(e.css('background-image')===i)return e.addClass('selected'),r=n,p=!0,a.activateFilter(r),!1;}}),p||(c?r='gradients':'none'!==i&&(r='image'),!e&&a.activateFilter(r)),d.attr('data-type',r)},openPanel:function(){var e=n.Panel,o=wp.template('boldgrid-editor-background');BoldgridEditor.sample_backgrounds.color=n.CONTROLS.Color.getPaletteBackgroundColors(),e.clear(),a.setPaletteGradients(),e.$element.find('.panel-body').html(o({images:BoldgridEditor.sample_backgrounds,imageData:BoldgridEditor.builder_config.background_images})),a.preselectBackground(),a.setDefaultBackgroundColors(),e.open(a)}},BOLDGRID.EDITOR.CONTROLS.Background.init(),a=BOLDGRID.EDITOR.CONTROLS.Background}(jQuery)},"./assets/js/builder/controls/element/box.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var n=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Box={uiBoxDimensions:{"bg-box bg-box-rounded":'box-wide',"bg-box bg-box-rounded-bottom-left bg-box-rounded-bottom-right":'box-long',"bg-box bg-box-rounded-bottom-right bg-box-rounded-top-right":'box-wide',"bg-box bg-box-edged bg-box-shadow-bottom-right":'box-wide',"bg-box bg-box-square bg-box-border-thin":'box-long',"bg-box bg-box-square bg-box-border-thick":'box-wide',"bg-box bg-box-square bg-box-border-dashed":'box-wide',"bg-box bg-box-rounded bg-box-border-dashed":'box-long',"bg-box bg-box-square bg-box-border-dashed-thick":'box-long',"bg-box bg-box-square bg-box-border-double-thick":'box-wide'},namespace:'bg-box',name:'box',priority:20,iconClasses:'genericon genericon-gallery',tooltip:'Column Background',selectors:['.row [class*="col-md"]'],panel:{title:'Column Background',height:'625px',width:'325px',customizeSupport:['width','margin','padding','box-shadow','border','border-radius','animation','blockAlignment','background-color','device-visibility','customClasses'],includeFooter:!0,customizeCallback:!0,customizeLeaveCallback:!0},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},colorControls:null,targetClasses:null,targetColor:null,$presets:null,onMenuClick:function(){a.openPanel()},setup:function(){a._setupPresetClick(),a._setupPresetHover(),a._setupPanelLeave(),a._setupSliderChange(),n.Panel.$element.on('bg-customize-exit',function(){return n.Panel.showFooter()}),n.Panel.$element.on('box-background-color-change box-border-color-change box-css-change',function(){return a._saveModuleClasses()}),a.presetsMarkup=a.getBoxMarkup()},_setupSliderChange:function(){n.Panel.$element.on('slidechange','.box-design .slider',function(){a._saveModuleClasses()})},_setupPanelLeave:function(){var e=n.Panel;e.$element.on('mouseleave','.box-design',function(o){o.preventDefault();var e=n.Menu.getTarget(a),r;r=a.findModule(e),a.removeModuleClasses(r),r.addClass(a.targetClasses),a.targetClasses&&-1!==a.targetClasses.indexOf('-background-color')||n.Controls.addStyle(r,'background-color',a.targetColor),a._applyCloneStyles(r)})},_applyCloneStyles:function(e){a.$targetModuleClone&&(e.attr('style',a.$targetModuleClone.attr('style')||''),e.attr('data-mce-style',a.$targetModuleClone.attr('style')||''))},_setupPresetHover:function(){var e=n.Panel;e.$element.hoverIntent({out:function(){},over:function(n){var e=o(this);n.preventDefault(),a.addBox(e)},selector:'.box-design .presets .'+a.namespace})},_setupPresetClick:function(){var r=n.Panel;r.$element.on('click','.box-design .presets .'+a.namespace,function(s){var e=o(this),l;s.preventDefault(),e.hasClass('selected')?(l=a.findModule(n.Menu.getTarget(a)),n.CONTROLS.Color.resetBorderClasses(l),r.clearSelected(),a.removeModuleClasses(l),a._clearModuleClasses(),a._clearInlineStyles(l)):(a.addBox(e),r.clearSelected(),a._saveModuleClasses(),e.addClass('selected'))})},_clearInlineStyles:function(e){e.css('padding',''),e.css('margin',''),e.css('background-color',''),e.css('border-color','')},_clearModuleClasses:function(){a.targetClasses='',a.targetColor='',a.$targetModuleClone=!1},_saveModuleClasses:function(){var e=a.findModule(n.Menu.getTarget(a));a.targetClasses=e.attr('class'),a.targetColor=e[0].style['background-color'],a.$targetModuleClone=e.clone()},findModule:function(e){var n=e.find('> div'),a=e.find('> *'),r=1===n.length&&n.not('.row').length&&n.not('[class*="col-md"]').length&&1===a.length,s;return r&&(s=n),s||(s=o('<div></div>'),s.html(a),e.html(s)),s},addBox:function(e){var o=n.Menu.getTarget(a),r=e.data('value'),s=e.css('background-color'),l=a.findModule(o),i;a._clearInlineStyles(l),n.CONTROLS.Color.resetBorderClasses(l),a.removeModuleClasses(l),e.parent('.my-designs').length&&(i=BoldgridEditor.builder_config.components_used.box[e.data('id')].style,l.attr('style',i)),l.addClass(r),l.attr('class')&&-1===l.attr('class').indexOf('-background-color')&&n.Controls.addStyle(l,'background-color',s)},removeModuleClasses:function(e){e.removeClass(function(e,o){return(o.match(/(^|\s)bg-box?\S+/g)||[]).join(' ')}),e.removeClass('bg-background-color'),e.removeClass(n.CONTROLS.Color.backgroundColorClasses.join(' ')),e.removeClass(n.CONTROLS.Color.textContrastClasses.join(' ')),n.Controls.addStyle(e,'background-color','')},getTarget:function(){var e=n.Menu.getTarget(a);return a.findModule(e)},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&a.openPanel()},updateUiStyles:function(){var e=a.presetsMarkup,r='',s=0,l=[],i=n.CONTROLS.Color.getBackgroundForegroundColors(),d;return o.each(i,function(){l.push({color:this.color,colorClass:this.background+' '+this.text})}),o.each(['#fff','#000','rgb(236, 236, 236)'],function(){l.push({color:this})}),o.each(e,function(e){d=o(this),l[s].colorClass?(d.attr('data-value',d.data('value')+' '+l[s].colorClass),d.css('background-color',l[s].color)):d.css('background-color',l[s].color),d.attr('data-id',e),0==e%4&&0!==e&&s++,l[s]||(s=0),r+=d[0].outerHTML}),a.$presets=r,r},getBoxMarkup:function(){var e=BoldgridEditor.builder_config.boxes,n=[],r;return o.each(e,function(){r=a.uiBoxDimensions[this]||'',r+=' ',n.push('<div data-value=\''+this+'\' class=\''+r+this+'\'></div>')}),n},preselectBox:function(){var e=n.Menu.getTarget(a),r=a.findModule(e),s=r.attr('class'),l=[];s=s?s.split(' '):[],o.each(s,function(){0===this.indexOf('bg-box')&&l.push(this)}),l=!!l.length&&'.'+l.join('.'),n.Panel.$element.find('.presets > div').each(function(){var e=o(this);if(l&&e.filter(l).length&&e.css('background-color')===r.css('background-color'))return e.addClass('selected'),!1})},styleMyDesigns:function(){var e=n.Controls.$container.$body;n.Panel.$element.find('.my-designs > *').each(function(){var n=o(this),a=n.data('id'),r=n.clone();r.css('display','none'),r.attr('style',BoldgridEditor.builder_config.components_used.box[a].style),e.append(r),n.css('background-color',r.css('background-color')),n.css('border-color',r.css('border-color')),r.remove()})},removeInvalid:function(){var e=[],a=n.Panel.$element.find('.my-designs');a.find('> *').each(function(){var a=o(this),r=a.css('background-color'),s=a.attr('data-value')+r;-1!==e.indexOf(s)||n.CONTROLS.Color.isColorTransparent(r)?a.remove():e.push(s)}),e.length||(a.remove(),n.Panel.$element.find('.my-designs-title').remove())},_updateMyDesigns:function(){n.Controls.$container.$body.find('.bg-box').each(function(){var e=o(this),n,a;n={classes:e.attr('class'),style:e.attr('style')},a=!1,o.each(BoldgridEditor.builder_config.components_used.box,function(){if(this.style===n.style&&this.classes===n.classes)return a=!0,!1}),a||BoldgridEditor.builder_config.components_used.box.push(n)})},openPanel:function(){var e=n.Panel,o=wp.template('boldgrid-editor-box');a.updateUiStyles(),a._saveModuleClasses(),a._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(o({presets:a.$presets,myPresets:BoldgridEditor.builder_config.components_used.box,colorControls:a.colorControls})),a.styleMyDesigns(),a.removeInvalid(),BOLDGRID.EDITOR.Panel.open(a),a.preselectBox(),e.$element.find('.grid').masonry({itemSelector:'.'+a.namespace}),e.initScroll(a),e.scrollToSelected(),n.Panel.showFooter()}},BOLDGRID.EDITOR.CONTROLS.Box.init(),a=BOLDGRID.EDITOR.CONTROLS.Box}(jQuery)},"./assets/js/builder/controls/element/button.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Button={name:'button',priority:80,tooltip:'Button Design',iconClasses:'fa fa-cog',selectors:['.btn','a.button','a.button-secondary','a.button-primary'],defaultColorClasses:[{color:'#eee',number:0},{color:'#229ffd',number:1},{color:'#ff414f',number:2},{color:'#a5de37',number:3},{color:'#feae1b',number:4},{color:'#7b72e9',number:5}],classes:[{name:'btn btn-3d btn-rounded'},{name:'btn btn-3d btn-pill'},{name:'btn btn-3d'},{name:'btn btn-raised btn-rounded'},{name:'btn btn-raised btn-pill'},{name:'btn btn-raised btn-small-caps'},{name:'btn btn-rounded btn-small-caps'},{name:'btn btn-pill'},{name:'btn'},{name:'btn btn-longshadow btn-rounded'},{name:'btn btn-longshadow btn-small-caps btn-pill'},{name:'btn btn-longshadow btn-uppercase'},{name:'btn btn-glow btn-rounded'},{name:'btn btn-glow btn-pill btn-uppercase'},{name:'btn btn-glow'},{name:'btn btn-block btn-rounded'},{name:'btn btn-block btn-pill'},{name:'btn btn-block btn-small-caps'}],sizeClasses:['btn-tiny','btn-small','','btn-large','btn-jumbo','btn-giant'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Button Design',height:'550px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeCallback:!0,customizeSupport:['margin','padding','border','box-shadow','animation','customClasses','device-visibility']},setup:function(){n.applyColors(),n._setupPresetClick(),n._setupColorClick(),n._setupCustomizeOpen(),n.removeSizeClasses()},removeSizeClasses:function(){var e=BoldgridEditor.builder_config.components_used.button;_.each(e,function(o,n){o.classes=o.classes.replace(/btn-(giant|jumbo)/g,''),e[n]=o}),e=_.uniq(e,!1,function(e){return e.classes}),BoldgridEditor.builder_config.components_used.button=e.slice(0,20)},_setupCustomizeOpen:function(){var e=BOLDGRID.EDITOR.Panel;e.$element.on('bg-customize-open',function(){e.currentControl===n&&(n.sizeSlider.init(),o.Menu.getTarget(n).removeClass('bg-control-element'))}),e.$element.on('bg-customize-exit',function(){e.currentControl===n&&(n.preselect(),o.Panel.scrollToSelected(),n.toggleFooter())})},removeColorClasses:function(){var e=o.Menu.getTarget(n);e.removeClass('btn-neutral-color'),e.removeClass(function(e,o){return(o.match(/(^|\s)btn-color\S+/g)||[]).join(' ')})},_setupColorClick:function(){o.Panel.$element.on('click','.customize .button-color-controls .panel-selection',function(){var a=e(this),r=o.Menu.getTarget(n);n.removeColorClasses(),a.siblings().removeClass('selected'),a.addClass('selected'),r.addClass('btn-color-'+a.attr('data-preset'))})},_setupPresetClick:function(){var a=o.Panel;a.$element.on('click','.button-design .presets .panel-selection',function(){var r=e(this),s=r.data('preset'),l=o.Menu.getTarget(n);o.Controls.addStyle(l,'border',''),o.Controls.addStyle(l,'box-shadow',''),a.clearSelected(),r.addClass('selected'),l.attr('class',''),l.addClass(s),n.toggleFooter()})},insertNew:function(){var e;send_to_editor('<a class="btn btn-color-1 bg-inserted-button" href="#">Button</a>'),e=o.Controls.$container.find('.bg-inserted-button').last(),o.Controls.$container.find('.bg-inserted-button').removeClass('bg-inserted-button'),o.Controls.$menu.targetData[n.name]=e,e.click(),n.openPanel()},onMenuClick:function(){n.openPanel()},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&n.openPanel()},applyColors:function(){var o=5,a=0,r;BoldgridEditor.colors.defaults.length&&(o=BoldgridEditor.colors.defaults.length,a=1),r=a,e.each(n.classes,function(e){o<r&&(r=a),0!==r&&(this.name+=' btn-color-'+r),0==(e+1)%4&&r++})},sizeSlider:{getDefault:function(){var a=2,r=o.Menu.getCurrentTarget();return e.each(n.sizeClasses,function(e){if(r.hasClass(this))return a=e,!1}),a},init:function(){var e=this.getDefault()+1,a=o.Menu.getCurrentTarget();o.Panel.$element.find('.section.button-size-control .value').html(e),o.Panel.$element.find('.section.button-size-control .slider').slider({min:1,max:6,value:e,range:'max',slide:function(e,o){a.removeClass(n.sizeClasses.join(' ')),o.value&&a.addClass(n.sizeClasses[o.value-1])}})}},getColorsMarkup:function(){var e=n.defaultColorClasses;return(BoldgridEditor.features.button_colors&&!BoldgridEditor.is_boldgrid_theme||o.Controls.hasThemeFeature('button-lib'))&&(e=o.CONTROLS.Color.getColorsFormatted()),o.CONTROLS.Color.colorTemplate({colors:e,customColors:[]})},preselect:function(){var a=o.Menu.getTarget(n),r=o.Util.getClassesLike(a,'btn');r=e('<div>').addClass(r.join(' ')).removeClass('bg-control-element '+n.sizeClasses.join(' ')).attr('class'),a.hasClass('button-primary')?r='button-primary':a.hasClass('button-secondary')&&(r='button-secondary'),o.Panel.clearSelected(),o.Panel.$element.find('[data-preset="'+r+'"]:first').addClass('selected')},toggleFooter:function(){var e=o.Menu.getTarget(n);e.hasClass('btn')?o.Panel.showFooter():o.Panel.hideFooter()},_updateMyDesigns:function(){n.usedComponents=BoldgridEditor.builder_config.components_used.button.slice(0),o.Controls.$container.$body.find('.btn').each(function(){var o=e(this),a=o.clone().removeClass('bg-control-element '+n.sizeClasses.join(' ')),r=a.attr('class'),s=n.usedComponents,l=_.findIndex(s,function(e){return e.classes===r});-1===l&&s.push({style:a.attr('style'),classes:r})})},openPanel:function(){var e=o.Panel,a=wp.template('boldgrid-editor-button');n._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(a({text:'Button',presets:n.classes,myPresets:n.usedComponents,colors:n.getColorsMarkup()})),n.preselect(),e.open(n),n.toggleFooter(),e.$element.removeClass('ui-widget-content')}},BOLDGRID.EDITOR.CONTROLS.Button.init(),n=BOLDGRID.EDITOR.CONTROLS.Button}(jQuery)},"./assets/js/builder/controls/element/font.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Font={name:'font',tooltip:'Font',priority:30,iconClasses:'fa fa-text-width',selectors:['p, h1, h2, h3, h4, h5, h6, table, section, ul, ol, dl','blockquote'],exceptionSelector:'img, .draggable-tools-imhwpb *',templateMarkup:null,fontClasses:['bg-font-family-alt','bg-font-family-body','bg-font-family-heading','bg-font-family-menu'],disabledTextContrast:!0,init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Text Setting',height:'625px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeSupport:['width','margin','padding','box-shadow','border','border-radius','animation','background-color','blockAlignment','device-visibility','customClasses'],customizeCallback:!0},setup:function(){n._setupEffectClick(),o.CONTROLS.GENERIC.Fontcolor.bind(),n.templateMarkup=wp.template('boldgrid-editor-font')({textEffectClasses:BoldgridEditor.builder_config.textEffectClasses,fonts:BoldgridEditor.builder_config.fonts,themeFonts:n.getThemeFonts(),myFonts:BoldgridEditor.builder_config.components_used.font}),n.bindFontCollpase(),o.FontRender.updateFontLink(o.Controls.$container)},bindFontCollpase:function(){var o=_.debounce(function(){var o=e('.font-family-dropdown');o.hasClass('ui-selectmenu-open')&&o.removeClass('ui-selectmenu-open')},50);e(window).on('scroll',o)},getThemeFonts:function(){var e=[];return-1!==BoldgridEditor.builder_config.theme_features.indexOf('theme-fonts-classes')&&(e=BoldgridEditor.builder_config.theme_fonts),e},_setupEffectClick:function(){var a=o.Panel;a.$element.on('click','.section.effects .panel-selection',function(){var a=e(this),r=o.Menu.$element.targetData[n.name];e.each(BoldgridEditor.builder_config.textEffectClasses,function(){r.removeClass(this.name)}),r.addClass(a.data('preset')),a.siblings().removeClass('selected'),a.addClass('selected')})},onMenuClick:function(){n.openPanel()},charSpacingSlider:function(e){var n=e.css('letter-spacing'),a=n?parseInt(n):0;o.Panel.$element.find('.section.spacing .character .value').html(a),o.Panel.$element.find('.section.spacing .character .slider').slider({step:0.1,min:-0.3,max:5,value:a,range:'max',slide:function(n,a){o.Controls.addStyle(e,'letter-spacing',a.value)}})},lineSpacingSlider:function(e){var n=e.css('line-height'),a=o.Util.convertPxToEm(n,e.css('line-height'));o.Panel.$element.find('.section.spacing .line .value').html(a),o.Panel.$element.find('.section.spacing .line .slider').slider({step:0.1,min:0.5,max:3,value:a,range:'max',slide:function(n,a){o.Controls.addStyle(e,'line-height',a.value+'em')}})},elementClick:function(a){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&(n.openPanel(),o.Panel.$element.find('label[for="font-color"]').is(':visible')&&(a.boldgridRefreshPanel=!0,o.CONTROLS.Color.$currentInput=o.Panel.$element.find('input[name="font-color"]')))},_initTextColor:function(){o.Panel.$element.find('[name="font-color"]').data('type','color').val('#333'),n._hideButtonColor()},_hideButtonColor:function(){var e='> .btn, > .button-primary, > .button-secondary, > a',a=o.Panel.$element.find('.color-preview'),r=o.Menu.getTarget(n),s;s=r.clone(),s.find(e).remove(),!s.text().replace(/ /g,'').length&&r.find(e).length&&a.hide()},_initFamilyDropdown:function(){var a=o.Panel,r;e.widget('custom.fontfamilyselect',e.ui.selectmenu,{_renderItem:function(o,n){return e('<li>').data('ui-autocomplete-item',n).attr('data-value',n.label).attr('data-type',n.element.data('type')).attr('data-index',n.element.data('index')).append(n.label).appendTo(o)},_renderMenu:function(o,n){var a=this;e.each(n,function(e,n){a._renderItemData(o,n)}),o.parent().addClass('font-family-dropdown'),o.addClass('selectize-dropdown-content'),o.find('[data-type="theme"]:first').before('<h3 class="seperator">Theme Fonts</h3>'),o.find('[data-type="custom"]:first').before('<h3 class="seperator">My Fonts</h3>'),o.find('[data-type="all"]:first').before('<h3 class="seperator">All Fonts</h3>'),setTimeout(function(){o.find('.seperator').removeClass('ui-menu-item')})}}),a.$element.find('.selectize-dropdown-content select').fontfamilyselect({select:function(e,a){var s=o.Menu.getTarget(n);return r.attr('data-value',a.item.label),s.removeAttr('data-font-family').removeAttr('data-font-class'),s.removeClass(n.fontClasses.join(' ')),'Default'===a.item.label?void o.Controls.addStyle(s,'font-family',''):void('theme'===a.item.element.data('type')?(s.addClass(a.item.element.data('index')),s.attr('data-font-class',a.item.element.data('index')),o.Controls.addStyle(s,'font-family','')):(s.attr('data-font-family',a.item.label),o.Controls.addStyle(s,'font-family',a.item.label)),o.FontRender.updateFontLink(o.Controls.$container))}}),r=n.getFamilySelection(),n.preselectFamily()},getFamilySelection:function(){return o.Panel.$element.find('.section.family .ui-selectmenu-button')},preselectFamily:function(){var e='Default',a=n.getFamilySelection(),r=o.Menu.getTarget(n),s;r.is('.'+n.fontClasses.join(',.'))?(s=r.attr('data-font-class'),e=o.Panel.$element.find('.section.family [data-index="'+s+'"]').data('value')):r.attr('data-font-family')&&(e=r.attr('data-font-family')),a.attr('data-value',e)},setTextColorInput:function(){var e=o.Menu.getTarget(n),a;a=o.CONTROLS.Color.findAncestorColor(e,'color'),o.Panel.$element.find('input[name="font-color"]').attr('value',a)},setTextEffect:function(){var e=o.Menu.getTarget(n),a=o.Panel.$element.find('.panel-body .section.effects'),r=o.Util.getClassesLike(e,'bg-text-fx');a.find('.panel-selection.selected').removeClass('selected'),r.length?a.find('.panel-selection').find('.'+r.join('.')).closest('.panel-selection').addClass('selected'):a.find('.none-selected').addClass('selected')},selectPresets:function(){n.setTextColorInput(),n.setTextEffect()},openPanel:function(){var e=o.Panel,a=o.Menu.getTarget(n);e.clear(),e.$element.find('.panel-body').html(n.templateMarkup),n.charSpacingSlider(a),n.lineSpacingSlider(a),n._initTextColor(a),n._initFamilyDropdown(),n.selectPresets(),e.open(n),e.scrollTo(0),o.CONTROLS.GENERIC.Fontsize.bind()}},BOLDGRID.EDITOR.CONTROLS.Font.init(),n=BOLDGRID.EDITOR.CONTROLS.Font}(jQuery)},"./assets/js/builder/controls/element/hr.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./node_modules/@boldgrid/components/src/components/config.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Hr={name:'hr',tooltip:'Horizontal Line',priority:80,iconClasses:'genericon genericon-minus',selectors:['.bg-editor-hr-wrap'],componentPrefix:'bg-hr',panel:{title:'Horizontal Line',height:'575px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeSupport:['fontColor','margin','padding','border','box-shadow','width','blockAlignment','animation','device-visibility','customClasses'],customizeSupportOptions:{margin:{horizontal:!1}},customizeCallback:!0,preselectCallback:!0,styleCallback:!0},maxMyDesigns:10,init:function(){o.Controls.registerControl(this),n.myDesigns=[],n.userDesigns._format(),n.template=wp.template('boldgrid-editor-hr')},getTarget:function(){return n.$currentTarget},onMenuClick:function(){var e=o.Panel;n.$currentTarget=BOLDGRID.EDITOR.Menu.getTarget(n).find('hr:first'),n.userDesigns._update(),e.clear(),e.$element.find('.panel-body').html(n.template({text:'Horizontal Rule',presets:a.a.hr.styles,myPresets:n.myDesigns})),e.showFooter(),e.open(n)},userDesigns:{append:function(e){var a=o.Util.getComponentClasses(e,n.componentPrefix).join(' ');a&&-1===n.myDesigns.indexOf(a)&&n.myDesigns.push(a)},_format:function(){var e=BoldgridEditor.builder_config,o=BoldgridEditor.builder_config.components_used.hr||[];_.each(o.slice(0,n.maxMyDesigns),function(e){n.userDesigns.append(e.classes)})},_update:function(){n.myDesigns.length>=n.maxMyDesigns||o.Controls.$container.$body.find('hr').each(function(){n.userDesigns.append(e(this).attr('class'))})}}},n=BOLDGRID.EDITOR.CONTROLS.Hr,BOLDGRID.EDITOR.CONTROLS.Hr.init()}(jQuery)},"./assets/js/builder/controls/element/icon.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Icon={name:'icon',priority:80,tooltip:'Icon Design',iconClasses:'fa fa-cog',selectors:['.fa'],panel:{title:'Change Icon',height:'675px',width:'335px',includeFooter:!0,customizeLeaveCallback:!0,customizeCallback:!0,customizeSupport:['fontColor','fontSize','margin','padding','rotate','box-shadow','border','border-radius','background-color','device-visibility','animation','customClasses']},template:wp.template('boldgrid-editor-icon'),init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){n._setupClosePanel(),n._setupCustomizeLeave()},elementClick:function(){n.openPanel()},_setupCustomizeLeave:function(){o.Panel.$element.on('bg-customize-exit',function(){n.name===o.Panel.currentControl.name&&n.highlightElement()})},_setupClosePanel:function(){o.Panel.$element.on('bg-panel-close',function(){o.Panel.currentControl&&n.name===o.Panel.currentControl.name&&n.collapseSelection()})},collapseSelection:function(){BOLDGRID.EDITOR.mce.execCommand('wp_link_cancel')},insertNew:function(){var e;send_to_editor('<i class="fa fa-cog bg-inserted-icon" aria-hidden="true"><span style="display:none;">&nbsp;</span></i>'),e=o.Controls.$container.find('.bg-inserted-icon').last(),o.Controls.$container.find('.bg-inserted-icon').removeClass('bg-inserted-icon'),o.Controls.$menu.targetData[n.name]=e,e.click()},setupPanelClick:function(){var o=BOLDGRID.EDITOR.Controls,a=BOLDGRID.EDITOR.Panel;a.$element.on('click','.icon-controls .panel-selection',function(){var r=o.$menu,s=r.targetData[n.name],l=e(this),i=s.hasClass('fa-li')?'fa-li':'';s.removeClass(function(e,o){return(o.match(/(^|\s)fa-\S+/g)||[]).join(' ')}),s.addClass(l.find('i').attr('class')+' '+i),a.$element.find('.selected').removeClass('selected'),l.addClass('selected')})},highlightElement:function(){var e=o.Menu.getTarget(n);BOLDGRID.EDITOR.mce.selection.select(e[0])},onMenuClick:function(){n.openPanel()},openPanel:function(){var e=o.Panel.$element,a=o.Controls.$menu,r=a.targetData[n.name],s;n.highlightElement(),n.setupPanelClick(),e.find('.panel-body').html(n.template({presets:BoldgridEditor.icons})),e.find('.selected').removeClass('selected'),s=e.find('i[class="'+r.attr('class')+'"]').closest('.panel-selection').addClass('selected'),BOLDGRID.EDITOR.Panel.open(n)}},BOLDGRID.EDITOR.CONTROLS.Icon.init(),n=BOLDGRID.EDITOR.CONTROLS.Icon}(jQuery)},"./assets/js/builder/controls/element/image.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.IMAGE.Design={classes:BoldgridEditor.builder_config.image,name:'image',tooltip:'Image Design',priority:80,iconClasses:'fa fa-cog',selectors:['img'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Image Design',height:'550px',width:'325px',includeFooter:!0,customizeCallback:!0,customizeLeaveCallback:!0,customizeSupport:['background-color','margin','border-radius','padding','border','animation','box-shadow','device-visibility','customClasses']},onMenuClick:function(){n.openPanel()},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&n.openPanel()},setup:function(){n.validateComponentsUsed(),n._setupPanelClick(),n._setupCustomizeHandlers()},_setupCustomizeHandlers:function(){var e=BOLDGRID.EDITOR.Panel;e.$element.on('bg-customize-exit',function(){e.currentControl===n&&o.Panel.showFooter()})},validateComponentsUsed:function(){var o=BoldgridEditor.builder_config.components_used;e.each(o.image,function(){var o=e('<div>').attr('class',this.classes);n.removeImageClass(o),this.classes=o.attr('class')}),o.image=_.uniq(o.image,function(e){return e.a})},removeImageClass:function(e){return e.removeClass(function(e,o){return(o.match(/(^|\s)wp-image-\S+/g)||[]).join(' ')}),e},_setupPanelClick:function(){var a=BOLDGRID.EDITOR.Panel;a.$element.on('click','.image-design .panel-selection',function(){var r=e(this),s=r.data('preset'),l=BOLDGRID.EDITOR.Menu.getTarget(n);o.Controls.addStyle(l,'border',''),o.Controls.addStyle(l,'border-radius',''),l.removeClass(function(e,o){return(o.match(/(^|\s)bg-img-\S+/g)||[]).join(' ')}),n.removeModClasses(l),l.removeClass(function(e,o){return(o.match(/(^|\s)img-\S+/g)||[]).join(' ')}),BOLDGRID.EDITOR.mce.selection.collapse(!1),r.hasClass('selected')?a.clearSelected():(a.clearSelected(),l.addClass(s),r.addClass('selected'))})},removeModClasses:function(e){e.parent('[class^="mod-img"]').removeClass(function(e,o){return(o.match(/(^|\s)mod-img-\S+/g)||[]).join(' ')})},preselectImage:function(){var a=o.Menu.getTarget(n),r=a.attr('class'),s=[];if(r=r?r.split(' '):[],e.each(r,function(){0===this.indexOf('bg-img')&&s.push(this)}),s=s.join(' '),s)return o.Panel.$element.find('[data-preset="'+s+'"]:first').addClass('selected'),!1},_updateMyDesigns:function(){n.usedComponents=BoldgridEditor.builder_config.components_used.image.slice(0),o.Controls.$container.$body.find('.bg-img').each(function(){var o=e(this),a=o.clone().removeClass('bg-control-element'),r,s,l,i;a=n.removeImageClass(a),r=a.attr('class'),s=n.usedComponents,i=function(e){return e.classes===r},l=_.findIndex(s,i),-1===l&&s.push({style:a.attr('style'),classes:r})})},openPanel:function(){var e=BOLDGRID.EDITOR.Panel,o=BOLDGRID.EDITOR.Menu.getTarget(n),a=wp.template('boldgrid-editor-image');n._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(a({src:o.attr('src'),presets:n.classes,myPresets:n.usedComponents})),n.preselectImage(),e.open(n)}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Design.init(),n=BOLDGRID.EDITOR.CONTROLS.IMAGE.Design}(jQuery)},"./assets/js/builder/controls/generic.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./node_modules/@boldgrid/controls/src/controls/index.js'),r=n('./assets/js/builder/controls/generic/background-color.js'),s=n('./assets/js/builder/controls/generic/border.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){var o=BOLDGRID.EDITOR,n;o.CONTROLS.Generic={defaultCustomize:wp.template('boldgrid-editor-default-customize'),basicControlInstances:[],bgControls:{margin:a.h,padding:a.i,"box-shadow":a.d,"border-radius":a.c,border:s.Border,"device-visibility":a.g,animation:a.a,"background-color":r.BackgroundColor},allControls:['background-color','fontColor','margin','animation','padding','border','box-shadow','border-radius','width','device-visibility','blockAlignment','customClasses'],appendBasicBGControl:function(e,a){var r=new a({target:o.Menu.getCurrentTarget(),colorPicker:{width:215}}),s;return r.applyCssRules=function(e){o.Controls.addStyle(r.$target,e),o.Panel.$element.trigger(o.Panel.currentControl.name+'-css-change')},n.basicControlInstances.push(r),s=r.render(),n.appendControl(s),s},appendControl:function(e){o.Panel.$element.find('.panel-body .customize').append(e)},createCustomizeSection:function(){var e=o.Panel.$element.find('.choices'),a=n.defaultCustomize();return e.length||(e=o.Panel.$element.find('.panel-body')),e.append(a),a},initControls:function(){var a=o.Panel.currentControl.panel.customizeSupport||[],r=o.Panel.currentControl.panel.customizeSupportOptions||!1;n.basicControlInstances=[],a.length&&!o.Panel.$element.find('.panel-body .customize').length&&n.createCustomizeSection(),e.each(a,function(){var e=this,a={},s;r&&r[this]&&(a=r[this]),n.bgControls[e]?s=n.appendBasicBGControl(a,n.bgControls[e]):(e=e.replace('-',''),e=e.toLowerCase(),e=e.charAt(0).toUpperCase()+e.slice(1),s=o.CONTROLS.GENERIC[e].render(a),o.CONTROLS.GENERIC[e].bind(a)),o.Tooltip.renderTooltips(),s.attr('data-control-name',this)}),n.bindControlRefresh()},bindControlRefresh:function(){o.Panel.$element.on('bg-customize-open',function(){_.each(n.basicControlInstances,function(e){e.refreshValues&&e.refreshValues()})})},setupInputCustomization:function(){o.Panel.$element.on('change','.class-control input',function(){var n=e(this),a=n.attr('name'),r=o.Menu.getCurrentTarget(),s=[],l=n.closest('.class-control').find('input[name="'+a+'"]');l.each(function(){s.push(e(this).val())}),r.removeClass(s.join(' ')),r.addClass(n.val())})},setupInputInitialization:function(){var n=BOLDGRID.EDITOR.Panel;n.$element.on('bg-customize-open',function(){var a=o.Menu.getCurrentTarget();n.$element.find('.class-control input[default]').prop('checked',!0),n.$element.find('.class-control input').each(function(){var o=e(this);a.hasClass(o.val())&&o.prop('checked',!0)})})}},n=BOLDGRID.EDITOR.CONTROLS.Generic}(jQuery)},"./assets/js/builder/controls/generic/background-color.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'BackgroundColor',function(){return c}),n.d(o,'default',function(){return c});var r=n('./includes/template/customize/background-color.html'),s=n.n(r),l=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),i=BOLDGRID.EDITOR,d=window.jQuery,c=function(){function e(){a(this,e)}return l(e,[{key:'render',value:function(){return this.$target=i.Menu.getCurrentTarget(),this.$control=this.createControl(),this.$input=this.$control.find('[name="generic-bg-color"]'),this._bind(),this.$control}},{key:'createControl',value:function(){var e=this,o=d(s.a);return i.Panel.$element.find('.panel-body .customize .generic-bg-color').remove(),i.Panel.$element.find('.panel-body .customize').append(o),i.Panel.$element.on('bg-customize-open',function(){var o=e.$target.css('background-color');i.Controls.$container.color_is(o,'transparent')&&(o='#FFFFFF'),e.$control.find('label.color-preview').css('background-color',o)}),o}},{key:'_bind',value:function(){var e=this;this.$input.on('change',function(){var o=e.$input.val(),n=e.$input.attr('data-type');e.$target.removeClass(i.CONTROLS.Color.textContrastClasses.join(' ')),e.$target.removeClass(i.CONTROLS.Color.backgroundColorClasses.join(' ')),i.Controls.addStyle(e.$target,'background-color',''),'class'===n?(!i.Panel.currentControl.disabledTextContrast&&e.$target.addClass(i.CONTROLS.Color.getColorClass('text-contrast',o)),e.$target.addClass(i.CONTROLS.Color.getColorClass('background-color',o))):i.Controls.addStyle(e.$target,'background-color',o),i.Panel.$element.trigger(i.Panel.currentControl.name+'-background-color-change')})}}]),e}()},"./assets/js/builder/controls/generic/block-alignment.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Blockalignment={template:wp.template('boldgrid-editor-horizontal-block-alignment'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.horizontal-block-alignment').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(){var a=o.Menu.getCurrentTarget(),r=a.is('hr')?'center':'left',s=o.Panel.$element.find('.section.horizontal-block-alignment input'),l=parseInt(a.css('margin-left')),i=parseInt(a.css('margin-right'));0===l&&0!==i?r='left':0===i&&0!==l&&(r='right'),s.filter('[value="'+r+'"]').prop('checked',!0),o.Panel.$element.find('.section [name="horizontal-block-alignment"]').on('change',function(){var r=e(this),s=r.val();n._applyMargin(a,s),o.Panel.$element.trigger(o.Panel.currentControl.name+'-css-change')})},_applyMargin:function(e,o){e.removeAttr('align'),'center'===o?(e.css('margin-left','auto'),e.css('margin-right','auto')):'left'===o?(e.css('margin-right','auto'),e.css('margin-left','0')):(e.css('margin-right','0'),e.css('margin-left','auto'))}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Blockalignment}(jQuery)},"./assets/js/builder/controls/generic/border.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Border',function(){return m}),n.d(o,'default',function(){return m});var l=n('./includes/template/customize/color.html'),i=n.n(l),d=n('./node_modules/@boldgrid/controls/src/controls/index.js'),c=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),p=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},u=BOLDGRID.EDITOR,g=window.jQuery,m=function(e){function o(e){a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return n.configs={name:'generic-border-color',label:'Border Color',propertyName:'border-color'},n}return s(o,e),c(o,[{key:'render',value:function(){var e=p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this);return this.$target=u.Menu.getCurrentTarget(),this.$colorControl=this.createControl(),this.$control.append(this.$colorControl),this.$input=this.$colorControl.find('[name="'+this.configs.name+'"]'),this._bind(),e}},{key:'createControl',value:function(){var e=this,o=g(_.template(i.a)(this.configs));return u.Panel.$element.on('bg-customize-open',function(){e.$control.find('label.color-preview').css('background-color',e.$target.css(e.configs.propertyName))}),o}},{key:'_bind',value:function(){var e=this;this.$input.on('change',function(){var o=e.$input.val(),n=e.$input.attr('data-type');u.CONTROLS.Color.resetBorderClasses(e.$target),'class'===n?e.$target.addClass(u.CONTROLS.Color.getColorClass(e.configs.propertyName,o)):u.Controls.addStyle(e.$target,e.configs.propertyName,o),u.Panel.$element.trigger(u.Panel.currentControl.name+'-'+e.configs.propertyName+'-change')})}}]),o}(d.b)},"./assets/js/builder/controls/generic/custom-classes.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Customclasses={template:wp.template('boldgrid-editor-custom-classes'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.custom-classes').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(){this.bindClasses(),this.bindId()},bindId:function(){var n=o.Panel,a=o.Menu.getCurrentTarget(),r=a.attr('id');n.$element.find('[name="css-id"]').on('input',function(){var o=e(this),n=o.val();n=n.replace(/[^A-Za-z0-9\-\_]/g,''),a.attr('id',n),o.val(n),n||a.removeAttr('id')}).val(r)},bindClasses:function(){var n=o.Panel,a=o.Menu.getCurrentTarget(),r=a.attr('custom-classes');n.$element.find('[name="custom-classes"]').on('input',function(){var o=e(this),n=a.attr('custom-classes'),r=o.val();r=r.replace(',',' '),a.removeClass(n),a.attr('custom-classes',r),a.addClass(r)}).val(r),n.$element.find('.custom-classes').show()}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Classes}(jQuery)},"./assets/js/builder/controls/generic/font-color.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontcolor={bound:!1,template:wp.template('boldgrid-editor-font-color'),render:function(){var n=e(this.template()),a=o.Menu.getTarget(o.Panel.currentControl);return o.Panel.$element.find('.panel-body .customize').find('.section.font-color').remove(),o.Panel.$element.find('.panel-body .customize').append(n),o.Panel.$element.on('bg-customize-open',function(){o.Panel.$element.find('.panel-body .customize').find('.section.font-color label').css('background-color',a.css('color'))}),n},bind:function(){var n=o.Panel;return!this.bound&&void(n.$element.on('change','.section [name="font-color"]',function(){var n=e(this),a=o.Menu.getCurrentTarget(),r=n.val(),s=n.attr('data-type');a.removeClass(o.CONTROLS.Color.colorClasses.join(' ')),o.Controls.addStyle(a,'color',''),'class'===s?a.addClass(o.CONTROLS.Color.getColorClass('color',r)):o.Controls.addStyle(a,'color',r)}),this.bound=!0)}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontcolor}(jQuery)},"./assets/js/builder/controls/generic/font-size.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontsize={template:wp.template('boldgrid-editor-font-size'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.size').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(){var e=o.Menu.getTarget(o.Panel.currentControl),n=e.css('font-size'),a=n?parseInt(n):14;a=5<=a?a:14,o.Panel.$element.find('.section.size .value').html(a),o.Panel.$element.find('.section.size .slider').slider({min:5,max:115,value:a,range:'max',slide:function(n,a){o.Panel.$element.find('.section.size .value').html(a.value),o.Controls.addStyle(e,'font-size',a.value)}})}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontsize}(jQuery)},"./assets/js/builder/controls/generic/link.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Link={template:wp.template('boldgrid-editor-insert-link'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.insert-link').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(){o.Panel.$element.find('.section.insert-link').on('click',function(){var e=o.Menu.getTarget(o.Panel.currentControl);BOLDGRID.EDITOR.mce.selection.select(e[0]),BOLDGRID.EDITOR.mce.execCommand('WP_Link')})}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Link}(jQuery)},"./assets/js/builder/controls/generic/margin.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Margin={template:wp.template('boldgrid-editor-margin'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.margin-control').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(e){e||(e={});var n=e.vertMin||0,a=e.horMin||-15,r=e.horMax||50,s=e.vertMax||200,l=o.Menu.getCurrentTarget(),i=l.css('margin-top'),d=l.css('margin-left');!1===e.horizontal&&o.Panel.$element.find('.margin-horizontal').hide(),!1===e.vertical&&o.Panel.$element.find('.margin-top').hide(),i=i&&'auto'!==i?parseInt(i):0,d=d&&'auto'!==d?parseInt(d):0,o.Panel.$element.find('.panel-body .customize .margin-horizontal .slider').slider({min:a,max:r,value:d,range:'max',slide:function(e,n){l=o.Menu.getCurrentTarget(),o.Controls.addStyle(l,'margin-left',n.value),o.Controls.addStyle(l,'margin-right',n.value)}}).siblings('.value').html(d),o.Panel.$element.find('.panel-body .customize .margin-top .slider').slider({min:n,max:s,value:i,range:'max',slide:function(e,n){l=o.Menu.getCurrentTarget(),o.Controls.addStyle(l,'margin-top',n.value),o.Controls.addStyle(l,'margin-bottom',n.value)}}).siblings('.value').html(i)}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Margin}(jQuery)},"./assets/js/builder/controls/generic/rotate.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Rotate={classes:['fa-rotate-90','fa-rotate-180','fa-rotate-270'],getDefault:function(){var e=o.Menu.getCurrentTarget(),n=0;return e.hasClass('fa-rotate-90')?n=90:e.hasClass('fa-rotate-180')?n=180:e.hasClass('fa-rotate-270')&&(n=270),n},template:wp.template('boldgrid-editor-rotate'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.rotate-control').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(){var e=this.getDefault(),a=o.Menu.getCurrentTarget();o.Panel.$element.find('.section.rotate-control .value').html(e),o.Panel.$element.find('.section.rotate-control .slider').slider({min:0,step:90,max:270,value:e,range:'max',slide:function(e,o){a.removeClass(n.classes.join(' ')),o.value&&a.addClass('fa-rotate-'+o.value)}})}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Rotate}(jQuery)},"./assets/js/builder/controls/generic/width.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Width={template:wp.template('boldgrid-editor-generic-width'),render:function(){var n=e(this.template()),a=o.Panel.$element.find('.panel-body .customize');return a.find('.section.width-control').remove(),a.append(n),n},bind:function(){var e=100,n=o.Menu.getCurrentTarget(),a=n[0].style.width||n.attr('width');a=a?parseInt(a):e,a=Math.min(a,e),a=Math.max(a,0),o.Panel.$element.find('.panel-body .customize .width .slider').slider({min:10,max:100,value:a,range:'max',slide:function(e,a){100===a.value?o.Controls.addStyle(n,'width','auto'):o.Controls.addStyle(n,'width',a.value+'%')}}).siblings('.value').html(a)}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Width}(jQuery)},"./assets/js/builder/controls/global.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});n('./assets/js/builder/controls/color/palette.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){var e=BOLDGRID.EDITOR,o;e.CONTROLS.Global={$element:null,name:'global-options',tooltip:'Global Options',priority:2,iconClasses:'fa fa-globe',selectors:['html'],menuDropDown:{title:'Global Options',options:[{name:'Color Palette',class:'action open-color-palette font-awesome fa-paint-brush'},{name:'Delete Post Content',class:'action delete-all-content font-awesome fa-trash'}]},init:function(){BoldgridEditor.is_boldgrid_theme&&this.menuDropDown.options.splice(0,1),e.Controls.registerControl(this)},deleteContent:function(){e.Controls.$container.find('body').html('<p></p>'),e.Controls.$container.validate_markup(),IMHWPB.WP_MCE_Draggable.instance.add_tiny_mce_history()},setup:function(){var o=this;e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.open-color-palette',function(){e.Controls.get('Palette').openPanel()}),e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.delete-all-content,.action.edit-page-settings',function(){var e=confirm('Are you sure you want to clear this post\'s content?');e&&o.deleteContent()})}},BOLDGRID.EDITOR.CONTROLS.Global.init(),o=BOLDGRID.EDITOR.CONTROLS.Global}(jQuery)},"./assets/js/builder/controls/help.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;e.CONTROLS.Help={name:'help',tooltip:'Help',priority:3,iconClasses:'fa fa-question',selectors:['html'],menuDropDown:{title:'Help',options:[{name:'Editing Guide',class:'action font-awesome fa-question support-center'},{name:'Information',class:'action font-awesome fa-info bg-editor-information'}]},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.support-center',o.openSupportCenter).on('click','.action.bg-editor-information',o.iconHelp)},openSupportCenter:function(){window.open('https://www.boldgrid.com/support/editing-your-pages/post-and-page-builder/?source=boldgrid-editor_drop-tab','_blank')},iconHelp:function(){e.CONTROLS.Information.activate()}},BOLDGRID.EDITOR.CONTROLS.Help.init(),o=BOLDGRID.EDITOR.CONTROLS.Help}()},"./assets/js/builder/controls/image/change.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.IMAGE.Change={name:'image-change',tooltip:'Change Image',priority:85,iconClasses:'genericon genericon-image',selectors:['img'],init:function(){e.Controls.registerControl(this)},openModal:function(){var o=BOLDGRID.EDITOR.mce.selection.getNode();o&&'IMG'!==o.nodeName&&1===o.childElementCount&&'IMG'===o.firstChild.nodeName&&BOLDGRID.EDITOR.mce.selection.select(o.firstChild),BOLDGRID.EDITOR.mce.buttons.wp_img_edit.onclick(),wp.media.frame.setState('replace-image'),wp.media.frame.state('replace-image').on('replace',function(o){e.CropInstance.onReplace(o)})},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Change.init(),o=BOLDGRID.EDITOR.CONTROLS.IMAGE.Change}(jQuery)},"./assets/js/builder/controls/image/filter.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter={name:'image-filter',priority:90,iconClasses:'fa fa-magic',tooltip:'Image Filter',sliderHistory:{},preview:null,presetIntensity:'50%',panel:{title:'Image Filters',height:'536px',width:'800px',scrollTarget:'.presets ul',sizeOffset:-130},selectors:['img'],presets:[{name:'none',title:'None'},{name:'vintage',title:'Vintage'},{name:'lomo',title:'Lomo'},{name:'clarity',title:'Clarity'},{name:'sinCity',title:'Sin City'},{name:'sunrise',title:'Sunrise'},{name:'crossProcess',title:'Cross Process'},{name:'orangePeel',title:'Orange Peel'},{name:'love',title:'Love'},{name:'grungy',title:'Grungy'},{name:'jarques',title:'Jarques'},{name:'pinhole',title:'Pinhole'},{name:'oldBoot',title:'Old Boot'},{name:'glowingSun',title:'Glowing Sun'},{name:'hazyDays',title:'Hazy Days'},{name:'herMajesty',title:'Her Majesty'},{name:'nostalgia',title:'Nostalgia'},{name:'hemingway',title:'Hemingway'},{name:'concentrate',title:'Concentrate'}],customizeSettings:{brightness:{title:'Brightness',range:{min:-50,max:50}},vibrance:{title:'Vibrance',range:{min:-50,max:50}},contrast:{title:'Contrast',range:{min:-10,max:10}},saturation:{title:'Saturation',range:{min:-50,max:50}},exposure:{title:'Exposure',range:{min:-50,max:50}},hue:{title:'Hue',range:{min:0,max:100}},gamma:{title:'Gamma',range:{min:1,max:4,val:1}},clip:{title:'Clip',range:{min:0,max:50}},stackBlur:{title:'Blur',range:{min:0,max:30}},sepia:{title:'Sepia',range:{min:0,max:100}},noise:{title:'Noise',range:{min:0,max:50}},sharpen:{title:'Sharpen',range:{min:0,max:50}}},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){n._setupInsertClick(),n._setupToggleCustomize(),n._setupPanelClick()},_setupToggleCustomize:function(){var e=BOLDGRID.EDITOR.Panel,o;e.$element.on('click','.presets .activate-customize',function(){e.$element.find('.choices').addClass('customizing'),n.preview.revert(),n.applySliderSettings()}),e.$element.on('click','.customize .activate-presets',function(){e.$element.find('.choices').removeClass('customizing'),n.preview.revert(),o=e.$element.find('.selected').data('preset'),o&&'none'!==o?n.renderPreset(o):(e.clearSelected(),e.$element.find('[data-preset="none"]').addClass('selected'))})},renderPreset:function(e){var o=BOLDGRID.EDITOR.Panel;o.$element.addClass('rendering'),n.preview.revert(!1),n.preview[e](n.presetIntensity).render(function(){o.$element.removeClass('rendering')})},_setupPanelClick:function(){var o=BOLDGRID.EDITOR.Panel;o.$element.on('click','.image-filter .panel-selection',function(){var a=e(this),r=a.data('preset');return!o.$element.hasClass('rendering')&&void(o.clearSelected(),a.addClass('selected'),'none'===r?n.preview.revert():n.renderPreset(r))})},_setupInsertClick:function(){BOLDGRID.EDITOR.Panel.$element.on('click','.preview .insert-image',function(){n.insertImage()})},_setupSliders:function(){n.sliderHistory={},BOLDGRID.EDITOR.Panel.$element.find('.slider').each(function(){var o=e(this),a=o.data('control'),r=n.customizeSettings[a].range;o.slider({min:r.min,max:r.max,value:r.val||0,change:function(o,e){n.sliderHistory[a]=e.value,n.applySliderSettings()}})})},applySliderSettings:function(){n.preview.revert(!1),e.each(n.sliderHistory,function(e){n.preview[e](this)}),n.preview.render()},insertImage:function(){var o=BOLDGRID.EDITOR.Panel,a=BOLDGRID.EDITOR.Menu.getTarget(n);o.$element.addClass('rendering'),e.ajax({type:'post',url:ajaxurl,dataType:'json',data:{action:'boldgrid_canvas_image',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,attachement_id:a.attachment_id,image_data:n.preview.canvas.toDataURL()},success:function(e){e&&e.success&&(e=e.data,a.removeClass('wp-image-'+a.attachment_id),a.addClass('wp-image-'+e.attachment_id),a.attachment_id=e.attachment_id,a.attr('src',e.url),a.attr('data-mce-src',e.url),BoldgridEditor.images=e.images)}}).always(function(){o.$element.removeClass('rendering')})},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&n.openPanel()},_renderPanelThumbnails:function(){var e=1,a;a=function(){var r='[data-preset="'+n.presets[e].name+'"] img';o.Panel.$element.find(r).length&&Caman(r,function(){this[n.presets[e].name]('50%').render(function(){e++,n.presets[e]&&a()})})},a()},getImageSrc:function(){var o=BOLDGRID.EDITOR.Menu.getTarget(n),a=o.attr('src'),r;return e.each(BoldgridEditor.images,function(){if(o.hasClass('wp-image-'+this.attachment_id))return o.attachment_id=this.attachment_id,r=this.thumbnail,!1}),r||(r=a),{src:r,fullSrc:a}},openPanel:function(){var e=BOLDGRID.EDITOR.Panel,a=wp.template('boldgrid-editor-image-filter'),r;e.clear(),r=this.getImageSrc(),e.$element.removeClass('rendering'),e.$element.find('.panel-body').html(a({fullSrc:r.fullSrc,src:r.src,presets:n.presets,customizeSettings:n.customizeSettings})),!r.fullSrc||Caman.IO.isURLRemote(r.fullSrc)?o.Panel.$element.find('.panel-body .remote-image-error').addClass('error-active'):(n._setupSliders(),n._renderPanelThumbnails(),e.$element.find('[data-preset="none"]').addClass('selected'),n.preview=Caman(e.$element.find('.preview img')[0])),BOLDGRID.EDITOR.mce.selection.collapse(!1),e.open(n),e.centerPanel()},onMenuClick:function(){n.openPanel()}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter.init(),n=BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter}(jQuery)},"./assets/js/builder/controls/information.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;e.CONTROLS.Information={name:'information',panel:{title:'Controls Information',height:'575px',icon:'fa fa-info',width:'750px'},init:function(){e.Controls.registerControl(this)},activate:function(){o.onMenuClick()},setup:function(){o.templateHTML=wp.template('boldgrid-editor-information')()},onMenuClick:function(){var n=e.Panel;n.clear(),n.$element.find('.panel-body').html(o.templateHTML),n.open(o),n.centerPanel()}},BOLDGRID.EDITOR.CONTROLS.Information.init(),o=BOLDGRID.EDITOR.CONTROLS.Information}(jQuery)},"./assets/js/builder/controls/media/edit.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.MEDIA=BOLDGRID.EDITOR.CONTROLS.MEDIA||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit={name:'edit-media',tooltip:'Edit',priority:85,iconClasses:'dashicons dashicons-edit',selectors:['[data-wpview-type="gallery"]','[data-wpview-type="ninja_forms"]'],init:function(){e.Controls.registerControl(this)},openModal:function(){var n=e.Menu.getTarget(o).get(0);n&&wp.mce.views.edit(BOLDGRID.EDITOR.mce,n)},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit.init(),o=BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit}(jQuery)},"./assets/js/builder/controls/media/map.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.MEDIA=BOLDGRID.EDITOR.CONTROLS.MEDIA||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.MEDIA.Map={name:'edit-maps',tooltip:'Edit Map',priority:85,iconClasses:'dashicons dashicons-edit',selectors:['.boldgrid-google-maps'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},openModal:function(){wp.media.editor.open(),wp.media.frame.setState('iframe:google_map'),o.setContent()},setContent:function(){var o=e.Menu.getTarget(this);e.Controls.$container.find(o).length&&BOLDGRID.EDITOR.mce.selection.select(o[0])},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.MEDIA.Map.init(),o=BOLDGRID.EDITOR.CONTROLS.MEDIA.Map}(jQuery)},"./assets/js/builder/controls/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var n=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Section={$container:null,$popover:null,$currentSection:[],zoomSliderSettings:{min:1,max:6,defaultVal:3},init:function(e){a.renderZoomTools(),a.$container=e,a.bindHandlers()},bindHandlers:function(){var e=o('.bg-zoom-controls'),r=e.find('.zoom-in'),s=e.find('.zoom-out');n.Service.popover.section.$element.find('.move-sections').on('click',a.enableSectionDrag),o('.exit-row-dragging, .bg-close-zoom-view').on('click',a.exitSectionDrag),r.on('click',a.zoom.zoomIn),s.on('click',a.zoom.zoomOut),o(window).on('resize',a.updateHtmlSize)},updateHtmlSize:function(){var e,n;o('body').hasClass('boldgrid-zoomout')&&(e=a.$container.$body[0].getBoundingClientRect(),n=e.bottom-e.top+50,a.$container.find('html').css('max-height',n),o('#content_ifr').css('max-height',n))},zoom:{change:function(e){var o=parseInt(a.$slider.slider('value'));a.$slider.slider('value',e(o)).trigger('change')},zoomIn:function(){a.zoom.change(function(e){return e+1})},zoomOut:function(){a.zoom.change(function(e){return e-1})}},renderZoomTools:function(){var e=wp.template('boldgrid-editor-zoom-tools');o('#wp-content-editor-tools').append(e())},exitSectionDrag:function(r){var e=o('body'),s=o(window),l=a.$container.find('html');r.preventDefault(),a.$container.validate_markup(),a.$container.$body.find('.loading-gridblock').remove(),a.sectionDragEnabled=!1,e.removeClass('focus-on boldgrid-zoomout'),s.trigger('resize'),l.removeClass('zoomout dragging-section'),a.$container.$body.attr('contenteditable','true'),n.Controls.$menu.hide(),a.$container.$body.css('transform',''),l.css('max-height',''),o('#content_ifr').css('max-height',''),o('html, body').animate({scrollTop:o('#postdivrich').offset().top},0)},zoomDisabled:function(){if(IMHWPB.WP_MCE_Draggable.instance&&IMHWPB.WP_MCE_Draggable.instance.draggable_inactive)return alert('Add Block requires that BoldGrid Editing be enabled on this page. You can enable it by clicking the move icon \u2629 on your editor toolbar.'),!0},enableSectionDrag:function(){var e;a.zoomDisabled()||(o.fourpan.dismiss(),a.sectionDragEnabled=!0,a.$container.find('html').addClass('zoomout dragging-section'),a.$container.$body.removeAttr('contenteditable'),a.$slider=o('.bg-zoom-controls .slider'),n.Controls.$menu.addClass('section-dragging'),o('body').addClass('focus-on boldgrid-zoomout').find('#wpadminbar').addClass('focus-off'),o(window).trigger('resize').scrollTop(0),a.updateHtmlSize(),BOLDGRID.EDITOR.GRIDBLOCK.Loader.firstOpen(),n.GRIDBLOCK.View.onOpen(),e=function(e){a.removeZoomClasses(),a.$container.$body.addClass('zoom-scale-'+e),a.updateHtmlSize()},a.$slider.slider({min:a.zoomSliderSettings.min,max:a.zoomSliderSettings.max,value:a.zoomSliderSettings.defaultVal,orientation:'vertical',range:'max',change:function(o,n){e(n.value)},slide:function(o,n){e(n.value)}}))},removeZoomClasses:function(){a.$container.$body.removeClass(function(e,o){return(o.match(/(^|\s)zoom-scale-\S+/g)||[]).join(' ')})}},a=BOLDGRID.EDITOR.CONTROLS.Section}(jQuery)},"./assets/js/builder/controls/template.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Template',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=jQuery,l=s('body'),i=function(){function e(){a(this,e),this.bodyClassName='boldgrid-editor-template',this.$templateInput=s('#page_template')}return r(e,[{key:'init',value:function(){var o=this;this.updateBodyClass(),this.updateDefaultContainer(),this.$templateInput.on('change',function(n){o.updateBodyClass(),o.updateDefaultContainer(),BoldgridEditor.features.template_via_url&&(BOLDGRID.EDITOR.Service.loading.show(),BOLDGRID.EDITOR.Service.editorWidth.updateIframeUrl(BoldgridEditor.site_url+'&template_choice='+s(n.target).val()))})}},{key:'updateDefaultContainer',value:function(){var e=BoldgridEditor.builder_config.templateContainers;BoldgridEditor.is_boldgrid_template||(e[this.$templateInput.val()]?BoldgridEditor.default_container=e[this.$templateInput.val()]:BoldgridEditor.default_container='container-fluid')}},{key:'updateBodyClass',value:function(){this.isBoldgridTemplate(this.$templateInput.val())?l.addClass(this.bodyClassName):l.removeClass(this.bodyClassName)}},{key:'isBoldgridTemplate',value:function(e){return!!BoldgridEditor.internalPageTemplates[e]}}]),e}();new i().init()},"./assets/js/builder/customize/navigation.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Navigation',function(){return q}),n.d(o,'default',function(){return q});var r=n('./includes/template/customize/navigation.html'),s=n.n(r),l=n('./assets/image/icons/customize-nav/margin.svg'),i=n.n(l),d=n('./assets/image/icons/customize-nav/padding.svg'),c=n.n(d),p=n('./assets/image/icons/customize-nav/border.svg'),u=n.n(p),g=n('./assets/image/icons/customize-nav/box-shadow.svg'),m=n.n(g),h=n('./assets/image/icons/customize-nav/border-radius.svg'),b=n.n(h),f=n('./assets/image/icons/customize-nav/custom-class.svg'),C=n.n(f),v=n('./assets/image/icons/customize-nav/width.svg'),y=n.n(v),D=n('./assets/image/icons/customize-nav/block-align.svg'),w=n.n(D),E=n('./assets/image/icons/customize-nav/color.svg'),k=n.n(E),F=n('./assets/image/icons/customize-nav/background-color.svg'),x=n.n(F),A=n('./assets/image/icons/customize-nav/rotate.svg'),B=n.n(A),O=n('./assets/image/icons/customize-nav/font-size.svg'),T=n.n(O),S=n('./assets/image/icons/customize-nav/design.svg'),R=n.n(S),I=n('./assets/image/icons/customize-nav/animation.svg'),L=n.n(I),P=n('./assets/image/icons/customize-nav/devices.svg'),j=n.n(P),z=n('./assets/image/icons/customize-nav/divider.svg'),M=n.n(z),N=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),H=window.jQuery,G=BOLDGRID.EDITOR,q=function(){function e(){a(this,e),this.template=_.template(s.a),this.data={controls:[{name:'design',icon:R.a,label:'Element Design'},{name:'padding',icon:c.a,label:'Padding'},{name:'margin',icon:i.a,label:'Margin'},{name:'fontSize',icon:T.a,label:'Font Size'},{name:'fontColor',icon:k.a,label:'Color'},{name:'background-color',icon:x.a,label:'Background Color'},{name:'rotate',icon:B.a,label:'Rotate'},{name:'border',icon:u.a,label:'Border'},{name:'border-radius',icon:b.a,label:'Border Radius'},{name:'box-shadow',icon:m.a,label:'Box Shadow'},{name:'animation',icon:L.a,label:'Animation'},{name:'width',icon:y.a,label:'Width'},{name:'blockAlignment',icon:w.a,label:'Block Alignment'},{name:'device-visibility',icon:j.a,label:'Responsive Utilities'},{name:'customClasses',icon:C.a,label:'Custom CSS Classes'}]}}return N(e,[{key:'init',value:function(){return this._render(),this._setupClick(),this._bindEvents(),this}},{key:'enable',value:function(){this.$element.show()}},{key:'disable',value:function(){this.$element.hide()}},{key:'onPanelOpen',value:function(){this._enableMenuOptions(),this.activateFirstControl(),this.disable()}},{key:'activateFirstControl',value:function(){return this.$element.find('.item.enabled').first().click()}},{key:'displayControl',value:function(e){G.Panel.$element.find('.customize [data-control-name="'+e+'"]').show()}},{key:'_bindEvents',value:function(){var e=this;G.Panel.$element.on('open',function(){return e.onPanelOpen()})}},{key:'_enableMenuOptions',value:function(){var e=this,o=this.$element.find('.item').removeClass('enabled'),n=G.Panel.$element.find('.customize');n.find('[data-control-name]').each(function(o,n){var a=H(n),r=a.data('control-name');e.$element.find('[data-control-name="'+r+'"]').addClass('enabled')})}},{key:'_render',value:function(){this.$element=H(this.template(this.data)),this.$element.hide(),G.Panel.$element.find('.panel-title').after(this.$element)}},{key:'_setupClick',value:function(){var o=this;this.$element.find('.item').on('click',function(n){var e=H(n.target).closest('.item'),a=e.data('control-name');n.preventDefault(),o.$activeControl&&(o.$activeControl.removeClass('active'),G.Panel.$element.find('.customize [data-control-name]').hide()),e.addClass('active'),o.$activeControl=e,o.displayControl(a)})}}]),e}()},"./assets/js/builder/drag.js":function(e,o,n){'use strict';var a=Math.floor;Object.defineProperty(o,'__esModule',{value:!0});var r=n('./assets/js/builder/drag/content.js'),s=n('./assets/js/builder/drag/column.js'),l=n('./assets/js/builder/drag/placeholder.js'),i=n('./assets/js/builder/browser/ie-version.js'),d=BOLDGRID.EDITOR;jQuery.fn.IMHWPB_Draggable=function(e,o){var n=this,d=BOLDGRID.EDITOR,c=[];n.ie_version=null,n.isSafari=null,n.$master_container=this,n.$window=o(window),n.$iframe=o('#content_ifr'),n.$body=n.find('body'),n.$html=n.find('html'),n.$validatedInput=o('input[name="boldgrid-in-page-containers"]'),n.resizeOverlay=wp.template('boldgrid-editor-mce-tools')(),n.find('html').append(n.resizeOverlay),n.original_selector_strings={},n.scrollInterval=!1,n.$mce_32=o('#'+BOLDGRID.EDITOR.mce.theme.panel._items[0]._id),n.$post_status_info=o('#post-status-info'),n.additional_menu_items=e.menu_items||[],this.hover_timout=e.hover_timout||175,this.columnUnlockThreshold=75,this.$interaction_container=null,this.$boldgrid_menu_action_clicked=null,this.last_auto_scroll_event=null,this.editting_as_row=!1,this.hover_elements={content:{add_element:null},column:{add_element:null},row:{add_element:null}},this.color_alias={white:['rgb(255, 255, 255)','white'],transparent:['rgba(0, 0, 0, 0)','transparent']},this.master_container_id='',this.resize_finish_event=o.Event('resize_done_dwpb'),this.resize_start_event=o.Event('resize_start_dwpb'),this.boldgrid_modify_event=o.Event('boldgrid_modify_content'),this.add_row_event=o.Event('add_row_event_dwpb'),this.delete_event=o.Event('delete_dwpb'),this.clear_event=o.Event('clear_dwpb'),this.add_column_event=o.Event('add_column_dwpb'),this.drag_start_event=o.Event('drag_start_dwpb'),this.popovers_disabled=!1,this.right_resize_buffer=10,this.drag_end_event=o.Event('drag_end_dwpb'),this.nest_row=!1,this.drag_drop_triggered=!1,this.debug=e.debug,this.draggable_selectors_string=null,this.row_selectors_string=null,this.content_selectors_string=null,this.column_selectors_string=null,this.dragging_selector_class_name='dragging-imhwpb',this.dragging_selector='.'+this.dragging_selector_class_name,this.$current_drag=null,this.resize=!1,this.valid_drag=null,this.border_hover_buffer=15,this.resize_buffer=0.0213,this.max_row_size=12,this.$most_recent_row_enter_add=null,this.window_width=null,this.window_height=null,this.active_resize_class=null,this.restore_row=null,this.$temp_insertion=null,this.$cloned_drag_image=null,this.row_selector=e.row_selector||['.row:not(.row .row)'],this.add_media_event_handler=e.add_media_event_handler||function(){},this.insert_layout_event_handler=e.insert_layout_event_handler||function(){},this.general_column_selectors=e.general_column_selectors||['[class*="col-md"]'],this.nested_row_selector_string='.row .row:not(.row .row .row)',this.sectionSelectorString='.boldgrid-section',this.nestedColumnSelector='.row .row > [class*="col-md"]:not(.row .row .row [class*="col-md"])',this.general_content_selectors=['h1','h2','h3','h4','h5','h6','h7','a:not(p a)','img:not(p img):not(a img)','p:not(blockquote p)','button:not(p button):not(a button)','ul','ol','dl','form','table','.row .row','[data-imhwpb-draggable="true"]','.wpview-wrap','.wpview','blockquote','code','abbr'],this.content_selectors=e.content_selectors||['h1:not(.row .row h1)','h2:not(.row .row h2)','h3:not(.row .row h3)','h4:not(.row .row h4)','h5:not(.row .row h5)','h6:not(.row .row h6)','h7:not(.row .row h7)','a:not(.row .row a):not(p a)','img:not(.row .row img):not(p img):not(a img)','p:not(.row .row p):not(blockquote p)','button:not(.row .row button):not(p button):not(a button)','ul:not(.row .row ul):not(.draggable-tools-imhwpb ul)','ol:not(.row .row ol)','dl:not(.row .row dl)','form:not(.row .row form)','table:not(.row .row table)','.row .row:not(.row .row .row)','[data-imhwpb-draggable="true"]:not(.row .row [data-imhwpb-draggable="true"])','.wpview-wrap:not(.row .row .wpview-wrap)','.wpview:not(.row .row .wpview)','blockquote:not(.row .row blockquote)','code:not(.row .row code)','abbr:not(.row .row abbr)'];var p=['.row .row h1','.row .row h2','.row .row h3','.row .row h4','.row .row h5','.row .row h6','.row .row h7','.row .row a','.row .row img:not(p img):not(a img)','.row .row p','.row .row button:not(p button):not(a button)','.row .row ul','.row .row ol','.row .row dl','.row .row form','.row .row table','.row .row .row','.row .row [data-imhwpb-draggable="true"]','.row .row .wpview-wrap','.row .row .wpview','.row .row code','.row .row blockquote','.row .row abbr'],u=['> h1','> h2','> h3','> h4','> h5','> h6','> h7','> a','> img','> p','> button','> ul','> ol','> dl','> form','> table','> .row','> dl','> form','> table','.row:not(.row .row)','> [data-imhwpb-draggable="true"]','> .wpview-wrap','> .wpview','> code','> blockquote','> abbr'];this.column_sizes={0:0,1:0.083,2:0.167,3:0.25,4:0.333,5:0.416,6:0.5,7:0.583,8:0.667,9:0.75,10:0.833,11:0.917,12:1,13:1.083},this.dragTypeSetting=e.dragType||'dragEnter',this.layout_translation={"[12]":{12:'6',new:'6'},"[6,6]":{6:'4',new:'4'},"[4,4,4]":{4:'3',new:'3'},"[3,3,3,3]":{current:'3',current_transform:'2',new:'2',additional_transform:[{count:'1',from:'3',to:'2'}]},"[6,3,3]":{current:'3',current_transform:'2',new:'2',additional_transform:[{count:'1',from:'3',to:'2'}]}},this.capitalizeFirstLetter=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},this.init=function(){return n.fourpan({element_padding:0,transition_speed:0,activate:b,deactivate:h}),n.ie_version=Object(i['default'])(),n.isSafari=n.checkIsSafari(),n.create_selector_strings(),m(),n.bind_events(),n.setup_additional_plugins(),n.validate_markup(),n.track_window_size(),g(),d.RESIZE.Row.init(n),d.Controls.init(n),d.DRAG.Section.init(n),n};var g=function(){BoldgridEditor.is_boldgrid_theme||n.find('html').addClass('non-bg-theme')},m=function(){n.original_selector_strings={general_content_selector_string:n.general_content_selector_string,unformatted_content_selectors_string:n.unformatted_content_selectors_string,content_selectors_string:n.content_selectors_string,immediate_row_siblings_string:n.immediate_row_siblings_string,row_selectors_string:n.row_selectors_string,column_selectors_string:n.column_selectors_string,unformatted_column_selectors_string:n.unformatted_column_selectors_string,general_column_selectors_string:n.general_column_selectors_string,immediate_column_selectors_string:n.immediate_column_selectors_string,draggable_selectors_string:n.draggable_selectors_string}};this.create_selector_strings=function(){n.general_content_selector_string=n.general_content_selectors.join(),n.unformatted_content_selectors_string=n.content_selectors.join(),n.content_selectors_string=n.format_selectors(n.content_selectors).join(),n.immediate_row_siblings_string=u.join(),n.row_selectors_string=n.row_selector.join(),n.column_selectors_string=n.format_column_selectors(n.general_column_selectors,!0).join(),n.unformatted_column_selectors_string=n.column_selectors_string.replace(/:visible/,''),n.general_column_selectors_string=n.general_column_selectors.join(),n.immediate_column_selectors_string=n.format_immediate_column_selectors(n.general_column_selectors).join(),n.draggable_selectors_string=n.format_draggable_selectors_string()},this.set_background_colors=function(){var e=n.$body.css('background-color');(n.color_is(e,'transparent')||n.color_is(e,'white'))&&(n.$body.css('background-color','white'),n.color_is(n.$body.css('color'),'white')&&n.$body.css('color','black'))},this.validate_markup=function(){(!BoldgridEditor.is_boldgrid_theme||d.Controls.hasThemeFeature('variable-containers'))&&(d.VALIDATION.Section.updateContent(n.$body),n.$validatedInput.attr('value',1)),n.wrap_hr_tags(),n.wrap_content_elements(n),n.add_redundant_classes(n),n.removeClasses(n),n.remove_resizing_classes(n)},this.removeClasses=function(e){e.find('.bg-control-element').removeClass('bg-control-element')},this.failSafeCleanup=function(){n.find('body .dragging-started-imhwpb').remove(),n.find('.cloned-div-imhwpb').removeClass('cloned-div-imhwpb')},this.wrap_content_elements=function(e){e.find('img, a').each(function(){var a=o(this);a.parent().closest_context(n.original_selector_strings.content_selectors_string,e).length||a.wrap('<p class=\'mod-reset\'></p>')})},this.wrap_hr_tags=function(){n.find('hr').each(function(){var e=o(this);if(!e.closest_context(n.original_selector_strings.content_selectors_string,n).length){var a=e.closest_context(n.original_selector_strings.row_selectors_string+', '+n.original_selector_strings.general_column_selectors_string,n);a.is(n.original_selector_strings.row_selectors_string)?e.wrap('<div class=\'col-md-12\'><div class=\'row bg-editor-hr-wrap\'><div class=\'col-md-12\'></div></div></div>'):e.wrap('<div class=\'row bg-editor-hr-wrap\'><div class=\'col-md-12\'></div></div>')}else e.closest('.row').addClass('bg-editor-hr-wrap')})},this.bind_events=function(){n.bind_drag_listeners(),n.bind_container_events(),n.bind_additional_menu_items(),setTimeout(function(){n.set_background_colors()},1e3)};var h=function(){n.editting_as_row&&(n.content_selectors=n.original_selectors.content,n.row_selector=n.original_selectors.row,n.create_selector_strings(),n.off('.draggable'),n.$body.off('.draggable'),n.bind_events(),o.fourpan.$recent_highlight.removeClass('current-edit-as-row'),n.editting_as_row=!1,n.$html.removeClass('editing-as-row'),n.window_mouse_leave(),n.trigger('edit-as-row-leave'))},b=function(){n.original_selectors={},n.original_selectors.content=n.content_selectors,n.original_selectors.row=n.row_selector,n.content_selectors=p,n.row_selector=[n.nested_row_selector_string],n.create_selector_strings(),n.off('.draggable'),n.$body.off('.draggable'),n.bind_events(),n.find('.current-edit-as-row').removeClass('current-edit-as-row'),o.fourpan.$recent_highlight.addClass('current-edit-as-row'),n.editting_as_row=o.fourpan.$recent_highlight,n.$html.addClass('editing-as-row'),n.trigger('edit-as-row-enter'),n.window_mouse_leave()};this.unbind_all_events=function(){n.off('.draggable'),n.$body.off('.draggable'),n.off('.draggable_mce'),n.$body.attr('style','')},this.hide_menus=function(a){var e=!1,r;if(a&&a.target&&(r=o(a.target),r.closest('.popover-menu-imhwpb').length?e=!0:r.closest('.context-menu-imhwpb').siblings('.popover-menu-imhwpb:visible').length&&(e=!0)),!e){var s=n.find('.popover-menu-imhwpb');r&&s.not(r.closest('.popover-menu-imhwpb')).addClass('hidden')}},this.setup_additional_plugins=function(){o.fn.is_typing_boldgrid&&n.is_typing_boldgrid()},this.bind_container_events=function(){n.on('mousedown.draggable','.drag-handle-imhwpb',n.drag_handle_mousedown).on('mouseup.draggable','.drag-handle-imhwpb',n.drag_handle_mouseup).on('click.draggable',n.hide_menus).on('click.draggable',n.failSafeCleanup).on('click.draggable','.context-menu-imhwpb',n.setup_context_menu).on('boldgrid_modify_content.draggable',n.refresh_fourpan),n.on('mouseleave.draggable',n.window_mouse_leave).on('mouseup.draggable',n.master_container_mouse_up).on('mousemove.draggable',n.mousemove_container),n.on('start_typing_boldgrid.draggable',n.typing_events.start).on('end_typing_boldgrid.draggable',n.typing_events.end),(11<n.ie_version||!n.ie_version)&&n.on(n.resize_event_map,n.column_selectors_string)},this.bind_additional_menu_items=function(){o.each(n.additional_menu_items,function(e,o){n.on('click.draggable','li[data-action="'+o.title+'"]',o.callback)})},this.bind_drag_listeners=function(){n.$window.on('dragover.draggable',n.drag_handlers.over),n.on('dragstart.draggable','.drag-handle-imhwpb, [data-action="nest-row"]',n.drag_handlers.start).on('dragstart.draggable','img, a',n.drag_handlers.hide_tooltips).on('drop.draggable',n.drag_handlers.drop).on('dragend.draggable',n.drag_handlers.end).on('dragleave.draggable',n.drag_handlers.leave_dragging).on('dragenter.draggable',n.drag_handlers.record_drag_enter)},this.refresh_fourpan=function(){n.editting_as_row&&o.fourpan.refresh()},o.fn.reverse=[].reverse,o.fn.remove_popover_imhwpb=function(){},o.fn.is_after=function(e){return 0!==this.prevAll().filter(e).length},o.fn.is_before=function(e){return 0!==this.nextAll().filter(e).length},o.fn.closest_context=function(e,o){var n;return n=this.is(e)?this:this.parentsUntil(o).filter(e).eq(0),n},this.add_redundant_classes=function(e){e.find(n.original_selector_strings.general_column_selectors_string).each(function(){var e=o(this);e.addClass(n.find_column_sizes(e))})},this.track_window_size=function(){n.active_resize_class=n.determine_class_sizes(),n.$window.on('load resize',function(){setTimeout(function(){n.active_resize_class=n.determine_class_sizes()},300)})},this.prevent_default=function(e){e.preventDefault&&e.preventDefault()},this.format_draggable_selectors_string=function(){var e=[n.content_selectors_string,n.column_selectors_string,n.row_selectors_string];return e.join()},this.format_immediate_column_selectors=function(e){var a=n.format_selectors(e).slice();return o.each(a,function(e,o){o='> '+o,a[e]=o}),a},this.find_column_sizes=function(e){var o=e.attr('class'),n=[],a=o.match(/col-xs-([\d]+)/i),r=o.match(/col-sm-([\d]+)/i),s=o.match(/col-md-([\d]+)/i),l=12;return a?l=a[1]:n.push('col-xs-'+l),r?l=r[1]:n.push('col-sm-'+l),s||n.push('col-md-'+l),n.join(' ')},this.format_column_selectors=function(e,a){var r=e;return a&&(r=n.format_selectors(e).slice()),o.each(r,function(e,o){o=n.row_selectors_string+' > '+o,r[e]=o}),r},this.format_selectors=function(e){var n=e.slice();return o.each(n,function(e,o){o+=':visible',n[e]=o}),n},this.before_or_after_drop=function(e,o){var n=e.get(0).getBoundingClientRect(),r=-(n.height/n.width),s=a(n.bottom)-r*n.left,l=r*o.x+s,i;return i=l<=o.y?'after':'before',i},this.remove_receptor_containers=function(){n.find('.receptor-containers-imhwpb').removeClass('receptor-containers-imhwpb')},this.finish_dragging=function(){n.$cloned_drag_image&&n.$cloned_drag_image.remove&&n.$cloned_drag_image.remove(),n.$temp_insertion&&n.$temp_insertion.removeClass('cloned-div-imhwpb'),n.find(n.dragging_selector).removeClass(n.dragging_selector_class_name),n.valid_drag=!1,n.remove_receptor_containers(),n.trigger(n.boldgrid_modify_event)},this.array_equal=function(e,o){if(e===o)return!0;if(null==e||null==o)return!1;if(e.length!=o.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==o[n])return!1;return!0},this.drag_cleanup=function(){n.ie_version||n.validate_markup(),n.$current_drag.remove(),n.placeholder.revertContent(),n.finish_dragging(),n.trigger(n.drag_end_event,n.$temp_insertion),n.$current_drag=null,n.$temp_insertion.trigger('mouseenter'),n.removeClass('drag-progress'),clearInterval(n.scrollInterval)},this.determine_current_drag_properties=function(){var e='',o='';n.$current_drag.IMHWPB.is_row?e=n.row_selectors_string:n.$current_drag.IMHWPB.is_column?(o=n.row_selectors_string,e=n.general_column_selectors_string):n.$current_drag.IMHWPB.is_content&&(o=n.column_selectors_string,e=n.content_selectors_string),n.$current_drag.properties={sibling:e,parent:o}},this.between=function(e,o,n){return e>=o&&e<=n},this.delete_popovers=function(){n.find('body .draggable-tools-imhwpb').each(function(){var e=o(this),n=e.next();n.length&&(n[0].popover=null),setTimeout(function(){e.remove()})})},this.setup_context_menu=function(e){var a;e.preventDefault(),e.stopPropagation(),n.hide_menus(e),a=o(this).closest('.draggable-tools-imhwpb, .bg-drag-popover'),a.find('.popover-menu-imhwpb').toggleClass('hidden'),n.setMenuPosition(a),n.setMenuState(a)},this.setMenuState=function(e){e.removeClass('menu-open'),!1===e.find('.popover-menu-imhwpb').hasClass('hidden')&&e.addClass('menu-open')},this.setMenuPosition=function(e){var o=e[0].getBoundingClientRect(),a=e.find('.side-menu'),r=n.$html.width(),s,l;a.length&&(e.removeClass('side-menu-left menu-align-left'),s=e.find('.popover-menu-imhwpb ul').width(),l=o.right+a.width(),l+=100,l>n.$html.width()&&e.addClass('side-menu-left'),s+o.right>r&&e.addClass('menu-align-left'))},this.get_element_type=function(e){var o='';return e.is(n.content_selectors_string)?o='content':e.is(n.row_selectors_string)?o='row':e.is(n.column_selectors_string)&&(o='column'),o},this.get_tooltip_type=function(e){if(e.is(n.nested_row_selector_string)&&0==e.find('> .col-md-12 > hr:only-child').length&&!n.editting_as_row)var o='nested-row';else var o=n.get_element_type(e);return o},this.get_top_level_elements=function(){return n.$body.find('> *').not('.draggable-tools-imhwpb')},this.find_row_layout=function(e){var a=[],r=[],s=0;return e.find(n.immediate_column_selectors_string).each(function(){var e={},l=o(this),i=n.find_column_size(l);12>=i+s?(e.size=i,e.object=l[0],r.push(e),s+=i):(a.push(r),r=[],e.size=s=i,e.object=l[0],r.push(e))}),r.length&&a.push(r),a},this.find_column_stack=function(e,a){var r=[],s=null,l=n.find_row_layout(e);return o.each(l,function(e,n){if(o.each(n,function(o,l){if(a==l.object)return r=n,s=e,!1}),r.length)return!1}),{stack:r,stack_index:s}},this.check_adjacent_column=function(e,n){var a=!1;return n&&n.length&&o.each(e,function(e,o){if(n[0]==o.object)return a=!0,!1}),a},this.elementIsEmpty=function(e){var o=e.is(':empty');return o||e.find('img, i, hr, a').length||!(e.text().length<4)||(o=!0),o},this.getNewColumnString=function(){var e='col-md-1 col-sm-12 col-xs-12';switch(n.active_resize_class){case'col-sm':e='col-md-12 col-sm-1 col-xs-12';break;case'col-xs':e='col-md-12 col-sm-12 col-xs-1';}return e},this.mousemove_container=function(e){if(n.pageX=e.originalEvent.clientX,n.pageY=e.originalEvent.clientY,n.resize){n.resize.triggered||(n.trigger(n.resize_start_event),n.resize.triggered=!0);var a=n.resize.element.closest_context(n.row_selectors_string,n),r,s,l,i;if(!a.length)return;var d=a[0].getBoundingClientRect().width,c=n.find_column_size(n.resize.element),p=n.find_column_size(n.resize.sibling),u=n.resize.element[0].getBoundingClientRect(),g=n.find_row_size(a),m=n.column_sizes[c]*d,h=n.column_sizes[c+1]*d,b=n.column_sizes[c-1]*d;n.resize.left?(r=h-m+u.left,s=b-m+u.left,l=n.pageX>r,i=n.pageX<s):(r=b-m+u.right,s=h-m+u.right,l=n.pageX<r,i=n.pageX>s||a[0].getBoundingClientRect().right+n.right_resize_buffer<n.pageX);var f=d*n.resize_buffer,C=l||n.between(r,n.pageX-f,n.pageX+f),v=i||n.between(s,n.pageX-f,n.pageX+f),y=C&&1<c,D=v&&c<n.max_row_size;if(n.resize.left&&D){var w=n.find_column_stack(a,n.resize.element[0]);if(n.resize.element[0]==w.stack[0].object)return!1}if(1===c&&C){if(n.elementIsEmpty(n.resize.element)){var E=n.resize.element,k;n.resize.element.remove(),n.change_column_size(n.resize.sibling),n.resize.element=n.resize.sibling,n.resize.right?(n.resize.left=n.resize.right,n.resize.element.addClass('resize-border-left-imhwpb'),n.resize.right=null,k=n.resize.sibling.prev()):(n.resize.right=n.resize.left,n.resize.element.addClass('resize-border-right-imhwpb'),n.resize.left=null,k=n.resize.sibling.next()),n.resize.sibling=k}return!1}if(y||D){var w=n.find_column_stack(a,n.resize.element[0]);if(n.resize.left&&n.resize.element[0]==w.stack[0].object&&C)return!!(12>=g)&&(n.change_column_size(n.resize.element,!1),n.resize.sibling=o('<div>').addClass(n.getNewColumnString()),n.resize.sibling.addClass('content-border-imhwpb'),n.resize.element.before(n.resize.sibling),!1);if(v&&1==p){if(n.elementIsEmpty(n.resize.sibling)){var F='next';n.resize.left&&(F='prev');var x=n.resize.sibling[F]();n.resize.sibling.remove(),n.resize.sibling=x,n.change_column_size(n.resize.element)}return!1}var A=w.stack[w.stack.length-1].object==n.resize.element[0];if(n.resize.right&&12==g&&D&&'col-md'==n.active_resize_class&&A)return!1;if(12>=g&&n.resize.right&&A&&C)return n.change_column_size(n.resize.element,!1),n.resize.sibling=o('<div>').addClass(n.getNewColumnString()),a.append(n.resize.sibling),!1;var B=n.check_adjacent_column(w.stack,n.resize.sibling)}if(y){n.change_column_size(n.resize.element,!1),n.resize.sibling&&n.resize.sibling.length&&p<n.max_row_size&&B&&n.change_column_size(n.resize.sibling);var O=n.find_column_stack(a,n.resize.element[0]);w.stack_index!=O.stack_index&&n.end_resize()}else if(D){if(!n.resize.sibling||n.resize.sibling.length&&1==p)return;n.change_column_size(n.resize.element),B&&n.change_column_size(n.resize.sibling,!1);var O=n.find_column_stack(a,n.resize.element[0]);w.stack_index!=O.stack_index&&n.end_resize()}}},this.frame_cleanup=function(e){var a=o('<div>'+e+'</div>');return n.remove_resizing_classes(a),n.remove_border_classes(a),n.removeClasses(a),a.html()},this.remove_resizing_classes=function(e){e.find('.resizing-imhwpb').removeClass('resizing-imhwpb')},this.remove_border_classes=function(e){e.find('.resize-border-left-imhwpb, .resizing-imhwpb, .popover-hover, .resize-border-right-imhwpb, .content-border-imhwpb').removeClass('resize-border-right-imhwpb resizing-imhwpb popover-hover resize-border-left-imhwpb content-border-imhwpb')},this.end_resize=function(){n.resize=!1,n.remove_border_classes(n),n.$html.removeClass('no-select-imhwpb'),n.remove_resizing_classes(n),n.removeClass('resizing-imhwpb cursor-not-allowed-imhwpb'),n.trigger(n.resize_finish_event)},this.window_mouse_leave=function(){n.resize&&n.end_resize(),n.remove_resizing_classes(n),n.hover_elements={content:null,column:null,row:null}},this.drag_handle_mousedown=function(){n.valid_drag=!0,n.$current_clicked_element=BOLDGRID.EDITOR.Service.popover.selection.$target,n.$current_clicked_element.is('a')&&n.$current_clicked_element.find('img, button').length?n.$current_clicked_element.find('img, button').first().addClass('dragging-imhwpb'):n.$current_clicked_element.addClass('dragging-imhwpb'),n.$current_clicked_element.is(n.content_selectors_string)?n.find(n.column_selectors_string).addClass('receptor-containers-imhwpb'):n.$current_clicked_element.is(n.row_selectors_string)?n.find(n.row_selectors_string).addClass('receptor-containers-imhwpb'):n.$current_clicked_element.is(n.column_selectors_string)&&(n.find(n.column_selectors_string).addClass('receptor-containers-imhwpb'),n.find(n.row_selectors_string).addClass('receptor-containers-imhwpb'))},this.drag_handle_mouseup=function(){n.remove_receptor_containers(),n.valid_drag=!1},this.master_container_mouse_up=function(){n.resize&&n.end_resize(),n.$current_clicked_element&&n.$current_clicked_element.removeClass('dragging-imhwpb')},this.decrease_row_size=function(e){var a=!1;return e.find(n.immediate_column_selectors_string).reverse().each(function(){var e=o(this);if(2<=n.find_column_size(e))return n.change_column_size(e,!1),a=!0,!1}),a},this.get_border_mouse_location=function(e,o){var r=e[0].getBoundingClientRect(),s=a(r.left),l=a(r.right),i,d;return i=n.between(o,l-n.border_hover_buffer,l),d=n.between(o,s,s+n.border_hover_buffer),{left:d,right:i}},this.transform_layout=function(e,a){o.each(a,function(a,r){e.find(n.immediate_column_selectors_string).each(function(){var e=o(this);a==n.find_column_size(e)&&n.change_column_size(e,null,r)})})},this.find_layout_transform=function(e,o){var a=JSON.stringify(e),r=n.layout_translation[a];return'undefined'!=typeof o&&'undefined'!=typeof r&&'undefined'!=typeof r.current&&r.current!=o?r=null:'undefined'==typeof o&&'undefined'!=typeof r&&r.current&&(r=null),r},this.get_layout_format=function(e){var a=[];return e.find(n.immediate_column_selectors_string).each(function(){a.push(n.find_column_size(o(this)))}),a},this.change_column_size=function(e,a,r){if(e.length){var s=new RegExp(n.active_resize_class+'-[\\d]+','i');o.each(e.attr('class').split(' '),function(o,n){if(n.match(s)){var l=parseInt(n.replace(/\D/g,''));r?l=r:!1===a?l--:l++;var i=n.replace(/\d+/g,l),d=e.attr('class').replace(n,i);return e.attr('class',d),!1}}),n.trigger(n.boldgrid_modify_event)}},this.find_column_size=function(e){var o=0,a,r;return e&&e.length?(a=new RegExp(n.active_resize_class+'-([\\d]+)','i'),r=e.attr('class').match(a),r&&(o=r[1]),parseInt(o)):o},this.find_row_size=function(e){var a=0;return e.find(n.immediate_column_selectors_string).not('.dragging-imhwpb').each(function(){a+=n.find_column_size(o(this))}),a},this.determine_class_sizes=function(){var e=n.width(),o;return o=1061<e?'col-md':837<e?'col-sm':'col-xs',o},this.color_is=function(e,o){return-1!==n.color_alias[o].indexOf(e)};var f=function(e,o){if(200<=o)var n=1.25*o;else var n=250;e.css({"max-height":n+'px',overflow:'hidden'})};this.add_max_heights=function(){'column'==n.$current_drag.IMHWPB.type?n.find(n.row_selectors_string).each(function(){var e=o(this),a=n.find_row_size(e);if(12>=a){var r=e.outerHeight();f(e,r)}}):'content'==n.$current_drag.IMHWPB.type&&f(n.$temp_insertion,n.$current_drag.IMHWPB.height)};var C=function(e){e.css({"max-height":'',overflow:''})};return this.remove_max_heights=function(){'column'==n.$current_drag.IMHWPB.type?C(n.find(n.row_selectors_string)):'content'==n.$current_drag.IMHWPB.type&&C(n.$temp_insertion)},this.get_other_top_level_elements=function(){return n.$body.find(n.immediate_row_siblings_string).not(n.$current_drag)},this.find_page_min_max=function(){var e={};if(n.$current_drag.IMHWPB.is_row){var o=n.get_other_top_level_elements(),a=o.eq(0),r=o.last();e={offset_top:a[0].getBoundingClientRect().top,offset_bottom:r[0].getBoundingClientRect().top+r.outerHeight(!0)}}return e},this.find_row_min_max=function(){var e={};if(n.$current_drag.IMHWPB.is_column){var o=n.$current_drag.closest('.row'),a=o.get(0),r=a.getBoundingClientRect();e={offset_left:r.left,offset_right:r.left+o.outerWidth(!0),offset_top:Math.max(0,r.top-n.columnUnlockThreshold),offset_bottom:r.top+o.outerHeight(!0)}}return e},this.find_top_level_positions=function(){var e=[];if(n.$current_drag.IMHWPB.is_row){var a=n.get_other_top_level_elements();a.each(function(){var n=o(this),a=n.outerHeight(!0);e.push({max:this.getBoundingClientRect().top+a,element:n})})}return e},this.find_column_sibling_positions=function(){var e=[];return n.$current_drag.IMHWPB.is_column&&n.$current_drag.siblings(n.general_column_selectors_string).each(function(){var n=o(this),a=n.outerWidth(!0),r=this.getBoundingClientRect();e.push({max:r.left+a,element:n})}),e},this.recalc_col_pos=function(){n.$current_drag.IMHWPB.col_pos=n.find_column_sibling_positions(),n.$current_drag.IMHWPB.row_min_max=n.find_row_min_max()},this.recalc_row_pos=function(){n.$current_drag.IMHWPB.row_pos=n.find_top_level_positions(),n.$current_drag.IMHWPB.row_min_max=n.find_page_min_max()},this.reposition_column=function(e,a){if(n.$current_drag.IMHWPB.is_column&&!1==n.$current_drag.IMHWPB.unlock_column){if(n.$current_drag.IMHWPB.row_min_max.offset_top>a||n.$current_drag.IMHWPB.row_min_max.offset_bottom<a){n.$current_drag.IMHWPB.unlock_column=!0;var r=n.entered_target.closest(n.row_selectors_string);return void(r.length&&n.move_column_to(n.entered_target))}if(e<n.$current_drag.IMHWPB.row_min_max.offset_left){var s=n.$current_drag.closest(n.row_selectors_string).find(n.immediate_column_selectors_string).not(n.$current_drag).eq(0);return void(s.get(0)!=n.$temp_insertion[0]&&(s.before(n.$temp_insertion),n.recalc_col_pos(),n.trigger(n.boldgrid_modify_event)))}if(e>n.$current_drag.IMHWPB.row_min_max.offset_right){var l=n.$current_drag.closest(n.row_selectors_string).find(n.immediate_column_selectors_string).not(n.$current_drag).last();return void(l.get(0)!=n.$temp_insertion[0]&&(l.after(n.$temp_insertion),n.recalc_col_pos(),n.trigger(n.boldgrid_modify_event)))}o.each(n.$current_drag.IMHWPB.col_pos,function(){if(e<this.max)return c[0]!=this.element[0]&&(c=this.element,this.element.nextAll().not(n.$current_drag).filter(n.$temp_insertion).length?this.element.before(n.$temp_insertion):this.element.prevAll(n.general_column_selectors_string).not(n.$current_drag).get(0)==n.$temp_insertion[0]?this.element.after(n.$temp_insertion):this.element.before(n.$temp_insertion),n.trigger(n.boldgrid_modify_event),n.recalc_col_pos(),!1)})}},this.fill_row=function(e,a){var r;return e<n.max_row_size&&(r=o('<div class="col-md-'+(n.max_row_size-e)+' col-sm-12 col-xs-12"></div>'),a.append(r)),r},this.setInheritedBg=function(e,a){n.color_is(e.css('background-color'),'transparent')&&e.parents().each(function(){var a=o(this),r=a.css('background-color');if(!n.color_is(r,'transparent'))return e.css('background-color',r),!1}),setTimeout(function(){n.color_is(e.css('background-color'),'transparent')&&e.css({"background-color":'white',color:'#333'})},a||100)},this.drag_handlers={hide_tooltips:function(){n.$current_drag||setTimeout(function(){n.$body.find('.draggable-tools-imhwpb').addClass('hidden')},100)},drop:function(e){n.$current_drag&&(n.prevent_default(e),n.drag_handlers.end(e),n.drag_drop_triggered=!0)},end:function(){if(!n.drag_drop_triggered)return n.$current_drag?(n.restore_row=null,n.$most_recent_row_enter_add=null,n.remove_max_heights(),n.drag_cleanup(),!0):void 0},start:function(e){var a,r;n.valid_drag=!0,n.drag_drop_triggered=!1;var s=o(this);if(n.$current_drag=d.Service.popover.selection.$target,n.$current_drag.addClass('dragging-imhwpb'),n.addClass('drag-progress'),n.original_html=n.$current_drag.parent('a').length?n.$current_drag.parent('a')[0].outerHTML:n.$current_drag[0].outerHTML,n.$current_drag.IMHWPB={is_column:'column'===d.Service.popover.selection.name,is_row:'row'===d.Service.popover.selection.name,is_content:'content'===d.Service.popover.selection.name,height:n.$current_drag.outerHeight(),width:n.$current_drag.outerWidth(),dragStarted:!0},n.$current_drag.IMHWPB.is_row&&s.hasClass('action-list')&&(n.$current_drag.IMHWPB.is_row=!1,n.$current_drag.IMHWPB.is_content=!0),n.$current_drag.IMHWPB.is_column){n.$current_drag.IMHWPB.column_size=n.find_column_size(n.$current_drag);var i=n.$current_drag.closest_context(n.row_selectors_string,n);i.length&&(n.$current_drag.IMHWPB.original_row=i[0])}if(n.determine_current_drag_properties(),e.originalEvent.dataTransfer.setData('text',''),e.originalEvent.dataTransfer.dropEffect='copy',n.$temp_insertion=o(n.original_html),n.$temp_insertion.removeClass('dragging-imhwpb popover-hover'),n.$temp_insertion.addClass('cloned-div-imhwpb'),n.placeholder=new l.Placeholder(n.$current_drag,n.$temp_insertion),n.placeholder.setContent(),n.$current_drag.css({height:n.$current_drag.IMHWPB.height,width:n.$current_drag.IMHWPB.width}).addClass('hidden dragging-started-imhwpb'),n.$current_drag.attr('data-mce-bogus','all'),n.setInheritedBg(n.$current_drag),'undefined'!=typeof e.originalEvent.dataTransfer.setDragImage&&!n.isSafari){var c=document.createElement('img');c.src='',e.originalEvent.dataTransfer.setDragImage(c,0,0)}n.$current_drag.before(n.$temp_insertion),n.$current_drag.IMHWPB.is_column?(n.$current_drag.IMHWPB.type='column',n.recalc_col_pos(),a=n.$current_drag.closest('.row'),r=n.find_row_size(a),r<n.max_row_size&&n.fill_row(r,a),n.$current_drag.IMHWPB.unlock_column=12>=r&&'col-md'==n.active_resize_class&&n.$current_drag.siblings(n.unformatted_column_selectors_string).not(n.$temp_insertion).length?!1:!0):n.$current_drag.IMHWPB.is_row?(n.$current_drag.IMHWPB.type='row',n.recalc_row_pos()):n.$current_drag.IMHWPB.type='content',n.add_max_heights();var p=100;n.ie_version&&(p=150),setTimeout(function(){n.$current_drag.removeClass('hidden'),n.trigger(n.drag_start_event),n.find('.resizing-imhwpb').removeClass('resizing-imhwpb')},p),n.drag_handlers.initSmoothScroll()},over:function(e){if(n.$current_drag&&n.valid_drag&&(e.preventDefault(),!n.last_auto_scroll_event||n.last_auto_scroll_event+10<=new Date().getTime())){if(n.last_auto_scroll_event=new Date().getTime(),n.$current_drag.IMHWPB.dragStarted&&(d.Controls.$container.$current_drag.IMHWPB.is_row&&d.DRAG.Row.dragCursorPosition(e.originalEvent.pageY),n.reposition_column(e.originalEvent.pageX,e.originalEvent.pageY)),n.$html.hasClass('editing-as-row'))return;n.drag_handlers.autoScroll(e)}},initSmoothScroll:function(){n.autoScrollSpeed=!1,n.scrollInterval=setInterval(function(){n.autoScrollSpeed&&window.scrollBy(0,n.autoScrollSpeed)},1)},autoScroll:function(e){var o='fixed'===n.$mce_32.css('position'),a=n.$mce_32[0].getBoundingClientRect(),r=e.originalEvent.screenY;-100>window.screenY||(r<a.bottom+150&&o?n.autoScrollSpeed=-1:r>window.innerHeight-100?n.autoScrollSpeed=1:n.autoScrollSpeed=!1)},leave_dragging:function(e){if(n.$current_drag){n.ie_version||e.preventDefault();var a=o(e.target),l=n.entered_target;return n.prevent_duplicate_location_events(e)||!n.$current_drag?!1:n.$temp_insertion[0]==l[0]?(n.$most_recent_row_enter_add=null,!0):!1==n.has(l).length&&!1==n.$current_drag.IMHWPB.is_content||void(n.$current_drag.IMHWPB.is_row?d.DRAG.Row.dragEnter(l):n.$current_drag.IMHWPB.is_content?Object(r['default'])(e,a,l):n.$current_drag.IMHWPB.is_column&&n.$current_drag.IMHWPB.unlock_column&&Object(s['default'])(e,a,l))}},record_drag_enter:function(e){n.$current_drag&&(!n.ie_version&&e.preventDefault(),n.entered_target=o(e.target))}},this.checkIsSafari=function(){return /^((?!chrome|android).)*safari/i.test(navigator.userAgent)},this.move_column_to=function(e){var o=e.is(n.unformatted_column_selectors_string),a=e.is(n.$current_drag.properties.parent),r=e.closest_context(n.row_selectors_string,n),s=n.$temp_insertion.closest_context(n.row_selectors_string,n),l=n.find_row_size(r);if(r.length&&s[0]!=r[0]){if(a&&l>=n.max_row_size)return!1;var d=n.$temp_insertion[0].innerHTML;n.restore_row&&(s.html(n.restore_row),n.$temp_insertion.html(d));var c=n.$current_drag.IMHWPB.original_row!=r[0];n.restore_row=c?r.html():null;var p=l+n.$current_drag.IMHWPB.column_size<=n.max_row_size;if(!1==p&&c){var u=n.max_row_size-l,g=null;if(0<u)g=u;else if(r.find(n.immediate_column_selectors_string).length<=9){g=3,n.$current_drag.IMHWPB.column_size<g&&(g=n.$current_drag.IMHWPB.column_size);for(var m=0;m<g;m++)n.decrease_row_size(r)}if(g)n.change_column_size(n.$temp_insertion,null,g);else return n.restore_row=null,!0}else n.change_column_size(n.$temp_insertion,null,n.$current_drag.IMHWPB.column_size);o?e.before(n.$temp_insertion):r.append(n.$temp_insertion),n.record_recent_column_insertion()}else o&&(e.is_before(n.$temp_insertion)?e.before(n.$temp_insertion):e.after(n.$temp_insertion),n.record_recent_column_insertion())},this.record_recent_column_insertion=function(){n.recent_event={},n.insertion_time=new Date().getTime(),n.trigger(n.boldgrid_modify_event)},this.prevent_duplicate_location_events=function(e){var o=[e.originalEvent.pageX,e.originalEvent.pageY],a;return n.array_equal(n.current_drag_enter_event_loc,o)?a=!0:(n.current_drag_enter_event_loc=o,a=!1),a},this.createEmptyRow=function(){return o('<div class="row"><div class="col-md-12"></div></div>')},this.postAddRow=function(e){setTimeout(function(){n.find('.added-element').removeClass('added-element')},1e3),n.trigger(n.add_row_event,e.find('.col-md-12'))},this.typing_events={start:function(){n.find('html').addClass('boldgrid-is-typing')},end:function(){n.validate_markup(),n.find('html').removeClass('boldgrid-is-typing')}},this.resize_event_map={"mousemove.draggable":function(e,a){if(!n.resize){var r=n.pageX,s=!1;'undefined'!=typeof e&&null!=e&&(r=e.originalEvent.clientX,a=o(this),s=n.get_border_mouse_location(a,r)),s&&(s.left||s.right)?(a.addClass('resizing-imhwpb'),n.ie_version&&tinymce&&(BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1),BOLDGRID.EDITOR.mce.boldgridResize=!0)):(a.removeClass('resizing-imhwpb'),n.ie_version&&tinymce&&(BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0),BOLDGRID.EDITOR.mce.boldgridResize=!1))}n.$current_drag},"mousedown.draggable":function(e){var a=o(e.target);if(!a.closest('.draggable-tools-imhwpb').length){var r=o(this),s=n.get_border_mouse_location(r,e.originalEvent.clientX),l=null;s.left?(l=r.prevAll(n.column_selectors_string).first(),r.addClass('resize-border-left-imhwpb')):s.right&&(l=r.nextAll(n.column_selectors_string).first(),r.addClass('resize-border-right-imhwpb')),(s.left||s.right)&&(l.length&&l.addClass('content-border-imhwpb'),r.addClass('content-border-imhwpb'),n.addClass('resizing-imhwpb'),n.find('.resizing-imhwpb').removeClass('resizing-imhwpb'),n.$html.addClass('no-select-imhwpb'),n.trigger('resize_clicked'),n.resize={element:r,sibling:l,left:s.left,right:s.right})}}},this}},"./assets/js/builder/drag/column.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=jQuery;o['default']=function(e,o,a){var r=BOLDGRID.EDITOR.Controls.$container;if(r.recent_event&&r.recent_event.entered==a[0]&&r.recent_event.left==o[0])return!0;if(r.recent_event={entered:a[0],left:o[0]},r.insertion_time+20>new Date().getTime())return!0;if(!1==a.is(r.unformatted_column_selectors_string)&&!1==a.is(r.row_selectors_string)){var s=a.closest_context(r.column_selectors_string,r);s.length&&(a=s)}if(!1==r.has(a).length)return!0;if(a[0]!=r.$temp_insertion[0]){if(a.siblings().filter(r.$temp_insertion).length&&a.is(r.unformatted_column_selectors_string)&&a[0]!=r.$current_drag[0]){var l=n(e.target);if(a.find(l).length||a[0]==l[0])return!0}r.move_column_to(a)}}},"./assets/js/builder/drag/content.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0}),o['default']=function(e,o,n){var a=BOLDGRID.EDITOR.Controls.$container,r=o.closest_context(a.row_selectors_string,a),s=!!r.parent().closest(n).length;if(s){o=o.closest_context(a.row_selectors_string,a);var l=a.before_or_after_drop(o,{x:e.originalEvent.clientX,y:e.originalEvent.clientY});'before'==l?o.before(a.$temp_insertion):o.after(a.$temp_insertion)}else{if(!1==a.has(n).length)return!0;var i=n.parents(a.content_selectors_string).last();if(!0==i.length&&(n=i),n.is(a.unformatted_content_selectors_string)&&n[0]!=a.$current_drag[0]&&(n.find(o).length||n[0]==o[0]))return!0;var d=n.closest_context(a.$current_drag.properties.parent,a),c=d.length,p=!1,u=[];if(c){if(!1==a.editting_as_row){var u=d.find(a.content_selectors_string+', .row:not(.row .row .row)').not('.dragging-imhwpb');p=0<u.length}else{var u=d.find(a.general_content_selector_string).not('.dragging-imhwpb');p=0<u.length,1==u.length&&u.find('[data-action]')&&(p=!1)}!1==p&&(n=d)}var g=n.is(a.unformatted_column_selectors_string);g&&u.length&&!1==n.find(o).length&&(n=u.last(),p=!1);var m=n.is(a.unformatted_content_selectors_string+',hr:not('+a.master_container_id+'.row .row hr)');if(!m&&!0==p)return!0;var h=n.closest('.cloned-div-imhwpb'),b=h.length&&h[0]==a.$temp_insertion[0];if(b)return a.$most_recent_row_enter_add=null,!0;if(m)n.is_before(a.$temp_insertion)?n.before(a.$temp_insertion):n.is_after(a.$temp_insertion)?n.after(a.$temp_insertion):n.before(a.$temp_insertion),a.trigger(a.boldgrid_modify_event);else if(g){var f=n.find('>:first-child');var C=n.find('> div');if(f.length&&1===C.length&&!1==f.is(a.column_selectors_string+', .draggable-tools-imhwpb')&&f.is('div:not(.dragging-started-imhwpb)'))f.prepend(a.$temp_insertion);else{var l=a.before_or_after_drop(n,{x:e.originalEvent.clientX,y:e.originalEvent.clientY});'before'==l?n.prepend(a.$temp_insertion):n.append(a.$temp_insertion)}a.trigger(a.boldgrid_modify_event)}}}},"./assets/js/builder/drag/placeholder.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Placeholder',function(){return s});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=function(){function e(o,n){a(this,e),this.iframesReplaced=[],this.$renderedIframes=[],this.$clone=n,this.$dragged=o}return r(e,[{key:'setContent',value:function(){var e=this;this.$renderedIframes=this.$dragged.find('iframe'),this.$clone.find('iframe').each(function(o,n){var a=$(n),r=e.createPlaceholder(e.$renderedIframes.eq(o));e.iframesReplaced.push({$element:a,$placholder:r}),a.replaceWith(r)})}},{key:'revertContent',value:function(){var e=!0,o=!1,n;try{for(var a=this.iframesReplaced[Symbol.iterator](),r,s;!(e=(r=a.next()).done);e=!0)s=r.value,s.$placholder.replaceWith(s.$element)}catch(e){o=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(o)throw n}}}},{key:'createPlaceholder',value:function(e){var o=$(this.getPlaceholderHtml()),n=e.height()||e[0].height,a=e.width()||e[0].width;return o.css({height:n,width:a}),o}},{key:'getPlaceholderHtml',value:function(){return'\n\t\t\t<div class="media-placeholder">\n\t\t\t\t<div>\n\t\t\t\t\t<div class="dashicons dashicons-admin-media"></div>\n\t\t\t\t\t<div>Media</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t'}}]),e}()},"./assets/js/builder/drag/row.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.DRAG=BOLDGRID.EDITOR.DRAG||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.DRAG.Row={$recentRowElement:[],dragEnter:function(e){e=n.remapDragEnter(e),n.validateDragEnter(e)&&(n.moveIntoSection(e),n.postRowInsert())},dragCursorPosition:function(a){var r=o.Controls.$container,s=r.$current_drag;n.insertTopBottom(a)||e.each(s.IMHWPB.row_pos,function(){if(a<this.max)return n.$recentRowElement[0]!==this.element[0]&&(n.$recentRowElement=this.element,n._reorderRows(this.element),n.postRowInsert(),!1)})},postRowInsert:function(){o.Controls.$container.recalc_row_pos(),o.Controls.$container.trigger(o.Controls.$container.boldgrid_modify_event)},remapDragEnter:function(e){var o=e.closest('.boldgrid-section');return o.length&&(e=o),e},validateDragEnter:function(e){var n;return n=e.hasClass('boldgrid-section')&&0===e.find('.row:not(.dragging-imhwpb,.row .row)').not(o.Controls.$container.$current_drag).length&&0!==e.find('.container-fluid, .container').length,n},moveIntoSection:function(e){e.find('.container-fluid, .container').first().prepend(o.Controls.$container.$temp_insertion)},_insertRow:function(e,a){var r=o.Controls.$container.$temp_insertion;e.get(0)!==r[0]&&(e[a](r),n.postRowInsert())},insertTopBottom:function(e){var a=o.Controls.$container,r=a.$current_drag.IMHWPB.row_min_max,s=e<r.offset_top,l=e>r.offset_bottom,i=s?'before':'after',d=s?'first':'last',c=!1;return(s||l)&&(n._insertRow(a.get_other_top_level_elements()[d](),i),c=!0),c},_reorderRows:function(e){var n=o.Controls.$container,a=n.$temp_insertion,r=n.get_other_top_level_elements(),s=r.index(e),l=r.index(a),i='after',d,c,p,u,g;p=a.closest('.boldgrid-section')[0]!==e.closest('.boldgrid-section')[0],d=s<l,u=s>l,c=u&&s-1!==l,g=d&&s+1!==l,(d||c)&&!g&&(i='before'),u&&p&&(i='before'),d&&p&&(i='after'),e[i](a)}},n=BOLDGRID.EDITOR.DRAG.Row}(jQuery)},"./assets/js/builder/drag/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.DRAG=BOLDGRID.EDITOR.DRAG||{},function(o){'use strict';var e=BOLDGRID.EDITOR,n;n=e.DRAG.Section={currentDrag:!1,$container:null,$dragHelper:null,sectionLocations:[],init:function(e){n.$container=e,n.$dragHelper=n.renderHelpers(),n.bind()},renderHelpers:function(){var e=o('<div id="boldgrid-drag-pointer"></div>');return n.$container.find('html').append(e),e},isDragging:function(){return!!e.DRAG.Section.currentDrag},bind:function(){n.$container.on('dragstart','.dragging-section',function(){return!1}).on('mousedown','.dragging-section .boldgrid-section',n.start).on('mousemove','.dragging-section',n.over).on('mouseup dragend','.dragging-section',n.end).on('mousemove','.dragging-section',n.overHelper)},overHelper:function(o){(n.currentDrag||n.showDragHelper)&&(!n.lastPosEvent||n.lastPosEvent+25<=o.timeStamp)&&(n.lastPosEvent=o.timeStamp,n.positionHelper(o.originalEvent,n.$dragHelper))},end:function(){n.currentDrag&&(n.currentDrag.$element.removeClass('section-drag-element'),n.currentDrag=!1,n.$container.$html.removeClass('no-select-imhwpb section-dragging-active'),BOLDGRID.EDITOR.mce.undoManager.add(),e.CONTROLS.Section.updateHtmlSize())},drag:function(a){var e=a.originalEvent.pageY,r=null;n.sectionLocations.length&&(o.each(n.sectionLocations,function(){this.midPoint<e&&(r=this)}),!r&&e>n.sectionLocations[n.sectionLocations.length-1].midPoint&&(r=n.sectionLocations[n.sectionLocations.length-1]),!r&&e<n.sectionLocations[0].midPoint&&(n.sectionLocations[0].$section.before(n.currentDrag.$element),n.calcSectionLocs()),r&&(r.$section.after(n.currentDrag.$element),n.calcSectionLocs()))},over:function(o){n.currentDrag&&(!n.lastDragEvent||n.lastDragEvent+100<=o.timeStamp)&&(n.lastDragEvent=o.timeStamp,n.drag(o))},positionHelper:function(o,e){e.css({top:o.pageY-15,left:o.pageX-15})},calcSectionLocs:function(){var e=[];n.$container.$body.find('> .boldgrid-section').each(function(){var n=this.getBoundingClientRect(),a=(n.bottom-n.top)/2+n.top;e.push({$section:o(this),midPoint:a})}),n.sectionLocations=e},start:function(a){n.positionHelper(a.originalEvent,n.$dragHelper),n.startDrag(o(this))},startDrag:function(o){n.currentDrag={$element:o},n.currentDrag.$element.addClass('section-drag-element'),n.$container.find('html').addClass('section-dragging-active'),n.$container.$html.addClass('no-select-imhwpb'),n.$container.$body.removeAttr('contenteditable'),n.$dragHelper.css('display',''),n.calcSectionLocs(),e.CONTROLS.Section.updateHtmlSize()}}}(jQuery)},"./assets/js/builder/feedback.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;o.Feedback={init:function(){n.$input=e('[name="boldgrid-record-feedback"]'),n.bindEvents()},bindEvents:function(){e(window).on('boldgrid_added_gridblock',n.addGridblock)},add:function(e){var o=n.$input.val()||'[]';o=JSON.parse(o),o.push(e),n.$input.attr('value',JSON.stringify(o))},addGridblock:function(e,o){o&&o.template&&n.add({action:'installed_gridblock',data:{template:o.template}})}},n=BOLDGRID.EDITOR.Feedback,BOLDGRID.EDITOR.Feedback.init()}(jQuery)},"./assets/js/builder/gridblock/add.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n={$window:e(window),init:function(){n.setupInsertClick()},setupInsertClick:function(){e('.boldgrid-zoomout-section').on('click','.add-gridblock',n.onGridblockClick)},onGridblockClick:function(){var a=e(this),r=a.closest('.gridblock'),s=r.attr('data-id'),l;o.GRIDBLOCK.Generate.needsUpgrade(r)?window.open(BoldgridEditor.plugin_configs.urls.premium_key+'?source=plugin-add-gridblock','_blank'):(l=n.insertPlaceHolder(s),n.replaceGridblock(l,s))},replaceGridblock:function(e,a){var r=o.GRIDBLOCK.Create.getHtml(a);IMHWPB.tinymce_undo_disabled=!0,n.$window.trigger('resize'),'string'==typeof r?n.sendGridblock(r,e,a):r.always(function(o){n.sendGridblock(o,e,a)})},insertPlaceHolder:function(e){var n=o.GRIDBLOCK.configs.gridblocks[e].getPreviewPlaceHolder();return IMHWPB.WP_MCE_Draggable.draggable_instance.$body.prepend(n),n},sendGridblock:function(a,r,s){var a=wp.mce.views.setMarkers(a),l=e(a),i=IMHWPB.WP_MCE_Draggable.draggable_instance;l&&i?r.replaceWith(l.html()):window.send_to_editor(l.html()),i.validate_markup(),BOLDGRID.EDITOR.mce.fire('setContent'),BOLDGRID.EDITOR.mce.focus(),setTimeout(function(){o.CONTROLS.Add.scrollToElement(l,0)}),n.$window.trigger('resize'),setTimeout(function(){n.$window.trigger('resize')},1e3),IMHWPB.tinymce_undo_disabled=!1,BOLDGRID.EDITOR.mce.undoManager.add(),n.$window.trigger('boldgrid_added_gridblock',o.GRIDBLOCK.configs.gridblocks[s])}};o.GRIDBLOCK.Add=n,e(o.GRIDBLOCK.Add.init)}(jQuery)},"./assets/js/builder/gridblock/category.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(){'use strict';var e=BOLDGRID.EDITOR.GRIDBLOCK,o={currentCategory:'all',savedCategories:['library','saved'],init:function(){o.onSelectChange()},isSavedCategory:function(e){return-1!==o.savedCategories.indexOf(e)},onSelectChange:function(){var n=e.View.$gridblockNav.find('.boldgrid-gridblock-categories select');n.on('change',function(){o.currentCategory=n.val(),o.updateDisplay()})},canDisplayGridblock:function(n){var a=e.Category.currentCategory||'all',r=o.isSavedCategory(n.type),s=n.category===e.View.industry.getSelected()||o.isSavedCategory(o.currentCategory),l=n.type===a||'all'===a&&!r;return s&&l},updateDisplay:function(){var n=e.View.$gridblockSection.find('.gridblock'),a=e.View.$gridblockSection.find('.gridblocks');a.attr('filter',o.currentCategory),e.View.$gridblockNav.attr('data-block-filter',o.currentCategory),'all'===o.currentCategory?(n=n.hide().filter('[data-category="'+e.View.industry.getSelected()+'"]:not(.gridblock-loading)').filter(':not(.gridblock-loading)').filter(':not([data-type="saved"])').filter(':not([data-type="library"])').show(),e.View.$gridblockSection.scrollTop(0)):(n.hide(),!o.isSavedCategory(o.currentCategory)&&(n=n.filter('[data-category="'+e.View.industry.getSelected()+'"]:not(.gridblock-loading)')),n=n.filter('[data-type="'+o.currentCategory+'"]:not(.gridblock-loading)').show(),e.View.$gridblockSection.scrollTop(0)),4>n.length&&e.View.updateDisplay()},getSearchType:function(){return'all'===o.currentCategory?null:o.currentCategory}};e.Category=o}(jQuery)},"./assets/js/builder/gridblock/create.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n={$window:e(window),getHtml:function(e){var a='',r={};return o.GRIDBLOCK.configs.gridblocks[e]&&(r=o.GRIDBLOCK.configs.gridblocks[e]),a=n.getDynamicElements(r).length?n.installImages(r):n.getStaticHtml(r),a},getStaticHtml:function(e){var o=e.html;return e.$html&&(o=e.getHtml()),o},getDynamicElements:function(e){var o=e.$html.find('[dynamicimage]');return e.$html[0].hasAttribute('dynamicimage')&&'none'!==e.$html.css('background-image')&&o.push(e.$html),o},installImages:function(a){var r=e.Deferred(),s=0,l=n.getDynamicElements(a);return l.each(function(){var n=e(this);n.removeAttr('dynamicimage'),e.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_canvas_image',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,image_data:o.GRIDBLOCK.Image.getEncodedSrc(n)}}).done(function(e){e&&e.success&&o.GRIDBLOCK.Image.addImageUrl(n,e.data),s++,s===l.length&&r.resolve(a.getHtml())}).fail(function(){s++,s===l.length&&r.resolve(a.getHtml())})}),r}};o.GRIDBLOCK.Create=n}(jQuery)},"./assets/js/builder/gridblock/delete.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(o){'use strict';var e=BOLDGRID.EDITOR,n={$mceContainer:null,$deleteIcon:null,init:function(){n.$mceContainer=e.Controls.$container,n.$deleteIcon=n.$mceContainer.find('.delete-icon-wrap'),n.bindEvents()},bindEvents:function(){n.$mceContainer.on('mouseenter','.dragging-section .boldgrid-section',n.section.mouseEnter).on('mouseleave','.dragging-section .boldgrid-section',n.section.mouseLeave).on('click','.delete-icon-wrap',n.icon.click).on('mouseenter','.delete-icon-wrap',n.icon.mouseEnter).on('mouseleave','.delete-icon-wrap',n.icon.mouseLeave)},section:{mouseEnter:function(){var e=o(this),a=this.getBoundingClientRect();n.$deleteIcon.css({left:a.right,display:'block',top:a.top+a.height/2}),n.$deleteIcon.$section=e},mouseLeave:function(a){var e=o(a.relatedTarget||a.toElement);!1===e.hasClass('delete-icon')&&(o(this).removeClass('delete-overlay'),n.$deleteIcon.hide())}},icon:{mouseEnter:function(){n.$deleteIcon.$section.addClass('delete-overlay')},mouseLeave:function(){n.$deleteIcon.$section.removeClass('delete-overlay'),n.$deleteIcon.hide()},click:function(){n.$deleteIcon.$section.removeClass('delete-overlay'),n.$deleteIcon.hide(),n.$deleteIcon.$section.remove(),BOLDGRID.EDITOR.mce.undoManager.add(),e.GRIDBLOCK.Add.$window.trigger('resize')}}};e.GRIDBLOCK.Delete=n}(jQuery)},"./assets/js/builder/gridblock/drag.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(o){'use strict';function n(n){var e=!0,a=o(n.target||n.srcElement);return a&&a.hasClass('add-gridblock')&&(e=!1),e}var a=BOLDGRID.EDITOR,r={$body:o('body'),$window:o(window),$dragHelper:null,currentDrag:null,$mceContainer:null,init:function(){r.$mceContainer=a.Controls.$container,r.$dragHelper=r.createDragHelper(),r.bindEvents()},createDragHelper:function(){var e=o('<div id="boldgrid-drag-pointer"></div>').hide();return r.$body.append(e),e},bindEvents:function(){o('html').on('dragstart','.gridblock',function(){return!1}).on('mousemove','.section-dragging-active',r.mouseMove).on('mouseup','.section-dragging-active',r.endDrag).on('mouseleave','.section-dragging-active',r.endDrag).on('mousedown','body.boldgrid-zoomout .gridblock',r.startDrag),r.$mceContainer.on('mouseup','.dragging-section.dragging-gridblock-iframe',r.endDrag).on('mousemove','.dragging-section.dragging-gridblock-iframe',r.overIframe).on('mouseenter','.dragging-section.dragging-gridblock-iframe > body',r.enterIframeBody).on('mouseleave','.dragging-section.dragging-gridblock-iframe',r.leaveIframeBody)},enterIframeBody:function(){a.DRAG.Section.isDragging()||(r.$mceContainer.find('body').append(r.currentDrag.$element),a.DRAG.Section.startDrag(r.currentDrag.$element))},leaveIframeBody:function(){a.DRAG.Section.isDragging()&&(a.DRAG.Section.end(),r.currentDrag.$element.detach())},overIframe:function(){r.currentDrag&&(r.$dragHelper.hide(),a.DRAG.Section.showDragHelper=!0,a.DRAG.Section.$dragHelper.show())},endDrag:function(){r.currentDrag&&(IMHWPB.tinymce_undo_disabled=!1,a.DRAG.Section.$dragHelper.hide(),a.DRAG.Section.showDragHelper=!1,a.DRAG.Section.end(),r.$dragHelper.hide(),r.installGridblock(),r.$body.removeClass('section-dragging-active'),r.currentDrag.$gridblockUi.removeClass('dragging-gridblock'),r.$mceContainer.$html.removeClass('dragging-gridblock-iframe'),r.currentDrag=!1)},installGridblock:function(){r.$mceContainer.$body.find(r.currentDrag.$element).length&&(a.GRIDBLOCK.Add.replaceGridblock(r.currentDrag.$element,r.currentDrag.gridblockId),r.currentDrag.$element.removeClass('dragging-gridblock-placeholder'))},startDrag:function(s){var e=o(this),l=e.attr('data-id'),i;!1===n(s)||a.GRIDBLOCK.Generate.needsUpgrade(e)||(IMHWPB.tinymce_undo_disabled=!0,i=a.GRIDBLOCK.configs.gridblocks[l],r.currentDrag={$gridblockUi:e,gridblockId:l,gridblock:i,$element:i.getPreviewPlaceHolder()},r.currentDrag.$gridblockUi.addClass('dragging-gridblock'),r.$mceContainer.$html.addClass('dragging-gridblock-iframe'),r.currentDrag.$element.addClass('dragging-gridblock-placeholder'),r.$body.addClass('section-dragging-active'),a.DRAG.Section.positionHelper(s,r.$dragHelper),r.$dragHelper.show())},mouseMove:function(o){r.$dragHelper.show(),a.DRAG.Section.$dragHelper.hide(),a.DRAG.Section.positionHelper(o,r.$dragHelper)}};a.GRIDBLOCK.Drag=r}(jQuery)},"./assets/js/builder/gridblock/fetch-saved.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'FetchSaved',function(){return l});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}();window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{};var s=BOLDGRID.EDITOR.GRIDBLOCK,l=function(){function e(){a(this,e),this.status=''}return r(e,[{key:'fetch',value:function(){var e=this;return!this.status&&(this.status='fetching',s.Generate.gridblockLoadingUI.start(),this._call().done(function(o){e.status='done',s.Filter.savedBlocksConfigs(o),s.View.createGridblocks(),e.setGridblockCount()}).always(function(){e.status='fetching',s.Generate.gridblockLoadingUI.finish()}).fail(function(){e.status='failed',s.View.$gridblockSection.find('.gridblocks').attr('error','saved')}))}},{key:'setGridblockCount',value:function(){var e=_.countBy(s.configs.gridblocks||[],'type');s.View.$gridblockSection.find('.gridblocks').attr('my-gridblocks-count',(e.saved||0).toString()).attr('library-gridblocks-count',(e.library||0).toString())}},{key:'_call',value:function(){return $.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_get_saved_blocks',post_id:BoldgridEditor.post_id,boldgrid_editor_gridblock_save:BoldgridEditor.nonce_gridblock_save}})}}]),e}()},"./assets/js/builder/gridblock/filter.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n={configs:BoldgridEditor.gridblocks,removedGridlocks:{},setupConfigs:function(){o.GRIDBLOCK.configs={},o.GRIDBLOCK.configs.gridblocks={},n.loadingTemplate=wp.template('boldgrid-editor-gridblock-loading')},savedBlocksConfigs:function(o){n.configs=o,e.each(n.configs,function(o){this.html=n.unsetImageUrls(this.html),this.$previewHtml=e(n.unsetImageUrls(this.preview_html)),this.$html=e(this.html),'library'!==this.type&&n.removeInvalidGridblocks(this,o)}),n.setConfig()},unsetImageUrls:function(e){var o=e.match(/<img.*?>/g);return o=o||[],_.each(o,function(o){e=e.replace(o,o.replace(/\ssrc=/,' data-src='))}),e},removeInvalidGridblocks:function(e,o){var a=n.isSimpleGridblock(e.$html);a&&n.removeGridblock(o)},configMethods:{getHtml:function(e){var o='';return e=e&&'preview'===e?'$previewHtml':'$html',this[e].each(function(){this.outerHTML&&(o+=this.outerHTML)}),'<div class="temp-gridblock-wrapper">'+o+'</div>'},getPreviewPlaceHolder:function(){var o;return o=e(this.getHtml()),o.prepend(n.loadingTemplate()),o},getTitle:function(){var e=this.template,o;return e&&(o=e.replace(/[-_]/g,' '),o=o.charAt(0).toUpperCase()+o.slice(1)),o}},setConfig:function(){e.each(n.configs,function(e){!n.removedGridlocks[e]&&this.html&&(delete this.html,this.gridblockId=e,this.uniqueMarkup=n.createUniqueMarkup(this.$html),_.extend(this,n.configMethods),o.GRIDBLOCK.configs.gridblocks[e]=this)})},addGridblockConfig:function(e,a){var r='remote-'+a;e=_.defaults(e,{dynamicImages:!0,gridblockId:r,$html:e['html-jquery']}),e.$previewHtml=e.$previewHtml||e.$html,delete e.html,delete e.preview_html,delete e['html-jquery'],_.extend(e,n.configMethods),o.GRIDBLOCK.configs.gridblocks[r]=e},removeGridblock:function(e){n.removedGridlocks[e]=n.configs[e]},createUniqueMarkup:function(e){return e=e.clone(),e.find('img').removeAttr('src').removeAttr('data-src').removeAttr('class'),e[0].outerHTML.replace(/\s/g,'')},setPlaceholderSrc:function(e){var o=e.attr('data-width')?e.attr('data-width'):'300',n=e.attr('data-height')?e.attr('data-height'):'300';e.attr('src','https://placehold.it/'+o+'x'+n+'/cccccc/?text=+')},removeAttributionAttributes:function(e){e.removeAttr('data-boldgrid-asset-id').removeAttr('data-pending-boldgrid-attribution')},isSimpleGridblock:function(o){var n=!1,a=e('<div>').html(o.clone());return a.find('.mod-space').remove(),a.find('*').length<=5&&(n=!0),a.find('.row:not(.row .row) > [class^="col-"] > .row').each(function(){var o=e(this),a;if(!o.siblings().length&&(a=o.find('hr'),!a.siblings().length))return n=!0,!1}),a.find('.row:not(.row .row):only-of-type > [class^="col-"]:empty:only-of-type').each(function(){return n=!0,!1}),n}};o.GRIDBLOCK.Filter=n,o.GRIDBLOCK.Filter.setupConfigs()}(jQuery)},"./assets/js/builder/gridblock/generate.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n={gridblockCount:0,failure:!1,licenseTypes:[],fetch:function(){return n.fetching||n.failure?!1:(n.fetching=!0,n.gridblockLoadingUI.start(),n.requestGridblocks().done(function(e,a,r){n.licenseTypes=r.getResponseHeader('License-Types')||'[]',n.licenseTypes=JSON.parse(n.licenseTypes),o.Service.connectKey.postLicenseCheck(n.licenseTypes),n.addToConfig(e),o.GRIDBLOCK.View.createGridblocks()}).always(function(){n.fetching=!1,n.gridblockLoadingUI.finish()}).fail(function(){n.failure=!0,o.GRIDBLOCK.View.$gridblockSection.append(wp.template('boldgrid-editor-gridblock-error')())}))},needsUpgrade:function(e){return parseInt(e.attr('data-is-premium'))&&parseInt(o.GRIDBLOCK.View.$gridblocks.attr('data-requires-premium'))},requestGridblocks:function(n){var a=o.GRIDBLOCK.Category.getSearchType();return n=n||{},e.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:2e4,data:_.defaults(n,{action:'boldgrid_generate_blocks',boldgrid_editor_gridblock_save:BoldgridEditor.nonce_gridblock_save,quantity:30,color_palettes:1,version:BoldgridEditor.version,include_temporary_resources:1,release_channel:BoldgridEditor.boldgrid_settings.theme_release_channel,key:o.Service.connectKey.apiKey,transparent_backgrounds:'post'===BoldgridEditor.post_type?1:0,type:a,color:JSON.stringify({colors:o.CONTROLS.Color.getGridblockColors()}),category:o.GRIDBLOCK.View.industry.getSelected()})})},gridblockLoadingUI:{start:function(){e('body').addClass('loading-remote-body'),o.GRIDBLOCK.View.$gridblockNav.find('select').prop('disabled',!0)},finish:function(){e('body').removeClass('loading-remote-body'),o.GRIDBLOCK.View.$gridblockNav.find('select').prop('disabled',!1)}},addToConfig:function(e){_.each(e,function(a,r){e[r]=n.addRequiredProperties(a),o.GRIDBLOCK.Filter.addGridblockConfig(e[r],'generated-'+n.gridblockCount),n.gridblockCount++})},updateBackgroundImages:function(e){var o=e.attr('gb-background-image');o&&e.removeAttr('gb-background-image').css('background-image',o)},addRequiredProperties:function(o){var a=e(o.html),r=e(o.preview_html);return n.updateBackgroundImages(a),n.updateBackgroundImages(r),o.$previewHtml=r,o['html-jquery']=a,o}};o.GRIDBLOCK.Generate=n}(jQuery)},"./assets/js/builder/gridblock/image.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BoldgridEditor.builder_config.gridblock,n=BOLDGRID.EDITOR,a={translateImages:function(e,o){e.dynamicImages?(a.replaceImages(o),a.replaceBackgrounds(o)):a.transferSrcAttr(o)},transferSrcAttr:function(o){o.find('img[data-src]').each(function(){var o=e(this),n=o.attr('data-src');o.removeAttr('data-src').attr('src',n)})},setImageAttributes:function(e,o){for(var n=['height','width'],a=0,r;a<n.length;a++)r=n[a],e.data(r)&&(e.attr(r,e.data(r)),e.removeAttr('data-'+r));e.attr('src',o)},replaceImages:function(r){r.find('img').each(function(){var r=e(this),s=r.attr('data-src');return(r.removeAttr('data-src'),r.attr('dynamicimage',''),!a.isRandomUnsplash(s))?void a.setImageAttributes(r,s):void(n.GRIDBLOCK.Filter.setPlaceholderSrc(r),o.disabledUnsplashImages||a.getDataURL(s).done(function(e){a.setImageAttributes(r,e)}).fail(function(){a.getRedirectURL(s).done(function(e){a.setImageAttributes(r,e)}).fail(function(){n.GRIDBLOCK.Filter.setPlaceholderSrc(r)})}))})},replaceBackgrounds:function(e){var n=e.css('background-image')||'',r=n.match(/url\(?.+?\)/),s=a.getBackgroundUrl(e),l;if(l=function(o){n=a.replaceBackgroundUrl(n,o),e.css('background-image',n)},r){if(e.attr('dynamicimage',''),!a.isRandomUnsplash(s))return;if(e.css('background-image',''),o.disabledUnsplashImages)return;a.getDataURL(s).done(function(e){l(e)}).fail(function(){a.getRedirectURL(s).done(function(e){l(e)})})}},replaceBackgroundUrl:function(e,o){return e.replace(/url\(.+?\)/,'url('+o+')')},getBackgroundUrl:function(e){var o=e.css('background-image')||'';return o.replace(/.*\s?url\([\'\"]?/,'').replace(/[\'\"]?\).*/,'')},isRandomUnsplash:function(e){return e&&-1!==e.indexOf('source.unsplash')},getEncodedSrc:function(e){var o='';return o=a.isBackgroundImage(e)?a.getBackgroundUrl(e):e.attr('src'),o},isBackgroundImage:function(e){return'IMG'!==e[0].nodeName},addImageUrl:function(e,o){var n;e.removeAttr('dynamicimage'),a.isBackgroundImage(e)?(n=e.css('background-image')||'',n=a.replaceBackgroundUrl(n,o.url),e.attr('data-image-url',o.url).css('background-image',n)):(e.attr('src',o.url),'undefined'!=typeof o.attachment_id&&o.attachment_id&&e.addClass('wp-image-'+o.attachment_id))},getDataURL:function(o){var n=e.Deferred(),a=new XMLHttpRequest;return a.open('get',o),a.responseType='blob',a.onload=function(){var e=new FileReader,o;e.onload=function(){o=a.getResponseHeader('content-type')||'',200===a.status&&-1!==o.indexOf('image')?n.resolve(this.result):n.reject()},e.readAsDataURL(a.response)},a.onerror=function(){n.reject()},a.send(),n},getRedirectURL:function(o){var n=e.Deferred();return e.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:8e3,data:{action:'boldgrid_redirect_url',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,urls:[o]}}).done(function(e){var a=e.data[o]||!1;a?n.resolve(a):n.reject()}).fail(function(){n.reject()}),n}};n.GRIDBLOCK.Image=a}(jQuery)},"./assets/js/builder/gridblock/industry.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Industry',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=BOLDGRID.EDITOR.GRIDBLOCK,l=jQuery,i=function(){function e(){a(this,e)}return r(e,[{key:'init',value:function(){this.defaults={selection:'photography'},this.state='pending',this.$selectWrap=s.View.$gridblockNav.find('.boldgrid-gridblock-industry'),this.$select=this.$selectWrap.find('select'),this._fetch()}},{key:'setFilterVal',value:function(){s.View.$gridblockSection.find('.gridblocks').attr('industry',this.getSelected())}},{key:'getSelected',value:function(){return this.$select.val()||this.defaults.selection}},{key:'createSelectOptions',value:function(e){var o='',n=!0,a=!1,r;try{for(var s=e[Symbol.iterator](),l,i;!(n=(l=s.next()).done);n=!0)i=l.value,o+='<option value="'+i.slug+'">'+i.title+'</option>'}catch(e){a=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}return o}},{key:'showFilters',value:function(){'complete'===this.state&&s.View.finishedTypeFetch&&s.View.$filterSelectWrap.fadeIn()}},{key:'_fetch',value:function(){var e=this;return this.state='loading',s.Generate.gridblockLoadingUI.start(),l.ajax({type:'get',url:BoldgridEditor.plugin_configs.asset_server+BoldgridEditor.plugin_configs.ajax_calls.gridblock_industries,dataType:'json',timeout:1e4}).done(function(o){e.$select.html(e.createSelectOptions(o)),e._setDefault(),e.$selectWrap.show(),e._onSelectChange()}).always(function(){e.setFilterVal(),e.state='complete',e.showFilters(),s.View.updateDisplay()})}},{key:'_onSelectChange',value:function(){var e=this;this.$select.on('change',function(){e.setFilterVal(),s.Category.updateDisplay()})}},{key:'_setDefault',value:function(){var e=this._getInspirationsCategory(),o=BoldgridEditor.block_default_industry||e;this.$select.find('[value="'+o+'"]').length?this.$select.val(o).change():this.$select.find('option:first-of-type').prop('checked',!0)}},{key:'_getInspirationsCategory',value:function(){var e;return BoldgridEditor.inspiration&&BoldgridEditor.inspiration.subcategory_key&&(e=BoldgridEditor.inspiration.subcategory_key),'property_management'===e&&(e='real_estate'),e}}]),e}()},"./assets/js/builder/gridblock/lead.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Lead',function(){return c}),n.d(o,'default',function(){return c});var r=n('./includes/template/gridblock/lead.html'),s=n.n(r),l=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),i=jQuery,d=BOLDGRID.EDITOR,c=function(){function e(){a(this,e),this.$template=i()}return l(e,[{key:'init',value:function(){BoldgridEditor.display_gridblock_lead&&(this.$template=this._insert(),this._bind())}},{key:'dismissPrompt',value:function(){this.$template.hide()}},{key:'_bind',value:function(){this._bindDismiss(),this._bindAddGridblock()}},{key:'_bindDismiss',value:function(){var e=this;this.$template.find('.add-blank').add('#insert-media-button, #insert-gridblocks-button').one('click',function(){e.dismissPrompt(),d.VALIDATION.Section.updateContainers(BOLDGRID.EDITOR.Controls.$container)})}},{key:'_bindAddGridblock',value:function(){var e=this;this.$template.find('.add-gridblock').one('click',function(){d.CONTROLS.Section.enableSectionDrag(),e.dismissPrompt()}),i('#content-html').one('click',function(){e.dismissPrompt()})}},{key:'_insert',value:function(){var e=d.Controls.$container.$iframe,o=i(s.a);return e.after(o),o}}]),e}()},"./assets/js/builder/gridblock/loader.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./assets/js/builder/gridblock/save.js'),r=n('./assets/js/builder/gridblock/preview.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){var o=BOLDGRID.EDITOR.GRIDBLOCK,n=BOLDGRID.EDITOR,s={$window:e(window),openInit:!1,countGidblocksLoaded:0,loadingGridblocks:!1,creatingIframe:!1,$iframeTemp:!1,firstOpen:function(){!1===s.openInit&&(s.openInit=!0,o.View.init(),o.Delete.init(),o.Drag.init(),s.preview=new r.Preview,s.preview.init(),new a.Save().init())},getPendingGridblockIds:function(){var n=[],a=0;return e.each(o.configs.gridblocks,function(e){!this.renderScheduled&&a<4&&o.Category.canDisplayGridblock(this)&&(a++,this.renderScheduled=!0,n.push(e))}),n},loadGridblocks:function(){var e=0,n,a,r;!0!==s.loadingGridblocks&&(r=s.getPendingGridblockIds(),0===r.length||(s.loadingGridblocks=!0,a=function(){var a=r[e],l=!!a&&o.configs.gridblocks[a];return!0===s.creatingIframe?void 0:l?void('iframeCreated'!==l.state&&s.createIframe(l),e++):(clearInterval(n),s.loadingGridblocks=!1,void o.View.$gridblockSection.trigger('scroll'))},n=window.setInterval(a,100)))},createIframe:function(a){var r=o.View.$gridblockSection.find('[data-id="'+a.gridblockId+'"]'),l=s.$iframeTemp?s.$iframeTemp:e('<iframe></iframe>'),i,d;s.creatingIframe=!0,o.View.$gridblockSection.find('.gridblocks').append(r),r.prepend(l),i=function(){var e;o.Image.translateImages(a,a.$html),o.Image.translateImages(a,a.$previewHtml),setTimeout(function(){s.preview.adjustHeight(l,r),n.Controls.$container.wrap_content_elements(a.$previewHtml)},1e3),s.preview.createIframe(l,{head:'',body:''}),e=l.contents(),o.View.addStyles(e),o.View.addBodyClasses(e),e.find('.content-placeholder').replaceWith(a.$previewHtml),o.Category.canDisplayGridblock(a)&&r.css('display',''),a.state='iframeCreated',a.$iframeContents=e,setTimeout(function(){r.addClass('animated fadeInUp'),r.removeClass('gridblock-loading'),s.creatingIframe=!1},200)},d=function(){!1===o.View.headMarkup?s.$window.on('boldgrid_head_styles',i):i()},'Firefox'===BOLDGRID.EDITOR.Controls.browser?l.on('load',d):d()}};o.Loader=s}(jQuery)},"./assets/js/builder/gridblock/preview.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Preview',function(){return d});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=jQuery,l=BOLDGRID.EDITOR.GRIDBLOCK,i=BOLDGRID.EDITOR,d=function(){function e(){a(this,e),this.scaleConfigs=[{minSize:1600,scale:0.59},{minSize:1359,scale:0.5},{minSize:0,scale:0.45}],this.placeholderHtml={},this.placeholderHtml.before=wp.template('gridblock-redacted-before')(),this.placeholderHtml.after=wp.template('gridblock-redacted-after')()}return r(e,[{key:'init',value:function(){this._bindResize()}},{key:'adjustHeight',value:function(e,o){var n=e.contents(),a=this._getScale(),r=n.find('body > div').height()-400;e.height(r),o.css('height',r*a)}},{key:'createIframe',value:function(e,o){var n=e[0].contentWindow.document;n.open(),n.write('<!DOCTYPE html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n\t\t\t\t\t'+o.head+'\n\t\t\t\t</head>\n\t\t\t\t<body>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t'+this.placeholderHtml.before+'\n\t\t\t\t\t\t<span class="content-placeholder"></span>\n\t\t\t\t\t\t'+o.body+'\n\t\t\t\t\t\t'+this.placeholderHtml.after+'\n\t\t\t\t\t</div>\n\t\t\t\t</body>\n\t\t\t</html>'),n.close()}},{key:'_getScale',value:function(){var e=0.59,o=!0,n=!1,a;try{for(var r=this.scaleConfigs[Symbol.iterator](),s,l;!(o=(s=r.next()).done);o=!0)if(l=s.value,l.minSize<=window.innerWidth){e=l.scale;break}}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}return e}},{key:'_bindResize',value:function(){var e=this,o=_.debounce(function(){i.CONTROLS.Section.sectionDragEnabled&&(l.View.$gridblocks.addClass('resizing-gridblocks'),l.View.$gridblockSection.find('.gridblock:not(.gridblock-loading)').each(function(o,n){var a=s(n);e.adjustHeight(a.find('iframe'),a)}),l.View.$gridblocks.removeClass('resizing-gridblocks'))},1e3);s(window).resize(o)}}]),e}()},"./assets/js/builder/gridblock/save.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Save',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=window.jQuery,l=BOLDGRID.EDITOR,i=function(){function e(){a(this,e)}return r(e,[{key:'init',value:function(){this._setupSaveGridblock()}},{key:'_setupSaveGridblock',value:function(){l.GRIDBLOCK.View.$gridblockSection.find('.gridblocks').on('mousedown','.gridblock .save',function(o){o.stopPropagation();var e=s(o.target),n=e.closest('.gridblock').data('id'),a=l.GRIDBLOCK.configs.gridblocks[n];l.Controls.get('Library').openPanel({title:a.getTitle(),type:a.type,html:l.GRIDBLOCK.Create.getHtml(n)})})}}]),e}()},"./assets/js/builder/gridblock/view.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./assets/js/builder/gridblock/fetch-saved.js'),r=n('./assets/js/builder/gridblock/industry.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){var o=BOLDGRID.EDITOR,n={$tinymceBody:null,$gridblockSection:null,$gridblockNav:null,headMarkup:!1,siteMarkup:'',init:function(){n.$filterSelectWrap=e('.filter-controls'),n.gridblockTemplate=wp.template('boldgrid-editor-gridblock'),n.$filterSelect=n.$filterSelectWrap.find('.boldgrid-gridblock-categories select'),n.findElements(),n.industry=new r.Industry,n.industry.init(),n.fetchTypes(),n.positionGridblockContainer(),n.setupUndoRedo(),n.createGridblocks(),o.GRIDBLOCK.Loader.loadGridblocks(),o.GRIDBLOCK.Category.init(),o.Service.connectKey.init(),n.endlessScroll(),n.templateClass=n.getTemplateClass(),n.fetchSaved=new a.FetchSaved},fetchTypes:function(){var o=this;return n.finishedTypeFetch=!1,e.ajax({url:BoldgridEditor.plugin_configs.asset_server+BoldgridEditor.plugin_configs.ajax_calls.gridblock_types,dataType:'json',timeout:4e3,data:{release_channel:BoldgridEditor.boldgrid_settings.theme_release_channel,key:BoldgridEditor.boldgrid_settings.api_key,version:BoldgridEditor.version}}).done(function(e){o.setFilterOptions(e)}).fail(function(){o.setFilterOptions()})},setFilterOptions:function(e){var o='',a=[],r=BoldgridEditor.builder_config.gridblock.filters;e=e||[],a=r.concat(e);var s=!0,l=!1,i;try{for(var d=a[Symbol.iterator](),c,p;!(s=(c=d.next()).done);s=!0)p=c.value,o+='<option value="'+p.slug+'">'+p.title+'</option>'}catch(e){l=!0,i=e}finally{try{!s&&d.return&&d.return()}finally{if(l)throw i}}n.$filterSelect.html(o),n.$filterSelectWrap.find('.boldgrid-gridblock-categories').show(),n.finishedTypeFetch=!0,n.industry.showFilters()},onOpen:function(){n.$gridblockSection.trigger('scroll'),n.updateCustomStyles()},updateCustomStyles:function(){var e=o.Service.styleUpdater.getStylesheetCss();_.each(o.GRIDBLOCK.configs.gridblocks,function(o){'iframeCreated'===o.state&&o.$iframeContents.find('#boldgrid-custom-styles').html(e)})},onLoad:function(){n.setupAddGridblock(),o.STYLE.Remote.getStyles(BoldgridEditor.site_url)},hasGridblocks:function(){var e=0;return _.each(o.GRIDBLOCK.configs.gridblocks,function(n){'ready'===n.state&&o.GRIDBLOCK.Category.canDisplayGridblock(n)&&e++}),5<=e},endlessScroll:function(){var e=n.$gridblockSection.find('.gridblocks'),a;a=_.throttle(function(){var a=n.$gridblockSection.scrollTop(),r=e.height();r-a<1500&&!0===o.CONTROLS.Section.sectionDragEnabled&&n.updateDisplay()},800),n.$gridblockSection.on('scroll',a)},updateDisplay:function(){var e=o.GRIDBLOCK.Category.isSavedCategory(o.GRIDBLOCK.Category.currentCategory);o.GRIDBLOCK.Loader.loadGridblocks(),e||n.hasGridblocks()||'complete'!==n.industry.state?e&&!n.hasGridblocks()&&n.fetchSaved.fetch():o.GRIDBLOCK.Generate.fetch()},setupAddGridblock:function(){e('#insert-gridblocks-button').on('click',function(){e('.wp-switch-editor.switch-tmce').click(),o.CONTROLS.Section.$container?o.CONTROLS.Section.enableSectionDrag():e(window).one('boldgrid_editor_loaded',function(){o.CONTROLS.Section.enableSectionDrag()})})},setupUndoRedo:function(){var o=e('.history-controls');o.find('.redo-link').on('click',function(){BOLDGRID.EDITOR.mce.undoManager.redo(),e(window).trigger('resize'),n.updateHistoryStates()}),o.find('.undo-link').on('click',function(){BOLDGRID.EDITOR.mce.undoManager.undo(),e(window).trigger('resize'),n.updateHistoryStates()})},updateHistoryStates:function(){var o=e('.history-controls');BOLDGRID.EDITOR.mce.undoManager&&(o.find('.redo-link').attr('disabled',!BOLDGRID.EDITOR.mce.undoManager.hasRedo()),o.find('.undo-link').attr('disabled',!BOLDGRID.EDITOR.mce.undoManager.hasUndo()))},findElements:function(){n.$gridblockSection=e('.boldgrid-zoomout-section'),n.$gridblocks=n.$gridblockSection.find('.gridblocks'),n.$gridblockNav=e('.zoom-navbar'),n.$pageTemplate=e('#page_template')},getTemplateClass:function(){var e=n.$pageTemplate.val()||'default';return e=e.split('.'),'page-template-'+e[0]},addBodyClasses:function(e){e.find('body').addClass(BoldgridEditor.body_class).addClass('mce-content-body entry-content centered-section').addClass(n.templateClass).css('overflow','hidden')},addStyles:function(e){var a=n.headMarkup;a+='<style id="boldgrid-custom-styles">'+o.Service.styleUpdater.getCachedCss()+'</style>',e.find('head').html(a)},positionGridblockContainer:function(){e('#wpcontent').after(n.$gridblockSection)},createGridblocks:function(){var e,o;n.$gridblockSection&&(o=n.$gridblockSection.find('.gridblocks'),e=n.generateInitialMarkup(),o.append(e),n.$gridblockSection.trigger('scroll'))},generateInitialMarkup:function(){var a='';return e.each(o.GRIDBLOCK.configs.gridblocks,function(){this.state||(this.state='ready',a+=n.gridblockTemplate(this))}),a}};o.GRIDBLOCK.View=n,e(o.GRIDBLOCK.View.onLoad)}(jQuery)},"./assets/js/builder/library/save.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Save',function(){return p}),n.d(o,'default',function(){return p});var r=n('./includes/template/gridblock-library.html'),s=n.n(r),l=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),i=window.jQuery,d=BOLDGRID.EDITOR,c=i(window),p=function(){function e(){a(this,e),this.name='Library',this.panel={title:'Block Library',icon:'gridblock-grid-icon',height:'430px',width:'600px',autoCenter:!0,showOverlay:!0}}return l(e,[{key:'init',value:function(){d.Controls.registerControl(this)}},{key:'setup',value:function(){this._bindHandlers()}},{key:'openPanel',value:function(e){this.gridblockData=e,this.$html=i(s.a),this._setState('save-prompt'),e.title&&this.$html.find('input').val(e.title).change(),d.Panel.setContent(this.$html).open(this),d.Panel.centerPanel()}},{key:'ajax',value:function(e){return e.action='boldgrid_editor_save_gridblock',e.boldgrid_editor_gridblock_save=BoldgridEditor.nonce_gridblock_save,i.ajax({url:ajaxurl,dataType:'json',method:'POST',timeout:5e3,data:e})}},{key:'save',value:function(e){var o=this,n=i.Deferred();return'string'==typeof e.html?(e.html=i('<div>'+e.html+'</div>').html(),this.ajax(e)):(e.html.always(function(a){e.html=i(a).html(),o.ajax(e).fail(function(e){n.reject(e)}).done(function(e){n.resolve(e)})}),n)}},{key:'_addToConfig',value:function(e){if(d.GRIDBLOCK.View.fetchSaved&&d.GRIDBLOCK.View.fetchSaved.status){var o={html:e.post_content,post:e,dynamicImages:!1,type:'library',"html-jquery":i(e.post_content)};d.GRIDBLOCK.Filter.addGridblockConfig(o,'ui-saved-'+e.ID),d.GRIDBLOCK.View.createGridblocks()}}},{key:'_setState',value:function(e){this.$html.attr('state',e)}},{key:'_bindHandlers',value:function(){this._setupFormSubmit()}},{key:'_setupFormSubmit',value:function(){var o=this;d.Panel.$element.on('submit','.save-gridblock form',function(n){var e=i(n.target),a=e.find('.bg-editor-button'),r=e.find('input');n.preventDefault(),d.Panel.showLoading(),a.attr('disabled','disabled'),o.gridblockData.title=r.val(),o.save(o.gridblockData).fail(function(){o._setState('save-failed')}).done(function(e){o._setState('save-success'),o._addToConfig(e.data)}).always(function(){d.Panel.hideLoading(),a.removeAttr('disabled')})})}}]),e}()},"./assets/js/builder/menu.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(o){'use strict';var e=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.Menu={$element:null,$activeElement:null,$mceContainer:null,init:function(){return this.create(),this.setupMenuDrag(),this.setupDimiss(),this.setupDropmenuOpen(),this.$element},getTarget:function(e){return this.$element.targetData[e.name]},getCurrentTarget:function(){var o;return e.Panel.currentControl&&(e.Panel.currentControl.getTarget?o=e.Panel.currentControl.getTarget():o=n.getTarget(e.Panel.currentControl)),o},create:function(){this.$mceContainer=o('#'+BOLDGRID.EDITOR.mce.theme.panel._items[0]._id),this.$element=o(wp.template('boldgrid-editor-control-menu')()),this.$mceContainer.append(this.$element),this.$element.items=[],this.$element.targetData=!1},setupMenuDrag:function(){this.$element.find('ul').draggable({containment:'#wp-content-editor-container',scroll:!1,axis:'x',cancel:'li'})},createListItem:function(e){var n=o('<li></li>').attr('data-action','menu-'+e.name),a=o('<span></span>').addClass(e.iconClasses),r;n.append(a),e.menuDropDown&&(r=o('<ul class="bg-editor-menu-dropdown"></ul>'),n.addClass('menu-dropdown-parent'),a.addClass('menu-dropdown-icon'),r.html('<li class="title">'+e.menuDropDown.title+'</li>'),o.each(e.menuDropDown.options,function(){r.append('<li class="'+this.class+'">'+this.name+'</li>')}),n.append(r)),e.tooltip&&n.append(wp.template('boldgrid-editor-tooltip')({message:e.tooltip})),this.$element.find('> ul').append(n)},setupDimiss:function(){o(document).on('click',function(a){!1===o(a.target).hasClass('menu-dropdown-icon')&&n.$element.find('.menu-dropdown-parent').removeClass('active')}),e.Controls.$container.on('click',function(){n.$element.find('.menu-dropdown-parent').removeClass('active')})},setupDropmenuOpen:function(){this.$element.on('click','.menu-dropdown-parent',function(){o(this).toggleClass('active').siblings().removeClass('active')})},activateControl:function(e){n.deactivateControl(),this.$activeElement=BOLDGRID.EDITOR.Menu.$element.find('[data-action="menu-'+e.name+'"]').addClass('active')},deactivateControl:function(){this.$activeElement&&(this.$activeElement.removeClass('active'),this.$activeElement=null)},reactivateMenu:function(){var e=BOLDGRID.EDITOR.Panel.$element;this.$activeElement&&e.is(':visible')&&this.$element.find('[data-action="menu-'+e.attr('data-type')+'"]').addClass('active')}},n=BOLDGRID.EDITOR.Menu}(jQuery)},"./assets/js/builder/notice/base.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Base',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=window.jQuery,l=BOLDGRID.EDITOR,i=function(){function e(){a(this,e)}return r(e,[{key:'bindDismissButton',value:function(){var e=this;l.Panel.$element.find('.bg-upgrade-notice, .setup').find('.dismiss').one('click',function(){e.dismissPanel()})}},{key:'removeEffects',value:function(){s('body').removeClass('bg-editor-intro-1-3 fadeout-background bg-editor-intro'),l.Panel.resetPosition(),l.Panel.closePanel(),l.Panel.$element.removeClass('animated bounceOutDown bounceInDown')}},{key:'dismissPanel',value:function(){var e=this,o=s('body');o.addClass('fadeout-background'),l.Panel.$element.addClass('bounceOutDown').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){e.removeEffects()}),setTimeout(function(){e.removeEffects()},1e3)}}]),e}()},"./assets/js/builder/notice/intro.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Intro',function(){return h}),n.d(o,'default',function(){return h});var l=n('./includes/template/intro.html'),i=n.n(l),d=n('./assets/js/builder/notice/base.js'),c=n('./node_modules/@boldgrid/controls/src/controls/index.js'),p=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),u=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},g=window.jQuery,m=BOLDGRID.EDITOR,h=function(e){function o(){a(this,o);var e=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return e.name='intro',e.panel={title:'Post and Page Builder - Setup',height:'285px',width:'650px',disabledClose:!0,autoCenter:!0},e}return s(o,e),p(o,[{key:'init',value:function(){BoldgridEditor.display_intro&&(this.selection=new c.f,this.$body=g('body'),this.settings=this.getDefaults(),this.templateMarkup=_.template(i.a)(),this.$panelHtml=g(this.templateMarkup),this.$templateInputs=this.$panelHtml.find('input[name="template"]'),this.openPanel(),this._setupNav(),this._addPanelSettings('welcome'),this.bindDismissButton(),this._setupStepActions())}},{key:'getDefaults',value:function(){return{template:{choice:'fullwidth'},palette:{choice:null}}}},{key:'openPanel',value:function(){m.Panel.currentControl=this,this.$body.addClass('bg-editor-intro'),m.Panel.setDimensions(this.panel.width,this.panel.height),m.Panel.setTitle(this.panel.title),m.Panel.setContent(this.$panelHtml),m.Panel.centerPanel(),m.Panel.$element.show()}},{key:'dismissPanel',value:function(){if(u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'dismissPanel',this).call(this),this.settings.template.choice=this.$templateInputs.filter(':checked').val(),'auto-draft'===BoldgridEditor.post.post_status&&'default'!==this.settings.template.choice){var e='template/page/'+this.settings.template.choice+'.php';g('#page_template').val(e).change()}this.saveSettings()}},{key:'saveSettings',value:function(){g.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_editor_setup',boldgrid_editor_setup:BoldgridEditor.setupNonce,settings:this.settings}})}},{key:'_setupStepActions',value:function(){var e=this;this.$panelHtml.on('boldgrid-editor-choose-color-palette',function(){var o;o=e.selection.create(),e.$panelHtml.find('.choose-palette').html(o),o.one('palette-selection',function(){e.$currentStep.find('[data-action-step]').removeAttr('disabled')}),o.on('palette-selection',function(){e.settings.palette.choice=e.selection.getSelectedPalette()})})}},{key:'_addPanelSettings',value:function(e){this.$currentStep=this.$panelHtml.find('[data-step="'+e+'"]'),m.Panel.setTitle(this.$currentStep.data('panel-title')),m.Panel.setInfo(this.$currentStep.data('panel-info')),m.Panel.setDimensions(this.$currentStep.data('panel-width')||this.panel.width,this.$currentStep.data('panel-height')||this.panel.height)}},{key:'_setupNav',value:function(){var o=this;this.$panelHtml.find('[data-action-step]').on('click',function(n){var e=g(n.target),a=e.data('action-step');o._addPanelSettings(a),o.$panelHtml.trigger('boldgrid-editor-'+a),o.$panelHtml.find('.step').removeClass('active'),m.Panel.centerPanel(),o.$currentStep.addClass('active')})}}]),o}(d.Base)},"./assets/js/builder/notice/update.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./assets/js/builder/notice/base.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.NOTICE=BOLDGRID.EDITOR.NOTICE||{},function(e){var o=BOLDGRID.EDITOR,n;o.NOTICE.Update={title:'New Release: Post and Page Builder',template:wp.template('boldgrid-upgrade-notice'),init:function(){BoldgridEditor.display_update_notice&&(this.notice=new a.Base,n.displayPanel(),setTimeout(function(){n.bindEvents()},1e3))},bindEvents:function(){this.notice.bindDismissButton(),n.bodyClick()},bodyClick:function(){var n=this;e('body').one('click',function(){n.notice.dismissPanel()}),o.Panel.$element.on('click',function(o){o.stopPropagation()})},displayPanel:function(){e('body').addClass('bg-editor-intro-1-3 bg-editor-intro'),n.initPanel(),n.renderPanel()},animatePanel:function(){o.Panel.$element.addClass('animated bounceInDown').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){e('.bg-editor-loading').hide()})},renderPanel:function(){o.Panel.$element.show(),n.animatePanel()},initPanel:function(){o.Panel.setDimensions(800,400),o.Panel.setTitle(n.title),o.Panel.setContent(n.template())}},n=o.NOTICE.Update}(jQuery)},"./assets/js/builder/panel.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.Panel={$element:null,currentControl:null,init:function(){return this.$body=e('body'),this.create(),this._setupPanelClose(),this._setupDrag(),this._setupCustomizeLeave(),this._setupCustomizeDefault(),this._lockPanelScroll(),this._setupAutoCenter(),this._setupEscapeClose(),this.$element},create:function(){this.$element=e(wp.template('boldgrid-editor-panel')()),this.$loading=this.$element.find('.bg-loading-spinner'),this.$body.append(this.$element)},setContent:function(e){return this.$element.find('.panel-body').html(e),this},setTitle:function(e){this.$element.find('.panel-title .name').html(e)},setInfo:function(e){this.$element.find('.panel-title .info').html(e)},showLoading:function(){this.$element.find('.panel-body').addClass('block-access-overlay'),this.$loading.addClass('enabled')},hideLoading:function(){this.$element.find('.panel-body').removeClass('block-access-overlay'),this.$loading.removeClass('enabled')},resetPosition:function(){this.$element.css({top:'',left:''})},setDimensions:function(e,o){this.$element.width(e),this.$element.height(o)},centerPanel:function(){var o=e(window),n=parseInt(this.$element.css('width')),a=parseInt(this.$element.css('height')),r=o.width(),s=o.height();this.$element.css({top:s/2-a/2,left:r/2-n/2})},initScroll:function(){n.createScrollbar(n.getScrollTarget(),this.currentControl.panel||{})},createScrollbar:function(e,o){var a=-66,r=this.$element.find(e);o&&o.sizeOffset&&(a=o.sizeOffset),n.$element.find('.slimScrollDiv >:first-child').slimScroll({destroy:!0}).attr('style',''),r.slimScroll({color:'#32373c',size:'8px',height:parseInt(o.height)+a,alwaysVisible:!0,disableFadeOut:!0,wheelStep:5})},isOpenControl:function(e){var o=!1;return this.$element.is(':visible')&&this.$element.attr('data-type')===e.name&&(o=!0),o},_setupEscapeClose:function(){var a=this,e=function(o){27===o.keyCode&&a.currentControl&&a.currentControl.panel&&!a.currentControl.panel.disabledClose&&a.$element.is(':visible')&&n.closePanel()};o.$window.on('keyup',e),o.Controls.$container.on('keyup',e)},_setupDrag:function(){this.$element.draggable({containment:'#wpwrap',handle:'.panel-title',scroll:!1})},clearSelected:function(){this.$element.find('.selected').removeClass('selected')},_setupPanelResize:function(){this.$element.resizable()},_setupPanelClose:function(){this.$element.on('click','.close-icon, button.dismiss',function(){n.closePanel()})},removeClasses:function(){o.Controls.$container.find('.bg-control-element').removeClass('bg-control-element')},closePanel:function(){n.$element.hide(),o.Panel.hideLoading(),BOLDGRID.EDITOR.Menu.deactivateControl(),n.removeClasses(),n.$element.hasClass('customize-open')&&(this.$element.trigger('bg-customize-exit'),n.$element.removeClass('customize-open')),this.$element.find('.panel-body').empty(),this.$element.removeClass('drag-disabled'),this.$element.trigger('bg-panel-close'),this.$body.removeClass('bg-editor-overlay'),BOLDGRID.EDITOR.mce.undoManager.add()},scrollToSelected:function(){var e=n.$element.find('.selected:not(.filters .selected):visible'),o,a;n.scrollTo(0),e.length&&(a=0,n.currentControl.panel.scrollOffset&&(a=n.currentControl.panel.scrollOffset),o=e.position().top+a,n.scrollTo(o+'px'))},getScrollTarget:function(){var e='.panel-body';return n.currentControl&&n.currentControl.panel.scrollTarget&&(e=n.currentControl.panel.scrollTarget),e},scrollTo:function(e){this.$element.find(n.getScrollTarget()).slimScroll({scrollTo:e,alwaysVisible:!0,disableFadeOut:!0})},clear:function(){this.$element.find('.panel-title .name').empty(),this.$element.find('.panel-title .info').empty(),this.$element.find('.panel-body').empty(),this.$element.find('.panel-title .icon').attr('class','')},_enableFooter:function(e){e&&e.includeFooter?n.showFooter():n.hideFooter()},hideFooter:function(){this.$element.find('.panel-footer').hide()},showFooter:function(){this.$element.find('.panel-footer').show()},_setupCustomize:function(o){o.panel.customizeCallback&&n.$element.find('.panel-footer .customize .panel-button').on('click',function(a){a.preventDefault(),n.customizeOpenEvent(),n.$element.attr('data-type')===o.name&&!0!==n.currentControl.panel.customizeCallback&&o.panel.customizeCallback()})},customizeOpenEvent:function(){n.$element.trigger('bg-customize-open'),n.$element.addClass('customize-open')},enterCustomization:function(){n.$element.find('.panel-body .customize').show(),n.$element.find('.presets').hide(),n.$element.find('.title').hide(),n.scrollTo(0),n.hideFooter(),o.Service.customize.navigation.enable()},_setupCustomizeDefault:function(){n.$element.find('.panel-footer .customize .panel-button').on('click',function(o){o.preventDefault(),n.currentControl&&n.currentControl.panel&&!0===n.currentControl.panel.customizeCallback&&n.enterCustomization()})},_setupCustomizeLeave:function(){n.$element.on('click','.back .panel-button',function(a){a.preventDefault(),n.$element.removeClass('customize-open'),n.currentControl&&n.currentControl.panel&&!0===n.currentControl.panel.customizeLeaveCallback&&(n.$element.find('.presets').show(),n.$element.find('.title').show(),n.$element.find('.panel-body .customize').hide(),o.Service.customize.navigation.disable(),n.toggleFooter(),n.scrollToSelected(),n.$element.trigger('bg-customize-exit'))})},setupPanelClick:function(n){var a=BOLDGRID.EDITOR.Panel;n.panel&&n.panel.styleCallback&&a.$element.on('click','[data-control-name="'+n.name+'"] .panel-selection',function(){var r=o.Menu.getCurrentTarget(),s=e(this);o.Util.removeComponentClasses(r,n.componentPrefix),r.addClass(s.attr('data-preset')),a.$element.find('.selected').removeClass('selected'),s.addClass('selected')})},toggleFooter:function(){n.$element.find('.panel-body .selected').length?n.showFooter():n.hideFooter()},collapseSelection:function(){'icon'!==n.currentControl.name&&(BOLDGRID.EDITOR.mce.selection.collapse(!1),BOLDGRID.EDITOR.mce.nodeChanged())},_lockPanelScroll:function(){window.addEventListener&&(this.$element[0].addEventListener('DOMMouseScroll',n._onWheel,!1),this.$element[0].addEventListener('mousewheel',n._onWheel,!1))},_onWheel:function(o){o=o||window.event,o.preventDefault&&o.preventDefault(),o.returnValue=!1},preselect:function(){var e,n;this.currentControl.panel.preselectCallback&&(e=o.Menu.getCurrentTarget(),n=o.Util.getClassesLike(e,this.currentControl.componentPrefix),n=n.join(' '),this.clearSelected(),this.$element.find('[data-preset="'+n+'"]:first').addClass('selected'))},showOverlay:function(){this.currentControl.panel&&this.currentControl.panel.showOverlay&&(this.$body.addClass('bg-editor-overlay'),this.$element.addClass('drag-disabled'))},_setupAutoCenter:function(){var o=this,n=_.debounce(function(){o.currentControl&&o.currentControl.panel.autoCenter&&o.centerPanel()},500);e(window).on('resize',n)},_setIcon:function(){this.currentControl.panel&&this.currentControl.panel.icon&&this.$element.find('.panel-title [data-id="icon"]').attr('class',this.currentControl.panel.icon).addClass('icon')},open:function(a){var r;BOLDGRID.EDITOR.mce.undoManager.add(),BOLDGRID.EDITOR.Menu.activateControl(a),this.currentControl=a,this.$element.addClass('ui-widget-content'),this.setDimensions(a.panel.width,a.panel.height),this.setTitle(a.panel.title),this.$element.attr('data-type',a.name),this.$element.find('.panel-body').attr('data-control-name',a.name),this._enableFooter(a.panel),this._setupCustomize(a),o.Tooltip.renderTooltips(),this.$element.show(),this.initScroll(a),this.preselect(),this.scrollToSelected(),this.collapseSelection(),this.showOverlay(),this._setIcon(),BOLDGRID.EDITOR.CONTROLS.Generic.initControls(),n.removeClasses(),r=o.Menu.$element.targetData[a.name]||e(),r.addClass('bg-control-element'),o.CONTROLS.Color.initColorControls(),this.$element.trigger('open')}},n=BOLDGRID.EDITOR.Panel}(jQuery)},"./assets/js/builder/popover/actions/clone.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Clone',function(){return l}),n.d(o,'default',function(){return l});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=BOLDGRID.EDITOR,l=function(){function e(o){a(this,e),this.popover=o}return r(e,[{key:'init',value:function(){var e=this;this.popover.$element.find('[data-action="duplicate"]').on('click',function(){e.clone(),e.postClone()})}},{key:'clone',value:function(){var e=this.popover.$target.clone();this.popover.$target.after(e)}},{key:'postClone',value:function(){s.Controls.$container.trigger('boldgrid_clone_element'),this.popover.updatePosition()}}]),e}()},"./assets/js/builder/popover/actions/delete.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Delete',function(){return l}),n.d(o,'default',function(){return l});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=BOLDGRID.EDITOR,l=function(){function e(o){a(this,e),this.popover=o}return r(e,[{key:'init',value:function(){var e=this;this.popover.$element.find('[data-action="delete"]').on('click',function(o){o.preventDefault(),e.delete()})}},{key:'delete',value:function(){this.popover.$target.remove(),this.popover.$element.hide(),this.popover.updatePosition(),s.Controls.$container.trigger('delete_dwpb')}}]),e}()},"./assets/js/builder/popover/actions/general.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'GeneralActions',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=BOLDGRID.EDITOR,l=jQuery,i=function(){function e(){a(this,e)}return r(e,[{key:'bind',value:function(e){var o=this;this.popover=e,e.$element.find('li[data-action="add-column"]').on('click',u.add_column),e.$element.find('li[data-action="duplicate-column"]').on('click',u.duplicateColumn),e.$element.find('li[data-action="clear"]').on('click',u.clear),e.$element.find('li[data-action="insert-layout"]').on('click',u.insert_layout),e.$element.find('li[data-action="add-row"]').on('click',u.add_row),e.$element.find('li[data-action="clone-as-row"]').on('click',u.unnest_row),e.$element.find('li[data-action]').on('click',u.trigger_action_click),e.$element.find('li[data-action="add-media"]').on('click',u.add_media),e.$element.find('li[data-action="align-top"]').on('click',u.alignTop),e.$element.find('li[data-action="Box"]').on('click',function(n){return o.generalMacro(n)}),e.$element.find('li[data-action="Advanced"]').on('click',function(n){return o.generalMacro(n)}),e.$element.find('li[data-action="Font"]').on('click',function(n){return o.generalMacro(n)}),e.$element.find('li[data-action="align-default"]').on('click',u.alignDefault),e.$element.find('li[data-action="align-bottom"]').on('click',u.alignBottom),e.$element.find('li[data-action="align-center"]').on('click',u.alignCenter),g=s.Controls.$container}},{key:'generalMacro',value:function(o){var e;o.stopPropagation(),e=l(o.target).data('action'),s.Service.popover.selection.$target.click(),s.Controls.get(e).openPanel(s.Service.popover.selection.$target,this.popover.name)}}]),e}(),d=['duplicate','add-row','add-column','nest-row','clear','delete','clone-as-row','align-top','align-bottom','align-default','align-center'],c=function(e,o){var n=BOLDGRID.EDITOR.Service.popover.selection.$target;n.removeClass('align-column-top align-column-bottom align-column-center'),o&&n.addClass('align-column-'+o),e.closest('.popover-menu-imhwpb').addClass('hidden')},p=function(e,o){e.preventDefault(),o.closest('.popover-menu-imhwpb').addClass('hidden'),g.window_mouse_leave()},u={alignTop:function(){c(l(this),'top')},alignBottom:function(){c(l(this),'bottom')},alignCenter:function(){c(l(this),'center')},alignDefault:function(){c(l(this))},unnest_row:function(e){var o=BOLDGRID.EDITOR.Service.popover.selection.$target;o.length&&(l(o[0].outerHTML).insertBefore(o.parent().closest('.row')),p(e,o))},add_row:function(){var e=g.createEmptyRow();BOLDGRID.EDITOR.Service.popover.selection.$target.before(e),g.postAddRow(e)},add_column:function(e){e.preventDefault();var o=l(this),n=BOLDGRID.EDITOR.Service.popover.selection.$target,a=g.find_row_size(n),r=n.find('> *'),s;if(1===r.length&&'BR'==r[0].tagName&&n.empty(),a<g.max_row_size&&a>=0)s=g.fill_row(a,n);else if(a>=g.max_row_size){var i=g.get_layout_format(n),d=g.find_layout_transform(i);d&&!d.current?(g.transform_layout(n,d),s=l('<div class="col-md-'+d.new+' col-sm-12 col-xs-12"></div>'),n.append(s)):(g.decrease_row_size(n),s=l('<div class="col-md-1 col-sm-12 col-xs-12"></div>'),n.append(s))}s.html('<p><br> </p>'),s.addClass('added-element'),setTimeout(function(){s.removeClass('added-element')},1e3),g.trigger(g.add_column_event,s),o.closest('.popover-menu-imhwpb').addClass('hidden')},duplicateColumn:function(e){e.preventDefault();var o=BOLDGRID.EDITOR.Service.popover.selection.$target,n=o.closest_context(g.row_selectors_string,g),a=g.find_column_size(o),r=g.get_layout_format(n),s=g.find_layout_transform(r,a),i=1;if(g.find_row_size(n)+a<=g.max_row_size){var d=o.before(o[0].outerHTML);d[0].popover=null}else if(s){if(!s.current){g.transform_layout(n,s),i=s.new;var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i)}else{g.change_column_size(o,null,s.current_transform),i=s.new;var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i),l.each(s.additional_transform,function(e,o){var a=0;n.find(g.immediate_column_selectors_string).reverse().each(function(){if(a<o.count){var e=l(this);g.find_column_size(e)==o.from&&(g.change_column_size(e,null,o.to),a++)}else return!1})})}}else if(0==a%2&&a){g.change_column_size(o,null,parseInt(a/2));var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,parseInt(a/2))}else if(g.decrease_row_size(n)){var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i)}g.trigger(g.add_column_event)},clear:function(e){e.preventDefault();var o=l(this),n=BOLDGRID.EDITOR.Service.popover.selection.$target,a=g.get_element_type(n);'column'==BOLDGRID.EDITOR.Service.popover.selection.name?(n.html('<p><br> </p>'),c(o)):n.find(':not('+g.column_selectors_string+'):not( '+g.row_selectors_string+')').remove(),o.closest('.popover-menu-imhwpb').addClass('hidden'),g.trigger(g.clear_event,n)},add_media:function(){g.add_media_event_handler(BOLDGRID.EDITOR.Service.popover.selection.$target[0])},insert_layout:function(){g.insert_layout_event_handler(BOLDGRID.EDITOR.Service.popover.selection.$target[0])},trigger_action_click:function(e){var o=l(this);-1===d.indexOf(o.data('action'))&&(g.$boldgrid_menu_action_clicked=BOLDGRID.EDITOR.Service.popover.selection.$target[0],p(e,o)),g.trigger(g.boldgrid_modify_event)}},g},"./assets/js/builder/popover/base.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Base',function(){return p}),n.d(o,'default',function(){return p});var r=n('./assets/js/builder/popover/actions/clone.js'),s=n('./assets/js/builder/popover/actions/delete.js'),l=n('./assets/js/builder/popover/actions/general.js'),i=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),d=window.jQuery,c=BOLDGRID.EDITOR,p=function(){function e(o){a(this,e),o=o||{},o.actions=o.actions||{},o.actions.clone=o.actions.clone||new r['default'](this),o.actions.delete=o.actions.delete||new s['default'](this),this.options=o,this.selectors=['.must-be-defined'],this.debounceTime=300,this._hideCb=this._getDebouncedHide(),this._showCb=this._getDebouncedUpdate(),this.hideHandleEvents=['bge_row_resize_start','start_typing_boldgrid','boldgrid_modify_content','resize_clicked','drag_end_dwpb','history_change_boldgrid','clear_dwpb','add_column_dwpb']}return i(e,[{key:'init',value:function(){return this.$target,this.$element=this._render(),this.$element.hide(),this._bindEvents(),this.options.actions.clone.init(),this.options.actions.delete.init(),new l['default']().bind(this),this}},{key:'hideHandles',value:function(e){var o;e&&e.relatedTarget&&(o=d(e.relatedTarget)),this.preventMouseLeave&&this.preventMouseLeave(o)||(this._removeBorder(),this.$element.$menu.addClass('hidden'),this.$element.hide(),this.$element.trigger('hide'),this.$element.removeClass('menu-open'))}},{key:'updatePosition',value:function(e){var o,n;return this._removeBorder(),e&&(n=d(e.target)),this._isInvalidTarget(n||this.$target)?void this.$element.hide():c.Controls.$container.$current_drag||c.Controls.$container.resize||this.disableAddPopover?!1:void(n&&(n=n.closest(this.getSelectorString()),this.$target&&n[0]!==this.$target[0]&&(this.$element.removeClass('menu-open'),this.$element.$menu.addClass('hidden')),this.$target=n),this.$element.trigger('updatePosition'),o=this.$target[0].getBoundingClientRect(),this.$element.css(this.getPositionCss(o)).show(),this.$target.addClass('popover-hover'))}},{key:'bindSelectorEvents',value:function(){var e=this;this.$element.on('mouseenter',function(){e.debouncedUpdate()}),c.Controls.$container.$body.on('mouseenter.draggable',this.getSelectorString(),function(o){e.debouncedUpdate(o)}),c.Controls.$container.$body.on('mouseleave.draggable',this.getSelectorString(),function(o){e.debouncedHide(o)})}},{key:'debouncedHide',value:function(e){this._hideCb(e),this.mostRecentAction='leave'}},{key:'debouncedUpdate',value:function(e){this._showCb(e),this.mostRecentAction='enter'}},{key:'_getDebouncedHide',value:function(){var e=this;return _.debounce(function(o){'leave'===e.mostRecentAction&&e.hideHandles(o)},this.debounceTime)}},{key:'_getDebouncedUpdate',value:function(){var e=this;return _.debounce(function(o){'enter'===e.mostRecentAction&&e.updatePosition(o)},this.debounceTime)}},{key:'_bindEvents',value:function(){this.bindSelectorEvents(),this._universalEvents()}},{key:'_universalEvents',value:function(){var e=this;this.$element.on('mousedown',function(){c.Service.popover.selection=e}),c.Controls.$container.on('edit-as-row-enter edit-as-row-leave',function(){e.bindSelectorEvents(),e.hideHandles()}),c.Controls.$container.on('end_typing_boldgrid',function(){'start_typing_boldgrid'===e.hideEventType&&e.updatePosition()}),c.Controls.$container.on('history_change_boldgrid',function(){e.disableAddPopover=!0,setTimeout(function(){e.disableAddPopover=!1},500)}),this.$element.on('mouseleave',function(o){e.debouncedHide(o)}),c.Controls.$container.find('[data-action]').on('click',function(o){e.hideHandles(o)}),c.Controls.$container.on('mouseleave',function(o){e.hideEventType=o.type,e.debouncedHide()}),c.Controls.$container.on(this.hideHandleEvents.join(' '),function(o){e.hideEventType=o.type,e.hideHandles()})}},{key:'_isInvalidTarget',value:function(e){return!e||!e.length||!c.Controls.$container.find(e).length}},{key:'_removeBorder',value:function(){this.$target&&this.$target.length&&this.$target.removeClass('popover-hover')}},{key:'_render',value:function(){var e=d(_.template(this.template)({actions:c.Controls.$container.additional_menu_items}));return e.$menu=e.find('.popover-menu-imhwpb'),c.Controls.$container.$body.after(e),e}}]),e}()},"./assets/js/builder/popover/column.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Column',function(){return g}),n.d(o,'default',function(){return g});var l=n('./assets/js/builder/popover/base.js'),i=n('./includes/template/popover/column.html'),d=n.n(i),c=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),p=window.jQuery,u=BOLDGRID.EDITOR,g=function(e){function o(){var e;a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return n.template=d.a,n.name='column',(e=n,r(n,e))}return s(o,e),c(o,[{key:'getPositionCss',value:function(e){return{top:e.top,left:e.left}}},{key:'getSelectorString',value:function(){return u.Controls.$container.editting_as_row?u.Controls.$container.nestedColumnSelector:u.Controls.$container.original_selector_strings.unformatted_column_selectors_string}}]),o}(l.Base)},"./assets/js/builder/popover/content.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Content',function(){return m}),n.d(o,'default',function(){return m});var l=n('./assets/js/builder/popover/base.js'),i=n('./includes/template/popover/content.html'),d=n.n(i),c=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),p=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return n.template=d.a,n.name='content',n.nestedSelector=n.createNestedSelector(),(e=n,r(n,e))}return s(o,e),c(o,[{key:'_bindEvents',value:function(){var e=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this),this.$element.on('updatePosition',function(){return e._onUpdatePosition()}),this.$element.find('.edit-as-row').on('click',function(){return e._onEditRow()})}},{key:'getPositionCss',value:function(e){var o=40;return 80>e.height&&(o=e.height/2),{top:e.top+o,left:e.left}}},{key:'getSelectorString',value:function(){var e=g.Controls.$container.original_selector_strings.unformatted_content_selectors_string;return g.Controls.$container.editting_as_row&&(e=this.nestedSelector),e}},{key:'createNestedSelector',value:function(){var e=[];return _.each(g.Controls.$container.content_selectors,function(o){'.row .row:not(.row .row .row)'!==o&&e.push(o.replace('not(.row .row','not(.row .row .row'))}),e.join(',')}},{key:'preventMouseLeave',value:function(e){return e&&1===e.closest(this.$target).length}},{key:'_onUpdatePosition',value:function(){var e=this.$target.parents(this.getSelectorString()).last();e.length&&(this.$target=e),this.$target.hasClass('row')&&!g.Controls.$container.editting_as_row?this.$element.addClass('nested-row-popover-imhwpb'):this.$element.removeClass('nested-row-popover-imhwpb')}},{key:'_onEditRow',value:function(){g.Controls.$container.trigger('boldgrid_edit_row',this.$target),g.Controls.$container.editting_as_row?u.fourpan.dismiss():u.fourpan.highlight(this.$target)}}]),o}(l.Base)},"./assets/js/builder/popover/row.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Row',function(){return m}),n.d(o,'default',function(){return m});var l=n('./assets/js/builder/popover/base.js'),i=n('./includes/template/popover/row.html'),d=n.n(i),c=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),p=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return n.template=d.a,n.name='row',(e=n,r(n,e))}return s(o,e),c(o,[{key:'_bindEvents',value:function(){var e=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this),this.$element.on('updatePosition',function(){g.RESIZE.Row.positionHandles(e.$target)}),this.$element.on('hide',function(){g.RESIZE.Row.hideHandles()})}},{key:'getPositionCss',value:function(e){return{top:e.top,left:e.left+e.width}}},{key:'preventMouseLeave',value:function(e){return e&&e.hasClass('draghandle')&&this.$target.is(g.RESIZE.Row.$currentRow)}},{key:'getSelectorString',value:function(){var e=g.Controls.$container.original_selector_strings.row_selectors_string;return g.Controls.$container.editting_as_row&&(e=g.Controls.$container.nested_row_selector_string),e}}]),o}(l.Base)},"./assets/js/builder/popover/section.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Section',function(){return m}),n.d(o,'default',function(){return m});var l=n('./assets/js/builder/popover/base.js'),i=n('./includes/template/popover/section.html'),d=n.n(i),c=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),p=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return n.template=d.a,n.name='section',n.selectors=['.boldgrid-section'],n.emptySectionTemplate=wp.template('boldgrid-editor-empty-section'),n.selectorsString=n.selectors.join(','),(e=n,r(n,e))}return s(o,e),c(o,[{key:'_bindEvents',value:function(){var n=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this);this.$element.find('[data-action]').on('click',function(o){o.stopPropagation()}),this.$element.find('[data-action="section-width"]').on('click',function(o){return n.sectionWidth(o)}),this.$element.find('[data-action="move-up"]').on('click',function(){return n.moveUp()}),this.$element.find('[data-action="move-down"]').on('click',function(){return n.moveDown()}),this.$element.find('[data-action="background"]').on('click',function(){return n.background()}),this.$element.find('[data-action="save-gridblock"]').on('click',function(o){return n._saveGridblock(o)}),this.$element.find('[data-action="add-new"]').on('click',function(){return n.addNewSection()}),this.$element.find('.context-menu-imhwpb').on('click',function(o){return n.menuDirection(o)})}},{key:'getSelectorString',value:function(){return this.selectorsString}},{key:'getPositionCss',value:function(e){return{top:e.bottom+35,left:'calc(50% - 38px)',transform:'translateX(-50%)'}}},{key:'addNewSection',value:function(){var e=u(this.emptySectionTemplate());this.$target.after(e),this.transistionSection(e)}},{key:'transistionSection',value:function(e){IMHWPB.tinymce_undo_disabled=!0,e.animate({"background-color":'transparent'},500,'swing',function(){g.Controls.addStyle(e,'background-color',''),IMHWPB.tinymce_undo_disabled=!1,BOLDGRID.EDITOR.mce.undoManager.add()})}},{key:'menuDirection',value:function(o){var e=o.screenY-window.screenY,n=g.Menu.$mceContainer[0].getBoundingClientRect();e-n.bottom<340?this.$element.find('.popover-menu-imhwpb').addClass('menu-down'):this.$element.find('.popover-menu-imhwpb').removeClass('menu-down')}},{key:'moveUp',value:function(){var e=this.$target.prev();e.length&&e.before(this.$target),g.Controls.$container.trigger(g.Controls.$container.delete_event)}},{key:'_saveGridblock',value:function(){g.Controls.get('Library').openPanel({html:this.$target[0].outerHTML})}},{key:'moveDown',value:function(){var e=this.$target.next();e.length&&e.after(this.$target),g.Controls.$container.trigger(g.Controls.$container.delete_event)}},{key:'background',value:function(){this.$target.click(),BOLDGRID.EDITOR.CONTROLS.Background.openPanel()}},{key:'sectionWidth',value:function(){g.CONTROLS.Container.toggleSectionWidth(this.$target.find('.container, .container-fluid')),this.$target.trigger(g.Controls.$container.delete_event)}}]),o}(l.Base)},"./assets/js/builder/render-fonts.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR.FontRender={createLinkList:function(o){var n={};return o.find('[data-font-family]').each(function(){var o=e(this),a=o.attr('data-font-family');a&&(n[a]=n[a]||{})}),n},updateFontLink:function(n){var a=n.find('head'),r=a.find('#boldgrid-google-fonts'),s,l,i;r.length||(r=e('<link id="boldgrid-google-fonts" rel="stylesheet">'),a.append(r)),s=o.createLinkList(n),l=[],e.each(s,function(e){l.push(e)}),l=l.join('|'),l&&(i=jQuery.param({family:l}),r.attr('href','https://fonts.googleapis.com/css?'+i))}}}(jQuery)},"./assets/js/builder/resize/row.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.RESIZE=BOLDGRID.EDITOR.RESIZE||{},function(o){'use strict';var n=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.RESIZE.Row={$body:null,handleSize:20,$container:null,$topHandle:null,$bottomHandle:null,handleOffset:null,currentlyDragging:!1,$currentRow:null,init:function(e){a.$container=e,a.handleOffset=a.handleSize,a.createHandles(),a.initDraggable()},createHandles:function(){a.$topHandle=o('<span class="draghandle top" title="Drag Resize Row" data-setting="padding-top"></span>'),a.$bottomHandle=o('<span class="draghandle bottom" title="Drag Resize Row" data-setting="padding-bottom"></span>'),o.each([a.$topHandle,a.$bottomHandle],function(){this.css({position:'fixed',height:a.handleSize,width:a.handleSize})}),a.$container.find('body').after(a.$topHandle).after(a.$bottomHandle),a.hideHandles()},initDraggable:function(){var r,s;a.$container.find('.draghandle').draggable({scroll:!1,axis:'y',start:function(){a.currentlyDragging=!0,s=o(this).data('setting'),r=parseInt(a.$currentRow.css(s)),a.$currentRow.addClass('changing-padding'),a.$container.$html.addClass('no-select-imhwpb'),a.$container.$html.addClass('changing-'+s),n.Controls.$container.trigger('bge_row_resize_start')},stop:function(){n.Controls.$container.trigger('bge_row_resize_end'),a.currentlyDragging=!1,a.$currentRow.removeClass('changing-padding'),a.$container.$html.removeClass('no-select-imhwpb'),a.$container.$html.removeClass('changing-'+s),a.hideHandles()},drag:function(l,e){var i=e.position.top-e.originalPosition.top,d,c,p;'padding-top'===s?(d=parseInt(a.$currentRow.css(s))-i,p='top',0<d&&i&&window.scrollBy(0,-i)):(d=r+i,p='bottom'),0>d&&(c=a.$currentRow[0].getBoundingClientRect(),e.position.top=c[p]-(e.helper.hasClass('top')?0:a.handleOffset),d=0),n.Controls.addStyle(a.$currentRow,s,d),a.$container.$html.hasClass('editing-as-row')&&o.fourpan&&o.fourpan.refresh()}})},positionHandles:function(e){var o,n;return e&&e.length?(o=e[0].getBoundingClientRect(),n=o.right-100,!a.currentlyDragging&&void(a.$currentRow=e,a.$topHandle.css({top:o.top-1,left:n}),a.$bottomHandle.css({top:o.bottom-a.handleOffset+1,left:n}),a.$topHandle.show(),a.$bottomHandle.show())):(a.$topHandle.hide(),void a.$bottomHandle.hide())},hideHandles:function(){return!a.currentlyDragging&&void(a.$topHandle.hide(),a.$bottomHandle.hide())}},a=BOLDGRID.EDITOR.RESIZE.Row}(jQuery)},"./assets/js/builder/service.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Service',function(){return w});var r=n('./assets/js/builder/tinymce/width.js'),s=n('./assets/js/builder/style/updater.js'),l=n('./assets/js/builder/tinymce/loading.js'),i=n('./assets/js/builder/controls/color/palette.js'),d=n('./assets/js/builder/notice/intro.js'),c=n('./assets/js/builder/library/save.js'),p=n('./assets/js/builder/controls/element/advanced.js'),u=n('./assets/js/builder/gridblock/lead.js'),g=n('./assets/js/builder/popover/content.js'),m=n('./assets/js/builder/popover/column.js'),h=n('./assets/js/builder/popover/row.js'),b=n('./assets/js/builder/popover/section.js'),f=n('./assets/js/builder/customize/navigation.js'),C=n('./assets/js/builder/view.js'),v=n('./assets/js/builder/connect-key/prompt.js'),y=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),D=window.BOLDGRID.EDITOR,w=function(){function e(){a(this,e)}return y(e,[{key:'init',value:function(){return this.editorWidth=null,this.styleUpdater=null,this._onWindowLoad(),this._onEditorLoad(),this._onEditorPreload(),this}},{key:'_onWindowLoad',value:function(){this.editorWidth=new r['default']().init(),this.loading=new l['default']().init(),new C.View().init()}},{key:'_onEditorLoad',value:function(){var e=this;BOLDGRID.EDITOR.$window.on('boldgrid_editor_loaded',function(){e.styleUpdater=new s['default'](BOLDGRID.EDITOR.Controls.$container).init(),e.popover={},e.popover.selection=!1,e.popover.content=new g['default']().init(),e.popover.column=new m['default']().init(),e.popover.row=new h['default']().init(),e.popover.section=new b['default']().init(),e.connectKey=new v.ConnectKey,BOLDGRID.EDITOR.CONTROLS.Section.init(BOLDGRID.EDITOR.Controls.$container)})}},{key:'_onEditorPreload',value:function(){var e=this;BOLDGRID.EDITOR.$window.on('boldgrid_editor_preload',function(){e.colorPalette=new i.Palette().init(),D.Controls.colorControl=D.CONTROLS.Color.init(),new d.Intro().init(),new c.Save().init(),new u.Lead().init(),new p.Advanced().init(),D.Service.customize=D.Service.customize||{},D.Service.customize.navigation=new f.Navigation().init()})}}]),e}();BOLDGRID.EDITOR.Service=new w().init()},"./assets/js/builder/style/remote.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.STYLE=BOLDGRID.EDITOR.STYLE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n={getStyles:function(a){var r=function(e){n.siteMarkup=e,o.GRIDBLOCK.View.headMarkup=n.getHeadElements(e),o.$window.trigger('boldgrid_page_html',n.siteMarkup),o.$window.trigger('boldgrid_head_styles',n.headMarkup)};e.get(a).success(function(e){r(e)}).fail(function(e){r(e.responseText||'')})},getHeadElements:function(o){var n,a;return o=o.replace(/<body\b[^<]*(?:(?!<\/body>)<[^<]*)*<\/body>/,''),n=e('<div>').html(o),a='',n.find('link, style').each(function(){var o=e(this),n=this.outerHTML,r=o.prop('tagName');'LINK'===r&&'stylesheet'!==o.attr('rel')&&'boldgrid-custom-styles-css'!==o.attr('id')&&(n=''),a+=n}),a+=wp.template('gridblock-iframe-styles')(),a}};o.STYLE.Remote=n}(jQuery)},"./assets/js/builder/style/updater.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Updater',function(){return c}),n.d(o,'default',function(){return c});var l=n('./node_modules/@boldgrid/controls/src/controls/index.js'),i=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),d=jQuery,c=function(e){function o(){return a(this,o),r(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return s(o,e),i(o,[{key:'init',value:function(){return this.$input=d('#boldgrid-control-styles'),this.loadSavedConfig(BoldgridEditor.control_styles.configuration||[]),this.setup(),this.updateInput(),this}},{key:'updateInput',value:function(){this.$input.val(JSON.stringify(this.stylesState)),this.updateCachedCss()}},{key:'updateCachedCss',value:function(){this.cachedCss=this.getStylesheetCss()}},{key:'getCachedCss',value:function(){return this.cachedCss||(this.cachedCss=this.getStylesheetCss()),this.cachedCss}}]),o}(l.k)},"./assets/js/builder/tinymce/loading.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Loading',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=window.jQuery,l=BOLDGRID.EDITOR,i=function(){function e(){return a(this,e),this.failsafeTimeout=3e3,this.$element=s('.bg-editor-loading-main'),this}return r(e,[{key:'init',value:function(){return this._setupFailsafe(),this}},{key:'hide',value:function(){var e=this;this.$element.removeClass('active'),setTimeout(function(){e.$element.addClass('disabled')},500)}},{key:'show',value:function(){var e=this;this.$element.removeClass('disabled'),setTimeout(function(){e.$element.addClass('active')})}},{key:'_setupFailsafe',value:function(){var e=this;setTimeout(function(){e.hide()},this.failsafeTimeout)}}]),e}()},"./assets/js/builder/tinymce/width.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Width',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=window.jQuery,l=BOLDGRID.EDITOR,i=function(){function e(){a(this,e)}return r(e,[{key:'init',value:function(){return this.$postContainer,this.$resizeiframe,this.resizable=!1,this.stylesheetWaitTime=500,this.updateIframeUrl(),this}},{key:'createIframe',value:function(){var e=s('<iframe id="resizer-iframe"></iframe>');return e.attr('width',window.innerWidth),e.attr('height',window.innerHeight),s('html').append(e),e}},{key:'_findPostContainer',value:function(){var e=this.$resizeiframe.contents(),o=e.find('body'),n=e.find('.post-'+BoldgridEditor.post_id+', article').first(),a=n.find('.entry-content'),r=e.find('.site-content'),s=n.find('.boldgrid-section:first');return s.length?o=s:a.length?o=a:n.length?o=n:r.length&&(o=r),o}},{key:'getWidth',value:function(){var e='auto';return this.$postContainer&&this.$postContainer.width()&&(e=this.$postContainer.width()),e}},{key:'_postIframeProcess',value:function(){this.$postContainer=this._findPostContainer(),this.resizable=this.$postContainer.length&&this.$postContainer.width(),IMHWPB.WP_MCE_Draggable.instance&&IMHWPB.WP_MCE_Draggable.instance.resize_done_event(),l.$window.trigger('boldgrid_post_width',{width:this.getWidth()}),l.Service.loading.hide()}},{key:'updateIframeUrl',value:function(e){var o=this;e=e||BoldgridEditor.site_url,BoldgridEditor.is_boldgrid_theme&&'post'!==BoldgridEditor.post_type||(!this.$resizeiframe&&(this.$resizeiframe=this.createIframe()),this._setIframeData(e).done(function(){o._postIframeProcess()}))}},{key:'_setIframeData',value:function(e){var o=s.Deferred();return this.$resizeiframe[0].src=e,this.$resizeiframe[0].onload=function(){o.resolve()},setTimeout(function(){o.resolve()},3e3),o}}]),e}()},"./assets/js/builder/tinymce/wp-mce-draggable.js":function(){var e=BOLDGRID.EDITOR;window.IMHWPB=IMHWPB||{},IMHWPB.WP_MCE_Draggable=function(){var o=this,n=jQuery;this.resize_selector='.mce-resizehandle',this.draggable_instance=!1;var a=n(window);this.draggable_inactive=!1,this.last_resize=null,this.phone_width_needed=620,this.tablet_width_needed=1250,this.desktop_width_needed=1270;var r=[];this.bind_window_resize=function(){var e=_.debounce(o.resize_done_event,300);a.on('resize',e)},this.highlight_screen_size=function(e){o.remove_icon_highlights(),n('.mce-boldgrid-'+e).addClass('boldgrid-highlighted-mce-icon')},this.remove_icon_highlights=function(){n('.mce-displaysize-imhwpb').removeClass('boldgrid-highlighted-mce-icon')};var s=n.Event('BoldGridPreInit');this.load_draggable=function(e){!1==o.draggable_instance&&(n(document).trigger(s,this),IMHWPB.WP_MCE_Draggable.draggable_instance=e.IMHWPB_Draggable({add_media_event_handler:o.add_media_action,insert_layout_event_handler:o.insert_layout_action,menu_items:r,main_container:!0},n).init(),o.draggable_instance=IMHWPB.WP_MCE_Draggable.draggable_instance),o.bind_events()},this.add_media_action=function(){o.insert_from_media_modal_tab('insert')},this.insert_from_media_modal_tab=function(e){BOLDGRID.EDITOR.mce.selection.setCursorLocation(o.draggable_instance.$boldgrid_menu_action_clicked,0),wp.media.editor.open(),wp.media.frame.setState(e)},this.insert_layout_action=function(){e.CONTROLS.Section.enableSectionDrag()},this.set_button_cursor=function(a){if(a.clientX){var e=n(this),r=o.draggable_instance.$master_container.find('button:not([data-mce-bogus])').not(e);o.replace_all_buttons(r),BOLDGRID.EDITOR.mce.selection.setCursorLocation(this,1)}},this.replace_all_buttons=function(e){e.each(function(){var e=this.outerHTML;n(this).replaceWith(e)})},this.bind_events=function(){o.draggable_instance.$master_container.on('mousedown.draggable_mce','.draggable-tools-imhwpb',o.boldgrid_tool_click).on('mouseup.draggable_mce','.draggable-tools-imhwpb',o.boldgrid_tool_click).on('add_column_dwpb.draggable_mce',o.add_column_done).on('drag_start_dwpb.draggable_mce',o.drag_start).on('delete_dwpb.draggable_mce',o.add_history).on('boldgrid_clone_element',o.add_history).on('drag_end_dwpb.draggable_mce',o.drag_end_event).on('add_row_event_dwpb.draggable_mce',o.set_cursor).on('boldgrid_edit_row.draggable_mce',o.edit_row).on('click.draggable_mce','button:not([data-mce-bogus])',o.set_button_cursor).on('click.draggable_mce','a',function(o){o.preventDefault()}).on('resize_start_dwpb.draggable_mce',o.prevent_edit).on('resize_done_dwpb.draggable_mce',o.column_resize_done),o.draggable_instance.$master_container.textSelect(o.text_select_start,o.text_select_end)},this.add_history=function(){o.add_tiny_mce_history()},this.drag_start=function(){BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1),BOLDGRID.EDITOR.mce.selection.collapse(!1),o.end_undo_level_mce(),o.draggable_instance.$master_container.find('html').addClass('drag-progress')},this.text_select_start=function(){o.draggable_instance.$master_container.find('html').addClass('selecting'),o.draggable_instance.$master_container.trigger('text_select_start')},this.text_select_end=function(){o.draggable_instance.$master_container.find('html').removeClass('selecting'),o.draggable_instance.$master_container.trigger('text_select_end')},this.set_cursor=function(e,o){BOLDGRID.EDITOR.mce.selection.setCursorLocation(o,0)},this.prevent_edit=function(){BOLDGRID.EDITOR.mce.selection.collapse(!1),o.draggable_instance.ie_version||BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1)},this.end_undo_level_mce=function(){IMHWPB.tinymce_undo_disabled=!0},this.drag_end_event=function(e,n){BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0),BOLDGRID.EDITOR.mce.selection.setCursorLocation(null),IMHWPB.tinymce_undo_disabled=!1,o.add_tiny_mce_history(),o.initialize_gallery_objects(o.draggable_instance.$master_container),o.draggable_instance.$master_container.find('html').removeClass('drag-progress'),tinymce&&BOLDGRID.EDITOR.mce.selection&&n&&BOLDGRID.EDITOR.mce.selection.setCursorLocation(n,0)},this.column_resize_done=function(){o.draggable_instance.ie_version||(BOLDGRID.EDITOR.mce.getBody().blur(),BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0),BOLDGRID.EDITOR.mce.selection.setCursorLocation(null)),a.trigger('resize')},this.add_column_done=function(e,n){o.add_tiny_mce_history(),o.initialize_gallery_objects(o.draggable_instance.$master_container),BOLDGRID.EDITOR.mce.selection.setCursorLocation(n,0)},this.add_tiny_mce_history=function(){BOLDGRID.EDITOR.mce.undoManager.add()},this.initialize_gallery_objects=function(e){'undefined'!=typeof IMHWPBGallery&&'undefined'!=typeof IMHWPBGallery.init_gallery&&(e.find('.masonry').removeClass('masonry'),IMHWPBGallery.init_gallery(e))},this.boldgrid_tool_click=function(){o.remove_mce_resize_handles(),o.draggable_instance.ie_version||(BOLDGRID.EDITOR.mce.selection.select(BOLDGRID.EDITOR.mce.getBody(),!0),BOLDGRID.EDITOR.mce.selection.collapse(!1))},this.remove_mce_resize_handles=function(){o.draggable_instance.$master_container.find('[data-mce-selected]').removeAttr('data-mce-selected'),o.draggable_instance.$master_container.find('.mce-resizehandle').remove(),n('.mce-wp-image-toolbar').hide(),o.draggable_instance.$master_container.find(o.resize_selector).hide()},this.addDeactivateClasses=function(){n('html').addClass('draggable-inactive'),n(BOLDGRID.EDITOR.mce.iframeElement).contents().find('html').addClass('draggable-inactive')},this.resize_done_event=function(){o.updateScreenLayout(),o.updateResizingIframe(),o.update_device_highlighting(),o.$window.trigger('resize.boldgrid-gallery')},this.updateResizingIframe=function(){e.Service.editorWidth.resizable&&(e.Service.editorWidth.$resizeiframe.attr('width',e.Controls.$container.$html.width()),e.Controls.$container.$body.css('width',e.Service.editorWidth.getWidth()))},this.updateScreenLayout=function(){IMHWPB.Editor.instance.currently_selected_size?'monitor'==IMHWPB.Editor.instance.currently_selected_size?1470<window.innerWidth?l():1355<window.innerWidth?i():d():'tablet'==IMHWPB.Editor.instance.currently_selected_size?1250<window.innerWidth?l():1134<window.innerWidth?i():d():'phone'==IMHWPB.Editor.instance.currently_selected_size&&l():1470<window.innerWidth?l():1355<window.innerWidth?i():1041<window.innerWidth?d():1040>=window.innerWidth&&o.set_num_columns(2)};var l=function(){o.set_num_columns(2),o.$body.removeClass('folded'),o.$window.trigger('scroll')},i=function(){o.set_num_columns(2),o.$body.addClass('folded'),o.$window.trigger('scroll')},d=function(){o.set_num_columns(1),o.$body.addClass('folded'),o.$window.trigger('scroll')};this.set_num_columns=function(e){1==e?o.$post_body.addClass('columns-1').removeClass('columns-2'):o.$post_body.addClass('columns-2').removeClass('columns-1')},this.update_device_highlighting=function(){if(e.Controls.$container.$iframe&&!o.draggable_inactive){var n=e.Controls.$container.$iframe.width();1061<n?o.highlight_screen_size('desktop'):837<n?o.highlight_screen_size('tablet'):o.highlight_screen_size('phone')}},this.bind_collapse_click=function(){n('#collapse-menu').on('click',function(){!IMHWPB.Editor.instance.currently_selected_size&&1355<window.innerWidth&&1470>window.innerWidth&&(o.$body.hasClass('folded')?(o.set_num_columns(2),o.$window.trigger('scroll')):(o.set_num_columns(1),o.$window.trigger('scroll'))),o.update_device_highlighting()})},this.bind_column_switch=function(){n('[name="screen_columns"]').on('click',function(){o.update_device_highlighting()})},this.add_menu_item=function(e,o,n){r.push({title:e,element_type:o,callback:n})},this.edit_row=function(e,o){var a=n(o).find('p, a');a.length&&BOLDGRID.EDITOR.mce.selection.setCursorLocation(a[0],0)},this.bind_min_max_controls=function(){var e=n('#max-row-overlay'),a=n('#min-row-overlay');e.on('click',function(){o.$resize_div.animate({height:'1000px'},1e3)}),a.on('click',function(){o.$resize_div.animate({height:'0px'},1e3)})},this.create_resize_handle=function(){var e=n('.temp-overlay');o.$resize_div.resizable({handles:{n:n('.resizable-n')},start:function(){e.addClass('active')},stop:function(){e.removeClass('active')}}).bind('resize',function(){n(this).css('top','auto')}).removeClass('ui-resizable')},n(function(){o.$window=n(window),o.$body=n('body'),o.$post_body=n('#post-body'),o.$editor_content_container=n('#poststuff'),o.$overlay_preview=n('#boldgrid-overlay-preview'),o.$resize_div=n('#resizable'),o.bind_column_switch(),o.bind_window_resize(),o.bind_collapse_click(),o.bind_min_max_controls(),o.create_resize_handle(),o.$window.trigger('resize')})}},"./assets/js/builder/tooltips.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.Tooltip={template:wp.template('boldgrid-editor-tooltip'),renderTooltips:function(){n._configTooltips(),n._inlineTooltips()},addTooltip:function(e,o){!1===e.children().first().hasClass('boldgrid-tooltip-wrap')&&e.prepend(n.template({message:o}))},_inlineTooltips:function(){o.Panel.$element.find('[data-tooltip-inline]').each(function(o,a){var r=e(a);n.addTooltip(r,r.data('tooltip-inline'))})},_configTooltips:function(){_.each(BoldgridEditor.builder_config.helpTooltip,function(a,r){o.Panel.$element.add(BOLDGRID.EDITOR.CONTROLS.Color.$colorPanel).find(r).each(function(){n.addTooltip(e(this),a)})})}},n=BOLDGRID.EDITOR.Tooltip}(jQuery)},"./assets/js/builder/util.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;o.Util={convertPxToEm:function(e,o){var n=0;return o=o?parseInt(o):0,e=e?parseInt(e):0,o&&e&&(n=(e/o).toFixed(1)),n},getClassesLike:function(o,n){var a=o.attr('class'),r=[],s=[];return r=a?a.split(' '):[],e.each(r,function(){0===this.indexOf(n)&&s.push(this)}),s},getComponentClasses:function(o,a){var r=e('<div>').attr('class',o),s=n.getClassesLike(r,a);return r.remove(),s},removeComponentClasses:function(e,o){var n=new RegExp('(^|\\s)'+o+'\\S+','g');e.removeClass(function(e,o){return(o.match(n)||[]).join(' ')})},checkBrowser:function(){var e=navigator.userAgent.search('Chrome'),o=navigator.userAgent.search('Firefox'),n=navigator.userAgent.search('MSIE 8.0'),a=navigator.userAgent.search('MSIE 9.0'),r;return-1<e?r='Chrome':-1<o?r='Firefox':-1<a?r='MSIE 9.0':-1<n&&(r='MSIE 8.0'),r}},n=BOLDGRID.EDITOR.Util}(jQuery)},"./assets/js/builder/validation/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.VALIDATION=BOLDGRID.EDITOR.VALIDATION||{},function(e){'use strict';BOLDGRID.EDITOR.VALIDATION.Section={};var o=BOLDGRID.EDITOR.VALIDATION.Section;e.fn.closestContext=function(e,o){var n;return n=this.is(e)?this:this.parentsUntil(o).filter(e).eq(0),n};var n='container',a='boldgrid-section',r='<div class="'+a+'"></div>',s='<div class="'+n+'"></div>',l=function(){var a=[],r;r=function(){e(a).wrapAll('<div class="'+n+'"><div class="row"><div class="col-md-12">'),a=[]},o.$context.find('> *').each(function(){var o=e(this);o.is('h1,h2,h3,h4,h5,h6,h7,a,img,p,button,ul,ol,dl,form,table,[data-imhwpb-draggable="true"],.wpview-wrap,.wpview,blockquote,code,abbr')?a.push(this):r()}),r()};o.updateContent=function(e){n=BoldgridEditor.default_container||'container-fluid',s='<div class="'+n+'"></div>',o.$context=e,l(),d(),p(),c(),i()},o.updateContainers=function(o){o.find(' .container, .container-fluid').each(function(){e(this).removeClass('container container-fluid').addClass(BoldgridEditor.default_container)})};var i=function(){o.$context.find('.boldgrid-section > .container-fluid').each(function(){var o=e(this),n=o.attr('class').replace('container-fluid','');o.attr('class','container-fluid'),o.parent().addClass(n)})},d=function(){o.$context.find('.container').each(function(){var n=e(this),r=n.parent();r.length&&r[0]!==o.$context[0]&&!1===r.hasClass(a)&&r.addClass(a)})},c=function(){o.$context.find('.row:not(.row .row)').each(function(){var n=e(this),l=n.parent();n.closestContext('.container, .container-fluid',o.$context).length||n.wrap(s),n.closestContext('.boldgrid-section',o.$context).length||(l.length&&l[0]!==o.$context[0]?l.addClass(a):n.parent().wrap(r))})},p=function(){o.$context.find('.container, .container-fluid').each(function(){var o=e(this);o.parent('.boldgrid-section').length||!1!==o.hasClass(a)||o.wrap(r)})}}(jQuery)},"./assets/js/builder/view.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'View',function(){return s});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=function(){function e(){a(this,e)}return r(e,[{key:'init',value:function(){this.renamePublishButton()}},{key:'renamePublishButton',value:function(){$('.post-type-bg_block.locale-en-us.post-new-php #submitdiv #publish').val('Save New Block')}}]),e}()},"./assets/js/index.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./node_modules/jquery/dist/jquery.js'),r=n.n(a),s=n('./node_modules/istyping/jquery.is-typing.js'),l=n.n(s),i=n('./node_modules/fourpan/jquery.fourpan.js'),d=n.n(i),c=n('./node_modules/textselect/jquery.text-select.js'),p=n.n(c),u=n('./node_modules/jquery-slimscroll/jquery.slimscroll.js'),g=n.n(u),m=n('./node_modules/wp-color-picker-alpha/src/wp-color-picker-alpha.js'),h=n.n(m),b=n('./node_modules/jquery-ui-dist/jquery-ui.structure.css'),f=n.n(b),C=n('./node_modules/jquery-ui-dist/jquery-ui.theme.css'),v=n.n(C),y=n('./assets/css/font-family-controls.min.css'),D=n.n(y),w=n('./assets/js/builder/tinymce/wp-mce-draggable.js'),E=n.n(w),k=n('./assets/js/builder/util.js'),F=n.n(k);window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR.$window=r()(window),function(e){e.keys().forEach(e)}(n('./assets/js/builder recursive \\.js#x27;))},"./includes/template/customize/background-color.html":function(e){e.exports='<div class="color-controls section generic-bg-color"> <h4>Background Color</h4> <label for=generic-bg-color class=color-preview></label> <input type=text data-type="" name=generic-bg-color class=color-control value=""> </div> '},"./includes/template/customize/color.html":function(e){e.exports='<div class="color-controls section <%=name %>"> <h4><%=label %></h4> <label for="<%=name %>" class=color-preview></label> <input type=text data-type="" name="<%=name %>" class=color-control value=""> </div> '},"./includes/template/customize/navigation.html":function(e){e.exports='<div class=customize-navigation> <% _.each( controls, function ( control, index ) { %> <div class=item data-tooltip-inline="<%=control.label %>" data-control-name="<%=control.name %>"> <a href=#><%=control.icon %></a> </div> <% } ); %> </div> '},"./includes/template/gridblock-library.html":function(e){e.exports='<div class=save-gridblock> <div class="save-prompt save-state"> <h2>Save Block to Your Library</h2> <h4>Any designs you save can be reused on any page or website.</h4> <form> <input required type=text placeholder="Enter title here"> <button class="bg-editor-button bg-primary-color btn btn-rounded save">Save</button> </form> </div> <div class="save-failed save-state"> <h2>Oops! An error occured.</h2> <h4>We were unable to add the Block to you library. Please try again later.</h4> <button class="bg-editor-button bg-primary-color btn btn-rounded dismiss">Okay, Got it!</button> </div> <div class="save-success save-state"> <h2>Block Saved!</h2> <h4>Your Block can be found in the admin area under Post and Page Builder, and will also be available in "Block Library" within the Add Blocks interface.</h4> <button class="bg-editor-button bg-primary-color btn btn-rounded dismiss">Okay, Got it!</button> </div> </div> '},"./includes/template/gridblock/lead.html":function(e){e.exports='<div class=editing-blocker> <div class=gridblock-lead> <p>Get Started with a Block</p> <p class=desc>Adding a Block will help you create your new page faster.</p> <div class=actions> <a class="button add-blank">Blank Page</a> <a class="boldgrid-color button button-primary gridblock-icon add-gridblock"><span class=wp-media-buttons-icon></span> Add Block</a> </div> </div> </div> '},"./includes/template/intro.html":function(e,o,n){e.exports='<div class=setup> <div data-step=welcome class="step active welcome" data-panel-width=600 data-panel-info="Step 1/3"> <img src='+n('./assets/image/notice/plugin-icon-editor.png')+'> <div class=step-content> <h2>Welcome to the Page &amp; Post Editor</h2> <p class=lead> In order to optimize your experience, let\'s setup your plugin with some preferences. If you choose to skip the setup we\'ll set default options that you can easily modify later. </p> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-secondary-color dismiss">Skip Setup</a> <a class="btn bg-editor-button btn-rounded bg-primary-color" data-action-step=choose-template>Okay, Let\'s Go!</a> </p> </div> </div> <div data-step=choose-template data-panel-info="Step 2/3" class="step choose-template" data-panel-width=350 data-panel-height=550 data-panel-title="Post and Page Builder - Templates"> <h3>Choose your default template:</h3> <p class=lead>The Post and Page Builder includes 3 custom page templates provide more layout control. Choose your default page template to use on new pages.</p> <div class=template-control> <label> <span class=radio> <span class=label>Full Width (Recommended)</span> <input class="template sidebar none" type=radio name=template checked=checked value=fullwidth> <span class=template-icon></span> </span> </label> <label> <span class=radio> <span class=label>Right Sidebar</span> <input class="template sidebar right" type=radio name=template value=right-sidebar> <span class=template-icon></span> </span> </label> <label> <span class=radio> <span class=label>Left Sidebar</span> <input class="template sidebar left" type=radio name=template value=left-sidebar> <span class=template-icon></span> </span> </label> <label> <span class=radio> <span class=label>Theme Default</span> <input class="template default" type=radio name=template value=default> <span class=template-icon></span> </span> </label> </div> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color" data-action-step=done>Next Step</a> </p> </div> <div data-step=choose-color-palette data-panel-info="Step 2/3" data-panel-width=400 data-panel-height=675 class=step data-panel-title="Post and Page Builder - Colors"> <div class=choose-palette></div> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color" disabled=disabled data-action-step=done>Next Step</a> </p> </div> <div class="done step" data-step=done data-panel-info="Step 3/3" data-panel-height=250 data-panel-width=525 data-panel-title="Post and Page Builder - Help"> <h2>Your done!</h2> <p> For help exploring the many features of this plugin please visit our support site: <a class=support-link target=_blank href="https://www.boldgrid.com/support/editing-your-pages/post-and-page-builder/?source=boldgrid-editor_setup">BoldGrid Page &amp; Post Editor</a>. </p> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color dismiss">Okay, Got It!</a> </p> </div> </div>'},"./includes/template/popover/column.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb style=top:82px;left:754.5px> <span class="popover-imhwpb top-popover-imhwpb column-popover-imhwpb"> <div title="Drag Column" contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true> </span></div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Column</li> <li class="no-select-imhwpb action-list" data-action=duplicate-column>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=clear>Clear Contents</li> <li class="no-select-imhwpb action-list" data-action=add-media>Insert Media</li> <li class="no-select-imhwpb action-list side-menu-parent" data-action=vertical-alignment>Vertical Alignment</li> <div class=side-menu> <ul> <li class="no-select-imhwpb action-list" data-action=align-default>Default</li> <li class="no-select-imhwpb action-list" data-action=align-top>Top</li> <li class="no-select-imhwpb action-list" data-action=align-center>Center</li> <li class="no-select-imhwpb action-list" data-action=align-bottom>Bottom</li> </ul> </div> <li class="no-select-imhwpb action-list" data-action=Box>Background</li> <% _.each( actions, function ( value ) {\n\t\t\t\tif ( \'column\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> </ul> </div> <div title="Edit Column" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span></div> </span> </div> '},"./includes/template/popover/content.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb> <div class="bg-drag-popover content-drag-handle"> <span class="popover-imhwpb content-popover-imhwpb left-popover-imhwpb"> <div title=Move contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true></span> </div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Content</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=Font>Font</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <% _.each( actions, function ( value ) {\n\t\t\t\t\t\tif ( \'content\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Content" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span> </div> <div title="Edit As Row" class="edit-as-row draggable-button"> <span class="genericon genericon-expand" aria-hidden=true></span></div> </span> </div> </div> '},"./includes/template/popover/row.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb> <span class="popover-imhwpb row-popover-imhwpb right-popover-imhwpb"> <div title="Drag Row" contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true> </span></div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Row</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=clear>Clear Contents</li> <li class="no-select-imhwpb action-list" data-action=insert-layout>Insert Block</li> <li class="no-select-imhwpb action-list" data-action=add-column>Add Column</li> <li class="no-select-imhwpb action-list" data-action=add-row>Add Empty Row</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <li class="no-select-imhwpb action-list" draggable=true data-action=nest-row></li> <% _.each( actions, function ( value ) {\n\t\t\t\tif ( \'row\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Row" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span></div> </span> </div> '},"./includes/template/popover/section.html":function(e){e.exports='<div class="bg-drag-popover section-drag-handle draggable-tools-imhwpb" spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on> <span class="popover-imhwpb section-popover-imhwpb bottom-popover-imhwpb"> <div title="Drag Sections" contenteditable=false class="move-sections no-select-imhwpb draggable-button"> <span class="genericon genericon-unzoom" aria-hidden=true></span> </div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Section</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=section-width>Section Width</li> <li class="no-select-imhwpb action-list" data-action=move-up>Move Up</li> <li class="no-select-imhwpb action-list" data-action=move-down>Move Down</li> <li class="no-select-imhwpb action-list" data-action=add-new>Add Empty Section</li> <li class="no-select-imhwpb action-list" data-action=save-gridblock>Save Block</li> <li class="no-select-imhwpb action-list" data-action=background>Change Background</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <% _.each( actions, function ( value ) {\n\t\t\t\t\tif ( \'section\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Section" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span> </div> </span> </div> '},"./node_modules/@boldgrid/components/src/components/config.js":function(e,o,n){'use strict';o.a={hr:n('./node_modules/@boldgrid/components/src/components/hr/config.js'),divider:n('./node_modules/@boldgrid/components/src/components/divider/config.js'),video:n('./node_modules/@boldgrid/components/src/components/video/config.js'),icon:n('./node_modules/@boldgrid/components/src/components/icon/config.js'),getComponent:function(e,o,n){return n=n||{},this[e].default.getComponent(o,n)}}},"./node_modules/@boldgrid/components/src/components/divider/config.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0}),o['default']={baseName:'bg-divider',styles:{clouds:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/clouds.svg')},"curve-async":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/curve-async.svg')},circle:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/circle.svg')},"fan-op":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/fan-op.svg')},mountains:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/mountains.svg')},brush:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/brush.svg')},"tilt-op":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/tilt-op.svg')},tilt:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/tilt.svg')},"triangle-async":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/triangle-async.svg')},"waves-smooth":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/waves-smooth.svg')},pyramid:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/pyramid.svg')},"big-triangle":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/big-triangle.svg')},drops:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/drops.svg')},book:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/book.svg')},split:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/split.svg')},waves:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/waves.svg')},arrow:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/arrow.svg')},"half-circle":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/half-circle.svg')}},getComponent:function(e,o){var n=[],a=this.styles[e];return o.position&&n.push(this.baseName+'-'+o.position),o.direction&&n.push(this.baseName+'-'+o.direction),n=n.join(' '),'\n\t\t\t<div class="'+this.baseName+' '+n+' '+this.baseName+'-'+e+'">\n\t\t\t\t'+a.svg+'\n\t\t\t</div>\n\t\t'}}},"./node_modules/@boldgrid/components/src/components/divider/svg/arrow.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 10" preserveAspectRatio="none"><path d="M350,10L340,0h20L350,10z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/big-triangle.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 100 102" preserveAspectRatio="none"><path d="M0 0 L50 100 L100 0 Z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/book.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M194,99c186.7,0.7,305-78.3,306-97.2c1,18.9,119.3,97.9,306,97.2c114.3-0.3,194,0.3,194,0.3s0-91.7,0-100c0,0,0,0,0-0 L0,0v99.3C0,99.3,79.7,98.7,194,99z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/brush.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="none"><path d="M283.5,9.7c0,0-7.3,4.3-14,4.6c-6.8,0.3-12.6,0-20.9-1.5c-11.3-2-33.1-10.1-44.7-5.7 s-12.1,4.6-18,7.4c-6.6,3.2-20,9.6-36.6,9.3C131.6,23.5,99.5,7.2,86.3,8c-1.4,0.1-6.6,0.8-10.5,2c-3.8,1.2-9.4,3.8-17,4.7 c-3.2,0.4-8.3,1.1-14.2,0.9c-1.5-0.1-6.3-0.4-12-1.6c-5.7-1.2-11-3.1-15.8-3.7C6.5,9.2,0,10.8,0,10.8V0h283.5V9.7z M260.8,11.3 c-0.7-1-2-0.4-4.3-0.4c-2.3,0-6.1-1.2-5.8-1.1c0.3,0.1,3.1,1.5,6,1.9C259.7,12.2,261.4,12.3,260.8,11.3z M242.4,8.6 c0,0-2.4-0.2-5.6-0.9c-3.2-0.8-10.3-2.8-15.1-3.5c-8.2-1.1-15.8,0-15.1,0.1c0.8,0.1,9.6-0.6,17.6,1.1c3.3,0.7,9.3,2.2,12.4,2.7 C239.9,8.7,242.4,8.6,242.4,8.6z M185.2,8.5c1.7-0.7-13.3,4.7-18.5,6.1c-2.1,0.6-6.2,1.6-10,2c-3.9,0.4-8.9,0.4-8.8,0.5 c0,0.2,5.8,0.8,11.2,0c5.4-0.8,5.2-1.1,7.6-1.6C170.5,14.7,183.5,9.2,185.2,8.5z M199.1,6.9c0.2,0-0.8-0.4-4.8,1.1 c-4,1.5-6.7,3.5-6.9,3.7c-0.2,0.1,3.5-1.8,6.6-3C197,7.5,199,6.9,199.1,6.9z M283,6c-0.1,0.1-1.9,1.1-4.8,2.5s-6.9,2.8-6.7,2.7 c0.2,0,3.5-0.6,7.4-2.5C282.8,6.8,283.1,5.9,283,6z M31.3,11.6c0.1-0.2-1.9-0.2-4.5-1.2s-5.4-1.6-7.8-2C15,7.6,7.3,8.5,7.7,8.6 C8,8.7,15.9,8.3,20.2,9.3c2.2,0.5,2.4,0.5,5.7,1.6S31.2,11.9,31.3,11.6z M73,9.2c0.4-0.1,3.5-1.6,8.4-2.6c4.9-1.1,8.9-0.5,8.9-0.8 c0-0.3-1-0.9-6.2-0.3S72.6,9.3,73,9.2z M71.6,6.7C71.8,6.8,75,5.4,77.3,5c2.3-0.3,1.9-0.5,1.9-0.6c0-0.1-1.1-0.2-2.7,0.2 C74.8,5.1,71.4,6.6,71.6,6.7z M93.6,4.4c0.1,0.2,3.5,0.8,5.6,1.8c2.1,1,1.8,0.6,1.9,0.5c0.1-0.1-0.8-0.8-2.4-1.3 C97.1,4.8,93.5,4.2,93.6,4.4z M65.4,11.1c-0.1,0.3,0.3,0.5,1.9-0.2s2.6-1.3,2.2-1.2s-0.9,0.4-2.5,0.8C65.3,10.9,65.5,10.8,65.4,11.1 z M34.5,12.4c-0.2,0,2.1,0.8,3.3,0.9c1.2,0.1,2,0.1,2-0.2c0-0.3-0.1-0.5-1.6-0.4C36.6,12.8,34.7,12.4,34.5,12.4z M152.2,21.1 c-0.1,0.1-2.4-0.3-7.5-0.3c-5,0-13.6-2.4-17.2-3.5c-3.6-1.1,10,3.9,16.5,4.1C150.5,21.6,152.3,21,152.2,21.1z"></path><path d="M269.6,18c-0.1-0.1-4.6,0.3-7.2,0c-7.3-0.7-17-3.2-16.6-2.9c0.4,0.3,13.7,3.1,17,3.3 C267.7,18.8,269.7,18,269.6,18z"></path><path d="M227.4,9.8c-0.2-0.1-4.5-1-9.5-1.2c-5-0.2-12.7,0.6-12.3,0.5c0.3-0.1,5.9-1.8,13.3-1.2 S227.6,9.9,227.4,9.8z"></path><path d="M204.5,13.4c-0.1-0.1,2-1,3.2-1.1c1.2-0.1,2,0,2,0.3c0,0.3-0.1,0.5-1.6,0.4 C206.4,12.9,204.6,13.5,204.5,13.4z"></path><path d="M201,10.6c0-0.1-4.4,1.2-6.3,2.2c-1.9,0.9-6.2,3.1-6.1,3.1c0.1,0.1,4.2-1.6,6.3-2.6 S201,10.7,201,10.6z"></path><path d="M154.5,26.7c-0.1-0.1-4.6,0.3-7.2,0c-7.3-0.7-17-3.2-16.6-2.9c0.4,0.3,13.7,3.1,17,3.3 C152.6,27.5,154.6,26.8,154.5,26.7z"></path><path d="M41.9,19.3c0,0,1.2-0.3,2.9-0.1c1.7,0.2,5.8,0.9,8.2,0.7c4.2-0.4,7.4-2.7,7-2.6 c-0.4,0-4.3,2.2-8.6,1.9c-1.8-0.1-5.1-0.5-6.7-0.4S41.9,19.3,41.9,19.3z"></path><path d="M75.5,12.6c0.2,0.1,2-0.8,4.3-1.1c2.3-0.2,2.1-0.3,2.1-0.5c0-0.1-1.8-0.4-3.4,0 C76.9,11.5,75.3,12.5,75.5,12.6z"></path><path d="M15.6,13.2c0-0.1,4.3,0,6.7,0.5c2.4,0.5,5,1.9,5,2c0,0.1-2.7-0.8-5.1-1.4 C19.9,13.7,15.7,13.3,15.6,13.2z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/circle.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="xMidYMin"><path d="M465,0 a2,3 0 0,0 75,0"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/clouds.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M-5 100 Q 0 20 5 100 Z M0 100 Q 5 0 10 100 M5 100 Q 10 30 15 100 M10 100 Q 15 10 20 100 M15 100 Q 20 30 25 100 M20 100 Q 25 -10 30 100 M25 100 Q 30 10 35 100 M30 100 Q 35 30 40 100 M35 100 Q 40 10 45 100 M40 100 Q 45 50 50 100 M45 100 Q 50 20 55 100 M50 100 Q 55 40 60 100 M55 100 Q 60 60 65 100 M60 100 Q 65 50 70 100 M65 100 Q 70 20 75 100 M70 100 Q 75 45 80 100 M75 100 Q 80 30 85 100 M80 100 Q 85 20 90 100 M85 100 Q 90 50 95 100 M90 100 Q 95 25 100 100 M95 100 Q 100 15 105 100 Z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/curve-async.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0c0,0,0,6,0,6.7c0,18,240.2,93.6,615.2,92.6C989.8,98.5,1000,25,1000,6.7c0-0.7,0-6.7,0-6.7H0z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/drops.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="xMidYMax slice"><path d="M0 0v1.4c.6.7 1.1 1.4 1.4 2 2 3.8 2.2 6.6 1.8 10.8-.3 3.3-2.4 9.4 0 12.3 1.7 2 3.7 1.4 4.6-.9 1.4-3.8-.7-8.2-.6-12 .1-3.7 3.2-5.5 6.9-4.9 4 .6 4.8 4 4.9 7.4.1 1.8-1.1 7 0 8.5.6.8 1.6 1.2 2.4.5 1.4-1.1.1-5.4.1-6.9.1-3.7.3-8.6 4.1-10.5 5-2.5 6.2 1.6 5.4 5.6-.4 1.7-1 9.2 2.9 6.3 1.5-1.1.7-3.5.5-4.9-.4-2.4-.4-4.3 1-6.5.9-1.4 2.4-3.1 4.2-3 2.4.1 2.7 2.2 4 3.7 1.5 1.8 1.8 2.2 3 .1 1.1-1.9 1.2-2.8 3.6-3.3 1.3-.3 4.8-1.4 5.9-.5 1.5 1.1.6 2.8.4 4.3-.2 1.1-.6 4 1.8 3.4 1.7-.4-.3-4.1.6-5.6 1.3-2.2 5.8-1.4 7 .5 1.3 2.1.5 5.8.1 8.1s-1.2 5-.6 7.4c1.3 5.1 4.4.9 4.3-2.4-.1-4.4-2-8.8-.5-13 .9-2.4 4.6-6.6 7.7-4.5 2.7 1.8.5 7.8.2 10.3-.2 1.7-.8 4.6.2 6.2.9 1.4 2 1.5 2.6-.3.5-1.5-.9-4.5-1-6.1-.2-1.7-.4-3.7.2-5.4 1.8-5.6 3.5 2.4 6.3.6 1.4-.9 4.3-9.4 6.1-3.1.6 2.2-1.3 7.8.7 8.9 4.2 2.3 1.5-7.1 2.2-8 3.1-4 4.7 3.8 6.1 4.1 3.1.7 2.8-7.9 8.1-4.5 1.7 1.1 2.9 3.3 3.2 5.2.4 2.2-1 4.5-.6 6.6 1 4.3 4.4 1.5 4.4-1.7 0-2.7-3-8.3 1.4-9.1 4.4-.9 7.3 3.5 7.8 6.9.3 2-1.5 10.9 1.3 11.3 4.1.6-3.2-15.7 4.8-15.8 4.7-.1 2.8 4.1 3.9 6.6 1 2.4 2.1 1 2.3-.8.3-1.9-.9-3.2 1.3-4.3 5.9-2.9 5.9 5.4 5.5 8.5-.3 2-1.7 8.4 2 8.1 6.9-.5-2.8-16.9 4.8-18.7 4.7-1.2 6.1 3.6 6.3 7.1.1 1.7-1.2 8.1.6 9.1 3.5 2 1.9-7 2-8.4.2-4 1.2-9.6 6.4-9.8 4.7-.2 3.2 4.6 2.7 7.5-.4 2.2 1.3 8.6 3.8 4.4 1.1-1.9-.3-4.1-.3-6 0-1.7.4-3.2 1.3-4.6 1-1.6 2.9-3.5 5.1-2.9 2.5.6 2.3 4.1 4.1 4.9 1.9.8 1.6-.9 2.3-2.1 1.2-2.1 2.1-2.1 4.4-2.4 1.4-.2 3.6-1.5 4.9-.5 2.3 1.7-.7 4.4.1 6.5.6 1.5 2.1 1.7 2.8.3.7-1.4-1.1-3.4-.3-4.8 1.4-2.5 6.2-1.2 7.2 1 2.3 4.8-3.3 12-.2 16.3 3 4.1 3.9-2.8 3.8-4.8-.4-4.3-2.1-8.9 0-13.1 1.3-2.5 5.9-5.7 7.9-2.4 2 3.2-1.3 9.8-.8 13.4.5 4.4 3.5 3.3 2.7-.8-.4-1.9-2.4-10 .6-11.1 3.7-1.4 2.8 7.2 6.5.4 2.2-4.1 4.9-3.1 5.2 1.2.1 1.5-.6 3.1-.4 4.6.2 1.9 1.8 3.7 3.3 1.3 1-1.6-2.6-10.4 2.9-7.3 2.6 1.5 1.6 6.5 4.8 2.7 1.3-1.5 1.7-3.6 4-3.7 2.2-.1 4 2.3 4.8 4.1 1.3 2.9-1.5 8.4.9 10.3 4.2 3.3 3-5.5 2.7-6.9-.6-3.9 1-7.2 5.5-5 4.1 2.1 4.3 7.7 4.1 11.6 0 .8-.6 9.5 2.5 5.2 1.2-1.7-.1-7.7.1-9.6.3-2.9 1.2-5.5 4.3-6.2 4.5-1 7.7 1.5 7.4 5.8-.2 3.5-1.8 7.7-.5 11.1 1 2.7 3.6 2.8 5 .2 1.6-3.1 0-8.3-.4-11.6-.4-4.2-.2-7 1.8-10.8 0 0-.1.1-.1.2-.2.4-.3.7-.4.8v.1c-.1.2-.1.2 0 0v-.1l.4-.8c0-.1.1-.1.1-.2.2-.4.5-.8.8-1.2V0H0zM282.7 3.4z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/fan-op.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 19.6" preserveAspectRatio="none"><path style="opacity:0.33" d="M0 0L0 18.8 141.8 4.1 283.5 18.8 283.5 0z"></path><path style="opacity:0.33" d="M0 0L0 12.6 141.8 4 283.5 12.6 283.5 0z"></path><path style="opacity:0.33" d="M0 0L0 6.4 141.8 4 283.5 6.4 283.5 0z"></path><path d="M0 0L0 1.2 141.8 4 283.5 1.2 283.5 0z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/half-circle.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M1000,4.3V0H0v4.3C0.9,23.1,126.7,99.2,500,100S1000,22.7,1000,4.3z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/mountains.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path opacity="0.33" d="M473,67.3c-203.9,88.3-263.1-34-320.3,0C66,119.1,0,59.7,0,59.7V0h1000v59.7 c0,0-62.1,26.1-94.9,29.3c-32.8,3.3-62.8-12.3-75.8-22.1C806,49.6,745.3,8.7,694.9,4.7S492.4,59,473,67.3z"></path><path opacity="0.66" d="M734,67.3c-45.5,0-77.2-23.2-129.1-39.1c-28.6-8.7-150.3-10.1-254,39.1 s-91.7-34.4-149.2,0C115.7,118.3,0,39.8,0,39.8V0h1000v36.5c0,0-28.2-18.5-92.1-18.5C810.2,18.1,775.7,67.3,734,67.3z"></path><path d="M766.1,28.9c-200-57.5-266,65.5-395.1,19.5C242,1.8,242,5.4,184.8,20.6C128,35.8,132.3,44.9,89.9,52.5C28.6,63.7,0,0,0,0 h1000c0,0-9.9,40.9-83.6,48.1S829.6,47,766.1,28.9z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/pyramid.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M761.9,44.1L643.1,27.2L333.8,98L0,3.8V0l1000,0v3.9"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/split.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 20" preserveAspectRatio="none"><path d="M0,0v3c0,0,393.8,0,483.4,0c9.2,0,16.6,7.4,16.6,16.6c0-9.1,7.4-16.6,16.6-16.6C606.2,3,1000,3,1000,3V0H0z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/tilt-op.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2600 131.1" preserveAspectRatio="none"><path d="M0 0L2600 0 2600 69.1 0 0z"></path><path style="opacity:0.5" d="M0 0L2600 0 2600 69.1 0 69.1z"></path><path style="opacity:0.25" d="M2600 0L0 0 0 130.1 2600 69.1z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/tilt.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,6V0h1000v100L0,6z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/triangle-async.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M738,99l262-93V0H0v5.6L738,99z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/waves-smooth.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7 c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V0H0v30.3c0,0,72,32.6,158.4,30.5c39.2-0.7,92.8-6.7,134-22.4 c21.2-8.1,52.2-18.2,79.7-24.2C399.3,7.9,411.6,7.5,421.9,6.5z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/waves.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1047.1 3.7" preserveAspectRatio="xMidYMin slice"><path d="M1047.1,0C557,0,8.9,0,0,0v1.6c0,0,0.6-1.5,2.7-0.3C3.9,2,6.1,4.1,8.3,3.5c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3C13.8,2,16,4.1,18.2,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C23.6,2,25.9,4.1,28,3.5c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C63,2,65.3,4.1,67.4,3.5 C68.3,3.3,69,1.6,69,1.6s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 C82.7,2,85,4.1,87.1,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C92.6,2,94.8,4.1,97,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.6-0.4V0z M2.5,1.2C2.5,1.2,2.5,1.2,2.5,1.2C2.5,1.2,2.5,1.2,2.5,1.2z M2.7,1.4c0.1,0,0.1,0.1,0.1,0.1C2.8,1.4,2.8,1.4,2.7,1.4z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/hr/config.js":function(e){e.exports={styles:['bg-hr bg-hr-16','bg-hr bg-hr-15','bg-hr bg-hr-14','bg-hr bg-hr-1','bg-hr bg-hr-19','bg-hr bg-hr-2','bg-hr bg-hr-20','bg-hr bg-hr-18','bg-hr bg-hr-3','bg-hr bg-hr-17','bg-hr bg-hr-7','bg-hr bg-hr-4','bg-hr bg-hr-5','bg-hr bg-hr-6','bg-hr bg-hr-8','bg-hr bg-hr-9','bg-hr bg-hr-10','bg-hr bg-hr-11','bg-hr bg-hr-13'],getComponent:function(e){return'\n\t\t\t<hr class="'+e+'">\n\t\t'}}},"./node_modules/@boldgrid/components/src/components/icon/config.js":function(e){e.exports={styles:['bg-icon bg-icon-1','bg-icon bg-icon-2','bg-icon bg-icon-3','bg-icon bg-icon-4','bg-icon bg-icon-5','bg-icon bg-icon-6']}},"./node_modules/@boldgrid/components/src/components/video/config.js":function(e){e.exports={styles:['bg-video bg-video-1','bg-video bg-video-2','bg-video bg-video-3']}},"./node_modules/@boldgrid/controls/src/controls/animation/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return E});var r=n('./node_modules/@boldgrid/controls/src/controls/animation/template.html'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/animation/style.scss'),i=n.n(l),d=n('./node_modules/jquery/dist/jquery.js'),c=n.n(d),p=n('./node_modules/select2/dist/css/select2.min.css'),u=n.n(p),g=n('./node_modules/select2/dist/js/select2.min.js'),m=n.n(g),h=n('./node_modules/animate.css/animate.css'),b=n.n(h),f=n('./node_modules/@boldgrid/controls/src/controls/slider/index.js'),C=n('./node_modules/animate.css/animate-config.json'),v=n.n(C),y=n('./node_modules/title-case/title-case.js'),D=n.n(y),w=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),E=function(){function e(o){a(this,e),this.options=o||{},this.$target=this.options.target,this.animationClasses=_.flatten(_.values(v.a)),this.animationClassesString=this.animationClasses.join(' '),this.delayControl=new f.a({name:'animation-delay',label:'Delay (secs)',uiSettings:{min:0,max:4,value:this.getDefault('data-wow-delay'),step:.1}}),this.durationControl=new f.a({name:'animation-duration',label:'Duration (secs)',uiSettings:{min:.5,max:4,value:this.getDefault('data-wow-duration'),step:.1}})}return w(e,[{key:'getDefault',value:function(e){var o=this.$target.attr(e);return'undefined'==typeof o&&(o='1'),o.replace('s','')}},{key:'render',value:function(){return this.$durationSlider=this.durationControl.render(),this.$delaySlider=this.delayControl.render(),this.$control=c()(_.template(s.a)({animateConfig:v.a,titleCase:D.a})),this.$control.find('durationSlider').replaceWith(this.$durationSlider),this.$control.find('delaySlider').replaceWith(this.$delaySlider),this.$typeControl=this.$control.find('select'),this._presetType(),this.$typeControl.select2(),this._bindEvents(),this.$control}},{key:'_presetType',value:function(){if(this.$target.hasClass('wow')){var e=!0,o=!1,n;try{for(var a=this.animationClasses[Symbol.iterator](),r,s;!(e=(r=a.next()).done);e=!0)s=r.value,this.$target.hasClass(s)&&this.$typeControl.val(s)}catch(e){o=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(o)throw n}}}}},{key:'removeSettings',value:function(){this.$target.removeClass('wow'),this.$target.removeAttr('data-wow-duration'),this.$target.removeAttr('data-wow-delay'),this._removeAnimationClasses()}},{key:'saveAnimation',value:function(e){var o=this,n=this.durationControl.$input.val()+'s',a=this.delayControl.$input.val()+'s';this.$target.addClass('wow'),this._removeAnimationClasses(),this.$target.addClass('animated'),this.$target.addClass(e),this.$target.css('animation-duration',n),this.$target.attr('data-wow-duration',n),this.$target.attr('data-wow-delay',a),this.$target.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){o._removeAnimationClasses(),o.$target.addClass(e)})}},{key:'triggerAnimation',value:function(){var e=this.$typeControl.val();e?this.saveAnimation(e):this.removeSettings()}},{key:'_bindEvents',value:function(){var e=this;this.$typeControl.on('change',function(){return e.triggerAnimation()}),this.durationControl.$control.on('slide-change',function(){return e._updateAnimationSettings()}),this.delayControl.$control.on('slide-change',function(){return e._updateAnimationSettings()})}},{key:'_updateAnimationSettings',value:function(){var e=this.durationControl.$input.val()+'s',o=this.delayControl.$input.val()+'s';this.$typeControl.val()&&(this.$target.attr('data-wow-duration',e),this.$target.attr('data-wow-delay',o))}},{key:'_removeAnimationClasses',value:function(){this.$target.removeClass('animated'),this.$target.removeClass(this.animationClassesString),this.$target.css('animation-duration','')}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/animation/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/animation/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/animation/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/animation/template.html":function(e){e.exports='<div class="boldgrid-control animation-control"> <h3 class=control-title>Animation</h3> <div class=animation-type-control> <h4 class=control-title>Type</h4> <select class=animations name=animation-type> <option value="">None</option> <% _.each( animateConfig, function ( category, categoryName ) { %> <optgroup label="<%= titleCase( categoryName )%>"> <%\t_.each( category, function ( animationName ) { %> <option value="<%=animationName %>"><%=titleCase( animationName ) %></option> <% } ); %> </optgroup> <% } ); %> </select> </div> <durationslider/> <delayslider/> </div> '},"./node_modules/@boldgrid/controls/src/controls/border-radius/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}n.d(o,'a',function(){return p});var l=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/conversion.js'),d=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),c=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},p=function(e){function o(e){a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return n.controlOptions={control:{title:'Border Radius',name:'border-radius',units:{default:'px',enabled:['px','em','%']},sliders:[{name:'top-left',label:'Top Left',cssProperty:'border-top-left-radius'},{name:'top-right',label:'Top Right',cssProperty:'border-top-right-radius'},{name:'bottom-right',label:'Bottom Right',cssProperty:'border-bottom-right-radius'},{name:'bottom-left',label:'Bottom Left',cssProperty:'border-bottom-left-radius'}]},slider:{px:{min:0,max:50,step:1},em:{step:0.1,min:0,max:5},"%":{min:0,max:50,step:1}}},n}return s(o,e),d(o,[{key:'convertToSelectedUnit',value:function(e){var n,a;return-1!==e.indexOf('%')&&(e=parseInt(e),e=new i.a().percentageToPixel(e,this.$target)),'%'===this.selectedUnit?(a=parseInt(e),n=new i.a().pxToPercentage(a,this.$target)):n=c(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'convertToSelectedUnit',this).call(this,e),n}}]),o}(l.a)},"./node_modules/@boldgrid/controls/src/controls/border-radius/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/border-radius/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/border/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}n.d(o,'a',function(){return h});var l=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=n('./node_modules/@boldgrid/controls/src/controls/border/template.html'),d=n.n(i),c=n('./node_modules/@boldgrid/controls/src/controls/border/style.scss'),p=n.n(c),u=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),g=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},m=window.jQuery,h=function(e){function o(e){a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return n.controlOptions={control:{title:'Border Width',name:'border-width',units:{default:'px',enabled:['px','em']}},slider:{px:{step:0.1,min:0,max:15},em:{min:0,max:5,step:0.1}}},n.borderDirections=['left','top','right','bottom'],n}return s(o,e),u(o,[{key:'render',value:function(){var e;return g(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this),this.$typeControl=m(d.a),this.bindEvents(),e=this.$typeControl.append(this.$control),e}},{key:'bindEvents',value:function(){this._bindTypeChange(),this.refreshValues(),this._setType()}},{key:'_setType',value:function(){var e=this._getBorderStyle();return e='none'===e?'':e,this.$typeControl.find('.border-type-control input').filter('[value="'+e+'"]').prop('checked',!0)}},{key:'_getBorderStyle',value:function(){var e='',o=!0,n=!1,a;try{for(var r=this.borderDirections[Symbol.iterator](),s;!(o=(s=r.next()).done);o=!0){var l=s.value,i=this.$target.css('border-'+l+'-style');if('none'!==i){e=i;break}}}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}return e}},{key:'refreshValues',value:function(){var e;g(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'refreshValues',this).call(this),e=this._setType(),this._toggleWidthControl(e.val())}},{key:'_toggleWidthControl',value:function(e){e?this.$control.show():this.$control.hide()}},{key:'_bindTypeChange',value:function(){var o=this;this.$typeControl.find('input').on('change',function(n){var e=m(n.target),a=e.val();o.applyCssRules({"border-style":a}),o._toggleWidthControl(a),o.$control.trigger('type-change',a)})}}]),o}(l.a)},"./node_modules/@boldgrid/controls/src/controls/border/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/border/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/border/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/border/template.html":function(e){e.exports='<div class="boldgrid-control border-control"> <div class=border-type-control> <h4 class=control-title>Border Type</h4> <ul> <li><label><input type=radio name=border-type checked=checked value="">None</label></li> <li><label><input type=radio name=border-type value=dashed>Dashed</label></li> <li><label><input type=radio name=border-type value=double>Double</label></li> <li><label><input type=radio name=border-type value=solid>Solid</label></li> <li><label><input type=radio name=border-type value=dotted>Dotted</label></li> </ul> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/box-shadow/config.js":function(e,o){'use strict';o.a={controlOptions:{control:{title:'Box Shadow',name:'box-shadow',linkable:!1,units:{default:'px',enabled:['px']},sliders:[{name:'horizontal-position',label:'Horizontal Position',cssProperty:'border-top-left-radius'},{name:'vertical-position',label:'Vertical Position',cssProperty:'border-top-right-radius'},{name:'blur-radius',label:'Blur Radius',cssProperty:'border-bottom-right-radius'},{name:'spread-radius',label:'Spread Radius',cssProperty:'border-bottom-right-radius'}]},slider:{px:{min:-200,max:200},em:{min:0.1,max:5}}},sliderConfig:{"horizontal-position":{min:-50,max:50},"vertical-position":{min:-50,max:50},"blur-radius":{min:0,max:100},"spread-radius":{min:-25,max:25}}}},"./node_modules/@boldgrid/controls/src/controls/box-shadow/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}n.d(o,'a',function(){return b});var l=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=n('./node_modules/@boldgrid/controls/src/controls/switch/index.js'),d=n('./node_modules/@boldgrid/controls/src/controls/color-picker/index.js'),c=n('./node_modules/@boldgrid/controls/src/controls/box-shadow/parser.js'),p=n('./node_modules/@boldgrid/controls/src/controls/box-shadow/config.js'),u=n('./node_modules/@boldgrid/controls/src/controls/box-shadow/style.scss'),g=n.n(u),m=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),h=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},b=function(e){function o(e){a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return n.parser=new c.a,n.slidersLinked=!1,n.controlOptions=p.a.controlOptions,n.sliderConfig=p.a.sliderConfig,n.currentValues=n.getCurrentValues(),n.shadowType=n.currentValues.inset?'inset':'',n.shadowColor=n.getShadowColor(),n.switchControl=new i.a({name:'box-shadow-outline',label:'Outline / Inset'}),n.colorPicker=new d.a,n}return s(o,e),m(o,[{key:'getShadowColor',value:function(){return this.currentValues.color||'#cecece'}},{key:'getSliderConfig',value:function(e){return this.currentValues=this.getCurrentValues(),this.currentValues&&(this.sliderConfig[e.name].value=this.currentValues[e.name]),this.sliderConfig[e.name]}},{key:'getCurrentValues',value:function(){return this.parser.parse(this.$target.css('box-shadow'))}},{key:'render',value:function(){var e;return h(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this),this._setupOutlineSwitch(),this._setupColorPicker(),e=this.$control.add(this.switchControl.$element),e=e.add(this.colorPicker.$element),e}},{key:'refreshValues',value:function(){var e;h(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'refreshValues',this).call(this),this.updateCheckedSetting(),this.updateShadowType(),e=this.colorPicker.$input.iris('option','change'),this.colorPicker.$input.iris('option','change',function(){}),this.colorPicker.$input.iris('color',this.getShadowColor()),this.colorPicker.$input.iris('option','change',e)}},{key:'_updateCss',value:function(){var e=this.getValues(),o=this.controlOptions.control.name,n=[];n.push(this.shadowType),n.push(e['horizontal-position']+this.selectedUnit),n.push(e['vertical-position']+this.selectedUnit),n.push(e['blur-radius']+this.selectedUnit),n.push(e['spread-radius']+this.selectedUnit),n.push(this.shadowColor),n=n.join(' '),this.applyCssRules({"box-shadow":n})}},{key:'_setupColorPicker',value:function(){var o=this,e=_.defaults(this.options.colorPicker||{},{defaultColor:this.shadowColor,hide:!1,change:function(){}});this.colorPicker.init(!1,e),this.colorPicker.$input.iris('option','change',function(n,e){o.shadowColor=e.color.toString(),o._updateCss()})}},{key:'updateCheckedSetting',value:function(){this.switchControl.$input.prop('checked',this.currentValues.inset)}},{key:'updateShadowType',value:function(){this.shadowType=this.switchControl.isEnabled()?'inset':''}},{key:'_setupOutlineSwitch',value:function(){var e=this;this.switchControl.render(),this.updateCheckedSetting(),this.switchControl.$input.on('change',function(){e.updateShadowType(),e._updateCss()})}}]),o}(l.a)},"./node_modules/@boldgrid/controls/src/controls/box-shadow/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/box-shadow/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/box-shadow/parser.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return s});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=function(){function e(){a(this,e),this.regex=/(-?\d+px)|(rgb\(.+\))/g,this.propertyOrder=['horizontal-position','vertical-position','blur-radius','spread-radius'],this.default={inset:!1,"horizontal-position":0,"vertical-position":0,"blur-radius":0,"spread-radius":0,color:!1}}return r(e,[{key:'parse',value:function(e){var o=this.default,n=e.match(this.regex),a=0;if(o.inset=-1!==e.indexOf('inset'),!n||2>=n.length)return!1;var r=!0,s=!1,l;try{for(var i=n[Symbol.iterator](),d,c;!(r=(d=i.next()).done);r=!0)c=d.value,-1===c.indexOf('rgb')?'inset'===c?o.inset=!0:-1!==c.indexOf('px')&&(o[this.propertyOrder[a]]=parseInt(c),a++):o.color=c}catch(e){s=!0,l=e}finally{try{!r&&i.return&&i.return()}finally{if(s)throw l}}return o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/box-shadow/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/checkbox/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return c});var r=n('./node_modules/@boldgrid/controls/src/controls/checkbox/template.html'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/checkbox/style.scss'),i=n.n(l),d=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),c=function(){function e(o){a(this,e),this.options=_.defaults(o||{},{name:_.random(0,1e4),label:'My Checkbox'}),this.template=_.template(s.a)}return d(e,[{key:'render',value:function(){return this.$element=$(this.template(this.options)),this.$input=this.$element.find('input'),this.$element}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/checkbox/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/checkbox/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/checkbox/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/checkbox/template.html":function(e){e.exports='<div class=mdc-form-field> <div class=mdc-checkbox> <input type=checkbox id="<%=name %>" name="<%=name %>" class=mdc-checkbox__native-control /> <div class=mdc-checkbox__background> <svg class=mdc-checkbox__checkmark viewBox="0 0 24 24"> <path class=mdc-checkbox__checkmark__path fill=none stroke=white d="M1.73,12.91 8.1,19.28 22.79,4.59"/> </svg> <div class=mdc-checkbox__mixedmark></div> </div> <label for="<%=name %>"> <%=typeof icon !== \'undefined\' ? icon : \'\' %> <span class=label-text><%=label %></span></label> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/color-picker/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/color-picker/js/picker.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/color-picker/js/picker.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return p});var r=n('./node_modules/color-js/color.js'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/color-picker/style.scss'),i=n.n(l),d=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),c=window.jQuery,p=function(){function e(){a(this,e)}return d(e,[{key:'init',value:function(e,o){return this.options=_.defaults(o||{},{clear:!1,width:255,mode:'hsv',type:'full',slider:'horizontal',hide:!0,defaultColor:!1,palettes:!0,secondaryPalette:[]}),this.$element=e||c('<div data-value="'+this.options.defaultColor+'"></div>'),this.$input=this.createColorInput(),this.setupIris(),o.hide&&this.setupAutoCollapse(),this}},{key:'setupAutoCollapse',value:function(){var e=this;c('body').on('click',function(){e.hide(),e.$element.addClass()}),this.$element.on('click',function(o){return o.stopPropagation()})}},{key:'hide',value:function(){c.contains(document,this.$input[0])&&(this.$element.hide(),this.$element.attr('data-state','hidden'),this.$input.iris('hide'))}},{key:'show',value:function(){this.$element.show(),this.$element.attr('data-state','visible'),this.$input.iris('show')}},{key:'setupIris',value:function(){this.$input.iris(this.options),this.createPickerPalettes(),this.bindCustomPalettes()}},{key:'createColorInput',value:function(){var e=this.$element.attr('data-value'),o=c('<input type="text" data-alpha="true" class="pluto-color-control color-control-input"/>');return o.val(e).change(),this.$element.html(o),o.wrapAll('<div class="custom-input bg-color-picker-control boldgrid-control"></div>'),o}},{key:'createPickerPalettes',value:function(){for(var e=c('<div class="secondary-colors"></div>'),o=0;o<this.options.secondaryPalette.length;o++)e.append('<a class="iris-palette" tabindex="0"></a>');e.prependTo(this.$element.find('.iris-picker-inner')),this.$input.iris('option','width',this.options.width)}},{key:'bindCustomPalettes',value:function(){var o=this;this.$element.find('.secondary-colors .iris-palette').on('click',function(n){o.setColor(c(n.target).css('background-color'))})}},{key:'setColor',value:function(e){var o=s()(e);this.$input.iris('color',o.toString())}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color-picker/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js":function(e,o){'use strict';o.a=[['#DB3E3E','#030000','#E97070','#6E0E0E','#FEBCA3'],['#FFCD57','#E8ED76','#E6F0AF','#D7E8D5','#4A3A47'],['#FA6900','#F38630','#E0E4CC','#A7DBD8','#69D2E7'],['#FC9D9A','#F9CDAD','#C8C8A9','#83AF9B','#FE4365'],['#D95B43','#ECD078','#53777A','#542437','#C02942'],['#FF6B6B','#C7F464','#4ECDC4','#556270','#C44D58'],['#E08E79','#774F38','#F1D4AF','#ECE5CE','#C5E0DC'],['#E8DDCB','#CDB380','#036564','#033649','#031634'],['#E97F02','#F8CA00','#8A9B0F','#490A3D','#BD1550'],['#594F4F','#E5FCC2','#9DE0AD','#45ADA8','#547980'],['#EB6841','#6A4A3C','#EDC951','#00A0B0','#CC333F'],['#C6A49A','#F4EAD5','#C6E5D9','#E94E77','#D68189'],['#7A6A53','#D9CEB2','#948C75','#D5DED9','#99B2B7'],['#FF9E9D','#DAD8A7','#7FC7AF','#3FB8AF','#FF3D7F'],['#FFFFFF','#1C140D','#F2E9E1','#CBE86B','#CBE86B'],['#DCE9BE','#EFFFCD','#2E2633','#99173C','#555152'],['#343838','#005F6B','#008C9E','#00DFFC','#00B4CC'],['#F0B49E','#F7E4BE','#413E4A','#73626E','#B38184'],['#FF847C','#FECEA8','#99B898','#2A363B','#E84A5F'],['#FC913A','#F9D423','#EDE574','#E1F5C4','#FF4E50'],['#554236','#F77825','#D3CE3D','#F1EFA5','#60B99A'],['#E8CAA4','#64908A','#424254','#351330','#CC2A41'],['#F9F2E7','#8FBE00','#AEE239','#40C0CB','#00A8C6'],['#BF4D28','#655643','#E6AC27','#F6F7BD','#80BCA3'],['#FF4242','#F4FAD2','#D4EE5E','#E1EDB9','#F0F2EB'],['#8C2318','#F2C45A','#BFB35A','#88A65E','#5E8C6A'],['#F5634A','#FF9C5B','#FAD089','#3B8183','#ED303C'],['#FFFFFF','#000000','#D1E751','#4DBCE9','#26ADE4'],['#F27435','#CFBE27','#BCBDAC','#3B2D38','#F02475'],['#424242','#E9E9E9','#BCBCBC','#FF9900','#3299BB'],['#EBE3AA','#CAD7B2','#A8CABA','#838689','#5D4157'],['#5E412F','#F07818','#F0A830','#FCEBB6','#78C0A8'],['#F8B195','#355C7D','#6C5B7B','#C06C84','#F67280'],['#BEF202','#88C425','#EAFDE6','#519548','#1B676B'],['#C5BC8E','#EEE6AB','#696758','#36393B','#45484B'],['#E4844A','#E8BF56','#E2F7CE','#91204D','#452632'],['#FF823A','#FFF7BD','#F2F26F','#95CFB7','#F04155'],['#FA2A00','#3D1C00','#F0D8A8','#F2D694','#86B8B1'],['#A0C55F','#7AB317','#0D6759','#0B2E59','#2A044A'],['#CCBF82','#B8AF03','#67917A','#170409','#E33258'],['#7B3B3B','#493736','#B9D7D9','#668284','#2A2829'],['#EEAA88','#EEC290','#EEDD99','#CCC68D','#BBBB88'],['#F85931','#EDB92E','#A3A948','#009989','#CE1836'],['#E8D5B9','#E8D5B7','#F5B349','#0E2430','#FC3A51'],['#EF746F','#FFBE40','#ECF081','#B3CC57','#AB3E5B'],['#BCA297','#F0E2A4','#F4EBC3','#C5CEAE','#AB526B'],['#604848','#F0F0D8','#C0D860','#789048','#607848'],['#5A2E2E','#DFBA69','#FFFEDF','#3E4147','#2A2C31'],['#C04848','#F07241','#300030','#480048','#601848'],['#E8CAAF','#EEE0B7','#EBEFC9','#C4CBB7','#AAB3AB'],['#FFAAA6','#FFD3B5','#DCEDC2','#A8E6CE','#FF8C94'],['#D3643B','#403B33','#EDEBE6','#D6E1C7','#94C7B6'],['#D14334','#FFEAAD','#B3E099','#028F76','#1C2130'],['#987F69','#E3AD40','#FDF1CC','#FCD036','#C6D6B8'],['#29221F','#FCF7C5','#0ABFBC','#13747D','#FC354C'],['#E6781E','#C8CF02','#F8FCC1','#1693A7','#CC0C39'],['#E6F9BC','#BCDEA5','#83988E','#574951','#3A111C'],['#F88F79','#F6AA93','#B28774','#B9D3B0','#81BDA4'],['#EBEBBC','#BCE3C5','#82B3AE','#230F2B','#F21D41'],['#5E3929','#CD8C52','#FCF7D3','#DEE8BE','#B7D1A3'],['#E15E32','#E5F04C','#C0D23E','#5C323E','#A82743'],['#DAD6CA','#1BB0CE','#4F8699','#6A5E72','#563444'],['#C6A9A3','#EBD8B7','#99BBAD','#5B527F','#9A8194'],['#DC5B3E','#CCFC8E','#8EBE94','#4E395D','#827085'],['#FEDCBA','#ECDBBC','#DADABD','#C8D9BF','#B6D8C0'],['#EB7B59','#E5DDCB','#A7C5BD','#524656','#CF4647'],['#FEA6A2','#F9D6AC','#988864','#FFE9AF','#8DCCAD'],['#C21A01','#F03C02','#1C0113','#A30006','#6B0103'],['#E5625C','#F9BF76','#8EB2C5','#615375','#D1313D'],['#9D7E79','#CCAC95','#9A947C','#748B83','#5B756C'],['#C2412D','#D1AA34','#A7A844','#5A1E4A','#A46583'],['#CFFFDD','#B4DEC1','#5C5863','#A85163','#FF1F4C'],['#A8A7A7','#474747','#363636','#E8175D','#CC527A'],['#E3DFBA','#C8D6BF','#1A1F1E','#93CCC6','#6CBDB5'],['#FFEAF2','#FBC5D8','#FCD9E5','#382F32','#F1396D'],['#605951','#C1B398','#FBEEC2','#ACCEC0','#61A6AB'],['#413D3D','#C8FF00','#040004','#FA023C','#4B000F'],['#F56218','#FF9D2E','#FFFEC7','#919167','#9DC9AC'],['#A5A36C','#F5F4D7','#535233','#E0DFB1','#951F2B'],['#D34017','#F8F3BF','#DCE4F7','#BFCFF7','#75616B'],['#F87E7B','#FAB87F','#DCD1B4','#5E9FA3','#B05574'],['#F54828','#F7803C','#F8E4C1','#FFEDBF','#2E0D23'],['#412E28','#D1C089','#151101','#EDF6EE','#B3204D'],['#000000','#CCCCCC','#292C37','#B11623','#9F111B'],['#FFFBB7','#A6F6AF','#66B6AB','#5B7C8D','#4F2958'],['#EFF3CD','#B2D5BA','#61ADA0','#248F8D','#605063'],['#F8A13F','#E8F9A2','#A5AAD9','#7E5686','#BA3C3D'],['#4E3F30','#F8F4E4','#FEFEEB','#A5B3AA','#0CA5B0'],['#633D2E','#F7AF63','#DDD9AB','#BFD8AD','#9CDDC8'],['#353432','#4E4D4A','#94BA65','#2790B0','#2B4E72'],['#FAFBE3','#CDCFB7','#FCFEF5','#D6E6C3','#E9FFE1'],['#4D3B3B','#DE6262','#FFD0B3','#F5E0D3','#FFB88C'],['#AC2005','#2C1507','#BB8138','#ECCF8D','#84B295'],['#2D2D29','#92C7A3','#DFECE6','#3CA2A2','#215A6D'],['#F38A8A','#55443D','#F1EDD0','#CDE9CA','#A0CAB5'],['#FB6B41','#F6D86B','#339194','#A70267','#F10C49'],['#D88A8A','#F8EDD1','#9D9D93','#474843','#C5CFC6'],['#403831','#30261C','#36544F','#1F5F61','#0B8185'],['#FF9C97','#EEE9E5','#FAD3B2','#FFBA7F','#FFE181'],['#ECBE13','#93A42A','#2FB8AC','#309292','#046D8B'],['#1F1C0D','#BBB749','#E0FBAC','#78AE62','#379F7A'],['#E0E0E0','#82837E','#BDEB07','#94B053','#BFFA37'],['#8B7A5E','#FFEFD3','#FFFEE4','#9FD6D2','#D0ECEA'],['#E86E1C','#ECBA09','#B5AC01','#1B1521','#D41E45'],['#FF8A00','#FABE28','#88C100','#00C176','#FF003C'],['#86C28B','#859987','#77B885','#6DA67A','#4A4857'],['#A38A5F','#D1C5A5','#8C873E','#793A57','#4D3339'],['#BBB2A1','#A79B83','#8A7E66','#ADC0B4','#BED6C7'],['#D9D9D9','#C4FFEB','#312736','#D4838F','#D6ABB1'],['#FFA566','#395A4F','#432330','#853C43','#F25C5E'],['#E46F0A','#F0B300','#11766D','#410936','#A40B54'],['#C75233','#C78933','#D6CEAA','#79B5AC','#5E2F46'],['#CAFF42','#EBF7F8','#88ABC2','#49708A','#D0E0EB'],['#333333','#FBFFE3','#83A300','#E21B5A','#9E0C39'],['#FFD8D8','#F5A2A2','#805841','#FFFCDD','#DCF7F3'],['#F45D4C','#F7A541','#FACA66','#FEE5AD','#A1DBB2'],['#BD5532','#E1B866','#DEE1B6','#73C8A9','#373B44'],['#FAAD8E','#FFD6A3','#FFF0B8','#FDFFD9','#142F30'],['#F35F55','#FBC599','#CDBB93','#9EAE8A','#335650'],['#FDE6BD','#F4DD51','#A1C5AB','#632F53','#D11E48'],['#E6867A','#D9AB91','#D9D5A7','#C7FCD7','#ED4A6A'],['#E5EAA4','#A8C4A2','#69A5A4','#616382','#66245B'],['#2B2B2B','#FFC6A5','#F2E3C6','#353634','#E6324B'],['#8F9924','#ACC95F','#F3FFEB','#F1396D','#FD6081'],['#F34739','#FF6E27','#331327','#991766','#D90F5A'],['#D54B1A','#503D2E','#E3A72F','#F0ECC9','#058789'],['#DE4126','#EB9605','#6E1E62','#261C21','#B0254F'],['#595151','#B39C82','#F0D399','#B8C99D','#BF496A'],['#E47C5D','#F0DDAA','#59B390','#152B3C','#E32D40'],['#111625','#341931','#571B3C','#7A1E48','#9D2053'],['#D6A692','#292522','#A39081','#EFD9B4','#4D6160'],['#99A66D','#C0DE5D','#B5CC6A','#A9BD68','#6DA67A'],['#E4F5B1','#A7DBAB','#7BB0A8','#635274','#512B52'],['#68462B','#E9E0D1','#91A398','#33605A','#070001'],['#ED834E','#EBE1C5','#EBCC6E','#595643','#4E6B66'],['#EC4401','#CC9B25','#13CD4A','#7B6ED6','#5E525C'],['#E32F21','#E4DED0','#ABCCBD','#7DBEB8','#181619'],['#400403','#FE8B05','#EFEECC','#0AABBA','#FE0557'],['#FFAB07','#E9D558','#72AD75','#0E8D94','#434D53'],['#E4E4C5','#B9D48B','#D3E4C5','#8D2036','#CE0A31'],['#9B8E7E','#C3CCAF','#311D39','#67434F','#A51A41'],['#FFFFFF','#000000','#7DB4B5','#E0EFF1','#680148'],['#FC930A','#F7C41F','#E0E05A','#CCF390','#FF003D'],['#F24E4E','#F78145','#F2C94E','#A0B046','#11644D'],['#EFEAC5','#E7D84B','#1B8798','#360745','#D61C59'],['#CC5D4C','#5B5847','#FFFEC6','#C7D1AF','#96B49C'],['#FEA887','#FF824A','#D1D0D7','#F6E7F7','#FC284F'],['#FE857E','#EE9C92','#D3B9A3','#E3E8CD','#BCD8BF'],['#A69785','#807462','#665C49','#B8FAFF','#E8FDFF'],['#FFB884','#F5DF98','#FFF8D4','#C0D1C2','#2E4347'],['#E3CF9E','#AEB18E','#79927D','#79254A','#795C64'],['#615145','#C6CCA5','#8AB8A8','#6B9997','#54787D'],['#B1E6D1','#77B1A9','#3D7B80','#270A33','#451A3E'],['#F5B9AE','#F6F1DE','#C8CD3B','#95A131','#EE0B5B'],['#C9B180','#7A907C','#2A6E78','#3B4058','#4B1139'],['#EE887A','#E4E391','#9ABC8A','#2D1B33','#F36A71'],['#F06D61','#DA825F','#C4975C','#A8AB7B','#8CBF99'],['#2B2726','#BACCA4','#7DAD93','#018790','#0A516D'],['#703E3B','#D3C8B4','#FFF3DB','#E7E4D5','#C84648'],['#F9A799','#F4BFAD','#F5DABD','#8C886F','#B7CBBF'],['#C7956D','#F2D974','#2B222C','#5E4352','#965D62'],['#EB9C4D','#F2D680','#F3FFCF','#697060','#BAC9A9'],['#F5DD9D','#BCC499','#92A68A','#7B8F8A','#506266'],['#E6F99D','#C8E98E','#7FDA89','#259073','#041122'],['#49281F','#564334','#CFB590','#9E9A41','#758918'],['#FFA588','#027B7F','#572E4F','#BF1E62','#D62957'],['#A88C8C','#7A8C89','#80A8A8','#909D9E','#FF0D51'],['#FFB969','#EAF27E','#3B8C88','#452E3C','#FF3D5A'],['#FFFFFF','#EBE7E0','#BDB8AD','#44749D','#C6D4E1'],['#F0FFC9','#A9DA88','#62997A','#3B0819','#72243D'],['#FB0C06','#FFC52C','#E7EDEA','#CEECEF','#030D4F'],['#6B5D4D','#B0A18F','#DFCDB4','#FBEED3','#429398'],['#7E1C13','#E6E1C2','#6D9788','#1E2528','#BF0A0D'],['#F59D92','#E5B8AD','#C99E93','#D5D2C8','#9D9E94'],['#1D1313','#A3B808','#24B694','#30C4C9','#D22042'],['#EDD48E','#C2C092','#65AC92','#676077','#641F5E'],['#FF714B','#EAFF87','#ACFFE9','#540045','#C60052'],['#FEBF97','#F5ECB7','#23192D','#FD0A54','#F57576'],['#D28574','#E7A97E','#E0BA9B','#A69E80','#3B1922'],['#FCB653','#CEE879','#8CD19D','#5CACC4','#FF5254'],['#A14016','#CC883A','#CFC89A','#89A194','#322938'],['#A32C28','#BCA875','#7B8055','#384030','#1C090B'],['#FA6A64','#7A4E48','#4A4031','#F6E2BB','#9EC6B8'],['#6E6662','#879676','#A3C68C','#340735','#4F364A'],['#E0846D','#DBC092','#DBE7B4','#D4F7DC','#F51441'],['#F2E8C4','#98D9B6','#3EC9A7','#2B879E','#616668'],['#FF9036','#F6D76B','#FDEBA9','#D6254D','#FF5475'],['#353130','#85847E','#CBCFB4','#F7345B','#AB6A6E'],['#71443F','#8C7C62','#D3D5B0','#B5CEA4','#9DC19D'],['#E6B39A','#E6CBA5','#EDE3B4','#8B9E9B','#6D7578'],['#F2F0DF','#CACCB6','#8E9E82','#A9C1D9','#607890'],['#C21B12','#280904','#FC4B2A','#680E34','#9A151A'],['#E2DDD9','#8D7966','#D8C8B8','#F8F1E9','#A8A39D'],['#E6EBA9','#ABBB9F','#6F8B94','#706482','#703D6F'],['#FFAB98','#E5DBC0','#7F9CA0','#0B0E31','#F74553'],['#373737','#EFEAE4','#BADB73','#ACCE91','#8DB986'],['#FDCFBF','#FEB89F','#742365','#5F0D3B','#E23D75'],['#161616','#E7C049','#92B35A','#1F6764','#C94D65'],['#230B00','#F8ECD4','#A29D7F','#D4CFA5','#AABE9B'],['#C46564','#9B726F','#EEB15B','#F0E999','#B8C99D'],['#FF7474','#F59B71','#C7C77F','#E0E0A8','#F1F1C1'],['#D74F33','#C4AC30','#DBD8A2','#1E8C93','#4B3E4D'],['#9A927B','#EEDA95','#B7C27E','#805566','#8A6A6B'],['#F0F7DA','#C9DF8A','#77AB59','#36802D','#234D20'],['#F2643D','#F2A73D','#26251C','#A0E8B7','#EB0A44'],['#E16639','#AD860A','#E7DD96','#55024A','#B7023F'],['#D8A878','#E7E79D','#C0D890','#78A890','#606078'],['#E36B6B','#E3A56B','#574C41','#E3C77B','#96875A'],['#000000','#D31900','#FF6600','#FFF2AF','#7CB490'],['#FF7373','#F2A176','#CC9476','#948A71','#566965'],['#B3A176','#312C20','#E2CB92','#7C7052','#494D4B'],['#EBC588','#EBEAA9','#0E0B29','#3B0032','#7D2948'],['#EBC288','#489C79','#05676E','#1A081F','#4D1D4D'],['#875346','#FB9274','#F7E4C6','#CDDBC2','#F5565B'],['#EFB198','#7D5D4E','#EAD2A4','#F7E5BF','#BFCDB4'],['#6B6B6B','#8F9E6F','#B1CF72','#5E405F','#4F364C'],['#FAFAFA','#1F1F1F','#FA4B00','#7A5B3E','#CDBDAE'],['#FABDBD','#FAD6D6','#94654C','#FEFCD0','#F89FA1'],['#F7D683','#CCB24C','#FFFDC0','#FFFFFD','#457D97'],['#1F6764','#575A65','#8F4D65','#C74066','#FF3366'],['#BA3622','#F0DDBD','#1C997F','#520C30','#851E25'],['#ECE1C3','#8EBDB6','#195E63','#3E838C','#063940'],['#FF370F','#332717','#F0F0AF','#9DBCBC','#6BACBF'],['#B39980','#D9CC8C','#FFFF99','#663366','#8C6673'],['#A95A52','#F18052','#6F5846','#FFA446','#E35B5D'],['#666666','#F0F0D8','#B4DF37','#B4DEBE','#77CCA4'],['#CC3E18','#F0971C','#181419','#4A073C','#9E0B41'],['#7D1A0C','#A86B4C','#E8C382','#B39D69','#340A0B'],['#ED6464','#1A1B1C','#574759','#87586C','#BF6370'],['#DD423E','#3F2C26','#EAC388','#C5AD4B','#A2A384'],['#4DAB8C','#542638','#E86F9E','#C9306B','#8F244D'],['#F63700','#FB6900','#007E80','#00B9BD','#004853'],['#FFCDB8','#37260C','#FDEECF','#C8C696','#97BEA9'],['#937460','#AD8B32','#C6BE9A','#DDE0CF','#8C5B7B'],['#FFFFFF','#CFCFCF','#967C52','#FFFAEB','#F0F0D8'],['#F1DB42','#FCFCD7','#95D0B8','#67BE9B','#F04158'],['#F9EBC6','#B2AC96','#DDDCBD','#8CBFB8','#62B3B4'],['#ECBE13','#2C2B26','#6A6B5F','#738C79','#A43955'],['#F88863','#FFC27F','#FFE29A','#411F2D','#AC4147'],['#62A07B','#4F8B89','#536C8D','#5C4F79','#613860'],['#EB613B','#4D3B36','#F98F6F','#F7EADC','#C1D9CD'],['#F8BE00','#9BB61B','#057C46','#02483E','#2B1719'],['#E88460','#EDD269','#CDECCC','#321D2E','#F23460'],['#6E6460','#E39B7D','#E8D3A9','#BCBFA3','#89B399'],['#606D80','#DCE0E6','#2B4C7E','#567EBB','#1F1F20'],['#B8FD99','#7CF49A','#595B5A','#0DE5A8','#14C3A2'],['#FF7D10','#FFB238','#0A0310','#49007E','#FF005B'],['#E7EED0','#CAD1C3','#51425F','#948E99','#2E1437'],['#EAA353','#B9A173','#FFEFA9','#413040','#6C6368'],['#FAF6D0','#C7D8AB','#909A92','#744F78','#30091E'],['#FBC599','#CDBB93','#9EAE8A','#160E32','#ED5672'],['#FFFF00','#CCD91A','#99B333','#668C4D','#336666'],['#EA8676','#493831','#EAB05E','#FDEECD','#D24858'],['#E1E3AC','#A6B985','#648A64','#46685B','#213435'],['#17F9FF','#00B4FC','#005BC5','#012677','#001449'],['#4A403D','#EA804C','#A69A90','#FACF7D','#FFF1C1'],['#5A4E3C','#E9EBBF','#C4D428','#D8E472','#418E8E'],['#EDAD9E','#E1EAB5','#ACDEB2','#390D2D','#FE4B74'],['#FFC897','#F7EFA2','#BAC99A','#75C9A3','#42393B'],['#E47267','#8A8780','#D6D1AF','#E6E5C4','#D7D8C5'],['#8B911A','#FDFFD9','#0C0D02','#36BBA6','#73185E'],['#FFF5DE','#B8D9C8','#750E49','#4D002B','#917081'],['#D55C2B','#F6E7D3','#89A46F','#55203C','#9F0A28'],['#F15500','#D56F00','#B88000','#FF0C71','#FF2654'],['#574435','#F6AA3D','#E0DC8B','#6CC4B9','#ED4C57'],['#E6A06F','#9E9C71','#5E8271','#33454E','#242739'],['#000000','#F0371A','#F7E6A6','#B5B479','#3E6B48'],['#000000','#FBFFCD','#79AE92','#1C5560','#001F36'],['#FBFEE5','#A8E7CA','#25232D','#98173D','#C91842'],['#DED1B6','#6D997A','#6CA19E','#84ABAA','#42282C'],['#FC580C','#FC6B0A','#F8872E','#FFA927','#FDCA49'],['#DBD9B7','#949A8E','#A5B5AB','#C1C9C8','#615566'],['#FFF18C','#D0EAA3','#EEFFDB','#ADE4B5','#71DBD2'],['#C7EDE8','#A0DED6','#7ECECA','#45B5C4','#1693A5'],['#D15C57','#D9D4A8','#4A5F67','#5C374B','#CC3747'],['#D16344','#D7BF5E','#F1E8B4','#B2BB91','#83555E'],['#EEDEAD','#DDDEAD','#CCDEAD','#BBDEAD','#AADEAD'],['#84C1B1','#AD849A','#D64783','#40202A','#FD135A'],['#F6F0BC','#A3D95B','#AAE3AB','#442433','#1F0310'],['#B14623','#F6921D','#130912','#3E1C33','#602749'],['#9A736E','#E7A83E','#E0DF9F','#B2CBA3','#EA525F'],['#000000','#FA7F77','#F7A398','#F6C7B7','#B42529'],['#F07C19','#FFC219','#E5D599','#029DAF','#E32551'],['#E48B69','#E1B365','#674F23','#FFEEAC','#E5DB84'],['#A7321C','#352504','#CC982A','#FFDC68','#928941'],['#241811','#D4A979','#E3C88F','#C2C995','#A8BD95'],['#F27C7C','#FCF09F','#8DE0A6','#4EB3DE','#DE528C'],['#F18273','#4C3D31','#F2BD76','#F4F5DE','#C4CEB0'],['#FF703F','#F7BC05','#ECF6BB','#76BCAD','#FA2E59'],['#D96153','#FFB870','#FFF5D6','#84BFC3','#000511'],['#CA221F','#590F0C','#FEAD26','#FFFDC0','#B9D7A1'],['#F5886B','#5A3226','#F1C972','#F3E6BC','#72AE95'],['#F5F7BD','#DEDFC5','#B2B39F','#C8C9B5','#3D423C'],['#785D56','#E6D5C1','#C6B299','#FFF4E3','#BE4C54'],['#67594D','#718063','#79A687','#1D1016','#4F2B38'],['#F07868','#EBB970','#E7D3B0','#2197A3','#F71E6C'],['#D9CF85','#CDE4B3','#B4DFB3','#9BDAB3','#69D0B3'],['#F7E0AE','#2D2C26','#C3B457','#998496','#FA748F'],['#E2DF9A','#EBE54D','#4B490B','#757449','#FF0051'],['#FE6962','#F9BA84','#EEE097','#FFFFE5','#8E407A'],['#FA9B9B','#FFDABF','#F7F3D5','#635063','#E88087'],['#FF2121','#FFE8B3','#A3E3B1','#51BD9C','#244242'],['#F03813','#FF8826','#FFB914','#2C9FA3','#B31237'],['#DB1414','#E8591C','#332C26','#C5E65C','#7FB8B0'],['#003E4F','#33384E','#66324C','#992C4B','#CC2649'],['#FEAB8D','#F4C9A3','#D7B89C','#99C9BD','#15212A'],['#F88F89','#EEC276','#FBF6D0','#79C3AA','#1F0E1A'],['#D43B2D','#FE6C2B','#020001','#340016','#9F102C'],['#FCF9D8','#EDEBC9','#9DBFAF','#00CCBE','#09A6A3'],['#D4E2B6','#C4DBB4','#ABCCB1','#72B1A4','#539FA2'],['#D8523D','#75372D','#928854','#D4CE9E','#96A782'],['#F38264','#F2CC67','#75BAA8','#5F051F','#F40034'],['#E25858','#E9D6AF','#FFFFDD','#C0EFD2','#384252'],['#A7CD2C','#BADA5F','#CEE891','#E1F5C4','#50C8C6'],['#541F14','#938172','#CC9E61','#020304','#626266'],['#9E6D4E','#CFB699','#FFFEE1','#FA8CB1','#FDC5C9'],['#F7F7F7','#3B3737','#991818','#9DD3DF','#C9D1D3'],['#F06B50','#E1D772','#FAF4B1','#394240','#45AAB8'],['#FCA89D','#FAC7B4','#998B82','#FFE1C9','#AFC7B9'],['#F88D87','#FCDCB3','#A8BCBD','#823772','#D65981'],['#F7D7CD','#F3E7D7','#C7B9C5','#E0C0C7','#F8C7C9'],['#8A211D','#BF2A23','#CF872E','#F0CE4E','#A6AD3C'],['#5C493D','#3A352F','#E5F3BA','#BAFDC2','#80D3BB'],['#90FF17','#00C16C','#00755C','#004443','#002E34'],['#FF3D00','#FFBC11','#0A837F','#076461','#002C2B'],['#FF41A1','#F60069','#4D4A4B','#FF90AB','#FFCCD1'],['#706767','#E87474','#E6A37A','#D9C777','#C0DBAB'],['#1C0F0E','#DB5643','#C5BD99','#9FB38F','#70AA87'],['#755858','#FFC870','#F7F7C6','#9CAD9A','#C8E3C5'],['#BD9999','#9D8078','#414978','#13123E','#8E848C'],['#85AE72','#BCE1AB','#170132','#361542','#573E54'],['#E45635','#F7A21B','#15191D','#4B538B','#D60257'],['#FF4746','#E8DA5E','#92B55F','#487D76','#4B4452'],['#D1B68D','#5A5C75','#51445F','#492D49','#87555C'],['#000000','#9E906E','#AAB69B','#8870FF','#9684A3'],['#FF705F','#913F33','#FFAA67','#FFDFAB','#9FB9C2'],['#FF6543','#FFBA6B','#FFDC8A','#FFF19E','#B5F4BC'],['#481800','#F07E13','#E2D397','#0FC3E8','#0194BE'],['#E4DDD6','#E4E3CD','#ECECDD','#D4DDD6','#C4DDD6'],['#F59330','#FFEBBF','#F0D442','#85A29E','#B22148'],['#000000','#FF8830','#D1B8A0','#AECED2','#CBDCDF'],['#443A37','#F0823F','#E0D124','#F7F799','#BD374C'],['#FEC0AB','#FEE9A6','#9380B7','#660860','#FA5894'],['#8F8F8F','#ECECEC','#25020F','#FF1168','#9E1E4C'],['#FFE3B3','#CFCCA8','#97B59D','#B9113F','#A8636E'],['#D1E389','#B9DE51','#E1B7ED','#E04891','#F5E1E2'],['#BFAC8B','#000706','#0C7E7E','#134647','#00272D'],['#FFCD57','#E8ED76','#E6F0AF','#D7E8D5','#4A3A47'],['#FFCA1B','#B6FF00','#228DFF','#BA01FF','#FF0092'],['#FFFFFF','#59554E','#F3F4E5','#E2E3D9','#A1C1BE'],['#CD5B51','#F3A36B','#E9DFCC','#554865','#352630'],['#BAAB6A','#FBEA80','#FDFAC7','#426B65','#204B5E'],['#977E77','#EFAE54','#DBDA97','#4B1D37','#EF6771'],['#D95B45','#ECD079','#43777A','#442432','#C02948'],['#F7DB15','#2F2BAD','#AD2BAD','#E42692','#F71568'],['#FF4845','#FF745F','#FFC55F','#FFEC5E','#36173D'],['#F8F8EC','#AEDD2B','#066699','#0A5483','#02416D'],['#FE6C63','#EECAB1','#D3C8B4','#D4F1DB','#240910'],['#BDA2A2','#FBBE9A','#FAD889','#FAF5C8','#899AA1'],['#473430','#C54B2C','#D89845','#C8D197','#11BAAC'],['#F1C694','#EDECCF','#207178','#101652','#DC6378'],['#CCBD9E','#D8CCB2','#495168','#2A2344','#260729'],['#F2B8A0','#DACDBD','#D4486F','#DF5C7E','#EF97A3'],['#F09580','#FDF2B4','#101942','#80043A','#F60C49'],['#6F0B00','#241714','#BE3100','#C96823','#C9B849'],['#F8F5C1','#C8CE13','#349E97','#DE1A72','#2C0D1A'],['#FEF7D5','#0EC0C1','#210123','#6C043C','#910142'],['#736558','#FEF5C6','#AAF2E4','#31D5DE','#FD65A0'],['#FFDBD7','#F7F1E1','#855E6E','#CE7095','#FFB2C1'],['#810E0B','#FEBEA3','#FCE5B1','#E8DE92','#F6F5DA'],['#C42311','#F2502C','#FCF59B','#CAD17A','#91C494'],['#3C363B','#F9EBF2','#F3E2E8','#F58F9A','#FCD7DA'],['#4A3D3D','#FF6161','#F2E9E6','#F4F8E6','#D8DEC3'],['#F8D9BD','#7F440A','#E6BC56','#6A9277','#FF275E'],['#000000','#F58723','#C7BA99','#D4C9AD','#F1ECDF'],['#B39E58','#E8DBAD','#99822D','#80AB99','#8C0E48'],['#F0A991','#B9D9B4','#288D85','#B05574','#D18E8F'],['#FF695C','#CCBCA1','#2E1E45','#612A52','#BA3259'],['#E4491C','#FFB727','#67B79E','#538A95','#565175'],['#514442','#AEF055','#E0FFC3','#3F8978','#25E4BC'],['#E6D1CA','#EEE9C7','#ED7B83','#EC8A90','#EBA2A4'],['#EDD58F','#C2BF92','#66AC92','#686077','#641F5E'],['#FCA699','#FFE4AA','#583B7E','#C9729F','#E2869B'],['#454545','#A22365','#FF0084','#743455','#D11174'],['#DAE2CB','#96C3A6','#6CB6A5','#221D34','#90425C'],['#001848','#301860','#483078','#604878','#906090'],['#F76E2A','#F0C505','#651366','#A71A5B','#E7204E'],['#F4F4F4','#594433','#A68C69','#F0E5C9','#9BA657'],['#6B6B6B','#FF7857','#F7C081','#CEF781','#95DE90'],['#444444','#B52C00','#A9A17A','#FCF7D1','#8C0005'],['#FFFFFF','#000000','#AC4A00','#F8F0AF','#002930'],['#BFA374','#E3BA6A','#6D756A','#4D686F','#364461'],['#E5EAD4','#9ACC77','#45936C','#334F53','#1F0A1D'],['#43204A','#422343','#7F1E47','#C22047','#EA284B'],['#3D3C3B','#DDE3CA','#7C8071','#B2D9F7','#487AA1'],['#C0CC39','#DBF73B','#2B2628','#EB0258','#A6033F'],['#E4E6C3','#88BAA3','#361F2D','#63203D','#BA1E4A'],['#2C2321','#FFFAB3','#9DAB34','#63B397','#A2E5D2'],['#FFABAB','#FFDAAB','#DDFFAB','#ABE4FF','#D9ABFF'],['#9C8680','#F98F6F','#DBBF6B','#C8EB6A','#EB5E7F'],['#D5CA98','#B3C262','#768A4F','#66424C','#C72546'],['#F7DECE','#EED7C5','#CCCCBB','#2D2E2C','#9EC4BB'],['#F0F0D8','#A8C030','#184848','#006060','#007878'],['#ECE488','#F6F5CD','#91C68D','#74AA9B','#796C86'],['#DDCAA2','#AEBEA3','#4E5C69','#D83957','#B97479'],['#B18272','#63594D','#C2B291','#EAE3D1','#D6E4C3'],['#D8D8D8','#ECDAD8','#E2D9D8','#FFDCD8','#F5DBD8'],['#D6B3B1','#E6E1CD','#C6D8C0','#231B42','#F97992'],['#D7DFC3','#D2DFC8','#CDDFCD','#C8DFD2','#C3DFD7'],['#B1E1E9','#96D7EB','#839CB5','#F2E4F9','#686466'],['#EFD2BE','#EFBC98','#917F6E','#EFE1D1','#D9DDCD'],['#A73E2B','#482C21','#D07E0E','#E9DEB0','#2F615E'],['#F4E196','#A6BF91','#5F9982','#78576B','#400428'],['#F3D915','#E9E4BB','#A89907','#BFD4B7','#1A1C27'],['#7A6248','#FFFBF0','#968F4B','#030506','#AB9597'],['#F77C3E','#FABA66','#FCE185','#A2CCA5','#50232E'],['#FF6A5A','#FFB350','#83B8AA','#272D4D','#B83564'],['#D9A071','#CFC88F','#A5B090','#607873','#AB505E'],['#FA3C08','#FC7D23','#678D6C','#772A53','#BD0A41'],['#FFFFFF','#757575','#000000','#A1AC88','#464D70'],['#B9340B','#3F261C','#CEA45C','#C5BE8B','#498379'],['#EA2A15','#FAEDD9','#808F12','#2A5C0B','#042608'],['#9D9F89','#CCEE8D','#B2DE93','#8BC59B','#84AF97'],['#F86254','#FEA189','#F3D5A5','#BAB997','#FF0F35'],['#FF695C','#FFC391','#F6F4C2','#8DC9B5','#8C315D'],['#D96831','#E6B33D','#172C3C','#274862','#995052'],['#A8A878','#CDCD76','#939E78','#839074','#061013'],['#7C7B6C','#F8F69F','#BAB986','#3E3E53','#000039'],['#693726','#80B3FF','#A2122F','#FFC2CE','#FD6E8A'],['#EFB0A9','#FFE6DB','#CBC8B5','#D1EAEE','#BDA0A2'],['#FE6960','#FEBF97','#FEFAC2','#D2FDFE','#AFFBFF'],['#FC694D','#FC8D4D','#FABA32','#F5DD7E','#0DB2AC'],['#EBF74F','#B0C65A','#6D8D76','#66666E','#6A3D5A'],['#EC6C2B','#FEAE4B','#35352B','#BDBF90','#E7E9C4'],['#FF9966','#D99973','#B39980','#8C998C','#669999'],['#D4BE99','#E0FFCC','#171133','#581E44','#C5485A'],['#000000','#FCAE11','#B2A700','#770493','#ED0B65'],['#FFFAE3','#C1D9D0','#141827','#736681','#62455B'],['#D1DAB9','#92BEA5','#31233E','#6F646C','#671045'],['#5F3711','#E2D5C1','#D4C098','#F7F6E4','#F6F6E2'],['#20130A','#E9F0C9','#142026','#3B657A','#123142'],['#5ADB94','#0BA18C','#368986','#2E0331','#8A034D'],['#4A2512','#F4DDB4','#F1AE2B','#72BCA5','#BC0B27'],['#E03E36','#EECCBB','#F1731F','#730662','#BD0D59'],['#C27B57','#FFC978','#D1A664','#FFE7BF','#C9C987'],['#302727','#BA2D2D','#F2511B','#F2861B','#C7C730'],['#330A04','#6C1305','#B32900','#DE8531','#EFAC41'],['#615050','#776A6A','#FCFCFC','#F5F1E8','#AD9A6F'],['#52423C','#D3AD98','#EDD4BE','#B9C3C4','#AD5C70'],['#FFCC33','#CCFF33','#B877A8','#B8008A','#FF3366'],['#7C917F','#93BD9A','#3D1C33','#210518','#5E4B55'],['#FF9934','#FFC018','#B3C631','#CDE54E','#F8FEF4'],['#996666','#FF3366','#E64066','#CC4D66','#B35966'],['#FFFFFF','#BDD1DE','#4180AB','#8AB3CF','#E4EBF0'],['#DADAD8','#CBE65B','#1EA49D','#FE6196','#FF2C69'],['#D2E7AA','#A4CA8B','#66997B','#27081D','#47232C'],['#EB9D8D','#EFD8A9','#93865A','#C5CBA6','#A8BB9A'],['#FDD87F','#C6D38E','#5C966E','#315E61','#0F314C'],['#0D0502','#85685A','#CB8E5F','#E0DEAB','#ECF8D4'],['#E2C99F','#A39B7E','#7A7B7C','#53576B','#353437'],['#EDEADE','#DDEADD','#CDEADC','#BDEADB','#ADEADA'],['#FC3903','#FC7F03','#FFAB03','#A6026C','#D1024E'],['#000000','#F4A854','#FFF8BC','#CF023B','#F3214E'],['#AC0D0D','#320606','#AC8D49','#DDE29F','#A2C7BB'],['#C97C7A','#1F1106','#B8C2A0','#D1DBC8','#DA3754'],['#700808','#CC4E00','#FF8030','#FFDD8C','#6E9167'],['#FBBAA4','#F9E5C0','#B6D0A0','#2C171C','#FF667C'],['#FAFAD7','#EDF79E','#BCD9A0','#85CC9C','#2B9EB3'],['#000000','#E7EBB0','#C6C99D','#A8AB84','#0C0D05'],['#FC8C77','#F8DFBD','#130716','#9A2848','#EC4B59'],['#330C0C','#61290E','#A84818','#A89048','#A8C078'],['#D8D9C0','#8FC9B9','#91334F','#AB5C72','#D18E8F'],['#D1BD95','#DBDEA6','#D1F7BA','#391B4A','#8C686B'],['#FB6F24','#8CA315','#0A4B75','#1E6495','#5191C1'],['#C2685F','#FBD7A3','#D4C46D','#722249','#932B4E'],['#C1A2A0','#E3CEBD','#FCFDEB','#725B75','#322030'],['#DE4C45','#D9764D','#CC9E8A','#EBDFC6','#C1C5C7'],['#AD8484','#D9D5BB','#B05574','#D24D6C','#C1858F'],['#390039','#820081','#FE1CAC','#FE40B9','#FE59C2'],['#F6BE5F','#CFBF9E','#F7DEA8','#D45E80','#C6838C'],['#FCE7D2','#E0DBBD','#C0CEAA','#EB5874','#FD8086'],['#926D40','#FF9F15','#C4D004','#ABECE4','#FB7991'],['#B56A65','#D5A57F','#E9D7A9','#D2D09F','#4B3132'],['#F1EBEB','#EEE8E8','#CACACA','#24C0EB','#5CCEEE'],['#E8ACAC','#DFD0AF','#A1C0A1','#A45785','#85586C'],['#DEC790','#200E38','#6A0E47','#B50D57','#FF0D66'],['#D6D578','#9DAD42','#B1BF63','#258A60','#0A3740'],['#FBE2B9','#FCF6D2','#FCF6D2','#C6C39A','#281F20'],['#EC6349','#F8DB7E','#310A26','#6F1B2C','#CE2340'],['#99CCCC','#A8BDC2','#B8AEB8','#C79EAD','#D78FA3'],['#EB9961','#FCF4B6','#331436','#7A1745','#CB4F57'],['#F9F9E7','#505045','#161613','#C1E0E0','#C0A1AE'],['#F9DED3','#FDD1B6','#89ABB4','#C7B6BE','#FAB4B6'],['#B3544F','#D6C396','#E7FCCF','#300511','#1F0B0C'],['#F59982','#FACB97','#F3DCB2','#F2116C','#ED616F'],['#FFFFFF','#FF97CA','#FF348E','#BE0049','#770021']]},"./node_modules/@boldgrid/controls/src/controls/color/index.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./node_modules/@boldgrid/controls/src/controls/color/js/renderer.js');n.d(o,'ColorPalette',function(){return a.b}),n.d(o,'Renderer',function(){return a.a});var r=n('./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js');n.d(o,'Palettes',function(){return r.a});var s=n('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js');n.d(o,'Generate',function(){return s.a});var l=n('./node_modules/@boldgrid/controls/src/controls/color/js/selection.js');n.d(o,'Selection',function(){return l.a});var i=n('./node_modules/@boldgrid/controls/src/controls/color/js/config.js');n.d(o,'Config',function(){return i.a});var d=n('./node_modules/@boldgrid/controls/src/controls/color/js/material.js');n.d(o,'Material',function(){return d.a})},"./node_modules/@boldgrid/controls/src/controls/color/js/button.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return d});var r=n('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),s=n('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),l=function(){function e(e,o){var n=[],a=!0,r=!1,s;try{for(var l=e[Symbol.iterator](),i;!(a=(i=l.next()).done)&&(n.push(i.value),!(o&&n.length===o));a=!0);}catch(e){r=!0,s=e}finally{try{!a&&l['return']&&l['return']()}finally{if(r)throw s}}return n}return function(o,n){if(Array.isArray(o))return o;if(Symbol.iterator in Object(o))return e(o,n);throw new TypeError('Invalid attempt to destructure non-iterable instance')}}(),i=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),d=function(){function e(o){a(this,e),o=o||{},this.files=['color-palette-scss/buttons/buttons.scss','color-palette-scss/buttons/_options.scss','color-palette-scss/buttons/types/_3d.scss','color-palette-scss/buttons/types/_border.scss','color-palette-scss/buttons/types/_borderless.scss','color-palette-scss/buttons/types/_dropdown.scss','color-palette-scss/buttons/types/_glow.scss','color-palette-scss/buttons/types/_groups.scss','color-palette-scss/buttons/types/_longshadow.scss','color-palette-scss/buttons/types/_raised.scss','color-palette-scss/buttons/types/_shapes.scss','color-palette-scss/buttons/types/_sizes.scss','color-palette-scss/buttons/types/_wrapper.scss','color-palette-scss/buttons/_layout.scss','color-palette-scss/buttons/_base.scss','color-palette-scss/buttons/_mixins.scss'],this.namespace='.btn',this._defaultColors=[{name:'color-dark',val:'#252525'},{name:'color-light',val:'#eff0f1'}],this.sassCompiler=o.sassCompiler?o.sassCompiler:new r.a}return i(e,[{key:'init',value:function(){return this.preload()}},{key:'preload',value:function(){return this.sassCompiler.preload(this.files)}},{key:'convertColorState',value:function(e){var o=[],n=e.palettes['palette-primary']['neutral-color'],a=!0,r=!1,s;try{for(var i=e.palettes['palette-primary'].colors.entries()[Symbol.iterator](),d;!(a=(d=i.next()).done);a=!0){var c=l(d.value,2),p=c[0],u=c[1];o.push({name:'color-'+(p+1),val:u})}}catch(e){r=!0,s=e}finally{try{!a&&i.return&&i.return()}finally{if(r)throw s}}var g=!0,m=!1,h;try{for(var b=this._defaultColors[Symbol.iterator](),f,u;!(g=(f=b.next()).done);g=!0)u=f.value,o.push(u)}catch(e){m=!0,h=e}finally{try{!g&&b.return&&b.return()}finally{if(m)throw h}}return n&&o.push({name:'color-neutral',val:n}),o}},{key:'formatColorSass',value:function(e){var o=new s.a,n='',a;e=e||[];var r=!0,l=!1,i;try{for(var d=e[Symbol.iterator](),c,p;!(r=(c=d.next()).done);r=!0)p=c.value,a=o.getContrast(p.val),n+='(\''+p.name+'\' '+p.val+' '+a+')'}catch(e){l=!0,i=e}finally{try{!r&&d.return&&d.return()}finally{if(l)throw i}}return n&&(n='$ubtn-colors: '+n+';'),n}},{key:'getCompileString',value:function(e){var o=this.formatColorSass(this.convertColorState(e)),n='$ubtn-namespace: \''+this.namespace+'\';';return n+o+'@import "color-palette-scss/buttons/buttons.scss";'}},{key:'compile',value:function(e,o){this.sassCompiler.compiler.compile(compileString,function(e){o(e)})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/config.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return i});var r=n('./node_modules/@boldgrid/controls/src/controls/color/js/material.js'),s=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),l=window.jQuery,i=function(){function e(){a(this,e),this.material=new r.a,this.defaultColor='blue',this.samplePalettesColors=['blue','teal','red','pink','grey','brown']}return s(e,[{key:'createSimpleConfig',value:function(e){var o={},n=this.getPresetPalettes(),a;return o.palettes=[],e?(a=this.createPalette(e),o.palettes.push(a),o.palettes=o.palettes.concat(n)):o.palettes=n,o.palettes[0].isActive=!0,o['color-palette-size']=o.palettes[0].colors.length,o.palette_formats=['palette-primary'],o}},{key:'getPresetPalettes',value:function(){var e=[],o=!0,n=!1,a;try{for(var r=this.samplePalettesColors[Symbol.iterator](),s,l;!(o=(s=r.next()).done);o=!0)l=s.value,e.push(this._createDefault(l))}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}return e}},{key:'createPalette',value:function(e){var o=_.defaults(e,{default:!0,copyOnMod:!0,isActive:!1,format:'palette-primary',colors:this.material.getPalette(this.defaultColor)});return o.palette_id=btoa(o.colors),o}},{key:'mergeDefaults',value:function(e){return e.palettes=e.palettes.concat(this.getPresetPalettes()),e}},{key:'createSavableState',value:function(e){var o=this.createSimpleConfig(),n=e.palettes['palette-primary'];o.palettes=[],n.isActive=!0,n.default=!1,o.palettes[0]=this.createPalette(n),o.saved_palettes=[],e.saved_palettes=e.saved_palettes||[];var a=!0,r=!1,s;try{for(var l=e.saved_palettes[Symbol.iterator](),i;!(a=(i=l.next()).done);a=!0){var d=i.value,c=this.createPalette(d);c.palette_id!==o.palettes[0].palette_id&&(c.default=!1,c.copyOnMod=!1,o.saved_palettes.push(c))}}catch(e){r=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw s}}return o}},{key:'_createDefault',value:function(e){return this.createPalette({isActive:!1,colors:this.material.getPalette(e),"neutral-color":'white'})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/control.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/color/js/transitions.js'),r=n('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),s=n('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),l=n('./node_modules/@boldgrid/controls/src/controls/color-picker/index.js'),i=n('./node_modules/color-js/color.js'),d=n.n(i),c=n('./node_modules/raw-loader/index.js!./node_modules/@boldgrid/controls/src/controls/color/scss/utilities/color-classes.sass'),p=n.n(c),u='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e};window.BOLDGRID=window.BOLDGRID||{},window.BOLDGRID.COLOR_PALETTE=window.BOLDGRID.COLOR_PALETTE||{},window.BOLDGRID.COLOR_PALETTE.Modify=window.BOLDGRID.COLOR_PALETTE.Modify||{},window.BOLDGRIDSass=window.BOLDGRIDSass||{};var g=jQuery,m=g(window),h=BOLDGRID.COLOR_PALETTE.Modify,b=h;h.pickerCompileDelay=100,h.pendingCompile=!1,h.palette_generator=BOLDGRID.COLOR_PALETTE.Generate,h.generated_color_palettes=6,h.state=null,h.active_body_class='',h.first_update=!0,h.prelockNeutral=!1,h.themePalettes=[];var f=['#232323','#FFFFFF','#FF5F5F','#FFDBB8','#FFFFB2','#bad6b1','#99acbf','#cdb5e2'];h.init=function(e,o){h.first_update=!0,b.configs=b.initConfigs(o),b.$control=e,b.sassCompiler=new r.a,b.colorPicker=new l.a,b.pausePickerChanges(),b.classProperties(),b.setupEvents()},h.classProperties=function(){b.$palette_control_wrapper=g('.bgctrl-color-palette'),b.$colorPickerWrap=b.$palette_control_wrapper.find('.color-picker-wrap'),b.$palette_option_field=b.$palette_control_wrapper.find('.palette-option-field'),b.generated_palettes_container=b.$palette_control_wrapper.find('.generated-palettes-container'),b.$accoridon_section_colors=g('#accordion-section-colors'),b.$paletteWrapper=b.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper'),b.hasNeutral=b.$paletteWrapper.data('has-neutral'),b.numColors=b.$paletteWrapper.data('num-colors')},h.setupEvents=function(){h.duplicate_modification_icons(),h.themePalettes=h.getThemePalettes(),h.bind_palette_duplicate_remove(),h.bind_palette_activation(),h.setup_color_picker(),h.setup_close_color_picker(),h.setup_palette_generation(),h.bind_generate_palette_action(),h.bind_help_section_visibility(),h.bind_help_link(),h.bindActiveColorClick(),h.bindTransitions(),h.bind_compile_done(),h.fetch_acceptable_palette_formats(),setTimeout(h.pickerPostInit,100)},h.initConfigs=function(e){return _.defaults({enableCustomizerTransitions:!1,boldgrid_light_text:'#FFF',boldgrid_dark_text:'#000'},e)},h.bind_help_section_visibility=function(){g('.accordion-section').on('click',function(){var e=g('.boldgrid-color-palette-help');b.$accoridon_section_colors.hasClass('open')&&!e.is(':visible')?e.show():!1===b.$accoridon_section_colors.hasClass('open')&&e.hide()})},h.setup_close_color_picker=function(){b.$close_palette_creator=g('<button type="button" class="button close-color-picker">Done</button>'),b.colorPicker.$input.after(b.$close_palette_creator),b.$close_palette_creator.on('click',function(){b.colorPicker.hide()})},h.getThemePalettes=function(){var e=[];return b.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-copy-on-mod="1"]').each(function(){var o=[];g(this).find('[data-color]').each(function(){o.push(g(this).data('color'))}),b.hasNeutral&&o.splice(-1,1),e.push(o)}),e},h.setup_palette_generation=function(){b.$palette_control_wrapper.find('.palette-generator-button').on('click',function(){!1===b.$paletteWrapper.hasClass('palette-generate-mode')&&(b.hasNeutral&&b.prelockNeutral&&(b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors:last').addClass('selected-for-generation'),h.sync_locks()),b.$paletteWrapper.addClass('palette-generate-mode'))}),b.$palette_control_wrapper.on('click','.palette-generate-mode .current-palette-wrapper .color-lock',function(o){var e=g(this);o.stopPropagation(),b.$palette_control_wrapper.find('.boldgrid-active-palette li').eq(e.data('count')).toggleClass('selected-for-generation'),e.toggleClass('selected-for-generation')}),b.$palette_control_wrapper.find('.cancel-generated-palettes-button').on('click',function(o){var e=g(this);o.stopPropagation(),b.$palette_control_wrapper.find('.boldgrid-active-palette[data-auto-generated]').removeAttr('data-auto-generated'),b.generated_palettes_container.empty(),e.closest('.palette-generate-mode').removeClass('palette-generate-mode').find('.selected-for-generation').removeClass('selected-for-generation')})},h.duplicate_modification_icons=function(){h.$icon_set=b.$palette_control_wrapper.find('.boldgrid-duplicate-dashicons').first(),h.$icon_set&&(h.$icon_set=h.$icon_set.clone())},h.bind_generate_palette_action=function(){b.$palette_control_wrapper.find('.palette-generator-button').on('click',function(){var e=h.paletteData(),o=null;b.hasNeutral&&(e.samplePalette.splice(-1,1),o=e.partialPalette.splice(-1,1),o=o[0]);var n=new s.a,a=n.generatePaletteCollection(e,h.generated_color_palettes);b.hasNeutral&&g.each(a,function(){o?this.push(o):this.push(n.generateNeutralColor(this))}),h.display_generated_palettes(a)})},h.display_generated_palettes=function(e){var o=b.generated_palettes_container.empty(),n=null;g.each(e,function(){b.hasNeutral&&(n=this[this.length-1]);var e=g('<div data-palette-wrapper="true"><ul><li class="boldgrid-palette-colors"></li></ul></div>'),a=e.find('ul').addClass('boldgrid-inactive-palette').attr('data-auto-generated','true').attr('data-neutral-color',n).attr('data-color-palette-format',h.get_random_format()),r=a.find('li');g.each(this,function(){var e=g('<span></span>').css('background-color',this).attr('data-color',!0);r.append(e)}),o.append(e)})},h.paletteData=function(){var e={samplePalette:[],partialPalette:[],additionalSamplePalattes:h.themePalettes};return b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(){var o=g(this);o.hasClass('selected-for-generation')?e.partialPalette.push(o.css('background-color')):e.partialPalette.push(null),e.samplePalette.push(o.css('background-color'))}),e},h.fetch_acceptable_palette_formats=function(){h.body_classes=b.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper').data('color-formats'),'object'===u(h.body_classes)&&(h.body_classes=g.map(h.body_classes,function(e){return[e]}))},h.revert_current_selection=function(e){e.removeClass('current-palette-wrapper');var o=e.find('> ul');o.removeClass('boldgrid-active-palette').addClass('boldgrid-inactive-palette'),o.find('.boldgrid-duplicate-dashicons').remove();var n=g('<li class="boldgrid-palette-colors"></li>');o.find('.boldgrid-palette-colors:not(.ui-sortable-helper)').not('.ui-sortable-placeholder').each(function(){var e=g(this);if('absolute'!==e.css('position')){var o=g('<span data-color="true"></span>').css('background-color',e.css('background-color'));n.append(o)}}),e.find('.bg-lock-controls').remove(),n.append(h.$icon_set.clone()),o.find('.boldgrid-palette-colors').remove(),o.append(n),o.data('ui-sortable')&&o.sortable('disable')},h.bind_help_link=function(){b.$palette_control_wrapper.on('click','[data-action="open-color-picker"]',function(o){o.stopPropagation();var e=b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors:first');h.activate_color(null,e)})},h.sync_locks=function(){var e=b.$palette_control_wrapper.find('.bg-lock-controls .color-lock');e.removeClass('selected-for-generation'),b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(o){var n=g(this);n.hasClass('selected-for-generation')&&e.eq(o).addClass('selected-for-generation')})},h.activate_palette=function(e){h.addColorTransition(),b.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),e.attr('data-auto-generated')&&(e=e.closest('div').clone().find('[data-auto-generated]'));var o=[];b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(e){var n=g(this);n.hasClass('selected-for-generation')&&o.push(e)}),e.find('span[data-color]').each(function(n){var a=g(this),r=a.css('background-color'),s='';-1!==o.indexOf(n)&&(s='selected-for-generation'),e.append('<li class="boldgrid-palette-colors '+s+' boldgrid-dashicon" style="background-color: '+r+'"></li>')}),e.append(h.$icon_set.clone()),e.find('li:first').remove();var n=e.closest('div').addClass('current-palette-wrapper').detach();b.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper').prepend(n);var a=b.$palette_control_wrapper.find('.palette-action-buttons');a.removeClass('hidden').insertAfter(e),b.$palette_control_wrapper.find('.boldgrid-active-palette').each(function(){var e=g(this);e.attr('data-auto-generated')?e.closest('div').remove():h.revert_current_selection(e.closest('div'))}),h.add_jquery_sortable(e),e.sortable('enable'),e.disableSelection(),e.removeClass('boldgrid-inactive-palette'),e.addClass('boldgrid-active-palette'),e.find('li').disableSelection();var r=g('<div class="bg-lock-controls"></div>');e.find('li').each(function(e){r.append('<div class="color-lock" data-count="'+e+'"><div class="lock unlock"><div class="top"></div><div class="mid"></div><div class="bottom"><div class="keyhole-top"></div><div class="keyhole-bottom"></div></div></div>')}),e.after(r),h.sync_locks(),h.first_update?(b.$control.trigger('rendered'),h.first_update=!1):h.update_theme_option({source:'activatePalette'})},h.add_jquery_sortable=function(e){var o=[],n=null;e.sortable({items:'.boldgrid-palette-colors',axis:'x',start:function(a,r){o=[],n=null,r.item&&(b.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),!r.item.find('span').length&&h.modify_palette_action(r.item.closest('[data-palette-wrapper="true"]')),r.placeholder.css('background-color',r.item.css('background-color')).css('visibility','visible'),e.find('li').not(r.helper).not(r.placeholder).each(function(e){var a=g(this);o.push(a.css('background-color')),a.is(r.item)&&(n=e)}))},change:function(a,r){var s=e.find('li').not(r.helper).not(r.item);s.each(function(e){var a=g(this),l=o[e];a.is(r.placeholder)?s.eq(n).css('background-color',l):n!==e&&s.eq(e).css('background-color',l)})},helper:'clone',stop:function(e,o){if(h.addColorTransition(),h.update_theme_option({source:'dragColor'}),h.open_picker(),o.item){var n=o.item;if(!n.find('span').length){b.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),n.addClass('active-palette-section'),n.siblings().each(function(){var e=g(this);e.toggleClass('boldgrid-dashicon'),setTimeout(function(){e.toggleClass('boldgrid-dashicon')},15)});var a=n.closest('.boldgrid-color-palette-wrapper');h.preselect_active_color(a),h.sync_locks(),h.updateNeutralData()}}}})},h.format_current_palette_state=function(){var e={},o=b.$palette_control_wrapper.find('.boldgrid-active-palette').first();e['active-palette']=o.attr('data-color-palette-format'),e['active-palette-id']=o.attr('data-palette-id'),e.palettes={},e.saved_palettes=[],b.active_body_class=e['active-palette'];var n=function(){var o=g(this),n={},a=parseInt(o.attr('data-copy-on-mod')),r=o.hasClass('boldgrid-active-palette');n=r?o.find('li.boldgrid-palette-colors'):o.find('.boldgrid-palette-colors > span');var s=[];n.not(b.hasNeutral?':last-of-type':'').each(function(){s.push(g(this).css('background-color'))});var l={format:o.attr('data-color-palette-format'),colors:s,"neutral-color":o.attr('data-neutral-color')};r&&(e.palettes[o.attr('data-color-palette-format')]=l),r||a||e.saved_palettes.push(l)};return b.$palette_control_wrapper.find('[data-color-palette-format]').not(o).not('[data-auto-generated="true"]').each(n),o.each(n),e},h.getContrastColor=function(e){return window.wp&&window.wp.customize?wp.customize('boldgrid_dark_text').get():b.configs[e]},h.create_color_scss_file=function(e){var o='',n='$colors: ';g.each(e.palettes,function(e){if(this.colors){var a=n;g.each(this.colors,function(n){var r=n+1;o+='#x27;+e+'_'+r.toString()+':'+this+';',a+='#x27;+e+'_'+r.toString()+' '}),a!=n&&(o+=a+';')}this['neutral-color']&&(o+='#x27;+e+'-neutral-color:'+this['neutral-color']+';')});var a=b.getContrastColor('boldgrid_light_text'),r=b.getContrastColor('boldgrid_dark_text');return o+='$light-text:'+a+';',o+='$dark-text:'+r+';',o=b.appendButtonRules(o),o},h.appendButtonRules=function(e){return BOLDGRIDSass.ButtonVariables&&(e+='$ubtn-namespace: "'+BOLDGRIDSass.ButtonVariables['ubtn-namespace']+'";',e+='$ubtn-bgcolor: '+BOLDGRIDSass.ButtonVariables['ubtn-bgcolor'],e+='$ubtn-font-color: '+BOLDGRIDSass.ButtonVariables['ubtn-font-color'],e+='$ubtn-theme-color: '+BOLDGRIDSass.ButtonVariables['ubtn-bgcolor'].replace(/\#x2F;g,'')),'undefined'!=typeof BOLDGRIDSass.ButtonExtends&&('undefined'!=typeof BOLDGRIDSass.ButtonExtends.primary&&(e+='$button-primary-classes: "'+BOLDGRIDSass.ButtonExtends.primary+'";'),'undefined'!=typeof BOLDGRIDSass.ButtonExtends.secondary&&(e+='$button-secondary-classes: "'+BOLDGRIDSass.ButtonExtends.secondary+'";')),e},h.update_theme_option=function(e){e=e||{};var o=b.getScss();e.colorConfig=h.state,h.compile(o,e)},h.getScss=function(){h.state=h.format_current_palette_state();var e=h.create_color_scss_file(h.state),o=e+b.configs.renderer.getImportString();return o+b.configs.renderer.buttonColors.getCompileString(h.state)},h.compile=function(e,o){b.pendingCompile={content:e,options:o},h.doCompile()},h.doCompile=function(){var e=b.pendingCompile;e&&!b.sassCompiler.processing&&(b.sassCompiler.compile(e.content,e.options),b.pendingCompile=!1)},h.bind_palette_activation=function(){b.$palette_control_wrapper.on('click','.boldgrid-inactive-palette',function(){h.activate_palette(g(this))})},h.activate_color=function(o,e,n){var a;o?(a=g(this),o.stopPropagation()):a=e,!1===a.hasClass('active-palette-section')&&(b.hasNeutral&&a.is('.boldgrid-active-palette .boldgrid-palette-colors:last')?b.colorPicker.$input.iris({palettes:f}):b.colorPicker.$input.iris({palettes:!0}),h.modify_palette_action(a.closest('[data-palette-wrapper="true"]')),b.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),a.addClass('active-palette-section'),h.open_picker(),n&&b.pausePickerChanges(),b.colorPicker.setColor(a.css('background-color')))},h.pausePickerChanges=function(){b.ignoreColorChange=!0,setTimeout(function(){b.ignoreColorChange=!1})},h.open_picker=function(){b.colorPicker.show()},h.updateNeutralData=function(){var e,o,n;e=!!b.$palette_control_wrapper.find('.boldgrid-active-palette').attr('data-neutral-color'),e&&(n=b.$palette_control_wrapper.find('.boldgrid-active-palette'),o=n.find('.boldgrid-palette-colors:last').css('background-color'),n.attr('data-neutral-color',o))},h.setup_color_picker=function(){var e=_.throttle(function(){h.update_theme_option({source:'updatePicker'})},100),o=h.themePalettes[0];b.hasNeutral&&o.push('#FFF');this.colorPicker.init(b.$palette_control_wrapper.find('.color-picker'),{secondaryPalette:o,change:function(o,n){if(b.fadeEffectInProgress)return!1;var a=n.color.toString();b.$palette_control_wrapper.find('.active-palette-section').css('background-color',a),h.updateNeutralData(),h.updateCustomPalettes(),b.ignoreColorChange||e()}})},h.updateCustomPalettes=function(){var e=b.$palette_control_wrapper.find('.secondary-colors .iris-palette');b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(o){e.eq(o).css('background-color',g(this).css('background-color'))})},h.preselect_active_color=function(e){b.colorPicker.setColor(e.find('.active-palette-section').css('background-color'))},h.bind_palette_duplicate_remove=function(){b.$palette_control_wrapper.on('click','.boldgrid-copy-palette, .boldgrid-remove-palette',function(o){o.stopPropagation();var e=g(this),n=e.closest('[data-palette-wrapper="true"]'),a=!0;e.hasClass('boldgrid-copy-palette')&&(a=!1),a?h.remove_palette(n):h.copy_palette(n)})},h.remove_palette=function(e){e.find('.boldgrid-inactive-palette').length&&(e.remove(),h.state=h.format_current_palette_state(),h.update_palette_settings())},h.modify_palette_action=function(e){e.find('[data-copy-on-mod="1"]').length&&h.copy_palette(e)},h.copy_palette=function(e){var o=e.find('.boldgrid-active-palette');if(o.length){var n=e.clone(!1);n.find('.palette-action-buttons').remove(),n.find('.boldgrid-active-palette').removeAttr('data-auto-generated'),h.clean_palette_clone(e.find('.boldgrid-active-palette')),h.revert_current_selection(n);var a=h.get_first_inactive();n.insertBefore(a)}else if(e.find('.boldgrid-inactive-palette').length){var r=e.clone(!1);h.clean_palette_clone(r.find('.boldgrid-inactive-palette')),e.after(r)}h.state=h.format_current_palette_state(),h.update_palette_settings()},h.clean_palette_clone=function(e){e.removeAttr('data-copy-on-mod data-palette-id')},h.get_first_inactive=function(){return b.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper > [data-palette-wrapper="true"]').not('.current-palette-wrapper').first()},h.bind_compile_done=function(){m.on('boldgrid_sass_compile_done',function(e,o){h.doCompile(),'color_palette_focus'!==o.source&&(h.update_iframe(o),b.$control.trigger('sass_compiled',o))})},h.update_iframe=function(e){h.compiled_css=e.result.text,h.update_palette_settings()},h.update_palette_settings=function(){h.text_area_val=JSON.stringify({state:h.state}),window.wp&&window.wp.customize&&wp.customize('boldgrid_color_palette').set('').set(h.text_area_val)},h.get_random_format=function(){return h.body_classes[0]},h.pickerPostInit=function(){var e=b.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-is-active="1"]').first(),o=b.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-is-default="1"]').first(),n=o;e.length&&(n=e),n.click(),b.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),g('body').on('click',function(){b.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),b.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section')}),b.$palette_control_wrapper.find('.wp-color-result').on('click',function(){var e=g(this),o=e.parent().find('.iris-picker').is(':visible');o&&(e.removeClass('expanded-wp-colorpicker'),!b.$palette_control_wrapper.find('.active-palette-section').length&&b.$palette_control_wrapper.find('.boldgrid-active-palette li:first').click())}),b.active_body_class=b.$palette_control_wrapper.find('.boldgrid-active-palette').first().attr('data-color-palette-format')},h.bindActiveColorClick=function(){b.$palette_control_wrapper.on('click','.boldgrid-active-palette li',function(o){o.stopPropagation(),h.activate_color(null,g(this),!0)})}},"./node_modules/@boldgrid/controls/src/controls/color/js/generate.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}var r=Math.floor;n.d(o,'a',function(){return m}),n.d(o,'b',function(){return m});var s=n('./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js'),l=n('./node_modules/color-js/color.js'),i=n.n(l),d=n('./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js'),c='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e},p=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),u=window.jQuery,g={},m=function(){function e(){a(this,e),this.contrast={light:'#1a1a1a',dark:'#ffffff'},this.colorSchemeMethods=['fiveToneAScheme','fiveToneBScheme','fiveToneCScheme','fiveToneDScheme','fiveToneEScheme','neutralScheme','neutralScheme','neutralScheme','analogousScheme','analogousScheme','analogousScheme'],this.internalPalettes=['monochromatic','intesity_and_hue','complementaryScheme','splitComplementaryScheme','splitComplementaryCWScheme','triadicScheme','tetradicScheme'],this.fillPaletteActions=['compliment','blend','copy'],this.methods=['saturateByAmount','lightenByAmount','shiftHue'],this.neutralColors=['#FFFFF2','#FBF5E6','#FFFFFF','#F6F9ED','#FDFDF0','#EBECE4','#ECF1EF','#FFFFFE','#FCF6CF','#FEFFEF','#FFFFFD','#FFFFF3','#FEF1E9','#FEF6E4','#EEF3E2','#292929','#4d4d4d','#1a1a1a']}var o=Math.abs;return p(e,[{key:'getRandomColor',value:function(){for(var e=['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'],o='#',n=0;6>n;n++)o+=e[r(16*Math.random())];return o}},{key:'getContrast',value:function(e){var o=i()(e),n=this.contrast.light,a=o.getLightness();return 0.5>a&&(n=this.contrast.dark),n}},{key:'generateNeutralColor',value:function(e){var o=Math.random(),n=null,a,r;return o>0.5?(a=_.sample(e),r=i()(a),n=r.setLightness(0.9).toCSS()):n=_.sample(this.neutralColors),n}},{key:'colorDiff',value:function(e,n){e=i()(e).toHSL(),n=i()(n).toHSL();var a=e.hue-n.hue,r=e.saturation-n.saturation,s=e.lightness-n.lightness,l=o(a)/360,d=o(r),c=o(s);return{hue:a,saturationDiff:r,lightnessDiff:s,totalPercentageDiff:l+d+c}}},{key:'findMatches',value:function(e){var o={};return u.each(e,function(n,a){u.each(e,function(e,r){r===a&&e!==n&&(!o[r]&&(o[r]=[]),-1===o[r].indexOf(n)&&o[r].push(n),-1===o[r].indexOf(e)&&o[r].push(e))})}),o}},{key:'arrayMove',value:function(e,o,n){if(o>=e.length)for(var a=o-e.length;a--+1;)e.push(void 0);return e.splice(o,0,e.splice(n,1)[0]),e}},{key:'findRelations',value:function(e){var o=[],n;return n=this.findMatches(e),!1===u.isEmptyObject(n)&&u.each(n,function(){o.push({type:'match',values:this})}),o}},{key:'determineRelations',value:function(e){var o=this,n={},a=[],r=this.findRelations(e.samplePalette);return u.each(r,function(){var o=!0;u.each(this.values,function(){if(e.partialPalette[this])return o=!1,!1}),o&&a.push(this)}),a.length?n={type:'samplePalette',relationsData:a}:_.each(e.additionalSamplePalattes,function(e){if(a=o.findRelations(e),a.length)return n={type:'additionalSamplePalattes',relationsData:a},!1}),n}},{key:'applyRelationships',value:function(e,o,n){var a=e.slice(0);return u.each(o.relationsData,function(){var e=this,o=!1;'match'===e.type&&(u.each(e.values,function(){var e=n.indexOf(this);-1!==e&&(o=this)}),!1===o&&(o=e.values[r(Math.random()*e.values.length)]),u.each(e.values,function(){a[this]=a[o]}))}),a}},{key:'findLockedIndexes',value:function(e){var o=[];return u.each(e,function(e){this&&o.push(e)}),o}},{key:'determineRelationalCount',value:function(e,o){var n;return n=2/3,'additionalSamplePalattes'===e&&(n=1/3),r(o*n)}},{key:'findPalettesByColor',value:function(e){var n=this,a=[],r,s;return s=function(){return d.a[this.paletteIndex].slice(0)},_.each(d.a,function(o,r){_.each(o,function(o,l){var i=n.colorDiff(o,e);if(!(16<i.hue)){var d={paletteIndex:r,colorIndex:l,distance:i,getPalette:s};a.push(d)}})}),r=function(e,n){return o(e.distance.totalPercentageDiff)>o(n.distance.totalPercentageDiff)?1:o(e.distance.totalPercentageDiff)<o(n.distance.totalPercentageDiff)?-1:0},a.sort(r),a}},{key:'generatePaletteCollection',value:function(e,o){o||(o=5);for(var n=this.determineRelations(e),a=this.findLockedIndexes(e.partialPalette),r=this.determineRelationalCount(n.type,o),s=[],l=0,i;l<o;l++)if(i=this.generatePalette(e),'object'===('undefined'==typeof i?'undefined':c(i))&&i.length){var d='samplePalette'===n.type&&l<r||'additionalSamplePalattes'===n.type&&l>=o-r;d&&(i=this.applyRelationships(i,n,a)),i=this.fixLockedIndex(i,e.partialPalette),s.push(i)}return s}},{key:'fixLockedIndex',value:function(e,o){return u.each(o,function(o){this&&(e[o]=this)}),e}},{key:'generatePalette',value:function(e){var o=[],n=this.partialPaletteIntoColorsPalette(e.partialPalette),a=this.isPaletteEmpty(n.palette);if(a)o=this.getPaletteFromStaticList(n.palette);else if(1<n.generateKeys.length){var s=this.generatePaletteFromPartial(n.palette);o=this.randomizePalette(s,n.unchangedKeys)}else{var l=n.palette[n.generateKeys[0]];if(l.toCSS()!==g.color&&(g.color=l.toCSS(),g.palettes=this.findPalettesByColor(g.color),g.paletteCounter=0),g.palettes[g.paletteCounter])o=g.palettes[g.paletteCounter].getPalette(),o=this.arrayMove(o,n.generateKeys[0],this.colorIndex),o=this.truncateGeneratedPalette(o,n.palette),g.paletteCounter++;else{var i=r(3*Math.random())+1;if(1===i){var d=internalPalettes[r(Math.random()*internalPalettes.length)],c=new Palettes;o=c[d](l)}else if(2===i){var p=colorSchemeMethods[r(Math.random()*colorSchemeMethods.length)];o=l[p]()}else{var m=this.randomArray(4,5);m.unshift(0),o=l.schemeFromDegrees(m)}o=this.randomizePalette(o,[0]),o=this.formatPaletteToUnchanged(o,n.generateKeys[0]),o=this.truncateGeneratedPalette(o,n.palette)}}var h=o.slice(0);return u.each(n.unchangedKeys,function(){h[this]=e.partialPalette[this]}),h}},{key:'truncateGeneratedPalette',value:function(e,o){for(var n=[],a=0;a<o.length;a++)n.push(e[a]);return n}},{key:'formatPaletteToUnchanged',value:function(e,o){var n=e[0],a={};return a[o]=n,a[0]=e[o],u.each(e,function(e){0===e||e!==o&&(a[e]=this)}),a=u.map(a,function(e){return[e]}),a}},{key:'partialPaletteIntoColorsPalette',value:function(e){var o=[],n=[],a=[];return u.each(e,function(e){if(this){var r=i()(this);0.9>r.getLightness()&&0.1<r.getLightness()&&0.15<r.getSaturation()?(o.push(r),a.push(e)):o.push(null),n.push(e)}else o.push(null)}),{palette:o,unchangedKeys:n,generateKeys:a}}},{key:'getPaletteFromStaticList',value:function(e){for(var o=[],n=0,a;2>n;n++){if(a=d.a[r(Math.random()*d.a.length)],a.length>=e.length)if(a.length>e.length)for(var s=0;s<e.length;s++)o.push(a[s]);else a.length===e.length&&(o=a);o.length&&(n=2)}return o}},{key:'isPaletteEmpty',value:function(e){var o=!0;return u.each(e,function(){if(this)return o=!1,!1}),o}},{key:'getGrey',value:function(){var e=i()('#FFFFFF');return e.setBlue(0).setRed(0).setGreen(0).setLightness(Math.random()).toCSS()}},{key:'colorArrayToCss',value:function(e){var o=[];return u.each(e,function(e){5<e&&o.push(this.toCSS())}),o}},{key:'generatePaletteFromPartial',value:function(e){var o=this,n=[];u.each(e,function(e,o){o&&n.push(o)});var a=[];return _.each(e,function(e){if(!e){var r=_.sample(o.fillPaletteActions),s=_.sample(n),l=_.sample(n),i;i='compliment'===r?s.shiftHue(180):'blend'===r?s.blend(l,0.5):s,a.push(i)}else a.push(e)}),a}},{key:'randomizePalette',value:function(e,o){var n=this,a=[];return u.each(e,function(e,s){if(5<=e)return!1;if(-1!==o.indexOf(e))return void a.push(s.toCSS());for(var l=0;2>l;l++){var i=void 0,d=_.sample(n.methods);i='shiftHue'===d?r(45*Math.random())+1-23:(r(20*Math.random())+1)/100,s=s[d](i),1===l&&a.push(s.toCSS())}}),a}},{key:'randomArray',value:function(e,o){for(var n=[],a=45*o,s=0;s<e;s++)n.push(r(Math.random()*a)+1-a/2);return n}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/material.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return i});var r=n('./node_modules/google-material-color-palette-json/lib/palette.js'),s=n.n(r),l=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),i=function(){function e(){a(this,e),this.paletteLayoutShades=['500','900','100','#eeeeee','#131313'],this.availableColors=_.without(_.keys(s.a),'black','white')}return l(e,[{key:'getRandomPalette',value:function(){var e=_.sample(this.availableColors);return this.getPalette(e)}},{key:'getPalette',value:function(e){var o=[],n=!0,a=!1,r;try{for(var l=this.paletteLayoutShades[Symbol.iterator](),i,d;!(n=(i=l.next()).done);n=!0)d=i.value,-1===d.indexOf('#')?-1===['black','white','#eeeeee'].indexOf(d)?o.push(s.a[e]['shade_'+d]):o.push(s.a[d]):o.push(d)}catch(e){a=!0,r=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw r}}return o}},{key:'getAllPalettes',value:function(){var e=[],o=!0,n=!1,a;try{for(var r=this.availableColors[Symbol.iterator](),s,l;!(o=(s=r.next()).done);o=!0)l=s.value,e.push(this.getPalette(l))}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}return e}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return s});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=function(){function e(){a(this,e)}return r(e,[{key:'monochromatic',value:function(e){var o=[e,e.lightenByAmount(0.3),e.darkenByAmount(0.1),e.saturateByAmount(0.5),e.lightenByAmount(0.2)];return o}},{key:'intesityAndHue',value:function(e){var o=[e,e.shiftHue(20).lightenByAmount(0.15),e.shiftHue(-20).darkenByAmount(0.2),e.shiftHue(-33).darkenByAmount(0.25),e.shiftHue(10).lightenByAmount(0.05)];return o}},{key:'complementaryScheme',value:function(e){var o=[e,e.shiftHue(180),e.shiftHue(180).lightenByAmount(0.25),e.darkenByAmount(0.25),e.lightenByAmount(0.25)];return o}},{key:'splitComplementaryScheme',value:function(e){var o=[e,e.shiftHue(150),e.shiftHue(320),e.shiftHue(320).darkenByAmount(0.25),e.lightenByAmount(0.25)];return o}},{key:'splitComplementaryCWScheme',value:function(e){var o=[e,e.shiftHue(60),e.shiftHue(210),e.darkenByAmount(0.1),e.shiftHue(60).darkenByAmount(0.15)];return o}},{key:'triadicScheme',value:function(e){var o=[e,e.shiftHue(60),e.shiftHue(240),e.shiftHue(60).lightenByAmount(0.2),e.lightenByAmount(0.15)];return o}},{key:'tetradicScheme',value:function(e){var o=[e,e.shiftHue(90),e.shiftHue(180),e.shiftHue(270),e.saturateByAmount(-0.25)];return o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/renderer.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return g}),n.d(o,'b',function(){return g});var r=n('./node_modules/@boldgrid/controls/src/controls/color/scss/control.scss'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/color/js/control.js'),i=n('./node_modules/@boldgrid/controls/src/controls/color/js/config.js'),d=n('./node_modules/@boldgrid/controls/src/controls/color/js/button.js'),c=n('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),p=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),u=window.jQuery,g=function(){function e(o){a(this,e),this.preloadedFiles=!1,this.initialCompilesDone=!1,this.initialCompileCount=0,this.configs=_.defaults(o||{},{sassFiles:[],defaultSassFiles:['color-palette-scss/classes/color-classes.scss']}),this.configs.sassFiles=this.configs.sassFiles.concat(this.configs.defaultSassFiles),this.sassCompiler=new c.a(this.configs.sass||{}),this.buttonColors=new d.a({sassCompiler:this.sassCompiler})}return p(e,[{key:'init',value:function(){return this._preloadFiles()}},{key:'initialCompiles',value:function(e){var o=this,n=u.Deferred(),a=window.BOLDGRID.COLOR_PALETTE.Modify.getScss();return this.sassCompiler.compile(a,{source:'setup'}).done(function(){e>o.compileCount?(o.compileCount++,o.initialCompiles(e)):(o.initialCompilesDone=!0,n.resolve())}),n}},{key:'setPaletteSettings',value:function(e){this.palettes=this._createPaletteSetting(e),this.formatConfig()}},{key:'formatConfig',value:function(){this.palettes.saved_palettes=this.palettes.saved_palettes||[],this.palettes.palettes=this.palettes.saved_palettes.concat(this.palettes.palettes),this.palettes.hasNeutralColor=this.palettes.palettes[0]['neutral-color']?1:0,this.palettes.colorPaletteColumns=this.palettes['color-palette-size']+this.palettes.hasNeutralColor,this.assignNeutral()}},{key:'assignNeutral',value:function(){var e=!0,o=!1,n;try{for(var a=this.palettes.palettes[Symbol.iterator](),r,s;!(e=(r=a.next()).done);e=!0)s=r.value,s['neutral-color']&&s.colors.push(s['neutral-color'])}catch(e){o=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(o)throw n}}}},{key:'getImportString',value:function(){var e='',o=!0,n=!1,a;try{for(var r=this.configs.sassFiles[Symbol.iterator](),s,l;!(o=(s=r.next()).done);o=!0)l=s.value,e+='@import "'+l+'";'}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}return e}},{key:'render',value:function(e,o){var n,a;return this.setPaletteSettings(o),a=this._createHtml(),n=u(a),e.append(a),window.BOLDGRID.COLOR_PALETTE.Modify.init(n,{renderer:this}),this.$control=n,n}},{key:'_createHtml',value:function(){var e=n('./node_modules/@boldgrid/controls/src/controls/color/template.html');return _.template(e)({config:this.palettes})}},{key:'_preloadFiles',value:function(){var e=this,o=u.Deferred(),n=this.configs.sassFiles.concat(this.buttonColors.files);return this.sassCompiler.preload(n).done(function(){e.preloadedFiles=!0,o.resolve(n)}),o}},{key:'_createPaletteSetting',value:function(e){var o=new i.a;return e=e?o.mergeDefaults(e):o.createSimpleConfig(),u.extend(!0,{},e)}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/selection.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return h});var r=n('./node_modules/@boldgrid/controls/src/controls/color/scss/selection.scss'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/color/scss/pagination.scss'),i=n.n(l),d=n('./node_modules/@boldgrid/controls/src/controls/color/js/control.js'),c=n('./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js'),p=n('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),u=n('./node_modules/@boldgrid/controls/src/controls/color/js/material.js'),g=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),m=window.jQuery,h=function(){function e(){a(this,e),this.material=new u.a,this.pageSize=6,this.maxPages=25,this.$control,this.$pagination,this.$selectedPalette,this.currentPage=0,this.currentCount=0,this.pages=[],this.colors=this._createAvailablePalettes(),this._paginatePalettes()}return g(e,[{key:'create',value:function(){return this.$control=m(n('./node_modules/@boldgrid/controls/src/controls/color/template/selection.html')),this.$paletteRows=this.$control.find('.palette-rows'),this.$pagination=this.$control.find('.bg-pagination'),this._bindEvents(),this.updatePage(this.currentPage),this.$control}},{key:'updatePage',value:function(e){this.currentPage=Math.min(e,this.maxPages),this._displayCurrentPage(),this.currPageAttr=this.currentPage,this.maxPages<=this.currentPage&&(this.currPageAttr='last'),this.$pagination.attr('data-page',this.currPageAttr)}},{key:'getSelectedPalette',value:function(){return this.$selectedPalette[0].colors}},{key:'randomSelection',value:function(){var e=this.material.getRandomPalette();return e.push('#FFF'),this._formatPalette(e)}},{key:'_createAvailablePalettes',value:function(){var e=[],o=new p.b,n=_.shuffle(c.a);n=_.union(this.material.getAllPalettes(),n);var a=!0,r=!1,s;try{for(var l=n[Symbol.iterator](),i,d;!(a=(i=l.next()).done);a=!0)d=i.value,d.push('#FFFFFF'),e.push(d)}catch(e){r=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw s}}return e}},{key:'_paginatePalette',value:function(){for(var e=[],o=this.currentCount+this.pageSize,n=this.currentCount;o>n;n++)e.push(this.colors[n]);this.currentCount=this.pageSize+this.currentCount,this.pages.push(e)}},{key:'_paginatePalettes',value:function(){for(var e=0;this.maxPages>=e;e++)this._paginatePalette()}},{key:'_displayCurrentPage',value:function(){var e=this.$paletteRows.find('[data-page-id="'+this.currentPage+'"]');if(this.$paletteRows.find('.palette-row').hide(),e.length)return void e.show();var o=this.pages[this.currentPage],n=!0,a=!1,r;try{for(var s=o[Symbol.iterator](),l;!(n=(l=s.next()).done);n=!0){var i=l.value,d=this._createPaletteRow(i);this.$paletteRows.append(d)}}catch(e){a=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}}},{key:'_bindEvents',value:function(){var e=this;this.$paletteRows.on('click','.palette-row',function(o){e._activate(m(o.currentTarget))}),this.$control.find('.next a').on('click',function(o){o.preventDefault(),e.updatePage(e.currentPage+1)}),this.$control.find('.prev a').on('click',function(o){o.preventDefault(),e.updatePage(e.currentPage-1)})}},{key:'_activate',value:function(e){var o=this.$control.find('.selected-palette');this.$selectedPalette=e,o.find('.palette-row').replaceWith(e.clone()),o.addClass('active'),this.$paletteRows.find('.active').removeClass('active'),this.selectedPalette=e.addClass('active'),this.$control.trigger('palette-selection',{palette:this.getSelectedPalette()})}},{key:'_formatPalette',value:function(e){var o=e.pop();return{colors:e,"neutral-color":o}}},{key:'_createPaletteRow',value:function(e){var o=m('<ul class="palette-row" data-page-id="'+this.currentPage+'">'),n=!0,a=!1,r,s;try{for(var l=e[Symbol.iterator](),i,d;!(n=(i=l.next()).done);n=!0)d=i.value,r=m('<li>').css('background-color',d),o.append(r)}catch(e){a=!0,s=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw s}}return o[0].colors=this._formatPalette(e),o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/transitions.js":function(e,o,n){'use strict';var a=n('./node_modules/color-js/color.js'),r=n.n(a),s=window.jQuery,l=s(window),i,d;window.BOLDGRID=window.BOLDGRID||{},window.BOLDGRID.COLOR_PALETTE=window.BOLDGRID.COLOR_PALETTE||{},window.BOLDGRID.COLOR_PALETTE.Modify=window.BOLDGRID.COLOR_PALETTE.Modify||{},d=window.BOLDGRID.COLOR_PALETTE.Modify,i=d,d.getPreviewerBody=function(){return i.configs.enableCustomizerTransitions?s(wp.customize.previewer.container).find('iframe').last().contents().find('body'):s()},d.addColorTransition=function(){var e=new Date().getTime(),o;i.configs.enableCustomizerTransitions&&(o=d.getPreviewerBody(),o.addClass('color-palette-transitions duration-long'),i.lastTransitionTime=e,setTimeout(function(){i.lastTransitionTime===e&&o.removeClass('color-palette-transitions duration-long')},600))},d.bindTransitions=function(){i.configs.enableCustomizerTransitions&&i.$palette_control_wrapper.on('click','.boldgrid-active-palette li',function(o){var e=s(this),n=e.css('background-color'),a=!1,c=350,p=0.4,u,g,m,h;i.fadeEffectInProgress||!o.originalEvent||(m=d.getPreviewerBody(),i.hasNeutral&&e.is(':last-of-type')&&(a=!0),g=r()(n),g.getLuminance()>0.5?(u=g.darkenByAmount(p),u=u.toCSS()):(u=g.lightenByAmount(p),u=u.toCSS()),e.css('background-color',u),a&&e.closest('.boldgrid-active-palette').attr('data-neutral-color',u),m.addClass('color-palette-transitions'),d.update_theme_option(),e.css('background-color',n),a&&e.closest('.boldgrid-active-palette').attr('data-neutral-color',n),h=new Date().getTime(),i.fadeEffectInProgress=!0,l.one('boldgrid_sass_compile_done',function(){var e=0,o=new Date().getTime()-h;o<c&&(e=c),l.one('boldgrid_sass_compile_done',function(o,n){setTimeout(function(){d.update_iframe(n),setTimeout(function(){m.removeClass('color-palette-transitions'),i.fadeEffectInProgress=!1},250)},e)}),d.update_theme_option({source:'color_palette_focus'})}))})}},"./node_modules/@boldgrid/controls/src/controls/color/scss/control.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/scss/pagination.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/scss/selection.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/template.html":function(e){e.exports='<div class="bgctrl-color-palette boldgrid-control"> <h3>Active Palette</h3> <div class="boldgrid-color-palette-wrapper color-palette-columns-<%=config.colorPaletteColumns %>" data-color-formats=\'["<%=config.palette_formats %>"]\' data-has-neutral="<%=config.hasNeutralColor %>" data-num-colors="<%=config.colorPaletteColumns %>"> <%\n\t_.each( config.palettes, function ( palette, name ) { %> <div data-palette-wrapper=true> <ul class=boldgrid-inactive-palette data-is-default="<%= ~~palette.default %>" data-is-active="<%= ~~palette.isActive %>" data-color-palette-format="<%=palette.format %>" data-copy-on-mod="<%= ~~palette.copyOnMod %>" data-palette-id="<%=palette.palette_id %>" <% if ( palette[\'neutral-color\'] ) { %> data-neutral-color="<%= palette[\'neutral-color\'] %>" <% } %> > <li class=boldgrid-palette-colors> <% _.each( palette.colors, function ( color ) { %> <span data-color="<%=color %>" style="background: <%=color %>"></span> <% } ); %> <div class=boldgrid-duplicate-dashicons> <span class="dashicons dashicons-admin-post boldgrid-copy-palette" title="Save Palette"></span> <span class="dashicons dashicons-no boldgrid-remove-palette" title="Remove Palette"></span> </div> </li> </ul> </div> <% } ); %> <div class="palette-action-buttons hidden"> <button class="button button-primary palette-creator-button palette-generator-button" type=button>Suggest Palettes</button> <div class=color-picker data-value=ffffff></div> <input type=textarea class="hidden palette-option-field"/> <div class=generate-palettes-selection-section> <h3>Suggested Palettes</h3> <div class=generated-palettes-container></div> <input type=button class="button cancel-generated-palettes-button" value=Done> </div> <div class=saved-palettes-divider> <h3>Saved Palettes</h3> </div> </div> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/color/template/selection.html":function(e){e.exports='<div class=palette-selection> <h3>Choose a palette</h3> <p> Your chosen color palette will be used for default color selection. You can fully customize these colors later. </p> <div class=selected-palette> <div class=unselected> Select a Palette Below </div> <div class=selected> <p>Selected Palette</p> <ul class=palette-row> </ul> </div> </div> <div class=palette-rows> </div> <div class=bg-pagination> <div class=prev><a href=#>Previous</a></div> <div class=next><a href=#>Next</a></div> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/device-visibility/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return c});var r=n('./node_modules/@boldgrid/controls/src/controls/device-visibility/template.html'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/checkbox/index.js'),i=function(){function e(e,o){var n=[],a=!0,r=!1,s;try{for(var l=e[Symbol.iterator](),i;!(a=(i=l.next()).done)&&(n.push(i.value),!(o&&n.length===o));a=!0);}catch(e){r=!0,s=e}finally{try{!a&&l['return']&&l['return']()}finally{if(r)throw s}}return n}return function(o,n){if(Array.isArray(o))return o;if(Symbol.iterator in Object(o))return e(o,n);throw new TypeError('Invalid attempt to destructure non-iterable instance')}}(),d=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),c=function(){function e(o){a(this,e),this.options=o||{},this.$target=this.options.target,this.template=_.template(s.a),this.checkboxConfigs=[{name:'phone-visibility',label:'Phone',class:'hidden-xs',icon:n('./node_modules/@boldgrid/controls/src/controls/device-visibility/img/phone.svg')},{name:'tablet-visibility',label:'Tablet',class:'hidden-sm',icon:n('./node_modules/@boldgrid/controls/src/controls/device-visibility/img/tablet.svg')},{name:'desktop-visibility',label:'Desktop',class:'hidden-md',icon:n('./node_modules/@boldgrid/controls/src/controls/device-visibility/img/desktop.svg')},{name:'large-visibility',label:'Large Displays',class:'hidden-lg',icon:n('./node_modules/@boldgrid/controls/src/controls/device-visibility/img/large.svg')}]}return d(e,[{key:'render',value:function(){return this.$control=$(this.template()),this._appendCheckboxes(),this.$control}},{key:'_appendCheckboxes',value:function(){var e=this.$control.find('.checkboxes'),o=!0,n=!1,a;try{for(var r=this.checkboxConfigs.entries()[Symbol.iterator](),s;!(o=(s=r.next()).done);o=!0){var d=i(s.value,2),c=d[0],p=d[1];this.checkboxConfigs[c].control=new l.a(p),e.append(this.checkboxConfigs[c].control.render()),this._preset(p),this._bind(p)}}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}}},{key:'_allChecked',value:function(){return 0===this.$control.find('.checkboxes input:not(:checked)').length}},{key:'_preset',value:function(e){this.$target.hasClass(e.class)&&e.control.$input.prop('checked',!0)}},{key:'_bind',value:function(e){var o=this,n=e.control.$input;n.on('change',function(){var a=n.prop('checked');return o._allChecked()?void n.prop('checked',!1):void(a?o.$target.addClass(e.class):o.$target.removeClass(e.class))})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/device-visibility/img/desktop.svg":function(e){e.exports='<svg fill="#000000" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path d="M0 0h24v24H0V0z" id="a"></path></defs><clipPath id="b"><use overflow="visible" xlink:href="#a"></use></clipPath><path clip-path="url(#b)" d="M20 18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"></path></svg>'},"./node_modules/@boldgrid/controls/src/controls/device-visibility/img/large.svg":function(e){e.exports='<svg fill="#000000" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"></path><path d="M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.1-.9-2-2-2zm0 14H3V5h18v12z"></path></svg>'},"./node_modules/@boldgrid/controls/src/controls/device-visibility/img/phone.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" viewBox="0 0 24 24"><path d="M16 1H8C6.34 1 5 2.34 5 4v16c0 1.66 1.34 3 3 3h8c1.66 0 3-1.34 3-3V4c0-1.66-1.34-3-3-3zm-2 20h-4v-1h4v1zm3.25-3H6.75V4h10.5v14z"></path><path d="M0 0h24v24H0z" fill="none"></path></svg>'},"./node_modules/@boldgrid/controls/src/controls/device-visibility/img/tablet.svg":function(e){e.exports='<svg fill="#000000" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"></path><path d="M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 1.99-.9 1.99-2L23 6c0-1.1-.9-2-2-2zm-2 14H5V6h14v12z"></path></svg>'},"./node_modules/@boldgrid/controls/src/controls/device-visibility/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/device-visibility/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/device-visibility/template.html":function(e){e.exports='<div class="boldgrid-control device-visibility-control"> <h3 class=control-title>Responsive Utilities</h3> <p>By default this element is visibile on all devices. You can hide this element on any of the following devices.</p> <div class=checkboxes> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/color/index.js');n.d(o,'e',function(){return a.ColorPalette}),n.d(o,'f',function(){return a.Selection}),n.d(o,'j',function(){return a.Config});var r=n('./node_modules/@boldgrid/controls/src/controls/device-visibility/index.js');n.d(o,'g',function(){return r.a});var s=n('./node_modules/@boldgrid/controls/src/controls/padding/index.js');n.d(o,'i',function(){return s.Padding});var l=n('./node_modules/@boldgrid/controls/src/controls/border/index.js');n.d(o,'b',function(){return l.a});var i=n('./node_modules/@boldgrid/controls/src/controls/margin/index.js');n.d(o,'h',function(){return i.a});var d=n('./node_modules/@boldgrid/controls/src/controls/border-radius/index.js');n.d(o,'c',function(){return d.a});var c=n('./node_modules/@boldgrid/controls/src/controls/box-shadow/index.js');n.d(o,'d',function(){return c.a});var p=n('./node_modules/@boldgrid/controls/src/controls/slider/index.js'),u=n('./node_modules/@boldgrid/controls/src/controls/animation/index.js');n.d(o,'a',function(){return u.a});var g=n('./node_modules/@boldgrid/controls/src/controls/style/index.js');n.d(o,'k',function(){return g.Updater});({Color:n('./node_modules/@boldgrid/controls/src/controls/color/index.js'),Style:n('./node_modules/@boldgrid/controls/src/controls/style/index.js'),Padding:n('./node_modules/@boldgrid/controls/src/controls/padding/index.js')})},"./node_modules/@boldgrid/controls/src/controls/margin/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/margin/margin.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/margin/margin.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}n.d(o,'a',function(){return i});var l=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=function(e){function o(e){a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return n.controlOptions={control:{title:'Margin',name:'margin',units:{default:'px',enabled:['px','em','%']},sliders:[{name:'top',label:'Top',cssProperty:'margin-top'},{name:'right',label:'Right',cssProperty:'margin-right'},{name:'bottom',label:'Bottom',cssProperty:'margin-bottom'},{name:'left',label:'Left',cssProperty:'margin-left'}]},slider:{px:{min:-100,max:100,step:1},"%":{min:-20,max:20,step:0.1},em:{min:-5,max:5,step:0.1}}},n}return s(o,e),o}(l.a)},"./node_modules/@boldgrid/controls/src/controls/multi-slider/config.js":function(e,o){'use strict';o.a={defaults:{control:{title:'Universal',linkable:!0,units:{default:'percentage',enabled:['px','percentage','em']},sliders:[{name:'top',label:'Top',cssProperty:'border-top-width'},{name:'right',label:'Right',cssProperty:'border-right-width'},{name:'bottom',label:'Bottom',cssProperty:'border-bottom-width'},{name:'left',label:'Left',cssProperty:'border-left-width'}]},slider:{px:{min:0,max:100},"%":{min:0,max:100},em:{min:0.1,max:5}}}}},"./node_modules/@boldgrid/controls/src/controls/multi-slider/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return v});var r=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/style.scss'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/slider/index.js'),i=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/conversion.js'),d=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/template.html'),c=n.n(d),p=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/config.js'),u=n('./node_modules/deepmerge/dist/es.js'),g=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/img/refresh.svg'),m=n.n(g),h=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/img/link.svg'),b=n.n(h),f=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),C=window.jQuery,v=function(){function e(o){if(a(this,e),this.options=o||{},this.slidersLinked=!1,this.$target=this.options.target,this.template=_.template(c.a),!this.$target)throw Error('Your must define a target element')}return f(e,[{key:'mergeDefaultConfigs',value:function(){this.controlOptions=Object(u.a)(p.a.defaults,this.controlOptions,{arrayMerge:function(e,o){return o}})}},{key:'render',value:function(){return this.mergeDefaultConfigs(),this.controlOptions.svg={},this.controlOptions.svg.link=b.a,this.controlOptions.svg.refresh=m.a,this.$control=C(this.template(this.controlOptions)),this.$sliderGroup=this.$control.find('.slider-group'),this.$units=this.$control.find('.unit'),this.$revert=this.$control.find('.refresh'),this._bindUnits(),this.setUnits(this.controlOptions.control.units.default),this._createSliders(),this.$links=this.$control.find('.link'),this._storeDefaultValues(),this._setDefaultLinkedState(),this._bindLinked(),this._bindRevert(),this.$control}},{key:'applySettings',value:function(e){for(var o in this.setUnits(e.unit),e.values){var n=e.values[o];this.sliders[o].$slider.slider('option','value',n)}}},{key:'updateTarget',value:function(e){this.$target=e}},{key:'setUnits',value:function(e){this.$units.filter('[value="'+e+'"]').prop('checked',!0).change()}},{key:'getValues',value:function(){var e={};for(var o in this.sliders)e[o]=this.sliders[o].$slider.slider('value')||0;return e}},{key:'getSliderConfig',value:function(e){var o=this.controlOptions.slider[this.selectedUnit],n=this.convertToSelectedUnit(this.$target.css(e.cssProperty));return o.value=n,o}},{key:'convertToSelectedUnit',value:function(e){var o=parseInt(e),n=o;return'%'===this.selectedUnit?n=new i.a().pxToPercentage(o,this.$target.parent()):'em'===this.selectedUnit&&(n=new i.a().pxToEm(o,this.$target.css('font-size'))),n}},{key:'_createSliders',value:function(){this.sliders={};var e=!0,o=!1,n;try{for(var a=this.controlOptions.control.sliders[Symbol.iterator](),r;!(e=(r=a.next()).done);e=!0){var s=r.value,i=void 0;s.uiSettings=this.getSliderConfig(s),i=new l.a(C.extend(!0,{},s)),i.render(),this.$sliderGroup.append(i.$control),i.$input.after('<a class="link" href="#" title="Link all sliders">'+b.a+'</a>'),this.sliders[s.name]=i,this._bindSliderChange(i)}}catch(e){o=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(o)throw n}}}},{key:'_storeDefaultValues',value:function(){this.defaultValues={unit:this.controlOptions.control.units.default,values:this.getValues()}}},{key:'_bindRevert',value:function(){var e=this;this.$revert.on('click',function(o){o.preventDefault(),e.applySettings(e.defaultValues)})}},{key:'_bindUnits',value:function(){var o=this;this.$control.find('.unit').on('change',function(n){var e=C(n.target);o.selectedUnit=e.val(),o.sliders&&o._unitsChanged()})}},{key:'_unitsChanged',value:function(){var e=this;this.linkedDisabled=!0,this._resetOptions(),setTimeout(function(){e.linkedDisabled=!1})}},{key:'refreshValues',value:function(){var e=this;this.slideChangeDisabled=!0,this._resetOptions(),setTimeout(function(){e.slideChangeDisabled=!1})}},{key:'_resetOptions',value:function(){var e=!0,o=!1,n;try{for(var a=this.controlOptions.control.sliders[Symbol.iterator](),r;!(e=(r=a.next()).done);e=!0){var s=r.value,l=this.getSliderConfig(s);this.sliders[s.name].$slider.slider('option',l)}}catch(e){o=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(o)throw n}}}},{key:'_setDefaultLinkedState',value:function(){if(this.controlOptions.control.linkable){var e=_.unique(_.values(this.getValues()));this.slidersLinked=1===e.length}}},{key:'_bindLinked',value:function(){var e=this;this.slidersLinked&&this.$links.addClass('linked'),this.$links.on('click',function(o){var n=C(o.target).closest('a');o.preventDefault(),n.toggleClass('linked'),e.slidersLinked=n.hasClass('linked'),e.$control.trigger('linked',{isLinked:e.slidersLinked})})}},{key:'_updateLinked',value:function(e){var o=this;this.slidersLinked&&!this.linkedDisabled&&(this.linkedDisabled=!0,_.each(this.sliders,function(o){e!==o&&o.$slider.slider('value',e.$slider.slider('value'))})),setTimeout(function(){o.linkedDisabled=!1})}},{key:'_updateCss',value:function(e){var o={};o[e.options.cssProperty]=e.$slider.slider('value')+this.selectedUnit,this.applyCssRules(o)}},{key:'applyCssRules',value:function(e){this.$target.css(e)}},{key:'_bindSliderChange',value:function(e){var o=this;e.$control.on('slide-change',function(){o.slideChangeDisabled||(o._updateLinked(e),o._updateCss(e))})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/multi-slider/conversion.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return s});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=function(){function e(){a(this,e)}return r(e,[{key:'pxToEm',value:function(e,o){var n=0;return o=o?parseInt(o):0,e=e?parseInt(e):0,o&&e&&(n=(e/o).toFixed(1)),n}},{key:'pxToPercentage',value:function(e,o){var n=o.width();return 100*(e/n)}},{key:'percentageToPixel',value:function(e,o){var n=o.width();return n*(e/100)}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/multi-slider/img/link.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125"><path d="M25.278 63.41L8.788 46.92c-5.095-5.093-7.9-11.865-7.9-19.068 0-7.203 2.805-13.975 7.9-19.067C13.877 3.692 20.65.887 27.852.887c7.203 0 13.975 2.805 19.067 7.898l16.49 16.49-7.07 7.07-16.49-16.49c-3.205-3.204-7.465-4.968-11.997-4.968-4.53 0-8.792 1.765-11.996 4.97-3.205 3.203-4.97 7.463-4.97 11.995 0 4.532 1.765 8.792 4.97 11.997l16.49 16.488-7.07 7.072zM72.146 99.1c-6.905 0-13.81-2.63-19.066-7.885L36.59 74.722l7.07-7.07 16.49 16.492c6.616 6.614 17.38 6.613 23.994 0 6.613-6.615 6.613-17.38 0-23.994l-16.49-16.49 7.07-7.07 16.49 16.49c10.513 10.513 10.513 27.62 0 38.135C85.96 96.47 79.053 99.1 72.147 99.1z"></path><g><path d="M33.976 26.903L73.094 66.02l-7.07 7.07-39.12-39.116z"></path></g></svg>'},"./node_modules/@boldgrid/controls/src/controls/multi-slider/img/refresh.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M40.639,73.679c-6.373-6.379-9.324-14.869-8.893-23.215h15.467L23.606,26.857L0,50.464h14.714 c-0.04,9.1,3.371,18.217,10.313,25.162C35.904,86.506,52.097,88.77,65.234,82.5C56.451,83.343,47.368,80.406,40.639,73.679z"></path><path d="M85.286,50.486c0.04-9.1-3.371-18.217-10.313-25.162c-10.877-10.88-27.075-13.144-40.207-6.871 c8.783-0.845,17.866,2.091,24.59,8.818c6.379,6.379,9.33,14.869,8.898,23.215H52.781l23.606,23.609L100,50.486H85.286z"></path></g></svg>'},"./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/multi-slider/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/multi-slider/template.html":function(e){e.exports='<div class="directional-control <%=control.name %>-control boldgrid-control" data-linkable="<%= control.linkable %>"> <h3 class=control-name><%=control.title %><a href=# class=refresh title="Reset to Default"><%= svg.refresh %></a></h3> <p class=units> <% if ( -1 !== control.units.enabled.indexOf( \'px\' ) ) { %> <label title="Pixel Unit"><input type=radio name="<%=control.name %>-unit" class=unit value=px><span>PX</span></label> <% } %> <% if ( -1 !== control.units.enabled.indexOf( \'em\' ) ) { %> <label title="Em Unit"><input type=radio name="<%=control.name %>-unit" class=unit value=em><span>EM</span></label> <% } %> <% if ( -1 !== control.units.enabled.indexOf( \'%\' ) ) { %> <label title="Percentage Unit"><input type=radio name="<%=control.name %>-unit" class=unit value=%><span>%</span></label> <% } %> </p> <div class=slider-group> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/padding/index.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./node_modules/@boldgrid/controls/src/controls/padding/padding.js');n.d(o,'Padding',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/padding/padding.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}n.d(o,'a',function(){return i});var l=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=function(e){function o(e){a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return n.controlOptions={control:{title:'Padding',name:'padding',units:{default:'em',enabled:['px','em','%']},sliders:[{name:'top',label:'Top',cssProperty:'padding-top'},{name:'right',label:'Right',cssProperty:'padding-right'},{name:'bottom',label:'Bottom',cssProperty:'padding-bottom'},{name:'left',label:'Left',cssProperty:'padding-left'}]},slider:{px:{min:0,max:100,step:1},"%":{min:0,max:20,step:0.1},em:{min:0,max:5,step:0.1}}},n}return s(o,e),o}(l.a)},"./node_modules/@boldgrid/controls/src/controls/slider/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return p});var r=n('./node_modules/@boldgrid/controls/src/controls/slider/template.html'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/slider/style.scss'),i=n.n(l),d=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),c=window.jQuery,p=function(){function e(o){a(this,e),this.options=_.defaults(o||{},{name:'slider-name',label:'Slider Title',uiSettings:{min:0,max:100}}),this.template=_.template(s.a)}return d(e,[{key:'render',value:function(){return this.$control=c(this.template(this.options)),this.$input=this.$control.find('input'),this.$slider=this.$control.find('.slider'),this._bindInput(),this._bindSlider(),this.$control}},{key:'_bindInput',value:function(){var e=this;this.$input.on('input',function(){var o=e.$input.val();o=Math.min(e.$input.val(),e.$slider.slider('option','max')),o=Math.max(o,e.$slider.slider('option','min')),e.$input.val(o),e.$slider.slider('value',o)})}},{key:'_updateInput',value:function(){this.$input.val(this.$slider.slider('value'))}},{key:'getSliderConfig',value:function(){return this.options.uiSettings}},{key:'_bindSlider',value:function(){var e=this;this.$slider.slider(_.defaults(this.getSliderConfig(this.$slider.data('name')),{animate:'fast',slide:function(){return e._onSliderChange()},change:function(){return e._onSliderChange()}})),this._updateInput(this.$slider)}},{key:'_onSliderChange',value:function(){this._updateInput(this.$slider),this.$control.trigger('slide-change',{name:this.options.name,value:this.$slider.slider('value')})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/slider/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/slider/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/slider/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/slider/template.html":function(e){e.exports='<div class="boldgrid-control slider-control"> <label><%= label %></label> <div class=slider-wrap> <div class=slider data-name="<%= name %>"></div> <input class=number type=number name="<%= name %>"> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/style/index.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js');n.d(o,'SassCompiler',function(){return a.a});var r=n('./node_modules/@boldgrid/controls/src/controls/style/js/updater.js');n.d(o,'Updater',function(){return r.a})},"./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return c});var r=n('./node_modules/sass.js/dist/sass.js'),s=n.n(r),l=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),i=window.jQuery,d=d||{};d.Sass=d.Sass||{};var c=function(){function e(o){return a(this,e),d.Sass&&d.Sass.instance?d.Sass.instance:void this.init(o)}return l(e,[{key:'init',value:function(e){this.instance=this,this.options=_.defaults(e||{},{enableLogging:!1,basePath:'../scss/',workerURL:'./static/sass.worker.js'}),this.processing=!1,this.compileCount=0,this.log={},this.$window=i(window),this.compileDone=i.Event('boldgrid_sass_compile_done'),s.a.setWorkerUrl(this.options.workerURL),this.compiler=new s.a(this.options.workerURL),this.compiler.options({comments:!1,indent:'',linefeed:'',style:s.a.style.compressed}),d.Sass=this}},{key:'compile',value:function(e,o){var n=this,a=i.Deferred();return o=o||{},this.processing=!0,this.compileCount++,this.options.enableLogging&&(this.log.startTime=new Date().getTime()),this.compiler.compile(e,function(r){var s={result:r,scss:e,source:o.source,options:o};n.processing=!1,0!==r.status&&console.error(r.formatted),'setup'!==s.source&&n.$window.trigger(n.compileDone,s),n.outputLogs(r,e),a.resolve(s)}),a}},{key:'outputLogs',value:function(e,o){if(this.options.enableLogging){var n;this.log.endTime=new Date().getTime(),n=this.log.endTime-this.log.startTime,console.log(n,' milliseconds'),console.log(e),console.log(o)}}},{key:'resetCompiler',value:function(){50<this.compileCount&&(this.compileCount=0,s.a.setWorkerUrl(this.options.workerURL),this.compiler&&(this.compiler.destroy(),this.compiler=null),this.compiler=new s.a(this.options.workerURL))}},{key:'preload',value:function(e){var o=i.Deferred();return this.compiler.preloadFiles(this.options.basePath,'',e,function(e){o.resolve(e)}),o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/style/js/updater.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return l});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=jQuery,l=function(){function e(o){a(this,e),this.$head=s(o).find('head'),this.registeredStyles=[],this.stylesState=[]}return r(e,[{key:'setup',value:function(){this._loadStyles()}},{key:'getStylesheetCss',value:function(){var e='',o=!0,n=!1,a;try{for(var r=this.stylesState[Symbol.iterator](),s,l;!(o=(s=r.next()).done);o=!0)l=s.value,e+=l.css}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}return e}},{key:'register',value:function(e){if(!e.id)throw'Register Sass: Must Provide Name value.';return this.registeredStyles.push(_.defaults(e,{priority:50})),_.last(this.registeredStyles)}},{key:'loadSavedConfig',value:function(e){e=JSON.parse(JSON.stringify(e));var o=!0,n=!1,a;try{for(var r=e[Symbol.iterator](),s,l;!(o=(s=r.next()).done);o=!0)l=s.value,this.register(l)}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}}},{key:'update',value:function(e){var o=_.find(this.stylesState,function(o){return o.id===e.id});o||(o=this._createState(e)),o.$tag.html(e.css),o.css=e.css,o.scss=e.scss}},{key:'addAllStyles',value:function(){var e=!0,o=!1,n;try{for(var a=this.stylesState[Symbol.iterator](),r,s;!(e=(r=a.next()).done);e=!0)s=r.value,s.$tag=this.createStyleTag(s.id),s.$tag.html(s.css),this.$head.append(s.$tag)}catch(e){o=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(o)throw n}}}},{key:'createStyleTag',value:function(e){return s('<style type="text/css" id="'+e+'"></style>')}},{key:'_loadStyles',value:function(){var e=!0,o=!1,n;try{for(var a=this.registeredStyles[Symbol.iterator](),r,s;!(e=(r=a.next()).done);e=!0)s=r.value,this._pushComponent(s)}catch(e){o=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(o)throw n}}this._sort(),this.addAllStyles()}},{key:'_pushComponent',value:function(e){this.stylesState.push(e)}},{key:'_createState',value:function(e){return e=this.register(e),this._pushComponent(e),this._sort(),this._insertNewtag(e),e}},{key:'_insertNewtag',value:function(e){var o,n;n=_.findIndex(this.stylesState,function(o){return o.id===e.id}),e.$tag=this.createStyleTag(e.id),o=n-1,-1===o?this.$head.append(e.$tag):this.stylesState[o].$tag.after(e.$tag)}},{key:'_sort',value:function(){this.stylesState=_.sortBy(this.stylesState,'priority')}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/switch/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return p});var r=n('./node_modules/@boldgrid/controls/src/controls/switch/template.html'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/switch/style.scss'),i=n.n(l),d=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),c=window.jQuery,p=function(){function e(o){a(this,e),this.options=_.defaults(o||{},{name:_.random(0,1e4),label:'Off / On'}),this.template=_.template(s.a)}return d(e,[{key:'render',value:function(){return this.$element=c(this.template(this.options)),this.$input=this.$element.find('input'),this.$element}},{key:'isEnabled',value:function(){return this.$input.prop('checked')}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/switch/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/switch/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/switch/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/switch/template.html":function(e){e.exports='<div class="bg-control-switch <%=name %>-switch boldgrid-control"> <div class=mdc-switch> <input type=checkbox id="<%=name %>-switch" class=mdc-switch__native-control /> <div class=mdc-switch__background> <div class=mdc-switch__knob></div> </div> </div> <label for="<%=name %>-switch" class=mdc-switch-label><%=label %></label> </div> '},"./node_modules/animate.css/animate-config.json":function(e){e.exports={attention_seekers:['bounce','flash','pulse','rubberBand','shake','headShake','swing','tada','wobble','jello'],bouncing_entrances:['bounceIn','bounceInDown','bounceInLeft','bounceInRight','bounceInUp'],bouncing_exits:['bounceOut','bounceOutDown','bounceOutLeft','bounceOutRight','bounceOutUp'],fading_entrances:['fadeIn','fadeInDown','fadeInDownBig','fadeInLeft','fadeInLeftBig','fadeInRight','fadeInRightBig','fadeInUp','fadeInUpBig'],fading_exits:['fadeOut','fadeOutDown','fadeOutDownBig','fadeOutLeft','fadeOutLeftBig','fadeOutRight','fadeOutRightBig','fadeOutUp','fadeOutUpBig'],flippers:['flip','flipInX','flipInY','flipOutX','flipOutY'],lightspeed:['lightSpeedIn','lightSpeedOut'],rotating_entrances:['rotateIn','rotateInDownLeft','rotateInDownRight','rotateInUpLeft','rotateInUpRight'],rotating_exits:['rotateOut','rotateOutDownLeft','rotateOutDownRight','rotateOutUpLeft','rotateOutUpRight'],specials:['hinge','rollIn','rollOut'],zooming_entrances:['zoomIn','zoomInDown','zoomInLeft','zoomInRight','zoomInUp'],zooming_exits:['zoomOut','zoomOutDown','zoomOutLeft','zoomOutRight','zoomOutUp'],sliding_entrances:['slideInDown','slideInLeft','slideInRight','slideInUp'],sliding_exits:['slideOutDown','slideOutLeft','slideOutRight','slideOutUp']}},"./node_modules/animate.css/animate.css":function(){},"./node_modules/color-js/color.js":function(e){var o=Math.max,n=Math.min;if('undefined'==typeof a)var a={};a.brehaut||(a.brehaut={}),function(){'use strict';function e(e,n){e=e.toString();for(var a=[],r=0,s=o(n-e.length,0);r<s;r++)a.push('0');return a.push(e),a.join('')}function r(e){return e.slice(0,1).toUpperCase()+e.slice(1)}function s(e){return e.replace(/^\s+|\s+#x2F;g,'')}function l(e){return function(){var o=this.clone();return e.apply(o,arguments),o}}function i(e,o){function n(e){return function(){return e.apply(this[i](),arguments)}}function a(){}function s(){return new a}var l=k(E),d=[],i='to'+r(e);for(var c in o)if(o.hasOwnProperty(c)){l[c]=o[c];var p=l[c];if('_'==c.slice(0,1))continue;if(!(c in E)&&'function'==typeof p)E[c]=n(p);else if('function'!=typeof p){d.push(c);var u='get'+r(c),g='set'+r(c);E[u]=n(l[u]=function(e){return function(){return this[e]}}(c)),E[g]=n(l[g]=function(e){return function(o){var n=this.clone();return n[e]=o,n}}(c))}}return a.prototype=l,w[e]=s,l.clone=function(){for(var e=s(),o=0,n=d.length,a;o<n;o++)a=d[o],e[a]=this[a];return e},E[i]=function(){return s()},D.push(l),l}function d(e){return E.fromObject(e)}var c=Math.round,p=Math.pow,u={aliceblue:'#F0F8FF',antiquewhite:'#FAEBD7',aqua:'#00FFFF',aquamarine:'#7FFFD4',azure:'#F0FFFF',beige:'#F5F5DC',bisque:'#FFE4C4',black:'#000000',blanchedalmond:'#FFEBCD',blue:'#0000FF',blueviolet:'#8A2BE2',brown:'#A52A2A',burlywood:'#DEB887',cadetblue:'#5F9EA0',chartreuse:'#7FFF00',chocolate:'#D2691E',coral:'#FF7F50',cornflowerblue:'#6495ED',cornsilk:'#FFF8DC',crimson:'#DC143C',cyan:'#00FFFF',darkblue:'#00008B',darkcyan:'#008B8B',darkgoldenrod:'#B8860B',darkgray:'#A9A9A9',darkgrey:'#A9A9A9',darkgreen:'#006400',darkkhaki:'#BDB76B',darkmagenta:'#8B008B',darkolivegreen:'#556B2F',darkorange:'#FF8C00',darkorchid:'#9932CC',darkred:'#8B0000',darksalmon:'#E9967A',darkseagreen:'#8FBC8F',darkslateblue:'#483D8B',darkslategray:'#2F4F4F',darkslategrey:'#2F4F4F',darkturquoise:'#00CED1',darkviolet:'#9400D3',deeppink:'#FF1493',deepskyblue:'#00BFFF',dimgray:'#696969',dimgrey:'#696969',dodgerblue:'#1E90FF',firebrick:'#B22222',floralwhite:'#FFFAF0',forestgreen:'#228B22',fuchsia:'#FF00FF',gainsboro:'#DCDCDC',ghostwhite:'#F8F8FF',gold:'#FFD700',goldenrod:'#DAA520',gray:'#808080',grey:'#808080',green:'#008000',greenyellow:'#ADFF2F',honeydew:'#F0FFF0',hotpink:'#FF69B4',indianred:'#CD5C5C',indigo:'#4B0082',ivory:'#FFFFF0',khaki:'#F0E68C',lavender:'#E6E6FA',lavenderblush:'#FFF0F5',lawngreen:'#7CFC00',lemonchiffon:'#FFFACD',lightblue:'#ADD8E6',lightcoral:'#F08080',lightcyan:'#E0FFFF',lightgoldenrodyellow:'#FAFAD2',lightgray:'#D3D3D3',lightgrey:'#D3D3D3',lightgreen:'#90EE90',lightpink:'#FFB6C1',lightsalmon:'#FFA07A',lightseagreen:'#20B2AA',lightskyblue:'#87CEFA',lightslategray:'#778899',lightslategrey:'#778899',lightsteelblue:'#B0C4DE',lightyellow:'#FFFFE0',lime:'#00FF00',limegreen:'#32CD32',linen:'#FAF0E6',magenta:'#FF00FF',maroon:'#800000',mediumaquamarine:'#66CDAA',mediumblue:'#0000CD',mediumorchid:'#BA55D3',mediumpurple:'#9370D8',mediumseagreen:'#3CB371',mediumslateblue:'#7B68EE',mediumspringgreen:'#00FA9A',mediumturquoise:'#48D1CC',mediumvioletred:'#C71585',midnightblue:'#191970',mintcream:'#F5FFFA',mistyrose:'#FFE4E1',moccasin:'#FFE4B5',navajowhite:'#FFDEAD',navy:'#000080',oldlace:'#FDF5E6',olive:'#808000',olivedrab:'#6B8E23',orange:'#FFA500',orangered:'#FF4500',orchid:'#DA70D6',palegoldenrod:'#EEE8AA',palegreen:'#98FB98',paleturquoise:'#AFEEEE',palevioletred:'#D87093',papayawhip:'#FFEFD5',peachpuff:'#FFDAB9',peru:'#CD853F',pink:'#FFC0CB',plum:'#DDA0DD',powderblue:'#B0E0E6',purple:'#800080',rebeccapurple:'#663399',red:'#FF0000',rosybrown:'#BC8F8F',royalblue:'#4169E1',saddlebrown:'#8B4513',salmon:'#FA8072',sandybrown:'#F4A460',seagreen:'#2E8B57',seashell:'#FFF5EE',sienna:'#A0522D',silver:'#C0C0C0',skyblue:'#87CEEB',slateblue:'#6A5ACD',slategray:'#708090',slategrey:'#708090',snow:'#FFFAFA',springgreen:'#00FF7F',steelblue:'#4682B4',tan:'#D2B48C',teal:'#008080',thistle:'#D8BFD8',tomato:'#FF6347',turquoise:'#40E0D0',violet:'#EE82EE',wheat:'#F5DEB3',white:'#FFFFFF',whitesmoke:'#F5F5F5',yellow:'#FFFF00',yellowgreen:'#9ACD32'},g='(?:\\+|-)?\\d+',m='(?:\\+|-)?\\d*\\.\\d+',h='(?:'+g+')|(?:'+m+')';g='('+g+')',m='('+m+')',h='('+h+')';var b=h+'%',f='\\s*?',C=new RegExp(['^hsl(a?)\\(',h,',',b,',',b,'(,(',h,'))?\\)#x27;].join(f)),v=new RegExp(['^rgb(a?)\\(',g,',',g,',',g,'(,(',h,'))?\\)#x27;].join(f)),y=new RegExp(['^rgb(a?)\\(',b,',',b,',',b,'(,(',h,'))?\\)#x27;].join(f)),D=[],w={},E;this.object||(this.object=function(e){function o(){}return o.prototype=e,new o});var k=this.object;E={fromObject:function(e){if(!e)return k(E);for(var n=0,a=D.length,r;n<a;n++)if(r=D[n].fromObject(e),r)return r;return k(E)},toString:function(){return this.toCSS()}};var F=null;i('RGB',{red:0,green:0,blue:0,alpha:0,getLuminance:function(){return 0.2126*this.red+0.7152*this.green+0.0722*this.blue},blend:function(e,a){e=e.toRGB(),a=n(o(a,0),1);var r=this.clone();return r.red=r.red*(1-a)+e.red*a,r.green=r.green*(1-a)+e.green*a,r.blue=r.blue*(1-a)+e.blue*a,r.alpha=r.alpha*(1-a)+e.alpha*a,r},fromObject:function(e){return e instanceof Array?this._fromRGBArray(e):'string'==typeof e?this._fromCSS(s(e)):e.hasOwnProperty('red')&&e.hasOwnProperty('green')&&e.hasOwnProperty('blue')?this._fromRGB(e):void 0},_stringParsers:[function(e){function a(a,r){var s=e.match(a);if(!s||1===!!s[1]+!!s[5])return null;var l=w.RGB();return l.red=n(1,o(0,s[2]/r)),l.green=n(1,o(0,s[3]/r)),l.blue=n(1,o(0,s[4]/r)),l.alpha=s[5]?n(o(parseFloat(s[6]),0),1):1,l}e=s(e);var r=a(v,255);return r?r:a(y,100)},function(e){var o=e.toLowerCase();if(o in u&&(e=u[o]),!!e.match(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})#x2F;)){e=e.replace(/^#/,'');var n=e.length/3,a=p(16,n)-1,r=w.RGB();return r.red=parseInt(e.slice(0,n),16)/a,r.green=parseInt(e.slice(1*n,2*n),16)/a,r.blue=parseInt(e.slice(2*n),16)/a,r.alpha=1,r}},function(e){return'transparent'===e.toLowerCase()?F:void 0}],_fromCSS:function(e){for(var o=null,n=0,a=this._stringParsers.length;n<a;n++)if(o=this._stringParsers[n](e),o)return o},_fromRGB:function(e){var o=w.RGB();return o.red=e.red,o.green=e.green,o.blue=e.blue,o.alpha=e.hasOwnProperty('alpha')?e.alpha:1,o},_fromRGBArray:function(e){var a=w.RGB();return a.red=o(0,n(1,e[0]/255)),a.green=o(0,n(1,e[1]/255)),a.blue=o(0,n(1,e[2]/255)),a.alpha=void 0===e[3]?1:o(0,n(1,e[3])),a},toCSSHex:function(o){o=o||2;var n=p(16,o)-1,a=['#',e(c(this.red*n).toString(16).toUpperCase(),o),e(c(this.green*n).toString(16).toUpperCase(),o),e(c(this.blue*n).toString(16).toUpperCase(),o)];return a.join('')},toCSS:function(e){if(1===this.alpha)return this.toCSSHex(e);var a=255,r=['rgba(',o(0,n(a,c(this.red*a))),',',o(0,n(a,c(this.green*a))),',',o(0,n(a,c(this.blue*a))),',',o(0,n(1,this.alpha)),')'];return r.join('')},toHSV:function(){var e=w.HSV(),a,r,s;return a=n(this.red,this.green,this.blue),r=o(this.red,this.green,this.blue),e.value=r,s=r-a,0==s?e.hue=e.saturation=0:(e.saturation=s/r,e.hue=this.red==r?(this.green-this.blue)/s:this.green==r?2+(this.blue-this.red)/s:4+(this.red-this.green)/s,e.hue=(60*e.hue+360)%360),e.alpha=this.alpha,e},toHSL:function(){return this.toHSV().toHSL()},toRGB:function(){return this.clone()}}),F=E.fromObject({red:0,blue:0,green:0,alpha:0}),i('HSV',{hue:0,saturation:0,value:1,alpha:1,shiftHue:l(function(e){var o=(this.hue+e)%360;0>o&&(o=(360+o)%360),this.hue=o}),devalueByAmount:l(function(e){this.value=n(1,o(this.value-e,0))}),devalueByRatio:l(function(e){this.value=n(1,o(this.value*(1-e),0))}),valueByAmount:l(function(e){this.value=n(1,o(this.value+e,0))}),valueByRatio:l(function(e){this.value=n(1,o(this.value*(1+e),0))}),desaturateByAmount:l(function(e){this.saturation=n(1,o(this.saturation-e,0))}),desaturateByRatio:l(function(e){this.saturation=n(1,o(this.saturation*(1-e),0))}),saturateByAmount:l(function(e){this.saturation=n(1,o(this.saturation+e,0))}),saturateByRatio:l(function(e){this.saturation=n(1,o(this.saturation*(1+e),0))}),schemeFromDegrees:function(e){for(var o=[],n=0,a=e.length,r;n<a;n++)r=this.clone(),r.hue=(this.hue+e[n])%360,o.push(r);return o},complementaryScheme:function(){return this.schemeFromDegrees([0,180])},splitComplementaryScheme:function(){return this.schemeFromDegrees([0,150,320])},splitComplementaryCWScheme:function(){return this.schemeFromDegrees([0,150,300])},splitComplementaryCCWScheme:function(){return this.schemeFromDegrees([0,60,210])},triadicScheme:function(){return this.schemeFromDegrees([0,120,240])},clashScheme:function(){return this.schemeFromDegrees([0,90,270])},tetradicScheme:function(){return this.schemeFromDegrees([0,90,180,270])},fourToneCWScheme:function(){return this.schemeFromDegrees([0,60,180,240])},fourToneCCWScheme:function(){return this.schemeFromDegrees([0,120,180,300])},fiveToneAScheme:function(){return this.schemeFromDegrees([0,115,155,205,245])},fiveToneBScheme:function(){return this.schemeFromDegrees([0,40,90,130,245])},fiveToneCScheme:function(){return this.schemeFromDegrees([0,50,90,205,320])},fiveToneDScheme:function(){return this.schemeFromDegrees([0,40,155,270,310])},fiveToneEScheme:function(){return this.schemeFromDegrees([0,115,230,270,320])},sixToneCWScheme:function(){return this.schemeFromDegrees([0,30,120,150,240,270])},sixToneCCWScheme:function(){return this.schemeFromDegrees([0,90,120,210,240,330])},neutralScheme:function(){return this.schemeFromDegrees([0,15,30,45,60,75])},analogousScheme:function(){return this.schemeFromDegrees([0,30,60,90,120,150])},fromObject:function(e){if(e.hasOwnProperty('hue')&&e.hasOwnProperty('saturation')&&e.hasOwnProperty('value')){var o=w.HSV();return o.hue=e.hue,o.saturation=e.saturation,o.value=e.value,o.alpha=e.hasOwnProperty('alpha')?e.alpha:1,o}return null},_normalise:function(){this.hue%=360,this.saturation=n(o(0,this.saturation),1),this.value=n(o(0,this.value)),this.alpha=n(1,o(0,this.alpha))},toRGB:function(){this._normalise();var e=w.RGB(),o,n,a,r,s;if(0===this.saturation)return e.red=this.value,e.green=this.value,e.blue=this.value,e.alpha=this.alpha,e;var l=this.hue/60;switch(o=Math.floor(l),n=l-o,a=this.value*(1-this.saturation),r=this.value*(1-this.saturation*n),s=this.value*(1-this.saturation*(1-n)),o){case 0:e.red=this.value,e.green=s,e.blue=a;break;case 1:e.red=r,e.green=this.value,e.blue=a;break;case 2:e.red=a,e.green=this.value,e.blue=s;break;case 3:e.red=a,e.green=r,e.blue=this.value;break;case 4:e.red=s,e.green=a,e.blue=this.value;break;default:e.red=this.value,e.green=a,e.blue=r;}return e.alpha=this.alpha,e},toHSL:function(){this._normalise();var e=w.HSL();e.hue=this.hue;var o=(2-this.saturation)*this.value,n=this.saturation*this.value;return o&&2-o&&(n/=1>=o?o:2-o),o/=2,e.saturation=n,e.lightness=o,e.alpha=this.alpha,e},toHSV:function(){return this.clone()}}),i('HSL',{hue:0,saturation:0,lightness:0,alpha:1,darkenByAmount:l(function(e){this.lightness=n(1,o(this.lightness-e,0))}),darkenByRatio:l(function(e){this.lightness=n(1,o(this.lightness*(1-e),0))}),lightenByAmount:l(function(e){this.lightness=n(1,o(this.lightness+e,0))}),lightenByRatio:l(function(e){this.lightness=n(1,o(this.lightness*(1+e),0))}),fromObject:function(e){return'string'==typeof e?this._fromCSS(e):e.hasOwnProperty('hue')&&e.hasOwnProperty('saturation')&&e.hasOwnProperty('lightness')?this._fromHSL(e):void 0},_fromCSS:function(e){var a=s(e).match(C);if(!a||1===!!a[1]+!!a[5])return null;var r=w.HSL();return r.hue=(a[2]%360+360)%360,r.saturation=o(0,n(parseInt(a[3],10)/100,1)),r.lightness=o(0,n(parseInt(a[4],10)/100,1)),r.alpha=a[5]?o(0,n(1,parseFloat(a[6]))):1,r},_fromHSL:function(e){var o=w.HSL();return o.hue=e.hue,o.saturation=e.saturation,o.lightness=e.lightness,o.alpha=e.hasOwnProperty('alpha')?e.alpha:1,o},_normalise:function(){this.hue=(this.hue%360+360)%360,this.saturation=n(o(0,this.saturation),1),this.lightness=n(o(0,this.lightness)),this.alpha=n(1,o(0,this.alpha))},toHSL:function(){return this.clone()},toHSV:function(){this._normalise();var e=w.HSV();e.hue=this.hue;var o=2*this.lightness,n=this.saturation*(1>=o?o:2-o);return e.value=(o+n)/2,e.saturation=2*n/(o+n)||0,e.alpha=this.alpha,e},toRGB:function(){return this.toHSV().toRGB()}}),d.isValid=function(e){var o=d(e),n=0,a;for(a in o)o.hasOwnProperty(a)&&n++;return 0<n},a.brehaut.Color=d}.call(a.brehaut),e.exports=a.brehaut.Color},"./node_modules/deepmerge/dist/es.js":function(e,o){'use strict';function n(e){return!!e&&'object'===('undefined'==typeof e?'undefined':p(e))}function a(e){var o=Object.prototype.toString.call(e);return'[object RegExp]'===o||'[object Date]'===o||r(e)}function r(e){return e.$typeof===m}function s(e){return Array.isArray(e)?[]:{}}function l(e,o){var n=!o||!1!==o.clone;return n&&u(e)?c(s(e),e,o):e}function i(e,o,n){return e.concat(o).map(function(e){return l(e,n)})}function d(e,o,n){var a={};return u(e)&&Object.keys(e).forEach(function(o){a[o]=l(e[o],n)}),Object.keys(o).forEach(function(r){a[r]=u(o[r])&&e[r]?c(e[r],o[r],n):l(o[r],n)}),a}function c(e,o,n){var a=Array.isArray(o),r=Array.isArray(e);if(!(a===r))return l(o,n);if(a){var s=(n||{arrayMerge:i}).arrayMerge||i;return s(e,o,n)}return d(e,o,n)}var p='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e},u=function(e){return n(e)&&!a(e)},g='function'==typeof Symbol&&Symbol.for,m=g?Symbol.for('react.element'):60103;c.all=function(e,o){if(!Array.isArray(e))throw new Error('first argument should be an array');return e.reduce(function(e,n){return c(e,n,o)},{})};o.a=c},"./node_modules/fourpan/jquery.fourpan.js":function(){var e=Math.max;(function(o){'use strict';o.fourpan||(o.fourpan=function(n,a){var r=this;if(!o.fourpan.initiated){var s;n?(s=o(n).find('html'),!s.length&&(s=o(n).closest('html'))):s=o('html');var l='fourpan-overlays',i=!1,d={},c=o.extend({},o.fourpan.defaultOptions,a),p=l+' '+c.overlay_classes,u=o('<div class="forpan-close-button">Close</div>');u.css({position:'absolute',"z-index":'10000',"font-size":'16px',background:'rgb(213, 78, 33)',"border-radius":'25px',padding:'8px 15px',color:'white',display:'none'}).on('mouseenter',function(){o(this).css({"background-color":'#f95b26',cursor:'pointer'})}).on('mouseleave',function(){o(this).css({"background-color":'rgb(213, 78, 33)',cursor:'default'})}),s.append(u);var g=function(){d[c.id_prefix+'-top']={},d[c.id_prefix+'-right']={},d[c.id_prefix+'-bottom']={},d[c.id_prefix+'-left']={},o.fourpan.initiated=!0,m(),b()},m=function(){o.each(d,function(e){var o=s.find('#'+e);o.length?d[e]=o:(o=h(e),d[e]=o)})},h=function(e){var n=o('<div id="'+e+'" class="'+p+'"></div>');return s.append(n),n},b=function(){s.find('.'+l).add(u).on('click',f),s.keyup(function(o){27===o.keyCode&&f()})},f=function(){s.find('.'+l).add(u).fadeOut(),i=!1,c.deactivate(),y()},C=function(){var e=s.find('.'+l);e.css({position:'absolute',top:'0',right:'0',bottom:'0',left:'0',"z-index":'9999',"background-color":c.color}),i=!0};o.fourpan.dismiss=function(){f()};var v=function(){s.find('body').on('DOMSubtreeModified.fourpan',function(e){r.time=e.timeStamp,setTimeout(function(){var e=new Date().getTime();(!r.last_event||r.last_event<e-250)&&(r.last_event=e,o.fourpan.refresh())},250)})},y=function(){s.find('body').off('.fourpan')},D=function(o,n,a,r){0<n&&u.hide();var i=o[0].getBoundingClientRect();d[c.id_prefix+'-top'].stop().animate({height:e(i.top-a,0)},n),d[c.id_prefix+'-right'].stop().animate({top:e(i.top-a,0),left:i.left+o.outerWidth()+a},n),d[c.id_prefix+'-bottom'].stop().animate({top:i.top+o.outerHeight()+a,width:i.left+o.outerWidth()+a},n);var p=e(i.top-a,0)-(i.top-a);d[c.id_prefix+'-left'].stop().animate({width:e(i.left-a,0),top:e(i.top-a,0),height:o.outerHeight()+2*a-p},{duration:n,complete:function(){r&&u.css({left:i.left+(o.outerWidth()+a)/2-35,top:i.top+o.outerHeight()+a+20}).fadeIn(),s.find('.'+l).fadeIn()}})};return o.fourpan.highlight=function(e){var n;if(e instanceof jQuery){if(1<e.length||!e.length)return!1;n=e}else n=o(e);return 1===n.length&&n.is(':visible')?(o.fourpan.$recent_highlight=n,i||(C(),c.activate(),v(),s.find('.'+l).hide()),D(n,c.transition_speed,c.element_padding,!0),!0):(f(),!1)},o.fourpan.refresh=function(){i&&(s.find(o.fourpan.$recent_highlight).length?(D(o.fourpan.$recent_highlight,0,c.element_padding,!0),r.last_event=new Date().getTime()):f())},g(),s}},o.fourpan.defaultOptions={id_prefix:'fourpan-overlay',overlay_classes:'',color:'rgba(0,0,0,.7)',transition_speed:1e3,element_padding:20,activate:function(){},deactivate:function(){}},o.fn.fourpan=function(e){return this.each(function(){new o.fourpan(this,e)})})})(jQuery)},"./node_modules/google-material-color-palette-json/lib/palette.js":function(e){e.exports={red:{shade_50:'#ffebee',shade_100:'#ffcdd2',shade_200:'#ef9a9a',shade_300:'#e57373',shade_400:'#ef5350',shade_500:'#f44336',shade_600:'#e53935',shade_700:'#d32f2f',shade_800:'#c62828',shade_900:'#b71c1c',shade_A100:'#ff8a80',shade_A200:'#ff5252',shade_A400:'#ff1744',shade_A700:'#d50000'},pink:{shade_50:'#fce4ec',shade_100:'#f8bbd0',shade_200:'#f48fb1',shade_300:'#f06292',shade_400:'#ec407a',shade_500:'#e91e63',shade_600:'#d81b60',shade_700:'#c2185b',shade_800:'#ad1457',shade_900:'#880e4f',shade_A100:'#ff80ab',shade_A200:'#ff4081',shade_A400:'#f50057',shade_A700:'#c51162'},purple:{shade_50:'#f3e5f5',shade_100:'#e1bee7',shade_200:'#ce93d8',shade_300:'#ba68c8',shade_400:'#ab47bc',shade_500:'#9c27b0',shade_600:'#8e24aa',shade_700:'#7b1fa2',shade_800:'#6a1b9a',shade_900:'#4a148c',shade_A100:'#ea80fc',shade_A200:'#e040fb',shade_A400:'#d500f9',shade_A700:'#aa00ff'},deepPurple:{shade_50:'#ede7f6',shade_100:'#d1c4e9',shade_200:'#b39ddb',shade_300:'#9575cd',shade_400:'#7e57c2',shade_500:'#673ab7',shade_600:'#5e35b1',shade_700:'#512da8',shade_800:'#4527a0',shade_900:'#311b92',shade_A100:'#b388ff',shade_A200:'#7c4dff',shade_A400:'#651fff',shade_A700:'#6200ea'},indigo:{shade_50:'#e8eaf6',shade_100:'#c5cae9',shade_200:'#9fa8da',shade_300:'#7986cb',shade_400:'#5c6bc0',shade_500:'#3f51b5',shade_600:'#3949ab',shade_700:'#303f9f',shade_800:'#283593',shade_900:'#1a237e',shade_A100:'#8c9eff',shade_A200:'#536dfe',shade_A400:'#3d5afe',shade_A700:'#304ffe'},blue:{shade_50:'#e3f2fd',shade_100:'#bbdefb',shade_200:'#90caf9',shade_300:'#64b5f6',shade_400:'#42a5f5',shade_500:'#2196f3',shade_600:'#1e88e5',shade_700:'#1976d2',shade_800:'#1565c0',shade_900:'#0d47a1',shade_A100:'#82b1ff',shade_A200:'#448aff',shade_A400:'#2979ff',shade_A700:'#2962ff'},lightBlue:{shade_50:'#e1f5fe',shade_100:'#b3e5fc',shade_200:'#81d4fa',shade_300:'#4fc3f7',shade_400:'#29b6f6',shade_500:'#03a9f4',shade_600:'#039be5',shade_700:'#0288d1',shade_800:'#0277bd',shade_900:'#01579b',shade_A100:'#80d8ff',shade_A200:'#40c4ff',shade_A400:'#00b0ff',shade_A700:'#0091ea'},cyan:{shade_50:'#e0f7fa',shade_100:'#b2ebf2',shade_200:'#80deea',shade_300:'#4dd0e1',shade_400:'#26c6da',shade_500:'#00bcd4',shade_600:'#00acc1',shade_700:'#0097a7',shade_800:'#00838f',shade_900:'#006064',shade_A100:'#84ffff',shade_A200:'#18ffff',shade_A400:'#00e5ff',shade_A700:'#00b8d4'},teal:{shade_50:'#e0f2f1',shade_100:'#b2dfdb',shade_200:'#80cbc4',shade_300:'#4db6ac',shade_400:'#26a69a',shade_500:'#009688',shade_600:'#00897b',shade_700:'#00796b',shade_800:'#00695c',shade_900:'#004d40',shade_A100:'#a7ffeb',shade_A200:'#64ffda',shade_A400:'#1de9b6',shade_A700:'#00bfa5'},green:{shade_50:'#e8f5e9',shade_100:'#c8e6c9',shade_200:'#a5d6a7',shade_300:'#81c784',shade_400:'#66bb6a',shade_500:'#4caf50',shade_600:'#43a047',shade_700:'#388e3c',shade_800:'#2e7d32',shade_900:'#1b5e20',shade_A100:'#b9f6ca',shade_A200:'#69f0ae',shade_A400:'#00e676',shade_A700:'#00c853'},lightGreen:{shade_50:'#f1f8e9',shade_100:'#dcedc8',shade_200:'#c5e1a5',shade_300:'#aed581',shade_400:'#9ccc65',shade_500:'#8bc34a',shade_600:'#7cb342',shade_700:'#689f38',shade_800:'#558b2f',shade_900:'#33691e',shade_A100:'#ccff90',shade_A200:'#b2ff59',shade_A400:'#76ff03',shade_A700:'#64dd17'},lime:{shade_50:'#f9fbe7',shade_100:'#f0f4c3',shade_200:'#e6ee9c',shade_300:'#dce775',shade_400:'#d4e157',shade_500:'#cddc39',shade_600:'#c0ca33',shade_700:'#afb42b',shade_800:'#9e9d24',shade_900:'#827717',shade_A100:'#f4ff81',shade_A200:'#eeff41',shade_A400:'#c6ff00',shade_A700:'#aeea00'},yellow:{shade_50:'#fffde7',shade_100:'#fff9c4',shade_200:'#fff59d',shade_300:'#fff176',shade_400:'#ffee58',shade_500:'#ffeb3b',shade_600:'#fdd835',shade_700:'#fbc02d',shade_800:'#f9a825',shade_900:'#f57f17',shade_A100:'#ffff8d',shade_A200:'#ffff00',shade_A400:'#ffea00',shade_A700:'#ffd600'},amber:{shade_50:'#fff8e1',shade_100:'#ffecb3',shade_200:'#ffe082',shade_300:'#ffd54f',shade_400:'#ffca28',shade_500:'#ffc107',shade_600:'#ffb300',shade_700:'#ffa000',shade_800:'#ff8f00',shade_900:'#ff6f00',shade_A100:'#ffe57f',shade_A200:'#ffd740',shade_A400:'#ffc400',shade_A700:'#ffab00'},orange:{shade_50:'#fff3e0',shade_100:'#ffe0b2',shade_200:'#ffcc80',shade_300:'#ffb74d',shade_400:'#ffa726',shade_500:'#ff9800',shade_600:'#fb8c00',shade_700:'#f57c00',shade_800:'#ef6c00',shade_900:'#e65100',shade_A100:'#ffd180',shade_A200:'#ffab40',shade_A400:'#ff9100',shade_A700:'#ff6d00'},deepOrange:{shade_50:'#fbe9e7',shade_100:'#ffccbc',shade_200:'#ffab91',shade_300:'#ff8a65',shade_400:'#ff7043',shade_500:'#ff5722',shade_600:'#f4511e',shade_700:'#e64a19',shade_800:'#d84315',shade_900:'#bf360c',shade_A100:'#ff9e80',shade_A200:'#ff6e40',shade_A400:'#ff3d00',shade_A700:'#dd2c00'},brown:{shade_50:'#efebe9',shade_100:'#d7ccc8',shade_200:'#bcaaa4',shade_300:'#a1887f',shade_400:'#8d6e63',shade_500:'#795548',shade_600:'#6d4c41',shade_700:'#5d4037',shade_800:'#4e342e',shade_900:'#3e2723'},grey:{shade_50:'#fafafa',shade_100:'#f5f5f5',shade_200:'#eeeeee',shade_300:'#e0e0e0',shade_400:'#bdbdbd',shade_500:'#9e9e9e',shade_600:'#757575',shade_700:'#616161',shade_800:'#424242',shade_900:'#212121'},blueGrey:{shade_50:'#eceff1',shade_100:'#cfd8dc',shade_200:'#b0bec5',shade_300:'#90a4ae',shade_400:'#78909c',shade_500:'#607d8b',shade_600:'#546e7a',shade_700:'#455a64',shade_800:'#37474f',shade_900:'#263238'},black:'#000000',white:'#FFFFFF'}},"./node_modules/istyping/jquery.is-typing.js":function(){(function(e){e.fn.is_typing_boldgrid=function(){var o=this,n=e(this);jQuery.Event('end_typing_boldgrid'),jQuery.Event('start_typing_boldgrid');this.is_typing=!1;var a;return e(this).on('keydown is-typing-keydown',function(){o.is_typing||(o.is_typing=!0,n.trigger('start_typing_boldgrid')),a=new Date().getTime();setTimeout(function(e){a===e&&(o.is_typing=!1,n.trigger('end_typing_boldgrid'))},1e3,a)}),this}})(jQuery)},"./node_modules/jquery-slimscroll/jquery.slimscroll.js":function(){var e=Math.max,n=Math.min;(function(a){a.fn.extend({slimScroll:function(r){var s=a.extend({width:'auto',height:'250px',size:'7px',color:'#000',position:'right',distance:'1px',start:'top',opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:'#333',railOpacity:.2,railDraggable:!0,railClass:'slimScrollRail',barClass:'slimScrollBar',wrapperClass:'slimScrollDiv',allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:'7px',railBorderRadius:'7px'},r);return this.each(function(){function o(o){if(f){var o=o||window.event,e=0;o.wheelDelta&&(e=-o.wheelDelta/120),o.detail&&(e=o.detail/3);var n=o.target||o.srcTarget||o.srcElement;a(n).closest('.'+s.wrapperClass).is(b.parent())&&l(e,!0),o.preventDefault&&!m&&o.preventDefault(),m||(o.returnValue=!1)}}function l(o,a,r){m=!1;var l=o,i=b.outerHeight()-O.outerHeight();if(a&&(l=parseInt(O.css('top'))+o*parseInt(s.wheelStep)/100*O.outerHeight(),l=n(e(l,0),i),l=0<o?Math.ceil(l):Math.floor(l),O.css({top:l+'px'})),E=parseInt(O.css('top'))/(b.outerHeight()-O.outerHeight()),l=E*(b[0].scrollHeight-b.outerHeight()),r){l=o;var d=l/b[0].scrollHeight*b.outerHeight();d=n(e(d,0),i),O.css({top:d+'px'})}b.scrollTop(l),b.trigger('slimscrolling',~~l),c(),p()}function i(e){window.addEventListener?(e.addEventListener('DOMMouseScroll',o,!1),e.addEventListener('mousewheel',o,!1)):document.attachEvent('onmousewheel',o)}function d(){w=e(b.outerHeight()/b[0].scrollHeight*b.outerHeight(),g),O.css({height:w+'px'});var o=w==b.outerHeight()?'none':'block';O.css({display:o})}function c(){if(d(),clearTimeout(y),E!=~~E)m=!1;else if(m=s.allowPageScroll,k!=E){var e=0==~~E?'top':'bottom';b.trigger('slimscroll',e)}return k=E,w>=b.outerHeight()?void(m=!0):void(O.stop(!0,!0).fadeIn('fast'),s.railVisible&&B.stop(!0,!0).fadeIn('fast'))}function p(){s.alwaysVisible||(y=setTimeout(function(){s.disableFadeOut&&f||C||v||(O.fadeOut('slow'),B.fadeOut('slow'))},1e3))}var u='<div></div>',g=30,m=!1,b=a(this),f,C,v,y,D,w,E,k;if(b.parent().hasClass(s.wrapperClass)){var F=b.scrollTop();if(O=b.siblings('.'+s.barClass),B=b.siblings('.'+s.railClass),d(),a.isPlainObject(r)){if('height'in r&&'auto'==r.height){b.parent().css('height','auto'),b.css('height','auto');var x=b.parent().parent().height();b.parent().css('height',x),b.css('height',x)}else if('height'in r){var A=r.height;b.parent().css('height',A),b.css('height',A)}if('scrollTo'in r)F=parseInt(s.scrollTo);else if('scrollBy'in r)F+=parseInt(s.scrollBy);else if('destroy'in r)return O.remove(),B.remove(),void b.unwrap();l(F,!1,!0)}return}if(!(a.isPlainObject(r)&&'destroy'in r)){s.height='auto'==s.height?b.parent().height():s.height;var h=a(u).addClass(s.wrapperClass).css({position:'relative',overflow:'hidden',width:s.width,height:s.height});b.css({overflow:'hidden',width:s.width,height:s.height});var B=a(u).addClass(s.railClass).css({width:s.size,height:'100%',position:'absolute',top:0,display:s.alwaysVisible&&s.railVisible?'block':'none',"border-radius":s.railBorderRadius,background:s.railColor,opacity:s.railOpacity,zIndex:90}),O=a(u).addClass(s.barClass).css({background:s.color,width:s.size,position:'absolute',top:0,opacity:s.opacity,display:s.alwaysVisible?'block':'none',"border-radius":s.borderRadius,BorderRadius:s.borderRadius,MozBorderRadius:s.borderRadius,WebkitBorderRadius:s.borderRadius,zIndex:99}),T='right'==s.position?{right:s.distance}:{left:s.distance};B.css(T),O.css(T),b.wrap(h),b.parent().append(O),b.parent().append(B),s.railDraggable&&O.bind('mousedown',function(o){var e=a(document);return v=!0,t=parseFloat(O.css('top')),pageY=o.pageY,e.bind('mousemove.slimscroll',function(o){currTop=t+o.pageY-pageY,O.css('top',currTop),l(0,O.position().top,!1)}),e.bind('mouseup.slimscroll',function(){v=!1,p(),e.unbind('.slimscroll')}),!1}).bind('selectstart.slimscroll',function(o){return o.stopPropagation(),o.preventDefault(),!1}),B.hover(function(){c()},function(){p()}),O.hover(function(){C=!0},function(){C=!1}),b.hover(function(){f=!0,c(),p()},function(){f=!1,p()}),b.bind('touchstart',function(o){o.originalEvent.touches.length&&(D=o.originalEvent.touches[0].pageY)}),b.bind('touchmove',function(o){if(m||o.originalEvent.preventDefault(),o.originalEvent.touches.length){var e=(D-o.originalEvent.touches[0].pageY)/s.touchScrollStep;l(e,!0),D=o.originalEvent.touches[0].pageY}}),d(),'bottom'===s.start?(O.css({top:b.outerHeight()-O.outerHeight()}),l(0,!0)):'top'!==s.start&&(l(a(s.start).position().top,null,!0),!s.alwaysVisible&&O.hide()),i(this)}}),this}}),a.fn.extend({slimscroll:a.fn.slimScroll})})(jQuery)},"./node_modules/jquery-ui-dist/jquery-ui.structure.css":function(){},"./node_modules/jquery-ui-dist/jquery-ui.theme.css":function(){},"./node_modules/jquery/dist/jquery.js":function(e,o,n){var a=Math.max;(function(e){var n='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e},r,s;(function(o,a){'object'===n(e)&&'object'===n(e.exports)?e.exports=o.document?a(o,!0):function(e){if(!e.document)throw new Error('jQuery requires a window with a document');return a(e)}:a(o)})('undefined'==typeof window?this:window,function(l,d){function c(e){var o=!!e&&'length'in e&&e.length,n=De.type(e);return'function'===n||De.isWindow(e)?!1:'array'===n||0===o||'number'==typeof o&&0<o&&o-1 in e}function p(e,o,n){if(De.isFunction(o))return De.grep(e,function(e,a){return!!o.call(e,a,e)!==n});if(o.nodeType)return De.grep(e,function(e){return e===o!==n});if('string'==typeof o){if(Te.test(o))return De.filter(o,e,n);o=De.filter(o,e)}return De.grep(e,function(e){return-1<De.inArray(e,o)!==n})}function u(e,o){do e=e[o];while(e&&1!==e.nodeType);return e}function g(e){var o={};return De.each(e.match(je)||[],function(e,n){o[n]=!0}),o}function m(){ue.addEventListener?(ue.removeEventListener('DOMContentLoaded',h),l.removeEventListener('load',h)):(ue.detachEvent('onreadystatechange',h),l.detachEvent('onload',h))}function h(){(ue.addEventListener||'load'===l.event.type||'complete'===ue.readyState)&&(m(),De.ready())}function b(e,o,n){if(void 0===n&&1===e.nodeType){var a='data-'+o.replace(He,'-$1').toLowerCase();if(n=e.getAttribute(a),'string'==typeof n){try{n='true'===n||'false'!==n&&('null'===n?null:+n+''===n?+n:i.test(n)?De.parseJSON(n):n)}catch(o){}De.data(e,o,n)}else n=void 0}return n}function f(e){for(var o in e)if(!('data'===o&&De.isEmptyObject(e[o]))&&'toJSON'!==o)return!1;return!0}function C(e,o,a,r){if(Ne(e)){var s=De.expando,l=e.nodeType,i=l?De.cache:e,d=l?e[s]:e[s]&&s,c,p;if(d&&i[d]&&(r||i[d].data)||void 0!==a||'string'!=typeof o)return d||(l?d=e[s]=pe.pop()||De.guid++:d=s),i[d]||(i[d]=l?{}:{toJSON:De.noop}),('object'===('undefined'==typeof o?'undefined':n(o))||'function'==typeof o)&&(r?i[d]=De.extend(i[d],o):i[d].data=De.extend(i[d].data,o)),p=i[d],r||(!p.data&&(p.data={}),p=p.data),void 0!==a&&(p[De.camelCase(o)]=a),'string'==typeof o?(c=p[o],null==c&&(c=p[De.camelCase(o)])):c=p,c}}function v(e,o,n){if(Ne(e)){var a=e.nodeType,r=a?De.cache:e,s=a?e[De.expando]:De.expando,l,d;if(r[s]){if(o&&(l=n?r[s]:r[s].data,l)){for(De.isArray(o)?o=o.concat(De.map(o,De.camelCase)):(o in l)?o=[o]:(o=De.camelCase(o),o=(o in l)?[o]:o.split(' ')),d=o.length;d--;)delete l[o[d]];if(n?!f(l):!De.isEmptyObject(l))return}!n&&(delete r[s].data,!f(r[s]))||(a?De.cleanData([e],!0):ve.deleteExpando||r!=r.window?delete r[s]:r[s]=void 0)}}}function y(e,o,n,a){var r=1,s=20,l=a?function(){return a.cur()}:function(){return De.css(e,o,'')},i=l(),d=n&&n[3]||(De.cssNumber[o]?'':'px'),c=(De.cssNumber[o]||'px'!==d&&+i)&&qe.exec(De.css(e,o)),p;if(c&&c[3]!==d){d=d||c[3],n=n||[],c=+i||1;do r=r||'.5',c/=r,De.style(e,o,c+d);while(r!=(r=l()/i)&&1!=r&&--s)}return n&&(c=+c||+i||0,p=n[1]?c+(n[1]+1)*n[2]:+n[2],a&&(a.unit=d,a.start=c,a.end=p)),p}function D(e){var o=Ze.split('|'),n=e.createDocumentFragment();if(n.createElement)for(;o.length;)n.createElement(o.pop());return n}function w(e,o){var n=0,a='undefined'==typeof e.getElementsByTagName?'undefined'==typeof e.querySelectorAll?void 0:e.querySelectorAll(o||'*'):e.getElementsByTagName(o||'*'),r,s;if(!a)for(a=[],r=e.childNodes||e;null!=(s=r[n]);n++)!o||De.nodeName(s,o)?a.push(s):De.merge(a,w(s,o));return void 0===o||o&&De.nodeName(e,o)?De.merge([e],a):a}function E(e,o){for(var n=0,a;null!=(a=e[n]);n++)De._data(a,'globalEval',!o||De._data(o[n],'globalEval'))}function k(e){Ke.test(e.type)&&(e.defaultChecked=e.checked)}function F(e,o,n,a,r){for(var s=e.length,l=D(o),d=[],c=0,i,p,u,g,m,h,b;c<s;c++)if(p=e[c],p||0===p)if('object'===De.type(p))De.merge(d,p.nodeType?[p]:p);else if(!et.test(p))d.push(o.createTextNode(p));else{for(g=g||l.appendChild(o.createElement('div')),m=(Xe.exec(p)||['',''])[1].toLowerCase(),b=Je[m]||Je._default,g.innerHTML=b[1]+De.htmlPrefilter(p)+b[2],i=b[0];i--;)g=g.lastChild;if(!ve.leadingWhitespace&&Ye.test(p)&&d.push(o.createTextNode(Ye.exec(p)[0])),!ve.tbody)for(p='table'!==m||tt.test(p)?'<table>'!==b[1]||tt.test(p)?0:g:g.firstChild,i=p&&p.childNodes.length;i--;)De.nodeName(h=p.childNodes[i],'tbody')&&!h.childNodes.length&&p.removeChild(h);for(De.merge(d,g.childNodes),g.textContent='';g.firstChild;)g.removeChild(g.firstChild);g=l.lastChild}for(g&&l.removeChild(g),ve.appendChecked||De.grep(w(d,'input'),k),c=0;p=d[c++];){if(a&&-1<De.inArray(p,a)){r&&r.push(p);continue}if(u=De.contains(p.ownerDocument,p),g=w(l.appendChild(p),'script'),u&&E(g),n)for(i=0;p=g[i++];)Qe.test(p.type||'')&&n.push(p)}return g=null,l}function x(){return!0}function A(){return!1}function B(){try{return ue.activeElement}catch(e){}}function O(e,o,a,r,s,l){var i,d;if('object'===('undefined'==typeof o?'undefined':n(o))){for(d in'string'!=typeof a&&(r=r||a,a=void 0),o)O(e,d,a,r,o[d],l);return e}if(null==r&&null==s?(s=a,r=a=void 0):null==s&&('string'==typeof a?(s=r,r=void 0):(s=r,r=a,a=void 0)),!1===s)s=A;else if(!s)return e;return 1===l&&(i=s,s=function(e){return De().off(e),i.apply(this,arguments)},s.guid=i.guid||(i.guid=De.guid++)),e.each(function(){De.event.add(this,o,s,r,a)})}function T(e,o){return De.nodeName(e,'table')&&De.nodeName(11===o.nodeType?o.firstChild:o,'tr')?e.getElementsByTagName('tbody')[0]||e.appendChild(e.ownerDocument.createElement('tbody')):e}function S(e){return e.type=(null!==De.find.attr(e,'type'))+'/'+e.type,e}function R(e){var o=ut.exec(e.type);return o?e.type=o[1]:e.removeAttribute('type'),e}function I(e,o){if(1===o.nodeType&&De.hasData(e)){var n=De._data(e),a=De._data(o,n),r=n.events,s,d,i;if(r)for(s in delete a.handle,a.events={},r)for(d=0,i=r[s].length;d<i;d++)De.event.add(o,s,r[s][d]);a.data&&(a.data=De.extend({},a.data))}}function L(o,n){var a,r,e;if(1===n.nodeType){if(a=n.nodeName.toLowerCase(),!ve.noCloneEvent&&n[De.expando]){for(r in e=De._data(n),e.events)De.removeEvent(n,r,e.handle);n.removeAttribute(De.expando)}'script'===a&&n.text!==o.text?(S(n).text=o.text,R(n)):'object'===a?(n.parentNode&&(n.outerHTML=o.outerHTML),ve.html5Clone&&o.innerHTML&&!De.trim(n.innerHTML)&&(n.innerHTML=o.innerHTML)):'input'===a&&Ke.test(o.type)?(n.defaultChecked=n.checked=o.checked,n.value!==o.value&&(n.value=o.value)):'option'===a?n.defaultSelected=n.selected=o.defaultSelected:('input'===a||'textarea'===a)&&(n.defaultValue=o.defaultValue)}}function P(e,o,n,a){o=me.apply([],o);var r=0,s=e.length,l=o[0],i=De.isFunction(l),d,c,p,u,g,m;if(i||1<s&&'string'==typeof l&&!ve.checkClone&&pt.test(l))return e.each(function(r){var s=e.eq(r);i&&(o[0]=l.call(this,r,s.html())),P(s,o,n,a)});if(s&&(m=F(o,e[0].ownerDocument,!1,e,a),d=m.firstChild,1===m.childNodes.length&&(m=d),d||a)){for(u=De.map(w(m,'script'),S),p=u.length;r<s;r++)c=m,r!=s-1&&(c=De.clone(c,!0,!0),p&&De.merge(u,w(c,'script'))),n.call(e[r],c,r);if(p)for(g=u[u.length-1].ownerDocument,De.map(u,R),r=0;r<p;r++)c=u[r],Qe.test(c.type||'')&&!De._data(c,'globalEval')&&De.contains(g,c)&&(c.src?De._evalUrl&&De._evalUrl(c.src):De.globalEval((c.text||c.textContent||c.innerHTML||'').replace(gt,'')));m=d=null}return e}function j(e,o,n){for(var a=o?De.filter(o,e):e,r=0,s;null!=(s=a[r]);r++)n||1!==s.nodeType||De.cleanData(w(s)),s.parentNode&&(n&&De.contains(s.ownerDocument,s)&&E(w(s,'script')),s.parentNode.removeChild(s));return e}function z(e,o){var n=De(o.createElement(e)).appendTo(o.body),a=De.css(n[0],'display');return n.detach(),a}function M(e){var o=ue,n=bt[e];return n||(n=z(e,o),('none'===n||!n)&&(yt=(yt||De('<iframe frameborder=\'0\' width=\'0\' height=\'0\'/>')).appendTo(o.documentElement),o=(yt[0].contentWindow||yt[0].contentDocument).document,o.write(),o.close(),n=z(e,o),yt.detach()),bt[e]=n),n}function N(e,o){return{get:function(){return e()?void delete this.get:(this.get=o).apply(this,arguments)}}}function H(e){if(e in Tt)return e;for(var o=e.charAt(0).toUpperCase()+e.slice(1),n=Ot.length;n--;)if(e=Ot[n]+o,e in Tt)return e}function G(e,o){for(var n=[],a=0,r=e.length,s,l,i;a<r;a++)(l=e[a],!!l.style)&&(n[a]=De._data(l,'olddisplay'),s=l.style.display,o?(!n[a]&&'none'===s&&(l.style.display=''),''===l.style.display&&We(l)&&(n[a]=De._data(l,'olddisplay',M(l.nodeName)))):(i=We(l),(s&&'none'!==s||!i)&&De._data(l,'olddisplay',i?s:De.css(l,'display'))));for(a=0;a<r;a++)(l=e[a],!!l.style)&&(o&&'none'!==l.style.display&&''!==l.style.display||(l.style.display=o?n[a]||'':'none'));return e}function q(e,o,n){var r=xt.exec(o);return r?a(0,r[1]-(n||0))+(r[2]||'px'):o}function U(e,o,n,a,r){for(var s=n===(a?'border':'content')?4:'width'===o?1:0,l=0;4>s;s+=2)'margin'===n&&(l+=De.css(e,n+Ue[s],!0,r)),a?('content'===n&&(l-=De.css(e,'padding'+Ue[s],!0,r)),'margin'!==n&&(l-=De.css(e,'border'+Ue[s]+'Width',!0,r))):(l+=De.css(e,'padding'+Ue[s],!0,r),'padding'!==n&&(l+=De.css(e,'border'+Ue[s]+'Width',!0,r)));return l}function W(e,o,n){var a=!0,r='width'===o?e.offsetWidth:e.offsetHeight,s=wt(e),l=ve.boxSizing&&'border-box'===De.css(e,'boxSizing',!1,s);if(0>=r||null==r){if(r=Et(e,o,s),(0>r||null==r)&&(r=e.style[o]),_t.test(r))return r;a=l&&(ve.boxSizingReliable()||r===e.style[o]),r=parseFloat(r)||0}return r+U(e,o,n||(l?'border':'content'),a,s)+'px'}function V(e,o,n,a,r){return new V.prototype.init(e,o,n,a,r)}function K(){return l.setTimeout(function(){It=void 0}),It=De.now()}function X(e,o){var n={height:e},a=0,r;for(o=o?1:0;4>a;a+=2-o)r=Ue[a],n['margin'+r]=n['padding'+r]=e;return o&&(n.opacity=n.width=e),n}function Q(e,o,n){for(var a=(Z.tweeners[o]||[]).concat(Z.tweeners['*']),r=0,s=a.length,l;r<s;r++)if(l=a[r].call(n,o,e))return l}function Y(e,o){var n,a,r,s,l;for(n in e)if(a=De.camelCase(n),r=o[a],s=e[n],De.isArray(s)&&(r=s[1],s=e[n]=s[0]),n!==a&&(e[a]=s,delete e[n]),l=De.cssHooks[a],l&&'expand'in l)for(n in s=l.expand(s),delete e[a],s)n in e||(e[n]=s[n],o[n]=r);else o[a]=r}function Z(e,o,n){var r=0,s=Z.prefilters.length,l=De.Deferred().always(function(){delete i.elem}),i=function(){if(u)return!1;for(var o=It||K(),n=a(0,d.startTime+d.duration-o),r=n/d.duration||0,s=1-r,i=0,c=d.tweens.length;i<c;i++)d.tweens[i].run(s);return l.notifyWith(e,[d,s,n]),1>s&&c?n:(l.resolveWith(e,[d]),!1)},d=l.promise({elem:e,props:De.extend({},o),opts:De.extend(!0,{specialEasing:{},easing:De.easing._default},n),originalProperties:o,originalOptions:n,startTime:It||K(),duration:n.duration,tweens:[],createTween:function(o,n){var a=De.Tween(e,d.opts,o,n,d.opts.specialEasing[o]||d.opts.easing);return d.tweens.push(a),a},stop:function(o){var n=0,a=o?d.tweens.length:0;if(u)return this;for(u=!0;n<a;n++)d.tweens[n].run(1);return o?(l.notifyWith(e,[d,1,0]),l.resolveWith(e,[d,o])):l.rejectWith(e,[d,o]),this}}),c=d.props,p,u;for(Y(c,d.opts.specialEasing);r<s;r++)if(p=Z.prefilters[r].call(d,e,c,d.opts),p)return De.isFunction(p.stop)&&(De._queueHooks(d.elem,d.opts.queue).stop=De.proxy(p.stop,p)),p;return De.map(c,Q,d),De.isFunction(d.opts.start)&&d.opts.start.call(e,d),De.fx.timer(De.extend(i,{elem:e,anim:d,queue:d.opts.queue})),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always)}function J(e){return De.attr(e,'class')||''}function ee(e){return function(o,n){'string'!=typeof o&&(n=o,o='*');var a=0,r=o.toLowerCase().match(je)||[],s;if(De.isFunction(n))for(;s=r[a++];)'+'===s.charAt(0)?(s=s.slice(1)||'*',(e[s]=e[s]||[]).unshift(n)):(e[s]=e[s]||[]).push(n)}}function te(e,o,n,a){function r(i){var d;return s[i]=!0,De.each(e[i]||[],function(e,i){var c=i(o,n,a);return'string'!=typeof c||l||s[c]?l?!(d=c):void 0:(o.dataTypes.unshift(c),r(c),!1)}),d}var s={},l=e===so;return r(o.dataTypes[0])||!s['*']&&r('*')}function oe(e,o){var n=De.ajaxSettings.flatOptions||{},a,r;for(r in o)void 0!==o[r]&&((n[r]?e:a||(a={}))[r]=o[r]);return a&&De.extend(!0,e,a),e}function ne(e,o,n){for(var a=e.contents,r=e.dataTypes,s,l,i,d;'*'===r[0];)r.shift(),void 0==l&&(l=e.mimeType||o.getResponseHeader('Content-Type'));if(l)for(d in a)if(a[d]&&a[d].test(l)){r.unshift(d);break}if(r[0]in n)i=r[0];else{for(d in n){if(!r[0]||e.converters[d+' '+r[0]]){i=d;break}s||(s=d)}i=i||s}return i?(i!==r[0]&&r.unshift(i),n[i]):void 0}function ae(e,o,n,a){var r={},s=e.dataTypes.slice(),l,i,d,c,p;if(s[1])for(d in e.converters)r[d.toLowerCase()]=e.converters[d];for(i=s.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=o),!p&&a&&e.dataFilter&&(o=e.dataFilter(o,e.dataType)),p=i,i=s.shift(),i)if('*'===i)i=p;else if('*'!==p&&p!==i){if(d=r[p+' '+i]||r['* '+i],!d)for(l in r)if(c=l.split(' '),c[1]===i&&(d=r[p+' '+c[0]]||r['* '+c[0]],d)){!0===d?d=r[l]:!0!==r[l]&&(i=c[0],s.unshift(c[1]));break}if(!0!==d)if(d&&e.throws)o=d(o);else try{o=d(o)}catch(o){return{state:'parsererror',error:d?o:'No conversion from '+p+' to '+i}}}return{state:'success',data:o}}function re(e){return e.style&&e.style.display||De.css(e,'display')}function se(e){if(!De.contains(e.ownerDocument||ue,e))return!0;for(;e&&1===e.nodeType;){if('none'===re(e)||'hidden'===e.type)return!0;e=e.parentNode}return!1}function le(e,o,a,r){if(De.isArray(o))De.each(o,function(o,s){a||uo.test(e)?r(e,s):le(e+'['+('object'===('undefined'==typeof s?'undefined':n(s))&&null!=s?o:'')+']',s,a,r)});else if(!a&&'object'===De.type(o))for(var s in o)le(e+'['+s+']',o[s],a,r);else r(e,o)}function ie(){try{return new l.XMLHttpRequest}catch(o){}}function de(){try{return new l.ActiveXObject('Microsoft.XMLHTTP')}catch(o){}}function ce(e){return De.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var pe=[],ue=l.document,ge=pe.slice,me=pe.concat,he=pe.push,be=pe.indexOf,fe={},_e=fe.toString,Ce=fe.hasOwnProperty,ve={},ye='1.12.4',De=function e(o,n){return new e.fn.init(o,n)},we=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+#x2F;g,Ee=/^-ms-/,ke=/-([\da-z])/gi,Fe=function(e,o){return o.toUpperCase()};De.fn=De.prototype={jquery:ye,constructor:De,selector:'',length:0,toArray:function(){return ge.call(this)},get:function(e){return null==e?ge.call(this):0>e?this[e+this.length]:this[e]},pushStack:function(e){var o=De.merge(this.constructor(),e);return o.prevObject=this,o.context=this.context,o},each:function(e){return De.each(this,e)},map:function(e){return this.pushStack(De.map(this,function(o,n){return e.call(o,n,o)}))},slice:function(){return this.pushStack(ge.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var o=this.length,n=+e+(0>e?o:0);return this.pushStack(0<=n&&n<o?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:he,sort:pe.sort,splice:pe.splice},De.extend=De.fn.extend=function(){var e=arguments[0]||{},o=1,a=arguments.length,r=!1,s,l,i,d,c,p;for('boolean'==typeof e&&(r=e,e=arguments[o]||{},o++),'object'===('undefined'==typeof e?'undefined':n(e))||De.isFunction(e)||(e={}),o===a&&(e=this,o--);o<a;o++)if(null!=(c=arguments[o]))for(d in c)(s=e[d],i=c[d],e!==i)&&(r&&i&&(De.isPlainObject(i)||(l=De.isArray(i)))?(l?(l=!1,p=s&&De.isArray(s)?s:[]):p=s&&De.isPlainObject(s)?s:{},e[d]=De.extend(r,p,i)):void 0!==i&&(e[d]=i));return e},De.extend({expando:'jQuery'+(ye+Math.random()).replace(/\D/g,''),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return'function'===De.type(e)},isArray:Array.isArray||function(e){return'array'===De.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var o=e&&e.toString();return!De.isArray(e)&&0<=o-parseFloat(o)+1},isEmptyObject:function(e){for(var o in e)return!1;return!0},isPlainObject:function(e){if(!e||'object'!==De.type(e)||e.nodeType||De.isWindow(e))return!1;try{if(e.constructor&&!Ce.call(e,'constructor')&&!Ce.call(e.constructor.prototype,'isPrototypeOf'))return!1}catch(o){return!1}if(!ve.ownFirst)for(var o in e)return Ce.call(e,o);for(o in e);return void 0==o||Ce.call(e,o)},type:function(e){return null==e?e+'':'object'===('undefined'==typeof e?'undefined':n(e))||'function'==typeof e?fe[_e.call(e)]||'object':'undefined'==typeof e?'undefined':n(e)},globalEval:function(e){e&&De.trim(e)&&(l.execScript||function(e){l.eval.call(l,e)})(e)},camelCase:function(e){return e.replace(Ee,'ms-').replace(ke,Fe)},nodeName:function(e,o){return e.nodeName&&e.nodeName.toLowerCase()===o.toLowerCase()},each:function(e,o){var n=0,a;if(c(e))for(a=e.length;n<a&&!1!==o.call(e[n],n,e[n]);n++);else for(n in e)if(!1===o.call(e[n],n,e[n]))break;return e},trim:function(e){return null==e?'':(e+'').replace(we,'')},makeArray:function(e,o){var n=o||[];return null!=e&&(c(Object(e))?De.merge(n,'string'==typeof e?[e]:e):he.call(n,e)),n},inArray:function(e,o,n){var r;if(o){if(be)return be.call(o,e,n);for(r=o.length,n=n?0>n?a(0,r+n):n:0;n<r;n++)if(n in o&&o[n]===e)return n}return-1},merge:function(e,o){for(var n=+o.length,a=0,r=e.length;a<n;)e[r++]=o[a++];if(n!=n)for(;void 0!==o[a];)e[r++]=o[a++];return e.length=r,e},grep:function(e,o,n){for(var a=[],r=0,s=e.length,l;r<s;r++)l=!o(e[r],r),l!==!n&&a.push(e[r]);return a},map:function(e,o,n){var a=0,r=[],s,l;if(c(e))for(s=e.length;a<s;a++)l=o(e[a],a,n),null!=l&&r.push(l);else for(a in e)l=o(e[a],a,n),null!=l&&r.push(l);return me.apply([],r)},guid:1,proxy:function(e,o){var n,a,r;if('string'==typeof o&&(r=e[o],o=e,e=r),!!De.isFunction(e))return n=ge.call(arguments,2),a=function(){return e.apply(o||this,n.concat(ge.call(arguments)))},a.guid=e.guid=e.guid||De.guid++,a},now:function(){return+new Date},support:ve}),'function'==typeof Symbol&&(De.fn[Symbol.iterator]=pe[Symbol.iterator]),De.each(['Boolean','Number','String','Function','Array','Date','RegExp','Object','Error','Symbol'],function(e,o){fe['[object '+o+']']=o.toLowerCase()});var $e=/*!
2
* Sizzle CSS Selector Engine v2.2.1
3
* http://sizzlejs.com/
4
*
1
+ (function(e){function o(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,o),r.l=!0,r.exports}var n={};return o.m=e,o.c=n,o.d=function(e,n,a){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},o.n=function(e){var n=e&&e.__esModule?function(){return e['default']}:function(){return e};return o.d(n,'a',n),n},o.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},o.p='/',o(o.s='./assets/js/index.js')})({"./assets/css/font-family-controls.min.css":function(){},"./assets/image/icons/customize-nav/animation.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny" x="0px" y="0px" viewBox="0 0 56.693 70.86625" xml:space="preserve"><path d="M46.39,36.714c-3.367,0-6.107-2.74-6.107-6.108c0-3.367,2.74-6.107,6.107-6.107c3.368,0,6.108,2.74,6.108,6.107 C52.498,33.974,49.758,36.714,46.39,36.714z M46.39,27.676c-1.615,0-2.929,1.314-2.929,2.929c0,1.615,1.314,2.93,2.929,2.93 s2.93-1.314,2.93-2.93C49.319,28.99,48.005,27.676,46.39,27.676z M22.127,38.875c-0.111-0.869,0.508-1.663,1.377-1.775l0,0 c0.869-0.106,1.664,0.514,1.775,1.383l0,0l0,0l0,0c0.106,0.874-0.508,1.663-1.383,1.774l0,0c-0.064,0.006-0.132,0.011-0.196,0.011 l0,0C22.911,40.268,22.222,39.68,22.127,38.875z M21.084,33.964L21.084,33.964c-0.255-0.842,0.222-1.727,1.065-1.981l0,0 c0.837-0.255,1.721,0.222,1.981,1.065l0,0c0.249,0.837-0.222,1.727-1.065,1.975l0,0c-0.154,0.048-0.307,0.069-0.461,0.069l0,0 C21.921,35.093,21.29,34.653,21.084,33.964z M19.23,29.298L19.23,29.298c-0.387-0.784-0.069-1.738,0.715-2.13l0,0 c0.789-0.392,1.743-0.074,2.135,0.715l0,0l0,0l0,0c0.386,0.784,0.069,1.737-0.715,2.129l0,0c-0.228,0.111-0.471,0.165-0.71,0.165 l0,0C20.072,30.177,19.51,29.854,19.23,29.298z M16.624,25.007L16.624,25.007c-0.519-0.71-0.361-1.705,0.35-2.219l0,0 c0.71-0.519,1.7-0.36,2.219,0.344l0,0c0.519,0.71,0.36,1.706-0.35,2.225l0,0c-0.28,0.201-0.609,0.302-0.932,0.302l0,0 C17.419,25.659,16.937,25.431,16.624,25.007z M13.335,21.209c-0.625-0.614-0.636-1.621-0.021-2.251l0,0 c0.609-0.625,1.615-0.635,2.246-0.026l0,0c0.625,0.615,0.636,1.621,0.027,2.251l0,0c-0.313,0.318-0.726,0.477-1.139,0.477l0,0 C14.044,21.66,13.647,21.512,13.335,21.209z M9.462,18.005c-0.72-0.498-0.9-1.488-0.402-2.209l0,0c0.503-0.72,1.494-0.9,2.214-0.402 l0,0c0.72,0.503,0.9,1.494,0.397,2.214l0,0c-0.307,0.445-0.8,0.683-1.303,0.683l0,0C10.056,18.291,9.738,18.201,9.462,18.005z M5.109,15.5c-0.795-0.376-1.133-1.319-0.763-2.114l0,0c0.371-0.795,1.319-1.139,2.114-0.768l0,0c0,0,0,0,0,0.005l0,0 c0.795,0.371,1.133,1.319,0.763,2.114l0,0c-0.27,0.572-0.842,0.911-1.441,0.911l0,0C5.559,15.648,5.326,15.6,5.109,15.5z M22.821,43.758c-0.62-0.625-0.614-1.631,0.006-2.251l0,0l0,0l0,0c0.625-0.615,1.631-0.615,2.251,0.011l0,0 c0.615,0.625,0.609,1.626-0.011,2.245l0,0c-0.307,0.307-0.715,0.461-1.117,0.461l0,0C23.536,44.224,23.128,44.071,22.821,43.758z M26.704,40.157c-0.509-0.721-0.334-1.711,0.382-2.22l0,0c0.72-0.503,1.711-0.328,2.214,0.387l0,0 c0.508,0.715,0.334,1.711-0.381,2.214l0,0c-0.281,0.196-0.598,0.291-0.917,0.291l0,0C27.504,40.829,27.011,40.591,26.704,40.157z M31.137,37.254c-0.381-0.795-0.048-1.743,0.747-2.119l0,0c0.789-0.381,1.737-0.048,2.119,0.747l0,0 c0.376,0.789,0.042,1.738-0.747,2.119l0,0c-0.222,0.106-0.455,0.154-0.688,0.154l0,0C31.974,38.154,31.408,37.82,31.137,37.254z M35.984,35.125c-0.238-0.842,0.249-1.722,1.091-1.965l0,0l0,0l0,0c0.842-0.244,1.722,0.244,1.965,1.091l0,0 c0.244,0.842-0.244,1.722-1.086,1.965h-0.005c-0.143,0.042-0.291,0.058-0.435,0.058l0,0C36.821,36.274,36.185,35.824,35.984,35.125z "></path></svg>'},"./assets/image/icons/customize-nav/background-color.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M89.691,49.851c0.056-0.609-0.127-1.217-0.523-1.688L55.216,7.299c-0.813-0.983-2.271-1.114-3.256-0.302l-6.685,5.56 c-13.468-2.367-24.385,1.029-26.057,8.193c-0.782,3.392,0.74,6.969,3.922,10.195L1.917,48.582 c-0.985,0.817-1.114,2.271-0.301,3.254L35.568,92.7c0.396,0.478,0.963,0.765,1.575,0.823c0.064,0.006,0.139,0.012,0.203,0.012 c0.547,0,1.061-0.188,1.479-0.531l50.045-41.585C89.337,51.022,89.64,50.46,89.691,49.851z M23.718,21.793 c0.804-3.431,7.467-5.982,16.713-5.22l-13.723,11.41C24.436,25.793,23.311,23.581,23.718,21.793z M83.342,50.004L7.38,50.049 l19.381-16.103c3.889,2.722,9.021,4.992,14.944,6.363c3.718,0.869,7.406,1.289,10.832,1.289c3.439,0,6.567-0.466,9.269-1.302 c0.419,0.316,0.87,0.597,1.402,0.757c2.42,0.738,4.982-0.631,5.724-3.052c0.737-2.423-0.621-4.987-3.056-5.725 c-2.421-0.736-4.982,0.63-5.72,3.054c-0.077,0.229-0.033,0.46-0.064,0.693c-4.554,1.306-10.907,1.281-17.346-0.211 c-4.972-1.155-9.116-2.944-12.29-4.936l22.682-18.848l31.004,37.311L83.342,50.004z M90.263,50.445c0,0-8.66,19.28-8.66,24.057 c0,4.779,3.879,8.657,8.66,8.657c4.785,0,8.655-3.878,8.655-8.657C98.918,69.725,90.263,50.445,90.263,50.445z"></path></g></svg>'},"./assets/image/icons/customize-nav/block-align.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><switch><g xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" i:extraneous="self"><g><rect x="86.6" y="9.1" width="8.4" height="81.8"></rect><rect x="29.6" y="54.2" width="48.5" height="26.2"></rect><rect x="5" y="19.5" width="73.1" height="26.2"></rect></g></g></switch></svg>'},"./assets/image/icons/customize-nav/border-radius.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M72.5,50V40c0-6.9-5.6-12.5-12.5-12.5H50v-20C50,6.1,48.9,5,47.5,5h-40C6.1,5,5,6.1,5,7.5v40C5,48.9,6.1,50,7.5,50h20v10 c0,6.9,5.6,12.5,12.5,12.5h10C50,84.9,60.1,95,72.5,95S95,84.9,95,72.5S84.9,50,72.5,50z M27.5,40v5H10V10h35v17.5h-5 C33.1,27.5,27.5,33.1,27.5,40z M40,67.5c-4.1,0-7.5-3.4-7.5-7.5V40c0-4.1,3.4-7.5,7.5-7.5h20c4.1,0,7.5,3.4,7.5,7.5v10.6 c-8.4,1.9-15,8.5-16.9,16.9H40z M72.5,90C62.9,90,55,82.1,55,72.5S62.9,55,72.5,55S90,62.9,90,72.5S82.1,90,72.5,90z"></path></svg>'},"./assets/image/icons/customize-nav/border.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125" x="0px" y="0px"><g data-name="Layer 2"><path d="M92.087,85.3913a1.91314,1.91314,0,0,0-1.913,1.913v2.86957H87.30435a1.913,1.913,0,1,0,0,3.82609H92.087A1.91314,1.91314,0,0,0,94,92.087V87.30435A1.91314,1.91314,0,0,0,92.087,85.3913Z"></path><path d="M73.85,94h6.11557a1.913,1.913,0,1,0,0-3.82609H73.85A1.913,1.913,0,0,0,73.85,94Z"></path><path d="M60.3961,94h6.11557a1.913,1.913,0,0,0,0-3.82609H60.3961a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M33.48832,94H39.6039a1.913,1.913,0,0,0,0-3.82609H33.48832a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M46.94221,94h6.11557a1.913,1.913,0,1,0,0-3.82609H51.913V87.30435a1.913,1.913,0,1,0-3.82609,0v2.86957H46.94221a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M26.14954,90.17391H20.03443a1.913,1.913,0,0,0,0,3.82609h6.11511a1.913,1.913,0,1,0,0-3.82609Z"></path><path d="M7.913,94h4.78261a1.913,1.913,0,1,0,0-3.82609H9.82609V87.30435a1.913,1.913,0,1,0-3.82609,0V92.087A1.91314,1.91314,0,0,0,7.913,94Z"></path><path d="M7.913,81.87908a1.91314,1.91314,0,0,0,1.913-1.913V73.85046a1.913,1.913,0,1,0-3.82609,0V79.966A1.91314,1.91314,0,0,0,7.913,81.87908Z"></path><path d="M7.913,68.42519a1.91314,1.91314,0,0,0,1.913-1.913V60.39657a1.913,1.913,0,0,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,68.42519Z"></path><path d="M7.913,54.97036a1.91314,1.91314,0,0,0,1.913-1.913V51.913h2.86957a1.913,1.913,0,1,0,0-3.82609H9.82609V46.94175a1.913,1.913,0,0,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,54.97036Z"></path><path d="M7.913,41.51647a1.91314,1.91314,0,0,0,1.913-1.913V33.48786a1.913,1.913,0,1,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,41.51647Z"></path><path d="M7.913,28.06258a1.91314,1.91314,0,0,0,1.913-1.913V20.034A1.913,1.913,0,1,0,6,20.034v6.11557A1.91314,1.91314,0,0,0,7.913,28.06258Z"></path><path d="M7.913,14.6087a1.91314,1.91314,0,0,0,1.913-1.913V9.82609h2.86957a1.913,1.913,0,1,0,0-3.82609H7.913A1.91314,1.91314,0,0,0,6,7.913v4.78261A1.91314,1.91314,0,0,0,7.913,14.6087Z"></path><path d="M33.48832,9.82609H39.6039A1.913,1.913,0,1,0,39.6039,6H33.48832a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M26.15,6H20.03443a1.913,1.913,0,1,0,0,3.82609H26.15A1.913,1.913,0,1,0,26.15,6Z"></path><path d="M60.3961,9.82609h6.11557a1.913,1.913,0,1,0,0-3.82609H60.3961a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M73.85046,9.82609h6.11511a1.913,1.913,0,1,0,0-3.82609H73.85046a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M92.087,6H87.30435a1.913,1.913,0,1,0,0,3.82609h2.86957v2.86957a1.913,1.913,0,1,0,3.82609,0V7.913A1.91314,1.91314,0,0,0,92.087,6Z"></path><path d="M92.087,31.57481a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V33.48786A1.91314,1.91314,0,0,0,92.087,31.57481Z"></path><path d="M92.087,18.12092a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,1,0,3.82609,0V20.034A1.91314,1.91314,0,0,0,92.087,18.12092Z"></path><path d="M92.087,71.93742a1.91314,1.91314,0,0,0-1.913,1.913V79.966A1.913,1.913,0,1,0,94,79.966V73.85046A1.91314,1.91314,0,0,0,92.087,71.93742Z"></path><path d="M92.087,58.48353a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V60.39657A1.91314,1.91314,0,0,0,92.087,58.48353Z"></path><path d="M92.087,45.02964a1.91314,1.91314,0,0,0-1.913,1.913V48.087H87.30435a1.913,1.913,0,1,0,0,3.82609h2.86957v1.14521a1.913,1.913,0,0,0,3.82609,0V46.94268A1.91314,1.91314,0,0,0,92.087,45.02964Z"></path><path d="M51.913,9.82609h1.14474a1.913,1.913,0,1,0,0-3.82609H46.94221a1.913,1.913,0,1,0,0,3.82609H48.087v2.86957a1.913,1.913,0,1,0,3.82609,0Z"></path><path d="M51.913,20.034a1.913,1.913,0,1,0-3.82609,0v6.11557a1.913,1.913,0,1,0,3.82609,0Z"></path><path d="M50,31.57481a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V33.48786A1.91314,1.91314,0,0,0,50,31.57481Z"></path><path d="M50,71.93742a1.91314,1.91314,0,0,0-1.913,1.913V79.966a1.913,1.913,0,1,0,3.82609,0V73.85046A1.91314,1.91314,0,0,0,50,71.93742Z"></path><path d="M51.913,60.39657a1.913,1.913,0,0,0-3.82609,0v6.11557a1.913,1.913,0,0,0,3.82609,0Z"></path><path d="M73.85,51.913h6.11557a1.913,1.913,0,1,0,0-3.82609H73.85a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M60.3961,51.913h6.11557a1.913,1.913,0,0,0,0-3.82609H60.3961a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M26.14954,48.087H20.03443a1.913,1.913,0,0,0,0,3.82609h6.11511a1.913,1.913,0,1,0,0-3.82609Z"></path><path d="M46.94221,51.913H48.087v1.14521a1.913,1.913,0,0,0,3.82609,0V51.913h1.14474a1.913,1.913,0,1,0,0-3.82609H51.913V46.94268a1.913,1.913,0,1,0-3.82609,0V48.087H46.94221a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M33.48832,51.913H39.6039a1.913,1.913,0,0,0,0-3.82609H33.48832a1.913,1.913,0,0,0,0,3.82609Z"></path></g></svg>'},"./assets/image/icons/customize-nav/box-shadow.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 30 37.5" xml:space="preserve"><g transform="translate(-30 -740)"><g xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon points="50,748 50,746 36,746 36,760 38,760 38,748 "></polygon><polygon points="54,746 54,748 57,748 57,767 38,767 38,764 36,764 36,769 59,769 59,746 "></polygon><path d="M30,740v23h23v-23H30z M51,761H32v-19h19V761z"></path></g></g></svg>'},"./assets/image/icons/customize-nav/color.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M52.2,9.693L50,7.916l-2.2,1.777c-1.262,1.02-30.898,25.245-30.898,49.291c0,18.251,14.848,33.1,33.099,33.1 s33.099-14.849,33.099-33.1C83.099,34.938,53.462,10.713,52.2,9.693z M23.901,58.984c0-17.244,19.442-36.027,26.099-41.951v68.051 C35.609,85.084,23.901,73.376,23.901,58.984z"></path></g></svg>'},"./assets/image/icons/customize-nav/custom-class.svg":function(e){e.exports='<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512.00001 640.0000124999999" version="1.1" x="0px" y="0px"><g transform="translate(0,-540.36216)"><path style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" clip-path="none" d="M 92.792969 1 C 76.538969 1 63.142578 14.396441 63.142578 30.650391 L 63.142578 481.35156 C 63.142578 497.60556 76.538969 511 92.792969 511 L 419.20703 511 C 435.46103 511 448.85742 497.60556 448.85742 481.35156 L 448.85742 127.44336 L 446.01562 124.54688 L 324.80664 1 L 92.792969 1 z M 92.792969 20.863281 L 310.70508 20.863281 L 310.70508 111.28906 C 310.70508 127.66254 323.99953 141.43364 340.55273 141.43359 L 428.99414 141.43359 L 428.99414 481.35156 C 428.99414 486.94536 424.80083 491.13867 419.20703 491.13867 L 92.792969 491.13867 C 87.199169 491.13867 83.005859 486.94536 83.005859 481.35156 L 83.005859 30.650391 C 83.005859 25.056601 87.199169 20.863281 92.792969 20.863281 z M 330.56836 35.236328 L 415.26953 121.57031 L 340.55273 121.57031 C 335.25823 121.57033 330.56846 116.76328 330.56836 111.28906 L 330.56836 35.236328 z M 124.42188 47.574219 C 124.35287 47.574219 124.2858 47.584938 124.2168 47.585938 L 293.37305 145.24805 C 292.64965 144.11235 291.95757 142.95381 291.32227 141.75781 L 128.19531 47.576172 L 124.42188 47.576172 L 124.42188 47.574219 z M 139.51562 47.574219 L 287.71094 133.13672 C 287.42084 132.22392 287.15176 131.30063 286.91016 130.36523 L 143.51172 47.574219 L 139.51562 47.574219 z M 154.83398 47.574219 L 285.56445 123.05273 C 285.47245 122.24703 285.4017 121.43459 285.3457 120.61719 L 158.83008 47.574219 L 154.83398 47.574219 z M 170.15039 47.574219 L 285.20117 114 L 285.20117 111.69141 L 174.14844 47.574219 L 170.15039 47.574219 z M 185.46875 47.574219 L 285.20117 105.1543 L 285.20117 102.84961 L 189.4668 47.574219 L 185.46875 47.574219 z M 200.78711 47.574219 L 285.20117 96.3125 L 285.20117 94.003906 L 204.7832 47.574219 L 200.78711 47.574219 z M 216.10352 47.574219 L 285.20117 87.466797 L 285.20117 85.162109 L 220.10156 47.574219 L 216.10352 47.574219 z M 231.41992 47.574219 L 285.20117 78.625 L 285.20117 76.316406 L 235.41602 47.574219 L 231.41992 47.574219 z M 246.73828 47.574219 L 285.20117 69.783203 L 285.20117 67.474609 L 250.73438 47.574219 L 246.73828 47.574219 z M 262.05469 47.574219 L 285.20117 60.9375 L 285.20117 58.628906 L 266.05273 47.574219 L 262.05469 47.574219 z M 277.37109 47.574219 L 285.20117 52.095703 L 285.20117 49.787109 L 281.36914 47.574219 L 277.37109 47.574219 z M 116.61719 49.732422 C 115.98099 50.112122 115.36807 50.524734 114.79688 50.990234 L 402.80273 217.26953 L 402.80273 214.96289 L 313.89844 163.63281 C 311.79624 162.60021 309.77201 161.43804 307.84961 160.14062 L 116.61719 49.732422 z M 111.10938 55.400391 C 110.78628 55.982191 110.50557 56.590797 110.25977 57.216797 L 402.80273 226.11328 L 402.80273 223.80664 L 111.10938 55.400391 z M 109.19727 63.136719 L 109.19727 65.445312 L 402.80273 234.95703 L 402.80273 232.65039 L 109.19727 63.136719 z M 109.19727 71.978516 L 109.19727 74.287109 L 402.80273 243.80078 L 402.80273 241.49219 L 109.19727 71.978516 z M 109.19727 80.824219 L 109.19727 83.132812 L 393.25195 247.13086 L 397.25195 247.13086 L 109.19727 80.824219 z M 109.19727 89.666016 L 109.19727 91.974609 L 377.93555 247.13086 L 381.93359 247.13086 L 109.19727 89.666016 z M 109.19727 98.511719 L 109.19727 100.82031 L 362.61719 247.13086 L 366.61523 247.13086 L 109.19727 98.511719 z M 109.19727 107.35352 L 109.19727 109.66211 L 347.29883 247.13086 L 351.29883 247.13086 L 109.19727 107.35352 z M 109.19727 116.19922 L 109.19727 118.50781 L 331.98438 247.13086 L 335.98047 247.13086 L 109.19727 116.19922 z M 109.19727 125.04102 L 109.19727 127.34961 L 316.66602 247.13086 L 320.66211 247.13086 L 109.19727 125.04102 z M 109.19727 133.88672 L 109.19727 136.19531 L 301.34766 247.13086 L 305.34375 247.13086 L 109.19727 133.88672 z M 109.19727 142.72852 L 109.19727 145.03711 L 286.03125 247.13086 L 290.02734 247.13086 L 109.19727 142.72852 z M 109.19727 151.57031 L 109.19727 153.87891 L 270.71484 247.13086 L 274.71289 247.13086 L 109.19727 151.57031 z M 109.19727 160.41602 L 109.19727 162.72461 L 255.39453 247.13086 L 259.39258 247.13086 L 109.19727 160.41602 z M 334.31641 168.88672 L 402.80273 208.42578 L 402.80273 206.12109 L 338.4375 168.95703 L 337.0957 168.95703 C 336.1621 168.95703 335.23631 168.93332 334.31641 168.88672 z M 349.75586 168.95703 L 402.80273 199.58398 L 402.80273 197.27539 L 353.75391 168.95703 L 349.75586 168.95703 z M 365.07422 168.95703 L 402.80273 190.74023 L 402.80273 188.43359 L 369.07031 168.95703 L 365.07422 168.95703 z M 380.39062 168.95703 L 402.80273 181.89648 L 402.80273 179.58789 L 384.38867 168.95703 L 380.39062 168.95703 z M 395.70898 168.95703 L 402.80273 173.05273 L 402.80273 170.74609 L 399.70703 168.95703 L 395.70898 168.95703 z M 109.19727 169.25781 L 109.19727 171.56641 L 240.07812 247.13086 L 244.07617 247.13086 L 109.19727 169.25781 z M 109.19727 178.10352 L 109.19727 180.41211 L 224.75781 247.13086 L 228.75781 247.13086 L 109.19727 178.10352 z M 109.19727 186.94531 L 109.19727 189.25391 L 209.44336 247.13086 L 213.44141 247.13086 L 109.19727 186.94531 z M 109.19727 195.79102 L 109.19727 198.09961 L 194.12305 247.13086 L 198.12109 247.13086 L 109.19727 195.79102 z M 109.19727 204.63281 L 109.19727 206.94141 L 178.80859 247.13086 L 182.80664 247.13086 L 109.19727 204.63281 z M 109.19727 213.47852 L 109.19727 215.78516 L 163.49023 247.13086 L 167.48438 247.13086 L 109.19727 213.47852 z M 109.19727 222.32031 L 109.19727 224.62891 L 148.17188 247.13086 L 152.16992 247.13086 L 109.19727 222.32031 z M 109.19727 231.16211 L 109.19727 233.47266 L 132.85352 247.13086 L 136.85547 247.13086 L 109.19727 231.16211 z M 109.19727 240.00586 L 109.19727 242.31641 L 117.53711 247.13086 L 121.53906 247.13086 L 109.19727 240.00586 z M 144.33398 293.35352 C 135.81185 293.35352 128.93652 296.16243 123.70703 301.7793 C 118.47754 307.36849 115.86133 315.22656 115.86133 325.35352 C 115.86133 334.92708 118.46224 342.48177 123.66406 348.01562 C 128.86589 353.52181 135.50651 356.27344 143.58594 356.27344 C 150.11589 356.27344 155.49902 354.66862 159.73242 351.45898 C 163.99349 348.22168 167.03711 343.2832 168.86328 336.64258 L 156.95117 332.86523 C 155.92741 337.31999 154.23861 340.58496 151.88672 342.66016 C 149.53483 344.73535 146.72786 345.77344 143.46289 345.77344 C 139.03581 345.77344 135.4388 344.14193 132.67188 340.87695 C 129.90495 337.61198 128.52148 332.13346 128.52148 324.44141 C 128.52148 317.19206 129.91829 311.94824 132.71289 308.71094 C 135.53516 305.47363 139.20085 303.85547 143.71094 303.85547 C 146.97591 303.85547 149.74284 304.76758 152.01172 306.59375 C 154.30827 308.41992 155.81576 310.91016 156.53516 314.06445 L 168.69727 311.16016 C 167.3138 306.29036 165.23763 302.55404 162.4707 299.95312 C 157.82227 295.55371 151.77702 293.35352 144.33398 293.35352 z M 314.29297 293.35352 C 309.61686 293.35352 305.61719 294.05957 302.29688 295.4707 C 299.00423 296.88184 296.47396 298.94271 294.70312 301.6543 C 292.95996 304.33822 292.08789 307.23112 292.08789 310.33008 C 292.08789 315.14453 293.95605 319.22428 297.69141 322.57227 C 300.34766 324.95182 304.96745 326.95931 311.55273 328.5918 C 316.67155 329.86458 319.94987 330.75 321.38867 331.24805 C 323.49154 331.99512 324.95898 332.88053 325.78906 333.9043 C 326.64681 334.90039 327.07617 336.11784 327.07617 337.55664 C 327.07617 339.79785 326.06478 341.76139 324.04492 343.44922 C 322.05273 345.10938 319.07975 345.93945 315.12305 345.93945 C 311.3877 345.93945 308.41276 344.9987 306.19922 343.11719 C 304.01335 341.23568 302.5612 338.28939 301.8418 334.27734 L 289.88867 335.43945 C 290.69108 342.24609 293.15267 347.43457 297.27539 351.00391 C 301.39811 354.54557 307.30599 356.31641 314.99805 356.31641 C 320.28288 356.31641 324.69661 355.58171 328.23828 354.11523 C 331.77995 352.62109 334.51823 350.35221 336.45508 347.30859 C 338.39193 344.26497 339.36133 341 339.36133 337.51367 C 339.36133 333.66764 338.5446 330.44466 336.91211 327.84375 C 335.30729 325.21517 333.0651 323.1543 330.1875 321.66016 C 327.33757 320.13835 322.92578 318.6709 316.94922 317.25977 C 310.97266 315.84863 307.20964 314.49382 305.66016 313.19336 C 304.44271 312.1696 303.83398 310.9388 303.83398 309.5 C 303.83398 307.92285 304.48275 306.66341 305.7832 305.72266 C 307.80306 304.25618 310.59863 303.52344 314.16797 303.52344 C 317.62663 303.52344 320.21419 304.21419 321.92969 305.59766 C 323.67285 306.95345 324.80632 309.19564 325.33203 312.32227 L 337.61719 311.78125 C 337.4235 306.19206 335.38932 301.72493 331.51562 298.37695 C 327.6696 295.02897 321.92969 293.35352 314.29297 293.35352 z M 371.07031 293.35352 C 366.39421 293.35352 362.39453 294.05957 359.07422 295.4707 C 355.78158 296.88184 353.2513 298.94271 351.48047 301.6543 C 349.7373 304.33822 348.86523 307.23112 348.86523 310.33008 C 348.86523 315.14453 350.7334 319.22428 354.46875 322.57227 C 357.125 324.95182 361.74479 326.95931 368.33008 328.5918 C 373.44889 329.86458 376.72721 330.75 378.16602 331.24805 C 380.26888 331.99512 381.73633 332.88053 382.56641 333.9043 C 383.42415 334.90039 383.85352 336.11784 383.85352 337.55664 C 383.85352 339.79785 382.84212 341.76139 380.82227 343.44922 C 378.83008 345.10938 375.8571 345.93945 371.90039 345.93945 C 368.16504 345.93945 365.1901 344.9987 362.97656 343.11719 C 360.79069 341.23568 359.33854 338.28939 358.61914 334.27734 L 346.66602 335.43945 C 347.46842 342.24609 349.93001 347.43457 354.05273 351.00391 C 358.17546 354.54557 364.08333 356.31641 371.77539 356.31641 C 377.06022 356.31641 381.47396 355.58171 385.01562 354.11523 C 388.55729 352.62109 391.29557 350.35221 393.23242 347.30859 C 395.16927 344.26497 396.13867 341 396.13867 337.51367 C 396.13867 333.66764 395.32194 330.44466 393.68945 327.84375 C 392.08464 325.21517 389.84245 323.1543 386.96484 321.66016 C 384.11491 320.13835 379.70312 318.6709 373.72656 317.25977 C 367.75 315.84863 363.98698 314.49382 362.4375 313.19336 C 361.22005 312.1696 360.61133 310.9388 360.61133 309.5 C 360.61133 307.92285 361.26009 306.66341 362.56055 305.72266 C 364.5804 304.25618 367.37598 303.52344 370.94531 303.52344 C 374.40397 303.52344 376.99154 304.21419 378.70703 305.59766 C 380.4502 306.95345 381.58366 309.19564 382.10938 312.32227 L 394.39453 311.78125 C 394.20085 306.19206 392.16667 301.72493 388.29297 298.37695 C 384.44694 295.02897 378.70703 293.35352 371.07031 293.35352 z M 248.92383 294.39258 L 225.22461 355.23633 L 238.25781 355.23633 L 243.2793 341.41602 L 267.59961 341.41602 L 272.91211 355.23633 L 286.27734 355.23633 L 261.91406 294.39258 L 248.92383 294.39258 z M 179.77734 294.89062 L 179.77734 355.23633 L 222.60938 355.23633 L 222.60938 344.98438 L 192.0625 344.98438 L 192.0625 294.89062 L 179.77734 294.89062 z M 255.27344 308.58594 L 263.6582 331.16406 L 247.05664 331.16406 L 255.27344 308.58594 z M 117.2207 406.13086 L 218.1875 464.42578 L 222.18555 464.42578 L 121.2168 406.13086 L 117.2207 406.13086 z M 132.53906 406.13086 L 233.50586 464.42578 L 237.50391 464.42578 L 136.53516 406.13086 L 132.53906 406.13086 z M 147.85352 406.13086 L 248.82227 464.42578 L 252.81836 464.42578 L 151.85156 406.13086 L 147.85352 406.13086 z M 163.16992 406.13086 L 264.13867 464.42578 L 268.13672 464.42578 L 167.16992 406.13086 L 163.16992 406.13086 z M 178.48828 406.13086 L 279.45703 464.42578 L 283.45508 464.42578 L 182.48633 406.13086 L 178.48828 406.13086 z M 193.80469 406.13086 L 294.77344 464.42578 L 298.77148 464.42578 L 197.80469 406.13086 L 193.80469 406.13086 z M 209.12305 406.13086 L 310.0918 464.42578 L 314.08789 464.42578 L 213.12109 406.13086 L 209.12305 406.13086 z M 224.44141 406.13086 L 325.4082 464.42578 L 329.40625 464.42578 L 228.43945 406.13086 L 224.44141 406.13086 z M 239.75781 406.13086 L 340.72656 464.42578 L 344.72461 464.42578 L 243.75586 406.13086 L 239.75781 406.13086 z M 255.07617 406.13086 L 356.04492 464.42578 L 360.04102 464.42578 L 259.07422 406.13086 L 255.07617 406.13086 z M 270.39453 406.13086 L 371.36328 464.42578 L 375.35938 464.42578 L 274.39258 406.13086 L 270.39453 406.13086 z M 285.70898 406.13086 L 386.67969 464.42578 L 387.57617 464.42578 C 388.48967 464.42578 389.37965 464.32888 390.24805 464.17578 L 289.71094 406.13086 L 285.70898 406.13086 z M 301.02734 406.13086 L 396.71289 461.375 C 397.27969 460.9498 397.82497 460.49489 398.32617 459.99609 L 305.0293 406.13086 L 301.02734 406.13086 z M 316.3457 406.13086 L 401.52539 455.30859 C 401.79489 454.69151 402.02003 454.05159 402.20703 453.39453 L 320.34375 406.13086 L 316.3457 406.13086 z M 331.66211 406.13086 L 402.80273 447.20312 L 402.80273 444.89453 L 335.66211 406.13086 L 331.66211 406.13086 z M 346.98047 406.13086 L 402.80273 438.35938 L 402.80273 436.05078 L 350.98047 406.13086 L 346.98047 406.13086 z M 362.29883 406.13086 L 402.80273 429.51562 L 402.80273 427.20703 L 366.29688 406.13086 L 362.29883 406.13086 z M 377.61719 406.13086 L 402.80273 420.67188 L 402.80273 418.36328 L 381.61523 406.13086 L 377.61719 406.13086 z M 392.93555 406.13086 L 402.80273 411.82812 L 402.80273 409.51953 L 396.93359 406.13086 L 392.93555 406.13086 z M 109.19727 408.03516 L 109.19727 410.3418 L 202.87109 464.42578 L 206.86719 464.42578 L 109.19727 408.03516 z M 109.19727 416.87891 L 109.19727 419.18555 L 187.55273 464.42578 L 191.54883 464.42578 L 109.19727 416.87891 z M 109.19727 425.72266 L 109.19727 428.0293 L 172.23438 464.42578 L 176.23242 464.42578 L 109.19727 425.72266 z M 109.19727 434.56641 L 109.19727 436.87305 L 156.91602 464.42578 L 160.91406 464.42578 L 109.19727 434.56641 z M 109.19727 443.41016 L 109.19727 445.7168 L 141.59961 464.42578 L 145.59766 464.42578 L 109.19727 443.41016 z M 109.55273 452.45703 C 109.76613 453.44144 110.07224 454.3887 110.46484 455.29102 L 126.28125 464.42578 L 130.2793 464.42578 L 109.55273 452.45703 z " transform="translate(0,540.36216)"></path></g></svg>'},"./assets/image/icons/customize-nav/design.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="-949 951 100 125" style="enable-background:new -949 951 100 100;" xml:space="preserve"><switch><g xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" i:extraneous="self"><g><path d="M-853.3,973.6c2-2,2-5.3,0-7.4l-10.9-10.9c-2-2-5.3-2-7.4,0l-4.5,4.5l18.3,18.3L-853.3,973.6z"></path><path d="M-852.1,1027.7l-27.7-27.7l19.4-19.4l-18.3-18.3l-19.4,19.4l-27.7-27.7c-0.7-0.7-1.9-0.7-2.7,0l-17.6,17.6 c-0.4,0.4-0.6,0.8-0.6,1.3s0.2,1,0.6,1.3l27.7,27.7l-22,22c-0.6,0.6-1,1.3-1.1,2.1l-3.6,17.5c-0.2,0.8,0,1.6,0.4,2.2 c0.6,0.9,1.8,1.4,2.8,1.2l17.6-3.6c0.8-0.2,1.6-0.6,2.1-1.1l22-22l27.7,27.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l17.6-17.6 c0.4-0.4,0.6-0.8,0.6-1.3C-851.5,1028.5-851.7,1028-852.1,1027.7z M-924.7,1039.9l-11.1,2.3l-4.3-4.3l2.3-11.1l0.1-0.1l3.8,0.7 l-0.1,3.3c0,0.3,0.2,0.5,0.5,0.5l4.7-0.2l-0.2,4.7c0,0.3,0.2,0.5,0.5,0.5l3.3-0.1L-924.7,1039.9L-924.7,1039.9z M-941.9,973 l14.9-14.9l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4 c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7 c0.4,0.4,0.9,0.6,1.3,0.6c0.5,0,1-0.2,1.3-0.6l7.4-7.4l4.2,4.2l-14.9,14.9L-941.9,973z M-871,1043.9l-26.3-26.3l14.9-14.9 l4.2,4.2l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4 c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7 c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7L-871,1043.9z"></path></g></g></switch></svg>'},"./assets/image/icons/customize-nav/devices.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M93.8,42.6H81.2c-2,0-3.7,1.7-3.7,3.8v1.1v26v0.7c0,2.1,1.7,3.8,3.7,3.8h12.6c2,0,3.7-1.7,3.7-3.8v-0.7v-7.1V49.7v-2.1 v-1.1C97.5,44.3,95.9,42.6,93.8,42.6z M89.1,76.4h-3.6c-0.5,0-1-0.4-1-1s0.4-1,1-1h3.6c0.5,0,1,0.4,1,1S89.7,76.4,89.1,76.4z M94.7,72.8C94.7,72.8,94.6,72.8,94.7,72.8l-14.2,0c0,0-0.1,0-0.1,0V47.8c0,0,0.1,0,0.1,0h14.2c0,0,0,0,0.1,0V72.8z M81.9,29.7 c-0.5-0.2-1-0.3-1.5-0.3l-12.9,0l-12.9,0c-0.5,0-1,0.1-1.5,0.3c-1.4,0.6-2.3,2-2.3,3.6V34v35.3l0,4.8c0,2.2,1.7,3.9,3.8,3.9l6.7,0 c0,0,0,0,0,0l6.2,0l6.2,0c0,0,0,0,0,0l2.2,0c-0.7-1.1-1.2-2.4-1.2-3.8v-2.3h-2.7H54.5c0,0-0.1,0-0.1,0V34.7c0,0,0,0,0,0 c0,0,0.1,0,0.1,0h26.1c0,0,0.1,0,0.1,0v5c0.2,0,0.4,0,0.6,0h2.9v-5.8l0,0v-0.6C84.2,31.7,83.2,30.3,81.9,29.7z M64.9,74.4 c0-0.1,0.1-0.1,0.1-0.2c0.2-0.2,0.4-0.3,0.7-0.3h3.7c0.4,0,0.7,0.2,0.9,0.5c0.1,0.1,0.1,0.3,0.1,0.5s0,0.3-0.1,0.5 c-0.2,0.3-0.5,0.5-0.9,0.5h-3.7c-0.5,0-1-0.5-1-1C64.7,74.8,64.8,74.6,64.9,74.4z M63,26.4v0.3l-1.8,0h-54v33h40.9l0,9.4h-8.6 c0,0.9,0.5,4.8,6.4,5.6h-0.3c0.9,0,1.7,0.8,1.7,1.7c0,0.9-0.8,1.7-1.7,1.7H19.8c-0.9,0-1.7-0.8-1.7-1.7c0-0.9,0.8-1.7,1.7-1.7h-0.2 c5.9-0.7,6.4-4.7,6.4-5.6H6.4c-2.1,0-3.8-1.7-3.9-3.7h0v-0.1c0,0,0,0,0-0.1v-0.3c0,0,0,0,0-0.1v-5.9c0,0,0,0,0-0.1V26.4 c0-2.4,2-4.4,4.4-4.4h51.7C61.1,22,63,24,63,26.4z"></path></g></svg>'},"./assets/image/icons/customize-nav/divider.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 29 37.5" xml:space="preserve"><g transform="translate(-390 -740)"><g xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><rect x="404" y="744" width="1" height="3"></rect><rect x="404" y="748" width="1" height="3"></rect><rect x="404" y="752" width="1" height="3"></rect><rect x="404" y="756" width="1" height="3"></rect><rect x="404" y="760" width="1" height="3"></rect><rect x="404" y="764" width="1" height="3"></rect><polygon points="393,746 402,746 402,745 392,745 392,766 402,766 402,765 393,765 "></polygon><rect x="394" y="747" width="8" height="17"></rect><polygon points="416,765 407,765 407,766 417,766 417,745 407,745 407,746 416,746 "></polygon><rect x="407" y="747" width="8" height="17"></rect></g></g></svg>'},"./assets/image/icons/customize-nav/font-size.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 64 80" enable-background="new 0 0 64 64" xml:space="preserve"><g><g><path d="M36,12H12c-1.104,0-2,0.896-2,2v4c0,1.104,0.896,2,2,2s2-0.896,2-2v-2h8v32h-2c-1.104,0-2,0.896-2,2s0.896,2,2,2h8 c1.104,0,2-0.896,2-2s-0.896-2-2-2h-2V16h8v2c0,1.104,0.896,2,2,2s2-0.896,2-2v-4C38,12.896,37.104,12,36,12z"></path><path d="M50.586,44.586L50,45.172V18.828l0.586,0.586C50.977,19.805,51.488,20,52,20s1.023-0.195,1.414-0.586 c0.781-0.781,0.781-2.047,0-2.828l-4-4c-0.781-0.781-2.047-0.781-2.828,0l-4,4c-0.781,0.781-0.781,2.047,0,2.828 c0.781,0.781,2.047,0.781,2.828,0L46,18.828v26.344l-0.586-0.586c-0.781-0.781-2.047-0.781-2.828,0s-0.781,2.047,0,2.828l4,4 C46.977,51.805,47.488,52,48,52s1.023-0.195,1.414-0.586l4-4c0.781-0.781,0.781-2.047,0-2.828S51.367,43.805,50.586,44.586z"></path></g></g></svg>'},"./assets/image/icons/customize-nav/margin.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M92.5,20h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,20,92.5,20z"></path><path d="M37.5,40h35c1.4,0,2.5-1.1,2.5-2.5S73.9,35,72.5,35h-35c-1.4,0-2.5,1.1-2.5,2.5S36.1,40,37.5,40z"></path><path d="M92.5,50h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,50,92.5,50z"></path><path d="M37.5,70h35c1.4,0,2.5-1.1,2.5-2.5S73.9,65,72.5,65h-35c-1.4,0-2.5,1.1-2.5,2.5S36.1,70,37.5,70z"></path><path d="M92.5,80h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,80,92.5,80z"></path><path d="M5.7,64.3C6.2,64.8,6.9,65,7.5,65s1.3-0.2,1.8-0.7l10-10c1-1,1-2.6,0-3.5l-10-10c-1-1-2.6-1-3.5,0c-1,1-1,2.6,0,3.5l8.2,8.2 l-8.2,8.2C4.8,61.7,4.8,63.3,5.7,64.3z"></path><path d="M30,92.5v-80c0-1.4-1.1-2.5-2.5-2.5S25,11.1,25,12.5v80c0,1.4,1.1,2.5,2.5,2.5S30,93.9,30,92.5z"></path></svg>'},"./assets/image/icons/customize-nav/padding.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M92.5,20h-85C6.1,20,5,21.1,5,22.5S6.1,25,7.5,25h85c1.4,0,2.5-1.1,2.5-2.5S93.9,20,92.5,20z"></path><path d="M92.5,35h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,35,92.5,35z"></path><path d="M92.5,50h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,50,92.5,50z"></path><path d="M92.5,65h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,65,92.5,65z"></path><path d="M92.5,80h-85C6.1,80,5,81.1,5,82.5S6.1,85,7.5,85h85c1.4,0,2.5-1.1,2.5-2.5S93.9,80,92.5,80z"></path><path d="M5.7,64.3C6.2,64.8,6.9,65,7.5,65s1.3-0.2,1.8-0.7l10-10c1-1,1-2.6,0-3.5l-10-10c-1-1-2.6-1-3.5,0c-1,1-1,2.6,0,3.5l8.2,8.2 l-8.2,8.2C4.8,61.7,4.8,63.3,5.7,64.3z"></path></svg>'},"./assets/image/icons/customize-nav/rotate.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path fill="#000000" d="M68,32H32v36h36V32z M64,64H36V36h28V64z"></path><path fill="#000000" d="M64,84c0,1.104,0.896,2,2,2h6c7.72,0,14-6.28,14-14v-9.172l4.586,4.586c0.78,0.781,2.048,0.781,2.828,0 c0.781-0.781,0.781-2.047,0-2.828l-8-8c-0.78-0.781-2.048-0.781-2.828,0l-8,8c-0.781,0.781-0.781,2.047,0,2.828 C74.976,67.805,75.488,68,76,68s1.024-0.195,1.414-0.586L82,62.828V72c0,5.514-4.486,10-10,10h-6C64.896,82,64,82.896,64,84z"></path><path fill="#000000" d="M6.586,35.414l8,8C14.977,43.805,15.488,44,16,44s1.023-0.195,1.414-0.586l8-8 c0.781-0.781,0.781-2.047,0-2.828c-0.781-0.781-2.047-0.781-2.828,0L18,37.172V28c0-5.514,4.486-10,10-10h6c1.104,0,2-0.896,2-2 s-0.896-2-2-2h-6c-7.72,0-14,6.28-14,14v9.172l-4.586-4.586c-0.781-0.781-2.047-0.781-2.828,0 C5.805,33.367,5.805,34.633,6.586,35.414z"></path></g></svg>'},"./assets/image/icons/customize-nav/width.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 24 30" enable-background="new 0 0 24 24" xml:space="preserve"><g><path d="M21.333,23.833H2.667c-1.378,0-2.5-1.121-2.5-2.5V2.667c0-1.379,1.122-2.5,2.5-2.5h18.667c1.378,0,2.5,1.121,2.5,2.5 v18.666C23.833,22.712,22.712,23.833,21.333,23.833z M2.667,1.167c-0.827,0-1.5,0.673-1.5,1.5v18.666c0,0.827,0.673,1.5,1.5,1.5 h18.667c0.827,0,1.5-0.673,1.5-1.5V2.667c0-0.827-0.673-1.5-1.5-1.5H2.667z"></path><g><path d="M18.914,15.494c-0.128,0-0.256-0.049-0.354-0.146c-0.195-0.195-0.195-0.512,0-0.707L21.201,12L18.56,9.359 c-0.195-0.195-0.195-0.512,0-0.707s0.512-0.195,0.707,0l2.994,2.994c0.195,0.195,0.195,0.512,0,0.707l-2.994,2.994 C19.169,15.445,19.042,15.494,18.914,15.494z"></path><path d="M21.908,12.5h-8.346c-0.276,0-0.5-0.224-0.5-0.5s0.224-0.5,0.5-0.5h8.346c0.276,0,0.5,0.224,0.5,0.5 S22.184,12.5,21.908,12.5z"></path></g><g><path d="M5.087,15.494c-0.128,0-0.256-0.049-0.354-0.146l-2.995-2.994C1.645,12.26,1.592,12.133,1.592,12s0.053-0.26,0.146-0.354 l2.995-2.994c0.195-0.195,0.512-0.195,0.707,0s0.195,0.512,0,0.707L2.799,12l2.641,2.641c0.195,0.195,0.195,0.512,0,0.707 C5.343,15.445,5.215,15.494,5.087,15.494z"></path><path d="M10.438,12.5H2.092c-0.276,0-0.5-0.224-0.5-0.5s0.224-0.5,0.5-0.5h8.346c0.276,0,0.5,0.224,0.5,0.5 S10.715,12.5,10.438,12.5z"></path></g></g></svg>'},"./assets/image/notice/plugin-icon-editor.png":function(e){e.exports='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKkAAABbCAYAAAAIj6U9AAANoklEQVR4nO2dabAU1RWAv4chiNtVcYuo5ULcprVIXIgYDTwEREHLJSbRadRoyrXUxFiSxVQlMRHLCtFS0ZgfLj1qQqFxQwwg4IILFTWGnpAY0bhARBG8Irsy+XG6eT09W/dM90zPTH9VU++9ft09h+F73X3vPefeHlJSGkCbxnnATcCOwJ+Ai5Rlr43yPXqiPFlKd6FN4xJgqm/zPGB8lKKmkqbURQVBXSIVNZU0JTQ1BHWZB5ykLHt9o+/Xr9ETpHQXAQUFGAlM06bx5UbfM72SpgRGm4YJ3BfysMeBM5Vlb6z3fVNJUwKhTeMcRNB67r4NiZpKmlKTBgV1qVvUVNKUqmjT6AVmE037pS5R04ZTSi0uIjpPJgDTwzamUklTarEp4vO5om4V9IBU0pRa3Eo8ot4XVNRU0pSqKMt+GTiT6EU9m4Cipg2nlC3obGYc8AdgMPAkcL7K5VcAaNM4BZgO9I/4bR8AJirL/qLSDqmkKQDobKachP8Ajle5vIbWiZre7lMqCQpwODBLZzMKQFn2Y7Tg1p9K2uVUEdTlaEpFPRfYHHEoFUVNJe1iAgjq4hf1QWAi8Yh6rzaNosfQVNIuJYSgLn5R7yceUc8BpnpFTRtOXYjOZnqR1vuAOg5fCIzxNKaiGNcvx53ApcqyC6mkXYYj6BPAwAq7zAOmANOq7NNUUdPbfRcRUNDxKpd/AhgPrKuw39HATJ3NbAOx3vovBn6ZXkm7hBCCrg15zASVy6+B2K6oa1JJu4AAsi0ETlC5/OrQx/b0rAIOVJbtjkxdDNwRQdgu6xN5u9emMUibxq6tjqMTCCjomHKCAqhcfi6Vbv09PQA7AW9o09gFQFn2ncClDQfex+2Ju5Jq0zgCWIC0PAvAKs/rA+B95/Uu8E/g38qyP2tNtMkmhKA6wLnGIknL0mXV41OnUHgWGOc+LoQo2KvGA8DEJEp6IfDHkIe9ByxGPvQXgYXu7adb0dnMMGAOsF2FXQIL6jnnKcDD9PQUjwoVCu53Rc+1DYq6ZTw/iZJug0zbsh+wCzAIuaXsFPJU/0GEnQPMUpa9PMo4k4wj6Cxghwq7hBYUtiSYPAz0SdonqEsUohYlnCRO0ko4Y7q7AfsAewL7A191XkOc7dV4FXgE+IuybDvGUFtKzIJ6R6gKFCr2s89CWv0bnWPDiFqSEdU2ktZCm8b2wFDgCGA4cCwiczkWAXcDOWXZHzUnwvhpoqDzKBTuAO6n8rCqFN2FE/URpFCvKGWvYyQthzaNA4ExwInAKGBr3y6bgD8DN7b71TWAoDYw0k1iDnzeUkFfBE5Qlr02wPi/X9RJwA1V9y1TSdrRknrRprEdMBb4DnAq4K9YfBK4Tln2q82OrVECCtqrcvlQdw1tGhOAh+iTUK7Elr3lShyRqFVLnbtGUi/aNHZG0sIuAw72/KqAPAb8yPsfkWRiFNTffVUiqCeGbyNzk1bqdy936/810vNwN3BltVr8rpTURZtGP6SjehJwjOdX7wFnKct+qSWBBURnM4chrelBFXaJXVBPLLWGRItEDUNXS+pFm8apwM3Avs6mdcApyrLntCyoKjiCzkW66crRNEE9MdUS9R6Vy58fJh5IJS3CeW69Bfi+uwkYqiz7vy0LqgxJFNQTWy1Rd1G5/Mdh4krk2H2rUJb9mbLsC4DfuZuAH7cwpBKSLKjDaqBieTJ1OJdKWp5JwErn+2GtDMRLAEGXIOPnjQq6iDoEDdDSnx42NoAvhT2g03Em07oG2NnZtKyF4WwhoKAjVC7/fqjzmsZIigW1gVExCDoPqTINTSopoE1jADJKNQ44D/CmCd7Wipi8xCjoMGSUxytob9hROJ3NnEBtQYsSqsPQ0ZI6Q6X9kT7ErRH59kD+swcjY/6HAIdS+llsAC5Xlj27aQGXQWczQ4CZxCOot3+1XkF7gceISVBocetem8buwF6IMLsh/X3uayeks9d9uR/mDvQ9Sw+gdKizUdYDDwK/VZb9ZsTnDoUj6Hzk8ylHEgQNVZJSD7FLqk1jH2RU5yDgQOf7/YC9KR2abAWfA68jrdlZwNPKsstmqTeTVNA+IpVUm4YCjgeOQrKRjkSukHGymr4qRY0MbQJsBNYCnwBrnO8/BJY6X5cBbwJvKcv+POYYQ9EBgi5Ekllav9iYk+P5DSTTaDRS6hp4Bl8PHyElIcsReZY721bSVzqyGhFuHbBOWfanjcSeVAIIuhQRNNSjSBlBlwDDlWV/GDK+yEpSghK64eRMf3IckqBxOsUt4WqsRv5y80ht0hLgLeBtZdlrwsbRicQo6FGUCjqiHQSFEFdSZ8jwQuAS5NmyGhuQTPgXgJeQmqN36w2yG4hRUH/3lStouEcFybaaR5MFhQBXUm0a2wJXA1fS18FdjsVITuYMYEEjK6B1Gzqb2Qt4imQLOosWCAo1rqTOMn03Al+psMtrSE3K9KQlYbQLjqDzgQMq7JIUQSMtSQlDWUm1aewB3IWsEuFnPVLbcruy7NfiCqwbSAUNRomkzkP2Y8jIjJeNyPQpNyrL/l+cQXUDAQRdBnwrwYLayHz6q8Kctx6KnkmdZIMZlD57zASuaPUITKcQQNAVwIkRCLoUSRaJQ9DeZggKniup8w983hfYOuAqZdl3NSOYbiCgoL0ql18U6rymcSjwDMWCjgh7YYmrZqoRemDLrCGvUdy1tAIY7yw2lRIBOpsZjIgUtaD+7qt6BT0MeBbYscIuTRcU+m73P6VYUI0Ml4X6sFIqo7OZXZFupiQLOpeECQrQo01jEPAOsK1n+2nKsh9pdjCdiiPoXMCosEtSBI20JCUq+gHfpVjQx1NBoyMVtHH6ASf7tv2+FYF0IgEEXUmyBV0CjG6loCCSfs3z81rkwTmlQQII+ilwUgSCrgBGxyToCJXLfxDmvHHQj+JO+3eqrZabEoyAgo5RuXyonhNtGvtSKmivsuzFIeOLpWYqLvwlzfXkgqZ40NnMIOIRdC9kQmC/oOGuxJJtNZs2ERRE0k88Pw9x+kxT6uce4hF0Pn3dV40IOh/YvcIuiRMURNJ/+X4+rkWxtD06m9ma0oaoSwGZuKHVgkZaktIM+gHP+bZd0IpAOoQNSKlLOXqAC3U2EybRvOsFBZH0Id+2051x/JSQqFy+QPW5o84HpgYRtYmCLkW6mRIpKPSN3b8CfN2zfR6SPVOytERKMc6EsIOBX7nVCDqbqTU/vKxALFKXO6df0E8RQV8JFVtMJSnNxm3d/8K3fSRwbZNjaTucyS2mAj8DpjvzSKFy+TuovircxVS4ojoJ5/MpFnRMtwoKjqTKsmcgV08v12vTOKn5IbUV3rzbCZSKenWVY0tEdZaqnE2poOEaW5IOOJsOEBSK+0l/gEyi4LIV8qEfQ0pQ/KJOAX5SZf8tojqCevtXGxF0Pn0zVvtpK0HBI6my7CXA5b7fDwSeduavTAmGX9TJ1Bb1bqIVNNKaqVZTNOKkLPseYIpvn4HAU9o0JjYrqA4gnKg9PeeSClqRcjM9X4OUKXvpD9yrTeNm94NPqUkwUYtXO95APIKuAMa2o6BQRlJl2ZuBiZSKCjJBxAJtGgeX+V1KKROAac6cWaWili7HPYBC4bQwbxCiZiof5rxJouyc+U4m1ESk9t7PkcDftWlcq02joyfhjYhTgft8ol5XRlD3u2t1NjM5yInjKupLGhUXdlCW/YWy7IuQv/zNvl8PACYDr2rTGBVjfJ3C2RSLej1SmSuULsddU1QnHfCvdLigEGD1EWXZk5G55MutvXMYMEebxpPpUGpNikW17OOABWUEdakoqidf9dAKx3aMoBBwiRxl2bOAw5EO4nKMQx4Bcto0MlEF14H4Rf0mMtdWJUpEjatmKskEXsdJWfYyZJXjS5C5Rsud6xzA1qbxqDaNY6MJsePw3/onUVvU66A7BYU6Z3rWpjEYuAn4Xo1dX0fGtu/vxIlynXKOt+s8/AFgoluu41wxq+VL/AZphFVLqB6tcvmFdcaTWBqdjnw4cCvFGVTlWA1MQ2bje8bp5mp7GpQUZA3O89xsswCiVqKujP92oeGFHZzluM9CMqkOCXDIUkTYR4Hn27nwLwJJwU3bq1/UjhYUIlx9pA5ZQXoMZiATZM1Rlr08qniaQUSSQqmotwGXBTiu4wWFGNZxcmQ9GbgKCJuYsgjpP3wOeEFZ9jsRhxcpEUoKHlGd9L2pSPJJJbpCUIh5sTGn7/RSpIGl6jjFCuBvzmsxsmrJG8qyI1kfqFEilhSCi9o1gkKTlm3UpjEQOANZXHYkjS1hXgDeRYR9C1n/6T3n6/vAcmXZnzUSb1BikBRqi9pVgkIL1hbVprEnIuxZwLExxbAJmWdpJZLIXan7SyH/6VOUZT8a9k1ikhRKRf0hMrHcx8DPVS4fqpSk3Wn1Ari7Is+vE5BV9bZrYThjnZG1wMQoKcCtyrKviOncbUVLJfXiZFQNA0YhDa6jqbxuUBw8rCz7jDAHxCwpyCIak2I8f1uQGEn9aNPojwwSDEdm/huKdG3FlR44U1l2qMLDJkgKcJCy7Ddifo9Ek9h8UGXZm4CXnRcA2jQGIMOCQ5EMrAOAIcD+NL4suX+SjCBsRqZuj4tFSCOxq0nslTQMTt/s3kiF5J5IKe8eztcdgO2drzt6vnf/QFcBtyCTO6STYSSQ/wN53Ls4vhWTywAAAABJRU5ErkJggg=='},"./assets/js/builder recursive \\.jsquot;:function(e,o,n){function a(e){return n(r(e))}function r(e){var o=s[e];if(!(o+1))throw new Error('Cannot find module \''+e+'\'.');return o}var s={"./browser/ie-version.js":'./assets/js/builder/browser/ie-version.js',"./connect-key/prompt.js":'./assets/js/builder/connect-key/prompt.js',"./controls.js":'./assets/js/builder/controls.js',"./controls/add.js":'./assets/js/builder/controls/add.js',"./controls/color.js":'./assets/js/builder/controls/color.js',"./controls/color/palette.js":'./assets/js/builder/controls/color/palette.js',"./controls/container.js":'./assets/js/builder/controls/container.js',"./controls/element/advanced.js":'./assets/js/builder/controls/element/advanced.js',"./controls/element/background.js":'./assets/js/builder/controls/element/background.js',"./controls/element/box.js":'./assets/js/builder/controls/element/box.js',"./controls/element/button.js":'./assets/js/builder/controls/element/button.js',"./controls/element/font.js":'./assets/js/builder/controls/element/font.js',"./controls/element/hr.js":'./assets/js/builder/controls/element/hr.js',"./controls/element/icon.js":'./assets/js/builder/controls/element/icon.js',"./controls/element/image.js":'./assets/js/builder/controls/element/image.js',"./controls/generic.js":'./assets/js/builder/controls/generic.js',"./controls/generic/background-color.js":'./assets/js/builder/controls/generic/background-color.js',"./controls/generic/block-alignment.js":'./assets/js/builder/controls/generic/block-alignment.js',"./controls/generic/border.js":'./assets/js/builder/controls/generic/border.js',"./controls/generic/custom-classes.js":'./assets/js/builder/controls/generic/custom-classes.js',"./controls/generic/font-color.js":'./assets/js/builder/controls/generic/font-color.js',"./controls/generic/font-size.js":'./assets/js/builder/controls/generic/font-size.js',"./controls/generic/link.js":'./assets/js/builder/controls/generic/link.js',"./controls/generic/margin.js":'./assets/js/builder/controls/generic/margin.js',"./controls/generic/rotate.js":'./assets/js/builder/controls/generic/rotate.js',"./controls/generic/width.js":'./assets/js/builder/controls/generic/width.js',"./controls/global.js":'./assets/js/builder/controls/global.js',"./controls/help.js":'./assets/js/builder/controls/help.js',"./controls/image/change.js":'./assets/js/builder/controls/image/change.js',"./controls/image/filter.js":'./assets/js/builder/controls/image/filter.js',"./controls/information.js":'./assets/js/builder/controls/information.js',"./controls/media/edit.js":'./assets/js/builder/controls/media/edit.js',"./controls/media/map.js":'./assets/js/builder/controls/media/map.js',"./controls/section.js":'./assets/js/builder/controls/section.js',"./controls/template.js":'./assets/js/builder/controls/template.js',"./customize/navigation.js":'./assets/js/builder/customize/navigation.js',"./drag.js":'./assets/js/builder/drag.js',"./drag/column.js":'./assets/js/builder/drag/column.js',"./drag/content.js":'./assets/js/builder/drag/content.js',"./drag/placeholder.js":'./assets/js/builder/drag/placeholder.js',"./drag/row.js":'./assets/js/builder/drag/row.js',"./drag/section.js":'./assets/js/builder/drag/section.js',"./feedback.js":'./assets/js/builder/feedback.js',"./gridblock/add.js":'./assets/js/builder/gridblock/add.js',"./gridblock/category.js":'./assets/js/builder/gridblock/category.js',"./gridblock/create.js":'./assets/js/builder/gridblock/create.js',"./gridblock/delete.js":'./assets/js/builder/gridblock/delete.js',"./gridblock/drag.js":'./assets/js/builder/gridblock/drag.js',"./gridblock/fetch-saved.js":'./assets/js/builder/gridblock/fetch-saved.js',"./gridblock/filter.js":'./assets/js/builder/gridblock/filter.js',"./gridblock/generate.js":'./assets/js/builder/gridblock/generate.js',"./gridblock/image.js":'./assets/js/builder/gridblock/image.js',"./gridblock/industry.js":'./assets/js/builder/gridblock/industry.js',"./gridblock/lead.js":'./assets/js/builder/gridblock/lead.js',"./gridblock/loader.js":'./assets/js/builder/gridblock/loader.js',"./gridblock/preview.js":'./assets/js/builder/gridblock/preview.js',"./gridblock/save.js":'./assets/js/builder/gridblock/save.js',"./gridblock/view.js":'./assets/js/builder/gridblock/view.js',"./library/save.js":'./assets/js/builder/library/save.js',"./menu.js":'./assets/js/builder/menu.js',"./notice/base.js":'./assets/js/builder/notice/base.js',"./notice/intro.js":'./assets/js/builder/notice/intro.js',"./notice/update.js":'./assets/js/builder/notice/update.js',"./panel.js":'./assets/js/builder/panel.js',"./popover/actions/clone.js":'./assets/js/builder/popover/actions/clone.js',"./popover/actions/delete.js":'./assets/js/builder/popover/actions/delete.js',"./popover/actions/general.js":'./assets/js/builder/popover/actions/general.js',"./popover/base.js":'./assets/js/builder/popover/base.js',"./popover/column.js":'./assets/js/builder/popover/column.js',"./popover/content.js":'./assets/js/builder/popover/content.js',"./popover/row.js":'./assets/js/builder/popover/row.js',"./popover/section.js":'./assets/js/builder/popover/section.js',"./render-fonts.js":'./assets/js/builder/render-fonts.js',"./resize/row.js":'./assets/js/builder/resize/row.js',"./service.js":'./assets/js/builder/service.js',"./style/remote.js":'./assets/js/builder/style/remote.js',"./style/updater.js":'./assets/js/builder/style/updater.js',"./tinymce/loading.js":'./assets/js/builder/tinymce/loading.js',"./tinymce/width.js":'./assets/js/builder/tinymce/width.js',"./tinymce/wp-mce-draggable.js":'./assets/js/builder/tinymce/wp-mce-draggable.js',"./tooltips.js":'./assets/js/builder/tooltips.js',"./util.js":'./assets/js/builder/util.js',"./validation/section.js":'./assets/js/builder/validation/section.js',"./view.js":'./assets/js/builder/view.js'};a.keys=function(){return Object.keys(s)},a.resolve=r,e.exports=a,a.id='./assets/js/builder recursive \\.js#x27;},"./assets/js/builder/browser/ie-version.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0}),o['default']=function(){var e=window.navigator.userAgent,o,n,a,r;return(a=e.indexOf('MSIE '),0<a)?parseInt(e.substring(a+5,e.indexOf('.',a)),10):(o=e.indexOf('Trident/'),0<o)?(r=e.indexOf('rv:'),parseInt(e.substring(r+3,e.indexOf('.',r)),10)):(n=e.indexOf('Edge/'),0<n?parseInt(e.substring(n+5,e.indexOf('.',n)),10):void 0)}},"./assets/js/builder/connect-key/enter-key.html":function(e){e.exports='<div class=connect-key-entry data-journey="<%= journey %>"> <div class=column> <span class="dashicons dashicons-admin-network"></span> </div> <div class=existing-key> <h2><%= ( \'basic\' === license ) ? \'Free\' : \'Premium\' %> BoldGrid Connect Key</h2> <p> <% if ( \'basic\' === license ) { %> Thank you for adding your Connect Key. Try upgrading to a Premium subscription for full access to BoldGrid! <% } else if ( \'premium\' === license ) { %> You already have a Premium Connect key saved on this site. If needed you can change your Connect Key with the link below. <% } %> </p> <% if ( \'basic\' === license ) { %> <p><a class="button button-primary upgrade-key" target=_blank href="<%=newKeyLink %>">Upgrade</a></p> <% } %> <p> <a class=change-connect-key href=#>Click here to change your Connect Key</a> </p> </div> <div class=upgrade-key-section> <h2>Upgrade Your Connect Key</h2> <p>You were taken to <a target=_blank href=https://www.boldgrid.com/central>BoldGrid Central</a> to upgrade your Connect Key. Once you\'ve finished you\'ll be able to install Premium Blocks. </p> <p> <a class="button button-primary">Okay, Got It!</a> </p> </div> <div class=key-entry> <form> <h2>Enter Your BoldGrid Connect Key</h2> <p>A <a target=_blank href="<%=newKeyLink %>">Connect Key</a> allows you to fully explore BoldGrid features. Please enter your <strong>32 digit BoldGrid Connect Key</strong> below and click submit.</p> <p class=error>You must enter a valid BoldGrid Connect Key.</p> <label><input type=checkbox required name=tos> I agree to the <a href=https://www.boldgrid.com/software-privacy-policy/ target=_blank>Terms of Use and Privacy Policy</a></label> <p> <input type=text name=boldgrid-connect-key required placeholder="XXXXXXXX - XXXXXXXX - XXXXXXXX - XXXXXXXX"> <button class="button button-primary">Submit</button> </p> <p><a target=_blank href="<%=newKeyLink %>">Don\'t have a Connect Key yet?</a></p> </form> </div> <div class=success data-key-type=""> <h2>Successfully Saved Your Connect Key!</h2> <p> <span class="post-add-message basic-key"> Thank you for adding your Connect Key. Try upgrading to a Premium subscription for full access to BoldGrid! To find out more, please see: <a target=_blank href="<%=newKeyLink %>">BoldGrid Connect Keys</a> </span> <span class="post-add-message premium-key"> Congratulations on your new BoldGrid Connect Key. You now have access to Premium Blocks as well as any other premium <a target=_blank href=https://www.boldgrid.com/wordpress-plugins/ >BoldGrid plugins</a> and features. </span> </p> <p> <button class="button button-primary">Okay, Got It!</button> </p> </div> </div> '},"./assets/js/builder/connect-key/prompt.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'ConnectKey',function(){return c});var r=n('./assets/js/builder/connect-key/enter-key.html'),s=n.n(r),l=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),i=BOLDGRID.EDITOR,d=window.jQuery,c=function(){function e(){a(this,e),this.licenseTypes=[],this.activeConfig={},this.newKeyLink=BoldgridEditor.plugin_configs.urls.premium_key+'?source=plugin-add-gridblock',this.config={free:{text:'Add Connect Key',typeAttr:'no-connect-key'},basic:{text:'Get Premium',typeAttr:'basic-connect-key'},premium:{text:'Premium Active',typeAttr:'premium-connect-key'}},this.controlConfig={panel:{title:'BoldGrid Connect',height:'315px',width:'610px',icon:'dashicons dashicons-admin-network',autoCenter:!0,showOverlay:!0}},this.apiKey=BoldgridEditor.boldgrid_settings.api_key}return l(e,[{key:'postLicenseCheck',value:function(e){this.licenseTypes=e instanceof Array?e:[],this._setHasPremium(),this._displayBlocksButton()}},{key:'init',value:function(){this.$actionButton=i.GRIDBLOCK.View.$gridblockNav.find('.connect-key-action'),this.$actionText=this.$actionButton.find('.action-text'),this._bindClick()}},{key:'sanitizeKey',value:function(e){return e.replace(/[^a-z0-9]/gi,'').replace(/(.{8})/g,'$1-').slice(0,-1)}},{key:'validateKey',value:function(e){return 35!==this.sanitizeKey(e).length}},{key:'showNotice',value:function(){var e=d(_.template(s.a)({newKeyLink:this.newKeyLink,journey:this.licenseTypes.length?'existing-key':'',license:this.getLicenseType(this.licenseTypes)}));i.Panel.clear(),i.Panel.$element.find('.panel-body').html(e),this._bindHandlers(e),i.Panel.open(this.controlConfig),i.Panel.centerPanel()}},{key:'getLicenseType',value:function(e){var o='free';return-1===e.indexOf('premium')?-1!==e.indexOf('basic')&&(o='basic'):o='premium',o}},{key:'_setHasPremium',value:function(){i.GRIDBLOCK.View.$gridblocks.attr('data-requires-premium',-1===this.licenseTypes.indexOf('premium')?1:0)}},{key:'_findFormElements',value:function(e){this.$content=e,this.$form=e.find('form'),this.$tos=this.$form.find('[name="tos"]'),this.$keyEntry=this.$form.find('[name="boldgrid-connect-key"]'),this.$formError=this.$form.find('.error'),this.$formSuccess=e.find('.success'),this.$upgradeKey=e.find('.existing-key .upgrade-key'),this.$formPrompt=e.find('.key-entry'),this.$changeConnectKey=e.find('.change-connect-key')}},{key:'_bindHandlers',value:function(e){var o=this;this._findFormElements(e),this._bindFormSubmission(),this._bindPanelClose(),this._bindUpgradeKey(),this.$changeConnectKey.on('click',function(n){n.preventDefault(),o.$content.removeAttr('data-journey')})}},{key:'_bindUpgradeKey',value:function(){var e=this;this.$upgradeKey.on('click',function(){e.$content.find('.upgrade-key-section').show(),e.$content.find('.existing-key').hide()}),this.$content.find('.upgrade-key-section .button').on('click',function(){i.Panel.showLoading(),e._saveKey(e.apiKey).done(function(o){e.licenseTypes=o.data.licenses,e.apiKey=o.data.key,e.postLicenseCheck(e.licenseTypes)}).always(function(){i.Panel.hideLoading(),i.Panel.closePanel()})})}},{key:'_bindPanelClose',value:function(){this.$formSuccess.find('button').on('click',function(){return i.Panel.closePanel()})}},{key:'_bindFormSubmission',value:function(){var o=this;this.$form.on('submit',function(n){n.preventDefault(),o.$formError.hide().removeClass('animated'),o._validate()&&(i.Panel.showLoading(),o._saveKey(o.sanitizeKey(o.$keyEntry.val())).done(function(e){o.licenseTypes=e.data.licenses,o.$formSuccess.attr('data-key-type',o.getLicenseType(o.licenseTypes)),o.apiKey=e.data.key,o.$formPrompt.hide(),o.$formSuccess.addClass('animated zoomIn').show(),o.postLicenseCheck(o.licenseTypes)}).fail(function(){o._displayError('\n\t\t\t\t\t\t\tWe were unable to confirm your Connect Key, please check your entry and try again.\n\t\t\t\t\t\t')}).always(function(){i.Panel.hideLoading()}))})}},{key:'_saveKey',value:function(e){return d.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_editor_save_key',boldgrid_editor_gridblock_save:BoldgridEditor.nonce_gridblock_save,connectKey:e}})}},{key:'_bindClick',value:function(){var o=this;this.$actionButton.on('click',function(n){n.preventDefault(),o.showNotice()})}},{key:'_displayBlocksButton',value:function(){this._setActiveConfig(),this.$actionText.html(this.activeConfig.text),this.$actionButton.attr('type',this.activeConfig.typeAttr),this.$actionButton.addClass('animated slideInLeft'),this.$actionButton.css('visibility','visible')}},{key:'_setActiveConfig',value:function(){var e=this.config[this.getLicenseType(this.licenseTypes)];this.activeConfig=e}},{key:'_displayError',value:function(e){this.$formError.html(e).show().addClass('animated bounceIn')}},{key:'_validate',value:function(){var e='';return this.$tos.val()&&this.$keyEntry.val()?this.validateKey(this.$keyEntry.val())&&(e='Please enter a BoldGrid Connect Key in the correct format'):e='Please complete all fields to continue',e&&this._displayError(e),!e}}]),e}()},"./assets/js/builder/controls.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(o){'use strict';var e=BOLDGRID.EDITOR;BOLDGRID.EDITOR.Controls={$panel:null,$menu:null,$colorControl:null,controls:[],indexedControls:{},$container:null,init:function(o){this.$container=o,this.$container.find('body').css('marginTop','50px'),this.$menu=BOLDGRID.EDITOR.Menu.init(),this.$panel=BOLDGRID.EDITOR.Panel.init(),this.onEditibleClick(),this.setupSliders(),e.$window.trigger('boldgrid_editor_preload'),this.setupControls(),e.CONTROLS.Generic.setupInputCustomization(),e.CONTROLS.Generic.setupInputInitialization(),e.NOTICE.Update.init(),this.browser=e.Util.checkBrowser(),e.$window.trigger('boldgrid_editor_loaded')},hasThemeFeature:function(e){return-1!==BoldgridEditor.builder_config.theme_features.indexOf(e)},addStyle:function(e,o,n){e.css(o,n),BOLDGRID.EDITOR.mce.dom.setStyle(e,o,n)},setupSliders:function(){this.$panel.on('slide','.section .slider',function(e,n){var a=o(this);a.siblings('.value').html(n.value)})},registerControl:function(e){this.controls.push(e),this.indexedControls[e.name]=e},get:function(e){return this.indexedControls[e]||this.indexedControls[e.toLowerCase()]},editorMceInstance:function(){var e=!1;return IMHWPB.WP_MCE_Draggable&&IMHWPB.WP_MCE_Draggable.instance&&(e=IMHWPB.WP_MCE_Draggable.instance),e},clearMenuItems:function(){this.$menu.items=[]},_setupUpdateMenu:function(){var n=this;this.$container.on('click',function(a){n.$menu.find('li[data-action]').hide(),n.$menu.items.length?n.$menu.show():(n.$menu.hide(),BOLDGRID.EDITOR.Panel.closePanel()),o.each(n.$menu.items,function(){n.$menu.find('[data-action="menu-'+this+'"]').show(),BOLDGRID.EDITOR.Menu.reactivateMenu()}),n._closeOpenControl(),a.boldgridRefreshPanel||BOLDGRID.EDITOR.CONTROLS.Color.closePicker(),n.clearMenuItems()})},onEditibleClick:function(){this._setupUpdateMenu()},_closeOpenControl:function(){e.Panel.currentControl&&-1===this.$menu.items.indexOf(e.Panel.currentControl.name)&&e.Panel.closePanel()},setupControls:function(){var e=this;this.controls=_.sortBy(this.controls,'priority'),o.each(this.controls,function(){e.setupControl(this)}),BoldgridEditor.display_intro||this.$container.find('body').click()},setupControl:function(o){this.bindControlHandler(o),BOLDGRID.EDITOR.Menu.createListItem(o),o.setup&&o.setup(),e.Panel.setupPanelClick(o)},bindControlHandler:function(e){e.selectors&&this.setupElementClick(e),e.onMenuClick&&this.$menu.on('click','[data-action="menu-'+e.name+'"]',e.onMenuClick)},setupElementClick:function(n){var a=this;this.$container.on('click',n.selectors.join(),function(r){var e=o(this);if('box'===n.name){var s,l;if(r.boxFound)return;if(s=e.closest('.editing-as-row').length,l=e.is('.row .row [class*="col-md"]'),s&&!1===l)return;if(s&&(r.boxFound=!0),!r.boxFound&&e.parent().closest('[class*="col-md"]').length){var i=BOLDGRID.EDITOR.CONTROLS.Box.findModule(e),d=i.css('background-color');if(!BOLDGRID.EDITOR.CONTROLS.Color.isColorTransparent(d))r.boxFound=!0;else return}}e.closest('.wpview').length&&'edit-media'!==n.name||n.exceptionSelector&&r.target&&o(r.target).is(n.exceptionSelector)||(a.$menu.targetData=a.$menu.targetData||{},a.$menu.targetData[n.name]=e,n.elementClick&&n.elementClick(r),a.$menu.items.push(n.name))})}}}(jQuery)},"./assets/js/builder/controls/add.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;o.CONTROLS.Add={$element:null,name:'add',tooltip:'Add New Item',priority:1,iconClasses:'genericon genericon-plus add-element-trigger',selectors:['html'],menuDropDown:{title:'Add New',options:[{name:'Media',class:'action add-media dashicons dashicons-admin-media'},{name:'Button',class:'action font-awesome add-button'},{name:'Icon',class:'action font-awesome add-icon'},{name:'Block',class:'action add-gridblock'},{name:'Section',class:'action add-row'}]},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){n._setupMenuClick()},_setupMenuClick:function(){o.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.add-gridblock',n.addGridblock).on('click','.action.add-row',n.addSection).on('click','.action.add-button',o.CONTROLS.Button.insertNew).on('click','.action.add-media',n.openAddMedia).on('click','.action.add-icon',o.CONTROLS.Icon.insertNew)},openAddMedia:function(){wp.media.editor.open(),wp.media.frame.setState('insert')},scrollToElement:function(o,n){e('html, body').animate({scrollTop:o.offset().top},n)},addSection:function(){var a=BOLDGRID.EDITOR.Controls.$container,r=e(wp.template('boldgrid-editor-empty-section')());a.$body.prepend(r),n.scrollToElement(r,200),o.Service.popover.section.transistionSection(r)},addGridblock:function(){var e=BOLDGRID.EDITOR.Controls.editorMceInstance();e&&e.insert_layout_action()}},BOLDGRID.EDITOR.CONTROLS.Add.init(),n=BOLDGRID.EDITOR.CONTROLS.Add}(jQuery)},"./assets/js/builder/controls/color.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});n('./assets/js/builder/controls/color/palette.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){var n=BOLDGRID.EDITOR,a;n.CONTROLS.Color={$currentInput:null,$colorPanel:null,$colorPicker:null,colorTemplate:wp.template('boldgrid-editor-color'),transparentColors:['rgba(0, 0, 0, 0)','transparent'],colorClasses:['color1-color','color2-color','color3-color','color4-color','color5-color'],textContrastClasses:['color-neutral-text-default','color1-text-default','color2-text-default','color3-text-default','color4-text-default','color5-text-default','color-neutral-text-contrast','color-1-text-contrast','color-2-text-contrast','color-3-text-contrast','color-4-text-contrast','color-5-text-contrast'],backgroundColorClasses:['color-neutral-background-color','color1-background-color','color2-background-color','color3-background-color','color4-background-color','color5-background-color'],borderColorClasses:['color1-border-color','color2-border-color','color3-border-color','color4-border-color','color5-border-color'],customColors:BoldgridEditor.saved_colors,init:function(){var e=n.Service.colorPalette.getPaletteSettings();return a.importPaletteSettings(e),a._create(),a._setupClosePicker(),a._renderColorOptions(),a._setupPanelDrag(),a._setupAddNew(),a._setupColorPicker(),a._setupCallback(),a._setupColorPreview(),a._setupRemove(),a._setupAutoHide(),a._setupResetDefault(),a._addPanelClasses(),a._setupOpenCustomization(),a},updatePaletteSettings:function(e){this.importPaletteSettings(e),this._renderColorOptions()},importPaletteSettings:function(e){!BoldgridEditor.is_boldgrid_theme&&e&&(BoldgridEditor.colors={defaults:e.palettes[0].colors,neutral:e.palettes[0]['neutral-color']})},resetBorderClasses:function(e){e.removeClass(a.borderColorClasses.join(' ')),n.Controls.addStyle(e,'border-color','')},_addPanelClasses:function(){BoldgridEditor.is_boldgrid_theme||a.$colorPanel.addClass('non-bg-theme')},_setupResetDefault:function(){a.$colorPanel.find('.wp-picker-default').on('click',function(o){o.preventDefault(),o.stopPropagation(),a.$currentInput.attr('data-type','color'),a.$currentInput.val('').change(),a.$colorPanel.find('.selected').removeClass('selected'),a.$currentInput.parent().find('label').css('background-color','#333')})},_setupOpenCustomization:function(){n.Panel.$element.on('bg-customize-open',function(){a.initColorControls()})},_setupAutoHide:function(){o('body').on('click',function(){a.closePicker()}),a.$colorPanel.on('click',function(o){o.stopPropagation()})},getColorClass:function(e,o){var n='text-contrast'===e?'-':'';return'color'+n+o+'-'+e},openPicker:function(e){a.$colorPanel.show(),a.$currentInput=e,BOLDGRID.EDITOR.mce.undoManager.add()},closePicker:function(){a.$colorPanel.is(':visible')&&(BOLDGRID.EDITOR.mce.undoManager.add(),a.$colorPanel.hide(),a.$currentInput=null,a.saveCustomColors())},saveCustomColors:function(){o('#post input[name="boldgrid-custom-colors"]').val(JSON.stringify(a.customColors))},_setupColorPreview:function(){n.Panel.$element.on('click','.color-preview',function(r){r.stopPropagation();var e=o(this),s=n.Panel.$element.find('input[name="'+e.attr('for')+'"]'),l;'color'!==s.attr('data-type')&&s.attr('data-type')?'class'===s.attr('data-type')&&(l=a.$colorPanel.find('.panel-selection[data-preset="'+s.val()+'"]')):a.$colorPanel.find('[data-type="custom"].panel-selection').each(function(){var n=o(this);if(e.css('background-color')===n.css('background-color'))return l=n,!1}),a.$colorPanel.find('.panel-selection.selected').removeClass('selected'),a.updatePicker(e.css('background-color')),a.openPicker(s),l&&l.length&&a.selectColor(l)}),n.Panel.$element.on('change','input.color-control',function(){var e=o(this),r=n.Panel.$element.find('.color-preview[for="'+e.attr('name')+'"]');r.css('background-color',a.$colorPicker.iris('color'))})},_setupClosePicker:function(){a.$colorPanel.find('.panel-title .close-icon').on('click',function(){a.closePicker()})},_setupPanelDrag:function(){this.$colorPanel.draggable({containment:'#wpwrap',handle:'.panel-title',scroll:!1})},findAncestorColor:function(e,n){var r=[],s;return r.push(e),e.parents().each(function(){r.push(this)}),o.each(r,function(){var e=o(this),r=e.css(n);if(!1===a.isColorTransparent(r))return s=r,!1}),s},getPaletteBackgroundColors:function(){var e={};return o.each(BoldgridEditor.colors.defaults,function(o){e['color'+(o+1)+'-background-color']=this}),e},getBackgroundForegroundColors:function(){var e=[],a;return o.each(BoldgridEditor.colors.defaults,function(o){a=o+1,e.push({color:this,colorNum:a,text:n.CONTROLS.Color.getColorClass('text-default',a),background:n.CONTROLS.Color.getColorClass('background-color',a)})}),e},isColorTransparent:function(e){return-1!==n.CONTROLS.Color.transparentColors.indexOf(e)||!e},initColorControls:function(){n.Panel.$element.find('input.color-control').each(function(){var e=o(this),n=e.val(),r=e.prev('label');!1===a.isColorTransparent(n)&&r.css('background-color',n),e.attr('data-type','color')})},_setupColorPicker:function(){var e='#e3e',n=a.$colorPanel.find('.panel-selection.selected[data-preset]');n.length&&(e=n.css('background-color')),a.$colorPicker=a.$colorPanel.find('.boldgrid-color-picker'),a.$colorPicker.val(e),a.$colorPicker.wpColorPicker({mode:'hsl',defaultColor:e,change:function(e,n){var r=o(this),s=n.color.toCSS(),l=r.closest('.color-control').find('.colors .panel-selection.selected[data-preset]');return l.length&&l.is('[data-type="default"]')?void a._copyColor():void(l=a.$colorPanel.find('.colors .panel-selection.selected[data-preset]'),l.length&&(l.css('background-color',s),l.attr('data-preset',s),a.customColors[l.attr('data-index')]=s),a.$currentInput&&(a.$currentInput.attr('data-type','color'),a.$currentInput.attr('value',s),a.$currentInput.change()))},hide:!1,palettes:!0})},_copyColor:function(){var e,o;o=a.$colorPanel.find('.colors .panel-selection.selected').css('background-color'),o||(o=a.$colorPicker.iris('color')),a.customColors.push(o),a._renderColorOptions(),e=a.$colorPanel.find('.color-control'),e.find('ul.colors').removeClass('selected'),a.updatePicker(o),a.selectColor(e.find('.my-colors li:last-of-type'))},updatePicker:function(e){var o;a.$colorPicker.iris('color',e),o=parseInt(100*Color(e)._alpha),a.$colorPanel.find('.iris-slider-offset-alpha').slider('value',o)},_setupAddNew:function(){a.$colorPanel.on('click','.colors .panel-selection.custom-color',function(){a._copyColor()})},_renderColorOptions:function(){a.$colorPanel.find('.colors-wrap').html(a.colorTemplate({colors:a.getColorsFormatted(),customColors:a.customColors})),BOLDGRID.EDITOR.Tooltip.renderTooltips()},getColorsFormatted:function(){var e=[];return o.each(BoldgridEditor.colors.defaults,function(o){e.push({color:this,paletteNum:o+1})}),e},getGridblockColors:function(){var e=a.getColorsFormatted();return BoldgridEditor.colors.neutral&&e.push({paletteNum:'neutral',color:BoldgridEditor.colors.neutral}),e},_create:function(){var e=wp.template('boldgrid-editor-color-panel');a.$colorPanel=o(e()),o('body').append(a.$colorPanel)},_setupRemove:function(){a.$colorPanel.on('click','.color-picker-wrap .cancel',function(n){var e=o(this),r,s,l;n.preventDefault(),s=e.closest('.color-control'),s.find('.custom-color').removeClass('selected'),r=s.find('.colors .selected[data-type="custom"]'),r.length&&(a.customColors.splice(r.attr('data-index'),1),r.remove(),l=a.$colorPanel.find('.panel-selection').first(),a.$colorPicker.iris('color',l.css('background-color')),a.selectColor(l))})},selectColor:function(e){a.$colorPanel.find('.selected').removeClass('selected'),e.addClass('selected'),e.is('[data-type="custom"]')?a.$colorPanel.attr('current-selection','custom'):a.$colorPanel.attr('current-selection','default')},_setupCallback:function(){a.$colorPanel.on('click','.colors .panel-selection',function(){var e=o(this),n;e.hasClass('custom-color')||(n='default'===e.data('type')?'class':'color',a.$colorPanel.find('ul.colors .panel-selection').removeClass('selected'),a.updatePicker(e.css('background-color')),a.selectColor(e),a.$currentInput.val(e.attr('data-preset')),a.$currentInput.attr('data-type',n),a.$currentInput.change())})}},a=BOLDGRID.EDITOR.CONTROLS.Color}(jQuery)},"./assets/js/builder/controls/color/palette.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Palette',function(){return d}),n.d(o,'default',function(){return d});var r=n('./node_modules/@boldgrid/controls/src/controls/index.js'),s=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),l=window.jQuery,i=BOLDGRID.EDITOR,d=function(){function e(){a(this,e),this.paletteConfig=new r.j,this.name='Palette',this.panel={title:'Color Palette',height:'600px',width:'325px'},this.workerUrl=BoldgridEditor.plugin_url+'/assets/js/sass-js/sass.worker.js?'+BoldgridEditor.version,this.colorPalette=new r.e({sass:{workerURL:this.workerUrl,basePath:BoldgridEditor.plugin_url+'/assets/scss'}}),this.colorPalette.init()}return s(e,[{key:'init',value:function(){return i.Controls.registerControl(this),this}},{key:'setup',value:function(){this._setupParentLoader()}},{key:'openPanel',value:function(){i.Panel.clear(),this.colorPalette.initialCompilesDone||i.Panel.showLoading(),this.renderCustomization(i.Panel.$element.find('.panel-body')),i.Panel.showFooter(),i.Panel.open(this)}},{key:'getPaletteSettings',value:function(){var e=this.getSavedSettings();return e||(e=this.paletteConfig.createSimpleConfig()),e}},{key:'getSavedSettings',value:function(){return this.updatedPaletteSettings||this.getLivePalettes()||!1}},{key:'getLivePalettes',value:function(){var e=BoldgridEditor.control_styles.configuration,o,n;return e&&e.length&&(o=_.find(e,function(e){return'bg-controls-colors'===e.id}),n=!!o.options&&o.options.paletteSettings),n}},{key:'renderCustomization',value:function(e){var o=this,n=this.colorPalette.render(e,this.getSavedSettings());return this.colorPalette.initialCompilesDone||n.on('rendered',function(){o.colorPalette.initialCompiles(3).done(function(){i.Panel.hideLoading()})}),n.on('sass_compiled',function(n,e){i.Service.styleUpdater.update({id:'bg-controls-colors',css:e.result.text,scss:e.scss}),o.styleUpdaterParent.update({id:'bg-controls-colors',css:e.result.text,scss:e.scss,priority:60}),o._postPaletteUpdate()}),n}},{key:'_savePaletteSettings',value:function(){var e;e=this.paletteConfig.createSavableState(BOLDGRID.COLOR_PALETTE.Modify.format_current_palette_state()),i.Service.styleUpdater.stylesState[0].options=i.Service.styleUpdater.stylesState[0].options||{},i.Service.styleUpdater.stylesState[0].options.paletteSettings=e,i.CONTROLS.Color.updatePaletteSettings(e),this.updatedPaletteSettings=e}},{key:'_postPaletteUpdate',value:function(){this._savePaletteSettings(),i.Service.styleUpdater.updateInput()}},{key:'_setupParentLoader',value:function(){var e=BoldgridEditor.control_styles.configuration||[],o=_.find(e,function(e){return'bg-controls-colors'===e.id});o=o?[o]:[],this.styleUpdaterParent=new r.k(document),this.styleUpdaterParent.loadSavedConfig(o),this.styleUpdaterParent.setup()}}]),e}()},"./assets/js/builder/controls/container.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Container={name:'container',tooltip:'Section Width',priority:15,iconClasses:'fa fa-arrows-h',selectors:['.boldgrid-section .container','.boldgrid-section .container-fluid'],init:function(){},onMenuClick:function(){n.toggleSectionWidth()},transitionSize:function(n){o.Controls.$container.find('html').addClass('bg-disabled-handles'),n.css('transition','width .5s'),setTimeout(function(){n.css('transition',''),e(window).trigger('resize'),o.Controls.$container.find('html').removeClass('bg-disabled-handles')},600)},toggleSectionWidth:function(e){e||(e=o.Controls.$menu.targetData[n.name].closest('.container, .container-fluid')),e.hasClass('container')?(n.transitionSize(e),e.addClass('container-fluid'),e.removeClass('container')):(n.transitionSize(e),e.addClass('container'),e.removeClass('container-fluid'))}},BOLDGRID.EDITOR.CONTROLS.Container.init(),n=BOLDGRID.EDITOR.CONTROLS.Container}(jQuery)},"./assets/js/builder/controls/element/advanced.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Advanced',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=window.jQuery,l=BOLDGRID.EDITOR,i=function(){function e(){a(this,e),this.name='Advanced',this.panel={title:'Advanced',height:'650px',width:'375px',customizeCallback:!0,customizeSupport:['margin','padding','border','width','box-shadow','border-radius','animation','background-color','blockAlignment','device-visibility','customClasses']}}return r(e,[{key:'init',value:function(){l.Controls.registerControl(this)}},{key:'_setTargetType',value:function(e){l.Panel.$element.find('.customize-navigation').attr('data-element-type',e)}},{key:'openPanel',value:function(e,o){this.$target=e,l.Menu.$element.targetData[this.name]=e,l.Panel.clear(),l.Panel.showFooter(),l.Panel.open(this),this._setTargetType(o),l.Panel.enterCustomization(),l.Panel.customizeOpenEvent()}}]),e}()},"./assets/js/builder/controls/element/background.js":function(){var e=Math.floor;window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var n=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Background={name:'background',tooltip:'Section Background',uploadFrame:null,priority:10,iconClasses:'genericon genericon-picture',selectors:['.boldgrid-section'],availableEffects:['background-parallax','background-fixed'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Section Background',height:'625px',width:'325px',scrollTarget:'.presets',customizeSupport:['margin','padding','border','width','box-shadow','animation','border-radius','blockAlignment','device-visibility','customClasses'],sizeOffset:-230},onMenuClick:function(){a.openPanel()},_setupAddImage:function(){n.Panel.$element.on('click','.background-design .add-image-controls',function(){return a.uploadFrame?void a.uploadFrame.open():void(a.uploadFrame=wp.media({title:'Select Background Image',library:{type:'image'},button:{text:'Use this media'},multiple:!1}),a.uploadFrame.on('select',function(){var e=a.uploadFrame.state().get('selection').first().toJSON();a.setImageBackground(e.url),a.setImageSelection('image')}),a.uploadFrame.open())})},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&a.openPanel()},setup:function(){a._setupBackgroundClick(),a._setupFilterClick(),a._setupCustomizeLeave(),a._setupBackgroundSize(),a._setupBackgroundColor(),a._setupGradientColor(),a._setupOverlayColor(),a._setupOverlayReset(),a._setupScrollEffects(),a._setupGradientDirection(),a._setupCustomization(),a._setupAddImage()},_setupBackgroundColor:function(){var e=n.Panel;e.$element.on('change','.background-design [name="section-background-color"]',function(){var e=o(this),r=n.Menu.$element.targetData[a.name],s=e.val(),l=e.attr('data-type'),i=n.Panel.$element.find('.current-selection'),d=i.attr('data-type');a.removeColorClasses(r),n.Controls.addStyle(r,'background-color',''),'pattern'!==d&&(n.Controls.addStyle(r,'background-image',''),r.removeAttr('data-bg-color-1'),r.removeAttr('data-bg-color-2'),r.removeAttr('data-bg-direction')),'pattern'!==d&&n.Panel.$element.find('.presets .selected').removeClass('selected'),'class'===l?r.addClass('bg-background-color').addClass(n.CONTROLS.Color.getColorClass('background-color',s)).addClass(n.CONTROLS.Color.getColorClass('text-contrast',s)):n.Controls.addStyle(r,'background-color',s),a.setImageSelection(d,r.css('background'))})},_setupOverlayReset:function(){var e=n.Panel;e.$element.on('click','.background-design .overlay-color .default-color',function(r){var e=o(this),s=n.Menu.$element.targetData[a.name];r.preventDefault(),e.closest('.color-controls').find('label').css('background-color','rgba(255,255,255,.5)'),s.removeAttr('data-bg-overlaycolor'),a.updateBackgroundImage()})},_setupOverlayColor:function(){var e=n.Panel;e.$element.on('change','.background-design [name="overlay-color"]',function(){var e=o(this),r=e.attr('data-type'),s=e.val(),l=n.Menu.$element.targetData[a.name];'class'===r&&(s=BoldgridEditor.colors.defaults[s-1]),l.attr('data-bg-overlaycolor',s),a.updateBackgroundImage()})},updateBackgroundImage:function(){var e=n.Menu.$element.targetData[a.name],o=e.attr('data-bg-overlaycolor'),r=e.attr('data-image-url');o&&r?n.Controls.addStyle(e,'background-image',a.getOverlayImage(o)+', url("'+r+'")'):r&&n.Controls.addStyle(e,'background-image','url("'+r+'")')},getOverlayImage:function(e){return'linear-gradient(to left, '+e+', '+e+')'},_setupGradientColor:function(){var e=n.Panel;e.$element.on('change','.background-design [name^="gradient-color"]',function(){var e=o(this),r=n.Menu.$element.targetData[a.name],s=e.val(),l=e.attr('name'),i=e.attr('data-type');'class'===i&&(s=BoldgridEditor.colors.defaults[s-1]),'gradient-color-1'===l?r.attr('data-bg-color-1',s):r.attr('data-bg-color-2',s),n.Controls.addStyle(r,'background-image',a.createGradientCss(r))})},_setupCustomization:function(){var e=n.Panel;e.$element.on('click','.current-selection .settings .panel-button',function(o){o.preventDefault(),a.openCustomization()})},_setupScrollEffects:function(){var e=n.Panel;e.$element.on('change','.background-design input[name="scroll-effects"]',function(){var e=o(this),r=n.Menu.getTarget(a);'none'===e.val()?r.removeClass(a.availableEffects.join(' ')):(r.removeClass(a.availableEffects.join(' ')),r.addClass(e.val()))})},_setupGradientDirection:function(){var e=n.Panel;e.$element.on('change','.background-design input[name="bg-direction"]',function(){var e=o(this),r=n.Menu.getTarget(a);r.attr('data-bg-direction',e.val()),n.Controls.addStyle(r,'background-image',a.createGradientCss(r))})},createGradientCss:function(e){return'linear-gradient('+e.attr('data-bg-direction')+','+e.attr('data-bg-color-1')+','+e.attr('data-bg-color-2')+')'},_setupBackgroundSize:function(){var e=n.Panel;e.$element.on('change','.background-design input[name="background-size"]',function(){var e=o(this),r=n.Menu.getTarget(a);'tiled'===e.val()?(n.Controls.addStyle(r,'background-size','auto auto'),n.Controls.addStyle(r,'background-repeat','repeat')):'cover'===e.val()&&(n.Controls.addStyle(r,'background-size','cover'),n.Controls.addStyle(r,'background-repeat',''))})},_setupCustomizeLeave:function(){var o=n.Panel;o.$element.on('click','.background-design .back .panel-button',function(r){r.preventDefault(),o.$element.find('.preset-wrapper').show(),o.$element.find('.background-design .customize').hide(),o.initScroll(),a.preselectBackground(),o.scrollToSelected(),n.Service.customize.navigation.disable()})},_setupFilterClick:function(){var a=n.Panel;a.$element.on('click','.background-design .filter',function(n){n.preventDefault();var e=o(this),r=e.data('type'),s=e.data('label'),l=a.$element.find('.current-selection'),i=a.$element.find('.presets .background-color.section');a.$element.find('.filter').removeClass('selected'),e.addClass('selected'),a.$element.find('.presets .selection').hide(),o.each(r,function(){a.$element.find('.presets .selection[data-type="'+this+'"]').show()}),a.$element.find('.presets .title > *').text(s),a.$element.find('.presets').attr('data-filter',r),l.attr('data-filter',r),r.length&&-1!==r.indexOf('image')?i.hide():i.show(),a.scrollToSelected()})},removeColorClasses:function(e){e.removeClass('bg-background-color'),e.removeClass(n.CONTROLS.Color.backgroundColorClasses.join(' ')),e.removeClass(n.CONTROLS.Color.textContrastClasses.join(' '))},_setupBackgroundClick:function(){var e=n.Panel;e.$element.on('click','.background-design .selection',function(){var r=o(this),s=n.Menu.getTarget(a),l=r.attr('data-image-url'),i=r.css('background-image'),d=r.css('background');return r.hasClass('selected')?(a.removeColorClasses(s),n.Controls.addStyle(s,'background',''),s.removeAttr('data-image-url'),r.removeClass('selected'),void a.preselectBackground(!0)):void(e.$element.find('.presets .selected').removeClass('selected'),r.addClass('selected'),s.removeAttr('data-bg-color-1').removeAttr('data-image-url').removeAttr('data-bg-color-2').removeAttr('data-bg-direction'),'pattern'!==r.data('type')&&a.removeColorClasses(s),'image'===r.data('type')?a.setImageBackground(l):'color'===r.data('type')?(s.addClass(r.data('class')),s.addClass(n.CONTROLS.Color.getColorClass('text-contrast',r.data('class').replace(/\D/g,''))),s.addClass('bg-background-color'),n.Controls.addStyle(s,'background-image',''),a.setDefaultBackgroundColors()):'pattern'===r.data('type')?(n.Controls.addStyle(s,'background-size','auto auto'),n.Controls.addStyle(s,'background-repeat','repeat'),n.Controls.addStyle(s,'background-image',i)):'gradients'===r.data('type')?(n.Controls.addStyle(s,'background-image',i),s.attr('data-bg-color-1',r.data('color1')).attr('data-bg-color-2',r.data('color2')).attr('data-bg-direction',r.data('direction'))):n.Controls.addStyle(s,'background-image',i),a.setImageSelection(r.data('type'),d))})},activateFilter:function(e){var r=!1,s=n.Menu.getTarget(a),l;n.Panel.$element.find('.current-selection .filter').each(function(){var n=o(this),a=n.data('type');if(e&&-1!==a.indexOf(e))return n.click(),r=!0,!1}),r||e||(l=s.css('background-image'),l&&'none'!==l&&(n.Panel.$element.find('.filter[data-type]:first-of-type').click(),r=!0)),!1==r&&n.Panel.$element.find('.filter[data-default="1"]').click()},setImageSelection:function(e,o){var r=n.Panel.$element.find('.current-selection'),s=n.Menu.getTarget(a);r.css('background',''),'color'===e?r.css('background-color',o):(r.css('background-color',s.css('background-color')),r.css('background-image',s[0].style['background-image'])),r.attr('data-type',e)},setImageBackground:function(e){var o=n.Menu.getTarget(a);o.attr('data-image-url',e),n.Controls.addStyle(o,'background',''),a.updateBackgroundImage(),n.Controls.addStyle(o,'background-size','cover'),n.Controls.addStyle(o,'background-position','50% 50%')},_initSliders:function(){a._initVerticleSlider()},_initVerticleSlider:function(){var e=n.Menu.getTarget(a),o=e.css('background-position-y'),r=e.css('background-position-x');o=o?parseInt(o):50,r=r?parseInt(r):50,n.Panel.$element.find('.background-design .vertical-position .slider').slider({min:0,max:100,value:o,range:'max',slide:function(o,a){e.css('background-image')&&n.Controls.addStyle(e,'background-position',r+'% '+a.value+'%')}}).siblings('.value').html(o)},openCustomization:function(){n.Panel.$element.find('.preset-wrapper').hide(),n.Panel.$element.find('.background-design .customize').show(),n.Panel.$element.find('.preset-wrapper').attr('data-type',n.Panel.$element.find('.current-selection').attr('data-type')),a._initSliders(),a.selectDefaults(),n.Panel.enterCustomization(),n.Panel.customizeOpenEvent(),n.Panel.createScrollbar('.customize',{height:a.panel.height})},selectDefaults:function(){a.setScrollEffect(),a.setSize(),a.setDefaultDirection(),a.setDefaultBackgroundColors(),a.setDefaultOverlayColor()},setDefaultOverlayColor:function(){var e=n.Menu.getTarget(a),o=n.Panel.$element.find('.overlay-color'),r=e.attr('data-bg-overlaycolor');r&&o.find('input').attr('value',r)},setSize:function(){var e=n.Panel.$element.find('input[name="background-size"]'),o=n.Menu.getTarget(a);-1===o.css('background-size').indexOf('cover')&&e.filter('[value="tiled"]').prop('checked',!0)},setScrollEffect:function(){var e=n.Menu.getTarget(a);o.each(a.availableEffects,function(){if(e.hasClass(this))return n.Panel.$element.find('input[name="scroll-effects"][value="'+this+'"]').prop('checked',!0),!1})},setDefaultDirection:function(){var e=n.Menu.getTarget(a),o=e.attr('data-bg-direction');a.backgroundIsGradient(e.css('background-image'))&&o&&n.Panel.$element.find('input[name="bg-direction"][value="'+o+'"]').prop('checked',!0)},setDefaultBackgroundColors:function(){var e=n.Menu.getTarget(a),o,r;a.backgroundIsGradient(e.css('background-image'))?(n.Panel.$element.find('input[name="gradient-color-1"]').attr('value',e.attr('data-bg-color-1')),n.Panel.$element.find('input[name="gradient-color-2"]').attr('value',e.attr('data-bg-color-2'))):(o=n.CONTROLS.Color.findAncestorColor(e,'background-color'),r=n.Panel.$element.find('input[name="section-background-color"]'),r.prev('label').css('background-color',o),r.attr('value',o))},randomGradientDirection:function(){var o=['to left','to bottom'];return o[e(Math.random()*o.length)]},_createGradients:function(){var e=[];o.each(BoldgridEditor.sample_backgrounds.default_gradients,function(){var o=this.colors[0],n=this.colors[1],r=a.randomGradientDirection();e.push({color1:o,color2:n,direction:r,css:'linear-gradient('+r+','+o+','+n+')'})}),console.log(JSON.stringify(e))},setPaletteGradients:function(){var n=[];BoldgridEditor.colors.defaults&&BoldgridEditor.colors.defaults.length&&o.each([0,1],function(){var o,r,s;o=BoldgridEditor.colors.defaults[e(Math.random()*BoldgridEditor.colors.defaults.length)],r=BoldgridEditor.colors.defaults[e(Math.random()*BoldgridEditor.colors.defaults.length)],o!==r&&(s=a.randomGradientDirection(),n.push({color1:o,color2:r,direction:s,css:'linear-gradient('+s+','+o+','+r+')'}))}),o.each(n,function(){BoldgridEditor.sample_backgrounds.gradients.unshift(this)})},backgroundIsGradient:function(e){return-1!==e.indexOf('linear-gradient')&&-1===e.indexOf('url')},preselectBackground:function(e){var r='color',s=n.Menu.getTarget(a),l=s.css('background-color'),i=s.css('background-image'),d=n.Panel.$element.find('.current-selection'),c=a.backgroundIsGradient(i),p=!1;a.setImageSelection('image'),d.css('background-color',l),n.Panel.$element.find('.selection').each(function(){var e=o(this),n=e.data('type'),l=e.data('class');switch(n){case'color':if(l&&s.hasClass(l)&&'none'===s.css('background-image'))return e.addClass('selected'),r=n,p=!0,a.activateFilter(r),!1;break;case'image':if(e.attr('data-image-url')===s.attr('data-image-url'))return e.addClass('selected'),r=n,p=!0,a.activateFilter(r),!1;break;case'gradients':case'pattern':if(e.css('background-image')===i)return e.addClass('selected'),r=n,p=!0,a.activateFilter(r),!1;}}),p||(c?r='gradients':'none'!==i&&(r='image'),!e&&a.activateFilter(r)),d.attr('data-type',r)},openPanel:function(){var e=n.Panel,o=wp.template('boldgrid-editor-background');BoldgridEditor.sample_backgrounds.color=n.CONTROLS.Color.getPaletteBackgroundColors(),e.clear(),a.setPaletteGradients(),e.$element.find('.panel-body').html(o({images:BoldgridEditor.sample_backgrounds,imageData:BoldgridEditor.builder_config.background_images})),a.preselectBackground(),a.setDefaultBackgroundColors(),e.open(a)}},BOLDGRID.EDITOR.CONTROLS.Background.init(),a=BOLDGRID.EDITOR.CONTROLS.Background}(jQuery)},"./assets/js/builder/controls/element/box.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var n=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Box={uiBoxDimensions:{"bg-box bg-box-rounded":'box-wide',"bg-box bg-box-rounded-bottom-left bg-box-rounded-bottom-right":'box-long',"bg-box bg-box-rounded-bottom-right bg-box-rounded-top-right":'box-wide',"bg-box bg-box-edged bg-box-shadow-bottom-right":'box-wide',"bg-box bg-box-square bg-box-border-thin":'box-long',"bg-box bg-box-square bg-box-border-thick":'box-wide',"bg-box bg-box-square bg-box-border-dashed":'box-wide',"bg-box bg-box-rounded bg-box-border-dashed":'box-long',"bg-box bg-box-square bg-box-border-dashed-thick":'box-long',"bg-box bg-box-square bg-box-border-double-thick":'box-wide'},namespace:'bg-box',name:'box',priority:20,iconClasses:'genericon genericon-gallery',tooltip:'Column Background',selectors:['.row [class*="col-md"]'],panel:{title:'Column Background',height:'625px',width:'325px',customizeSupport:['width','margin','padding','box-shadow','border','border-radius','animation','blockAlignment','background-color','device-visibility','customClasses'],includeFooter:!0,customizeCallback:!0,customizeLeaveCallback:!0},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},colorControls:null,targetClasses:null,targetColor:null,$presets:null,onMenuClick:function(){a.openPanel()},setup:function(){a._setupPresetClick(),a._setupPresetHover(),a._setupPanelLeave(),a._setupSliderChange(),n.Panel.$element.on('bg-customize-exit',function(){return n.Panel.showFooter()}),n.Panel.$element.on('box-background-color-change box-border-color-change box-css-change',function(){return a._saveModuleClasses()}),a.presetsMarkup=a.getBoxMarkup()},_setupSliderChange:function(){n.Panel.$element.on('slidechange','.box-design .slider',function(){a._saveModuleClasses()})},_setupPanelLeave:function(){var e=n.Panel;e.$element.on('mouseleave','.box-design',function(o){o.preventDefault();var e=n.Menu.getTarget(a),r;r=a.findModule(e),a.removeModuleClasses(r),r.addClass(a.targetClasses),a.targetClasses&&-1!==a.targetClasses.indexOf('-background-color')||n.Controls.addStyle(r,'background-color',a.targetColor),a._applyCloneStyles(r)})},_applyCloneStyles:function(e){a.$targetModuleClone&&(e.attr('style',a.$targetModuleClone.attr('style')||''),e.attr('data-mce-style',a.$targetModuleClone.attr('style')||''))},_setupPresetHover:function(){var e=n.Panel;e.$element.hoverIntent({out:function(){},over:function(n){var e=o(this);n.preventDefault(),a.addBox(e)},selector:'.box-design .presets .'+a.namespace})},_setupPresetClick:function(){var r=n.Panel;r.$element.on('click','.box-design .presets .'+a.namespace,function(s){var e=o(this),l;s.preventDefault(),e.hasClass('selected')?(l=a.findModule(n.Menu.getTarget(a)),n.CONTROLS.Color.resetBorderClasses(l),r.clearSelected(),a.removeModuleClasses(l),a._clearModuleClasses(),a._clearInlineStyles(l)):(a.addBox(e),r.clearSelected(),a._saveModuleClasses(),e.addClass('selected'))})},_clearInlineStyles:function(e){e.css('padding',''),e.css('margin',''),e.css('background-color',''),e.css('border-color','')},_clearModuleClasses:function(){a.targetClasses='',a.targetColor='',a.$targetModuleClone=!1},_saveModuleClasses:function(){var e=a.findModule(n.Menu.getTarget(a));a.targetClasses=e.attr('class'),a.targetColor=e[0].style['background-color'],a.$targetModuleClone=e.clone()},findModule:function(e){var n=e.find('> div'),a=e.find('> *'),r=1===n.length&&n.not('.row').length&&n.not('[class*="col-md"]').length&&1===a.length,s;return r&&(s=n),s||(s=o('<div></div>'),s.html(a),e.html(s)),s},addBox:function(e){var o=n.Menu.getTarget(a),r=e.data('value'),s=e.css('background-color'),l=a.findModule(o),i;a._clearInlineStyles(l),n.CONTROLS.Color.resetBorderClasses(l),a.removeModuleClasses(l),e.parent('.my-designs').length&&(i=BoldgridEditor.builder_config.components_used.box[e.data('id')].style,l.attr('style',i)),l.addClass(r),l.attr('class')&&-1===l.attr('class').indexOf('-background-color')&&n.Controls.addStyle(l,'background-color',s)},removeModuleClasses:function(e){e.removeClass(function(e,o){return(o.match(/(^|\s)bg-box?\S+/g)||[]).join(' ')}),e.removeClass('bg-background-color'),e.removeClass(n.CONTROLS.Color.backgroundColorClasses.join(' ')),e.removeClass(n.CONTROLS.Color.textContrastClasses.join(' ')),n.Controls.addStyle(e,'background-color','')},getTarget:function(){var e=n.Menu.getTarget(a);return a.findModule(e)},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&a.openPanel()},updateUiStyles:function(){var e=a.presetsMarkup,r='',s=0,l=[],i=n.CONTROLS.Color.getBackgroundForegroundColors(),d;return o.each(i,function(){l.push({color:this.color,colorClass:this.background+' '+this.text})}),o.each(['#fff','#000','rgb(236, 236, 236)'],function(){l.push({color:this})}),o.each(e,function(e){d=o(this),l[s].colorClass?(d.attr('data-value',d.data('value')+' '+l[s].colorClass),d.css('background-color',l[s].color)):d.css('background-color',l[s].color),d.attr('data-id',e),0==e%4&&0!==e&&s++,l[s]||(s=0),r+=d[0].outerHTML}),a.$presets=r,r},getBoxMarkup:function(){var e=BoldgridEditor.builder_config.boxes,n=[],r;return o.each(e,function(){r=a.uiBoxDimensions[this]||'',r+=' ',n.push('<div data-value=\''+this+'\' class=\''+r+this+'\'></div>')}),n},preselectBox:function(){var e=n.Menu.getTarget(a),r=a.findModule(e),s=r.attr('class'),l=[];s=s?s.split(' '):[],o.each(s,function(){0===this.indexOf('bg-box')&&l.push(this)}),l=!!l.length&&'.'+l.join('.'),n.Panel.$element.find('.presets > div').each(function(){var e=o(this);if(l&&e.filter(l).length&&e.css('background-color')===r.css('background-color'))return e.addClass('selected'),!1})},styleMyDesigns:function(){var e=n.Controls.$container.$body;n.Panel.$element.find('.my-designs > *').each(function(){var n=o(this),a=n.data('id'),r=n.clone();r.css('display','none'),r.attr('style',BoldgridEditor.builder_config.components_used.box[a].style),e.append(r),n.css('background-color',r.css('background-color')),n.css('border-color',r.css('border-color')),r.remove()})},removeInvalid:function(){var e=[],a=n.Panel.$element.find('.my-designs');a.find('> *').each(function(){var a=o(this),r=a.css('background-color'),s=a.attr('data-value')+r;-1!==e.indexOf(s)||n.CONTROLS.Color.isColorTransparent(r)?a.remove():e.push(s)}),e.length||(a.remove(),n.Panel.$element.find('.my-designs-title').remove())},_updateMyDesigns:function(){n.Controls.$container.$body.find('.bg-box').each(function(){var e=o(this),n,a;n={classes:e.attr('class'),style:e.attr('style')},a=!1,o.each(BoldgridEditor.builder_config.components_used.box,function(){if(this.style===n.style&&this.classes===n.classes)return a=!0,!1}),a||BoldgridEditor.builder_config.components_used.box.push(n)})},openPanel:function(){var e=n.Panel,o=wp.template('boldgrid-editor-box');a.updateUiStyles(),a._saveModuleClasses(),a._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(o({presets:a.$presets,myPresets:BoldgridEditor.builder_config.components_used.box,colorControls:a.colorControls})),a.styleMyDesigns(),a.removeInvalid(),BOLDGRID.EDITOR.Panel.open(a),a.preselectBox(),e.$element.find('.grid').masonry({itemSelector:'.'+a.namespace}),e.initScroll(a),e.scrollToSelected(),n.Panel.showFooter()}},BOLDGRID.EDITOR.CONTROLS.Box.init(),a=BOLDGRID.EDITOR.CONTROLS.Box}(jQuery)},"./assets/js/builder/controls/element/button.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Button={name:'button',priority:80,tooltip:'Button Design',iconClasses:'fa fa-cog',selectors:['.btn','a.button','a.button-secondary','a.button-primary'],defaultColorClasses:[{color:'#eee',number:0},{color:'#229ffd',number:1},{color:'#ff414f',number:2},{color:'#a5de37',number:3},{color:'#feae1b',number:4},{color:'#7b72e9',number:5}],classes:[{name:'btn btn-3d btn-rounded'},{name:'btn btn-3d btn-pill'},{name:'btn btn-3d'},{name:'btn btn-raised btn-rounded'},{name:'btn btn-raised btn-pill'},{name:'btn btn-raised btn-small-caps'},{name:'btn btn-rounded btn-small-caps'},{name:'btn btn-pill'},{name:'btn'},{name:'btn btn-longshadow btn-rounded'},{name:'btn btn-longshadow btn-small-caps btn-pill'},{name:'btn btn-longshadow btn-uppercase'},{name:'btn btn-glow btn-rounded'},{name:'btn btn-glow btn-pill btn-uppercase'},{name:'btn btn-glow'},{name:'btn btn-block btn-rounded'},{name:'btn btn-block btn-pill'},{name:'btn btn-block btn-small-caps'}],sizeClasses:['btn-tiny','btn-small','','btn-large','btn-jumbo','btn-giant'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Button Design',height:'550px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeCallback:!0,customizeSupport:['margin','padding','border','box-shadow','animation','customClasses','device-visibility']},setup:function(){n.applyColors(),n._setupPresetClick(),n._setupColorClick(),n._setupCustomizeOpen(),n.removeSizeClasses()},removeSizeClasses:function(){var e=BoldgridEditor.builder_config.components_used.button;_.each(e,function(o,n){o.classes=o.classes.replace(/btn-(giant|jumbo)/g,''),e[n]=o}),e=_.uniq(e,!1,function(e){return e.classes}),BoldgridEditor.builder_config.components_used.button=e.slice(0,20)},_setupCustomizeOpen:function(){var e=BOLDGRID.EDITOR.Panel;e.$element.on('bg-customize-open',function(){e.currentControl===n&&(n.sizeSlider.init(),o.Menu.getTarget(n).removeClass('bg-control-element'))}),e.$element.on('bg-customize-exit',function(){e.currentControl===n&&(n.preselect(),o.Panel.scrollToSelected(),n.toggleFooter())})},removeColorClasses:function(){var e=o.Menu.getTarget(n);e.removeClass('btn-neutral-color'),e.removeClass(function(e,o){return(o.match(/(^|\s)btn-color\S+/g)||[]).join(' ')})},_setupColorClick:function(){o.Panel.$element.on('click','.customize .button-color-controls .panel-selection',function(){var a=e(this),r=o.Menu.getTarget(n);n.removeColorClasses(),a.siblings().removeClass('selected'),a.addClass('selected'),r.addClass('btn-color-'+a.attr('data-preset'))})},_setupPresetClick:function(){var a=o.Panel;a.$element.on('click','.button-design .presets .panel-selection',function(){var r=e(this),s=r.data('preset'),l=o.Menu.getTarget(n);o.Controls.addStyle(l,'border',''),o.Controls.addStyle(l,'box-shadow',''),a.clearSelected(),r.addClass('selected'),l.attr('class',''),l.addClass(s),n.toggleFooter()})},insertNew:function(){var e;send_to_editor('<a class="btn btn-color-1 bg-inserted-button" href="#">Button</a>'),e=o.Controls.$container.find('.bg-inserted-button').last(),o.Controls.$container.find('.bg-inserted-button').removeClass('bg-inserted-button'),o.Controls.$menu.targetData[n.name]=e,e.click(),n.openPanel()},onMenuClick:function(){n.openPanel()},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&n.openPanel()},applyColors:function(){var o=5,a=0,r;BoldgridEditor.colors.defaults.length&&(o=BoldgridEditor.colors.defaults.length,a=1),r=a,e.each(n.classes,function(e){o<r&&(r=a),0!==r&&(this.name+=' btn-color-'+r),0==(e+1)%4&&r++})},sizeSlider:{getDefault:function(){var a=2,r=o.Menu.getCurrentTarget();return e.each(n.sizeClasses,function(e){if(r.hasClass(this))return a=e,!1}),a},init:function(){var e=this.getDefault()+1,a=o.Menu.getCurrentTarget();o.Panel.$element.find('.section.button-size-control .value').html(e),o.Panel.$element.find('.section.button-size-control .slider').slider({min:1,max:6,value:e,range:'max',slide:function(e,o){a.removeClass(n.sizeClasses.join(' ')),o.value&&a.addClass(n.sizeClasses[o.value-1])}})}},getColorsMarkup:function(){var e=n.defaultColorClasses;return(BoldgridEditor.features.button_colors&&!BoldgridEditor.is_boldgrid_theme||o.Controls.hasThemeFeature('button-lib'))&&(e=o.CONTROLS.Color.getColorsFormatted()),o.CONTROLS.Color.colorTemplate({colors:e,customColors:[]})},preselect:function(){var a=o.Menu.getTarget(n),r=o.Util.getClassesLike(a,'btn');r=e('<div>').addClass(r.join(' ')).removeClass('bg-control-element '+n.sizeClasses.join(' ')).attr('class'),a.hasClass('button-primary')?r='button-primary':a.hasClass('button-secondary')&&(r='button-secondary'),o.Panel.clearSelected(),o.Panel.$element.find('[data-preset="'+r+'"]:first').addClass('selected')},toggleFooter:function(){var e=o.Menu.getTarget(n);e.hasClass('btn')?o.Panel.showFooter():o.Panel.hideFooter()},_updateMyDesigns:function(){n.usedComponents=BoldgridEditor.builder_config.components_used.button.slice(0),o.Controls.$container.$body.find('.btn').each(function(){var o=e(this),a=o.clone().removeClass('bg-control-element '+n.sizeClasses.join(' ')),r=a.attr('class'),s=n.usedComponents,l=_.findIndex(s,function(e){return e.classes===r});-1===l&&s.push({style:a.attr('style'),classes:r})})},openPanel:function(){var e=o.Panel,a=wp.template('boldgrid-editor-button');n._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(a({text:'Button',presets:n.classes,myPresets:n.usedComponents,colors:n.getColorsMarkup()})),n.preselect(),e.open(n),n.toggleFooter(),e.$element.removeClass('ui-widget-content')}},BOLDGRID.EDITOR.CONTROLS.Button.init(),n=BOLDGRID.EDITOR.CONTROLS.Button}(jQuery)},"./assets/js/builder/controls/element/font.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Font={name:'font',tooltip:'Font',priority:30,iconClasses:'fa fa-text-width',selectors:['p, h1, h2, h3, h4, h5, h6, table, section, ul, ol, dl','blockquote'],exceptionSelector:'img, .draggable-tools-imhwpb *',templateMarkup:null,fontClasses:['bg-font-family-alt','bg-font-family-body','bg-font-family-heading','bg-font-family-menu'],disabledTextContrast:!0,init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Text Setting',height:'625px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeSupport:['width','margin','padding','box-shadow','border','border-radius','animation','background-color','blockAlignment','device-visibility','customClasses'],customizeCallback:!0},setup:function(){n._setupEffectClick(),o.CONTROLS.GENERIC.Fontcolor.bind(),n.templateMarkup=wp.template('boldgrid-editor-font')({textEffectClasses:BoldgridEditor.builder_config.textEffectClasses,fonts:BoldgridEditor.builder_config.fonts,themeFonts:n.getThemeFonts(),myFonts:BoldgridEditor.builder_config.components_used.font}),n.bindFontCollpase(),o.FontRender.updateFontLink(o.Controls.$container)},bindFontCollpase:function(){var o=_.debounce(function(){var o=e('.font-family-dropdown');o.hasClass('ui-selectmenu-open')&&o.removeClass('ui-selectmenu-open')},50);e(window).on('scroll',o)},getThemeFonts:function(){var e=[];return-1!==BoldgridEditor.builder_config.theme_features.indexOf('theme-fonts-classes')&&(e=BoldgridEditor.builder_config.theme_fonts),e},_setupEffectClick:function(){var a=o.Panel;a.$element.on('click','.section.effects .panel-selection',function(){var a=e(this),r=o.Menu.$element.targetData[n.name];e.each(BoldgridEditor.builder_config.textEffectClasses,function(){r.removeClass(this.name)}),r.addClass(a.data('preset')),a.siblings().removeClass('selected'),a.addClass('selected')})},onMenuClick:function(){n.openPanel()},charSpacingSlider:function(e){var n=e.css('letter-spacing'),a=n?parseInt(n):0;o.Panel.$element.find('.section.spacing .character .value').html(a),o.Panel.$element.find('.section.spacing .character .slider').slider({step:0.1,min:-0.3,max:5,value:a,range:'max',slide:function(n,a){o.Controls.addStyle(e,'letter-spacing',a.value)}})},lineSpacingSlider:function(e){var n=e.css('line-height'),a=o.Util.convertPxToEm(n,e.css('line-height'));o.Panel.$element.find('.section.spacing .line .value').html(a),o.Panel.$element.find('.section.spacing .line .slider').slider({step:0.1,min:0.5,max:3,value:a,range:'max',slide:function(n,a){o.Controls.addStyle(e,'line-height',a.value+'em')}})},elementClick:function(a){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&(n.openPanel(),o.Panel.$element.find('label[for="font-color"]').is(':visible')&&(a.boldgridRefreshPanel=!0,o.CONTROLS.Color.$currentInput=o.Panel.$element.find('input[name="font-color"]')))},_initTextColor:function(){o.Panel.$element.find('[name="font-color"]').data('type','color').val('#333'),n._hideButtonColor()},_hideButtonColor:function(){var e='> .btn, > .button-primary, > .button-secondary, > a',a=o.Panel.$element.find('.color-preview'),r=o.Menu.getTarget(n),s;s=r.clone(),s.find(e).remove(),!s.text().replace(/ /g,'').length&&r.find(e).length&&a.hide()},_initFamilyDropdown:function(){var a=o.Panel,r;e.widget('custom.fontfamilyselect',e.ui.selectmenu,{_renderItem:function(o,n){return e('<li>').data('ui-autocomplete-item',n).attr('data-value',n.label).attr('data-type',n.element.data('type')).attr('data-index',n.element.data('index')).append(n.label).appendTo(o)},_renderMenu:function(o,n){var a=this;e.each(n,function(e,n){a._renderItemData(o,n)}),o.parent().addClass('font-family-dropdown'),o.addClass('selectize-dropdown-content'),o.find('[data-type="theme"]:first').before('<h3 class="seperator">Theme Fonts</h3>'),o.find('[data-type="custom"]:first').before('<h3 class="seperator">My Fonts</h3>'),o.find('[data-type="all"]:first').before('<h3 class="seperator">All Fonts</h3>'),setTimeout(function(){o.find('.seperator').removeClass('ui-menu-item')})}}),a.$element.find('.selectize-dropdown-content select').fontfamilyselect({select:function(e,a){var s=o.Menu.getTarget(n);return r.attr('data-value',a.item.label),s.removeAttr('data-font-family').removeAttr('data-font-class'),s.removeClass(n.fontClasses.join(' ')),'Default'===a.item.label?void o.Controls.addStyle(s,'font-family',''):void('theme'===a.item.element.data('type')?(s.addClass(a.item.element.data('index')),s.attr('data-font-class',a.item.element.data('index')),o.Controls.addStyle(s,'font-family','')):(s.attr('data-font-family',a.item.label),o.Controls.addStyle(s,'font-family',a.item.label)),o.FontRender.updateFontLink(o.Controls.$container))}}),r=n.getFamilySelection(),n.preselectFamily()},getFamilySelection:function(){return o.Panel.$element.find('.section.family .ui-selectmenu-button')},preselectFamily:function(){var e='Default',a=n.getFamilySelection(),r=o.Menu.getTarget(n),s;r.is('.'+n.fontClasses.join(',.'))?(s=r.attr('data-font-class'),e=o.Panel.$element.find('.section.family [data-index="'+s+'"]').data('value')):r.attr('data-font-family')&&(e=r.attr('data-font-family')),a.attr('data-value',e)},setTextColorInput:function(){var e=o.Menu.getTarget(n),a;a=o.CONTROLS.Color.findAncestorColor(e,'color'),o.Panel.$element.find('input[name="font-color"]').attr('value',a)},setTextEffect:function(){var e=o.Menu.getTarget(n),a=o.Panel.$element.find('.panel-body .section.effects'),r=o.Util.getClassesLike(e,'bg-text-fx');a.find('.panel-selection.selected').removeClass('selected'),r.length?a.find('.panel-selection').find('.'+r.join('.')).closest('.panel-selection').addClass('selected'):a.find('.none-selected').addClass('selected')},selectPresets:function(){n.setTextColorInput(),n.setTextEffect()},openPanel:function(){var e=o.Panel,a=o.Menu.getTarget(n);e.clear(),e.$element.find('.panel-body').html(n.templateMarkup),n.charSpacingSlider(a),n.lineSpacingSlider(a),n._initTextColor(a),n._initFamilyDropdown(),n.selectPresets(),e.open(n),e.scrollTo(0),o.CONTROLS.GENERIC.Fontsize.bind()}},BOLDGRID.EDITOR.CONTROLS.Font.init(),n=BOLDGRID.EDITOR.CONTROLS.Font}(jQuery)},"./assets/js/builder/controls/element/hr.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./node_modules/@boldgrid/components/src/components/config.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Hr={name:'hr',tooltip:'Horizontal Line',priority:80,iconClasses:'genericon genericon-minus',selectors:['.bg-editor-hr-wrap'],componentPrefix:'bg-hr',panel:{title:'Horizontal Line',height:'575px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeSupport:['fontColor','margin','padding','border','box-shadow','width','blockAlignment','animation','device-visibility','customClasses'],customizeSupportOptions:{margin:{horizontal:!1}},customizeCallback:!0,preselectCallback:!0,styleCallback:!0},maxMyDesigns:10,init:function(){o.Controls.registerControl(this),n.myDesigns=[],n.userDesigns._format(),n.template=wp.template('boldgrid-editor-hr')},getTarget:function(){return n.$currentTarget},onMenuClick:function(){var e=o.Panel;n.$currentTarget=BOLDGRID.EDITOR.Menu.getTarget(n).find('hr:first'),n.userDesigns._update(),e.clear(),e.$element.find('.panel-body').html(n.template({text:'Horizontal Rule',presets:a.a.hr.styles,myPresets:n.myDesigns})),e.showFooter(),e.open(n)},userDesigns:{append:function(e){var a=o.Util.getComponentClasses(e,n.componentPrefix).join(' ');a&&-1===n.myDesigns.indexOf(a)&&n.myDesigns.push(a)},_format:function(){var e=BoldgridEditor.builder_config,o=BoldgridEditor.builder_config.components_used.hr||[];_.each(o.slice(0,n.maxMyDesigns),function(e){n.userDesigns.append(e.classes)})},_update:function(){n.myDesigns.length>=n.maxMyDesigns||o.Controls.$container.$body.find('hr').each(function(){n.userDesigns.append(e(this).attr('class'))})}}},n=BOLDGRID.EDITOR.CONTROLS.Hr,BOLDGRID.EDITOR.CONTROLS.Hr.init()}(jQuery)},"./assets/js/builder/controls/element/icon.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Icon={name:'icon',priority:80,tooltip:'Icon Design',iconClasses:'fa fa-cog',selectors:['.fa'],panel:{title:'Change Icon',height:'675px',width:'335px',includeFooter:!0,customizeLeaveCallback:!0,customizeCallback:!0,customizeSupport:['fontColor','fontSize','margin','padding','rotate','box-shadow','border','border-radius','background-color','device-visibility','animation','customClasses']},template:wp.template('boldgrid-editor-icon'),init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){n._setupClosePanel(),n._setupCustomizeLeave()},elementClick:function(){n.openPanel()},_setupCustomizeLeave:function(){o.Panel.$element.on('bg-customize-exit',function(){n.name===o.Panel.currentControl.name&&n.highlightElement()})},_setupClosePanel:function(){o.Panel.$element.on('bg-panel-close',function(){o.Panel.currentControl&&n.name===o.Panel.currentControl.name&&n.collapseSelection()})},collapseSelection:function(){BOLDGRID.EDITOR.mce.execCommand('wp_link_cancel')},insertNew:function(){var e;send_to_editor('<i class="fa fa-cog bg-inserted-icon" aria-hidden="true"><span style="display:none;">&nbsp;</span></i>'),e=o.Controls.$container.find('.bg-inserted-icon').last(),o.Controls.$container.find('.bg-inserted-icon').removeClass('bg-inserted-icon'),o.Controls.$menu.targetData[n.name]=e,e.click()},setupPanelClick:function(){var o=BOLDGRID.EDITOR.Controls,a=BOLDGRID.EDITOR.Panel;a.$element.on('click','.icon-controls .panel-selection',function(){var r=o.$menu,s=r.targetData[n.name],l=e(this),i=s.hasClass('fa-li')?'fa-li':'';s.removeClass(function(e,o){return(o.match(/(^|\s)fa-\S+/g)||[]).join(' ')}),s.addClass(l.find('i').attr('class')+' '+i),a.$element.find('.selected').removeClass('selected'),l.addClass('selected')})},highlightElement:function(){var e=o.Menu.getTarget(n);BOLDGRID.EDITOR.mce.selection.select(e[0])},onMenuClick:function(){n.openPanel()},openPanel:function(){var e=o.Panel.$element,a=o.Controls.$menu,r=a.targetData[n.name],s;n.highlightElement(),n.setupPanelClick(),e.find('.panel-body').html(n.template({presets:BoldgridEditor.icons})),e.find('.selected').removeClass('selected'),s=e.find('i[class="'+r.attr('class')+'"]').closest('.panel-selection').addClass('selected'),BOLDGRID.EDITOR.Panel.open(n)}},BOLDGRID.EDITOR.CONTROLS.Icon.init(),n=BOLDGRID.EDITOR.CONTROLS.Icon}(jQuery)},"./assets/js/builder/controls/element/image.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.IMAGE.Design={classes:BoldgridEditor.builder_config.image,name:'image',tooltip:'Image Design',priority:80,iconClasses:'fa fa-cog',selectors:['img'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Image Design',height:'550px',width:'325px',includeFooter:!0,customizeCallback:!0,customizeLeaveCallback:!0,customizeSupport:['background-color','margin','border-radius','padding','border','animation','box-shadow','device-visibility','customClasses']},onMenuClick:function(){n.openPanel()},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&n.openPanel()},setup:function(){n.validateComponentsUsed(),n._setupPanelClick(),n._setupCustomizeHandlers()},_setupCustomizeHandlers:function(){var e=BOLDGRID.EDITOR.Panel;e.$element.on('bg-customize-exit',function(){e.currentControl===n&&o.Panel.showFooter()})},validateComponentsUsed:function(){var o=BoldgridEditor.builder_config.components_used;e.each(o.image,function(){var o=e('<div>').attr('class',this.classes);n.removeImageClass(o),this.classes=o.attr('class')}),o.image=_.uniq(o.image,function(e){return e.a})},removeImageClass:function(e){return e.removeClass(function(e,o){return(o.match(/(^|\s)wp-image-\S+/g)||[]).join(' ')}),e},_setupPanelClick:function(){var a=BOLDGRID.EDITOR.Panel;a.$element.on('click','.image-design .panel-selection',function(){var r=e(this),s=r.data('preset'),l=BOLDGRID.EDITOR.Menu.getTarget(n);o.Controls.addStyle(l,'border',''),o.Controls.addStyle(l,'border-radius',''),l.removeClass(function(e,o){return(o.match(/(^|\s)bg-img-\S+/g)||[]).join(' ')}),n.removeModClasses(l),l.removeClass(function(e,o){return(o.match(/(^|\s)img-\S+/g)||[]).join(' ')}),BOLDGRID.EDITOR.mce.selection.collapse(!1),r.hasClass('selected')?a.clearSelected():(a.clearSelected(),l.addClass(s),r.addClass('selected'))})},removeModClasses:function(e){e.parent('[class^="mod-img"]').removeClass(function(e,o){return(o.match(/(^|\s)mod-img-\S+/g)||[]).join(' ')})},preselectImage:function(){var a=o.Menu.getTarget(n),r=a.attr('class'),s=[];if(r=r?r.split(' '):[],e.each(r,function(){0===this.indexOf('bg-img')&&s.push(this)}),s=s.join(' '),s)return o.Panel.$element.find('[data-preset="'+s+'"]:first').addClass('selected'),!1},_updateMyDesigns:function(){n.usedComponents=BoldgridEditor.builder_config.components_used.image.slice(0),o.Controls.$container.$body.find('.bg-img').each(function(){var o=e(this),a=o.clone().removeClass('bg-control-element'),r,s,l,i;a=n.removeImageClass(a),r=a.attr('class'),s=n.usedComponents,i=function(e){return e.classes===r},l=_.findIndex(s,i),-1===l&&s.push({style:a.attr('style'),classes:r})})},openPanel:function(){var e=BOLDGRID.EDITOR.Panel,o=BOLDGRID.EDITOR.Menu.getTarget(n),a=wp.template('boldgrid-editor-image');n._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(a({src:o.attr('src'),presets:n.classes,myPresets:n.usedComponents})),n.preselectImage(),e.open(n)}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Design.init(),n=BOLDGRID.EDITOR.CONTROLS.IMAGE.Design}(jQuery)},"./assets/js/builder/controls/generic.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./node_modules/@boldgrid/controls/src/controls/index.js'),r=n('./assets/js/builder/controls/generic/background-color.js'),s=n('./assets/js/builder/controls/generic/border.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){var o=BOLDGRID.EDITOR,n;o.CONTROLS.Generic={defaultCustomize:wp.template('boldgrid-editor-default-customize'),basicControlInstances:[],bgControls:{margin:a.h,padding:a.i,"box-shadow":a.d,"border-radius":a.c,border:s.Border,"device-visibility":a.g,animation:a.a,"background-color":r.BackgroundColor},allControls:['background-color','fontColor','margin','animation','padding','border','box-shadow','border-radius','width','device-visibility','blockAlignment','customClasses'],appendBasicBGControl:function(e,a){var r=new a({target:o.Menu.getCurrentTarget(),colorPicker:{width:215}}),s;return r.applyCssRules=function(e){o.Controls.addStyle(r.$target,e),o.Panel.$element.trigger(o.Panel.currentControl.name+'-css-change')},n.basicControlInstances.push(r),s=r.render(),n.appendControl(s),s},appendControl:function(e){o.Panel.$element.find('.panel-body .customize').append(e)},createCustomizeSection:function(){var e=o.Panel.$element.find('.choices'),a=n.defaultCustomize();return e.length||(e=o.Panel.$element.find('.panel-body')),e.append(a),a},initControls:function(){var a=o.Panel.currentControl.panel.customizeSupport||[],r=o.Panel.currentControl.panel.customizeSupportOptions||!1;n.basicControlInstances=[],a.length&&!o.Panel.$element.find('.panel-body .customize').length&&n.createCustomizeSection(),e.each(a,function(){var e=this,a={},s;r&&r[this]&&(a=r[this]),n.bgControls[e]?s=n.appendBasicBGControl(a,n.bgControls[e]):(e=e.replace('-',''),e=e.toLowerCase(),e=e.charAt(0).toUpperCase()+e.slice(1),s=o.CONTROLS.GENERIC[e].render(a),o.CONTROLS.GENERIC[e].bind(a)),o.Tooltip.renderTooltips(),s.attr('data-control-name',this)}),n.bindControlRefresh()},bindControlRefresh:function(){o.Panel.$element.on('bg-customize-open',function(){_.each(n.basicControlInstances,function(e){e.refreshValues&&e.refreshValues()})})},setupInputCustomization:function(){o.Panel.$element.on('change','.class-control input',function(){var n=e(this),a=n.attr('name'),r=o.Menu.getCurrentTarget(),s=[],l=n.closest('.class-control').find('input[name="'+a+'"]');l.each(function(){s.push(e(this).val())}),r.removeClass(s.join(' ')),r.addClass(n.val())})},setupInputInitialization:function(){var n=BOLDGRID.EDITOR.Panel;n.$element.on('bg-customize-open',function(){var a=o.Menu.getCurrentTarget();n.$element.find('.class-control input[default]').prop('checked',!0),n.$element.find('.class-control input').each(function(){var o=e(this);a.hasClass(o.val())&&o.prop('checked',!0)})})}},n=BOLDGRID.EDITOR.CONTROLS.Generic}(jQuery)},"./assets/js/builder/controls/generic/background-color.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'BackgroundColor',function(){return c}),n.d(o,'default',function(){return c});var r=n('./includes/template/customize/background-color.html'),s=n.n(r),l=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),i=BOLDGRID.EDITOR,d=window.jQuery,c=function(){function e(){a(this,e)}return l(e,[{key:'render',value:function(){return this.$target=i.Menu.getCurrentTarget(),this.$control=this.createControl(),this.$input=this.$control.find('[name="generic-bg-color"]'),this._bind(),this.$control}},{key:'createControl',value:function(){var e=this,o=d(s.a);return i.Panel.$element.find('.panel-body .customize .generic-bg-color').remove(),i.Panel.$element.find('.panel-body .customize').append(o),i.Panel.$element.on('bg-customize-open',function(){var o=e.$target.css('background-color');i.Controls.$container.color_is(o,'transparent')&&(o='#FFFFFF'),e.$control.find('label.color-preview').css('background-color',o)}),o}},{key:'_bind',value:function(){var e=this;this.$input.on('change',function(){var o=e.$input.val(),n=e.$input.attr('data-type');e.$target.removeClass(i.CONTROLS.Color.textContrastClasses.join(' ')),e.$target.removeClass(i.CONTROLS.Color.backgroundColorClasses.join(' ')),i.Controls.addStyle(e.$target,'background-color',''),'class'===n?(!i.Panel.currentControl.disabledTextContrast&&e.$target.addClass(i.CONTROLS.Color.getColorClass('text-contrast',o)),e.$target.addClass(i.CONTROLS.Color.getColorClass('background-color',o))):i.Controls.addStyle(e.$target,'background-color',o),i.Panel.$element.trigger(i.Panel.currentControl.name+'-background-color-change')})}}]),e}()},"./assets/js/builder/controls/generic/block-alignment.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Blockalignment={template:wp.template('boldgrid-editor-horizontal-block-alignment'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.horizontal-block-alignment').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(){var a=o.Menu.getCurrentTarget(),r=a.is('hr')?'center':'left',s=o.Panel.$element.find('.section.horizontal-block-alignment input'),l=parseInt(a.css('margin-left')),i=parseInt(a.css('margin-right'));0===l&&0!==i?r='left':0===i&&0!==l&&(r='right'),s.filter('[value="'+r+'"]').prop('checked',!0),o.Panel.$element.find('.section [name="horizontal-block-alignment"]').on('change',function(){var r=e(this),s=r.val();n._applyMargin(a,s),o.Panel.$element.trigger(o.Panel.currentControl.name+'-css-change')})},_applyMargin:function(e,o){e.removeAttr('align'),'center'===o?(e.css('margin-left','auto'),e.css('margin-right','auto')):'left'===o?(e.css('margin-right','auto'),e.css('margin-left','0')):(e.css('margin-right','0'),e.css('margin-left','auto'))}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Blockalignment}(jQuery)},"./assets/js/builder/controls/generic/border.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Border',function(){return m}),n.d(o,'default',function(){return m});var l=n('./includes/template/customize/color.html'),i=n.n(l),d=n('./node_modules/@boldgrid/controls/src/controls/index.js'),c=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),p=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},u=BOLDGRID.EDITOR,g=window.jQuery,m=function(e){function o(e){a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return n.configs={name:'generic-border-color',label:'Border Color',propertyName:'border-color'},n}return s(o,e),c(o,[{key:'render',value:function(){var e=p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this);return this.$target=u.Menu.getCurrentTarget(),this.$colorControl=this.createControl(),this.$control.append(this.$colorControl),this.$input=this.$colorControl.find('[name="'+this.configs.name+'"]'),this._bind(),e}},{key:'createControl',value:function(){var e=this,o=g(_.template(i.a)(this.configs));return u.Panel.$element.on('bg-customize-open',function(){e.$control.find('label.color-preview').css('background-color',e.$target.css(e.configs.propertyName))}),o}},{key:'_bind',value:function(){var e=this;this.$input.on('change',function(){var o=e.$input.val(),n=e.$input.attr('data-type');u.CONTROLS.Color.resetBorderClasses(e.$target),'class'===n?e.$target.addClass(u.CONTROLS.Color.getColorClass(e.configs.propertyName,o)):u.Controls.addStyle(e.$target,e.configs.propertyName,o),u.Panel.$element.trigger(u.Panel.currentControl.name+'-'+e.configs.propertyName+'-change')})}}]),o}(d.b)},"./assets/js/builder/controls/generic/custom-classes.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Customclasses={template:wp.template('boldgrid-editor-custom-classes'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.custom-classes').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(){this.bindClasses(),this.bindId()},bindId:function(){var n=o.Panel,a=o.Menu.getCurrentTarget(),r=a.attr('id');n.$element.find('[name="css-id"]').on('input',function(){var o=e(this),n=o.val();n=n.replace(/[^A-Za-z0-9\-\_]/g,''),a.attr('id',n),o.val(n),n||a.removeAttr('id')}).val(r)},bindClasses:function(){var n=o.Panel,a=o.Menu.getCurrentTarget(),r=a.attr('custom-classes');n.$element.find('[name="custom-classes"]').on('input',function(){var o=e(this),n=a.attr('custom-classes'),r=o.val();r=r.replace(',',' '),a.removeClass(n),a.attr('custom-classes',r),a.addClass(r)}).val(r),n.$element.find('.custom-classes').show()}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Classes}(jQuery)},"./assets/js/builder/controls/generic/font-color.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontcolor={bound:!1,template:wp.template('boldgrid-editor-font-color'),render:function(){var n=e(this.template()),a=o.Menu.getTarget(o.Panel.currentControl);return o.Panel.$element.find('.panel-body .customize').find('.section.font-color').remove(),o.Panel.$element.find('.panel-body .customize').append(n),o.Panel.$element.on('bg-customize-open',function(){o.Panel.$element.find('.panel-body .customize').find('.section.font-color label').css('background-color',a.css('color'))}),n},bind:function(){var n=o.Panel;return!this.bound&&void(n.$element.on('change','.section [name="font-color"]',function(){var n=e(this),a=o.Menu.getCurrentTarget(),r=n.val(),s=n.attr('data-type');a.removeClass(o.CONTROLS.Color.colorClasses.join(' ')),o.Controls.addStyle(a,'color',''),'class'===s?a.addClass(o.CONTROLS.Color.getColorClass('color',r)):o.Controls.addStyle(a,'color',r)}),this.bound=!0)}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontcolor}(jQuery)},"./assets/js/builder/controls/generic/font-size.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontsize={template:wp.template('boldgrid-editor-font-size'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.size').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(){var e=o.Menu.getTarget(o.Panel.currentControl),n=e.css('font-size'),a=n?parseInt(n):14;a=5<=a?a:14,o.Panel.$element.find('.section.size .value').html(a),o.Panel.$element.find('.section.size .slider').slider({min:5,max:115,value:a,range:'max',slide:function(n,a){o.Panel.$element.find('.section.size .value').html(a.value),o.Controls.addStyle(e,'font-size',a.value)}})}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontsize}(jQuery)},"./assets/js/builder/controls/generic/link.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Link={template:wp.template('boldgrid-editor-insert-link'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.insert-link').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(){o.Panel.$element.find('.section.insert-link').on('click',function(){var e=o.Menu.getTarget(o.Panel.currentControl);BOLDGRID.EDITOR.mce.selection.select(e[0]),BOLDGRID.EDITOR.mce.execCommand('WP_Link')})}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Link}(jQuery)},"./assets/js/builder/controls/generic/margin.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Margin={template:wp.template('boldgrid-editor-margin'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.margin-control').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(e){e||(e={});var n=e.vertMin||0,a=e.horMin||-15,r=e.horMax||50,s=e.vertMax||200,l=o.Menu.getCurrentTarget(),i=l.css('margin-top'),d=l.css('margin-left');!1===e.horizontal&&o.Panel.$element.find('.margin-horizontal').hide(),!1===e.vertical&&o.Panel.$element.find('.margin-top').hide(),i=i&&'auto'!==i?parseInt(i):0,d=d&&'auto'!==d?parseInt(d):0,o.Panel.$element.find('.panel-body .customize .margin-horizontal .slider').slider({min:a,max:r,value:d,range:'max',slide:function(e,n){l=o.Menu.getCurrentTarget(),o.Controls.addStyle(l,'margin-left',n.value),o.Controls.addStyle(l,'margin-right',n.value)}}).siblings('.value').html(d),o.Panel.$element.find('.panel-body .customize .margin-top .slider').slider({min:n,max:s,value:i,range:'max',slide:function(e,n){l=o.Menu.getCurrentTarget(),o.Controls.addStyle(l,'margin-top',n.value),o.Controls.addStyle(l,'margin-bottom',n.value)}}).siblings('.value').html(i)}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Margin}(jQuery)},"./assets/js/builder/controls/generic/rotate.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Rotate={classes:['fa-rotate-90','fa-rotate-180','fa-rotate-270'],getDefault:function(){var e=o.Menu.getCurrentTarget(),n=0;return e.hasClass('fa-rotate-90')?n=90:e.hasClass('fa-rotate-180')?n=180:e.hasClass('fa-rotate-270')&&(n=270),n},template:wp.template('boldgrid-editor-rotate'),render:function(){var n=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.rotate-control').remove(),o.Panel.$element.find('.panel-body .customize').append(n),n},bind:function(){var e=this.getDefault(),a=o.Menu.getCurrentTarget();o.Panel.$element.find('.section.rotate-control .value').html(e),o.Panel.$element.find('.section.rotate-control .slider').slider({min:0,step:90,max:270,value:e,range:'max',slide:function(e,o){a.removeClass(n.classes.join(' ')),o.value&&a.addClass('fa-rotate-'+o.value)}})}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Rotate}(jQuery)},"./assets/js/builder/controls/generic/width.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.GENERIC.Width={template:wp.template('boldgrid-editor-generic-width'),render:function(){var n=e(this.template()),a=o.Panel.$element.find('.panel-body .customize');return a.find('.section.width-control').remove(),a.append(n),n},bind:function(){var e=100,n=o.Menu.getCurrentTarget(),a=n[0].style.width||n.attr('width');a=a?parseInt(a):e,a=Math.min(a,e),a=Math.max(a,0),o.Panel.$element.find('.panel-body .customize .width .slider').slider({min:10,max:100,value:a,range:'max',slide:function(e,a){100===a.value?o.Controls.addStyle(n,'width','auto'):o.Controls.addStyle(n,'width',a.value+'%')}}).siblings('.value').html(a)}},n=BOLDGRID.EDITOR.CONTROLS.GENERIC.Width}(jQuery)},"./assets/js/builder/controls/global.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});n('./assets/js/builder/controls/color/palette.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){var e=BOLDGRID.EDITOR,o;e.CONTROLS.Global={$element:null,name:'global-options',tooltip:'Global Options',priority:2,iconClasses:'fa fa-globe',selectors:['html'],menuDropDown:{title:'Global Options',options:[{name:'Color Palette',class:'action open-color-palette font-awesome fa-paint-brush'},{name:'Delete Post Content',class:'action delete-all-content font-awesome fa-trash'}]},init:function(){BoldgridEditor.is_boldgrid_theme&&this.menuDropDown.options.splice(0,1),e.Controls.registerControl(this)},deleteContent:function(){e.Controls.$container.find('body').html('<p></p>'),e.Controls.$container.validate_markup(),IMHWPB.WP_MCE_Draggable.instance.add_tiny_mce_history()},setup:function(){var o=this;e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.open-color-palette',function(){e.Controls.get('Palette').openPanel()}),e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.delete-all-content,.action.edit-page-settings',function(){var e=confirm('Are you sure you want to clear this post\'s content?');e&&o.deleteContent()})}},BOLDGRID.EDITOR.CONTROLS.Global.init(),o=BOLDGRID.EDITOR.CONTROLS.Global}(jQuery)},"./assets/js/builder/controls/help.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;e.CONTROLS.Help={name:'help',tooltip:'Help',priority:3,iconClasses:'fa fa-question',selectors:['html'],menuDropDown:{title:'Help',options:[{name:'Editing Guide',class:'action font-awesome fa-question support-center'},{name:'Information',class:'action font-awesome fa-info bg-editor-information'}]},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.support-center',o.openSupportCenter).on('click','.action.bg-editor-information',o.iconHelp)},openSupportCenter:function(){window.open('https://www.boldgrid.com/support/editing-your-pages/post-and-page-builder/?source=boldgrid-editor_drop-tab','_blank')},iconHelp:function(){e.CONTROLS.Information.activate()}},BOLDGRID.EDITOR.CONTROLS.Help.init(),o=BOLDGRID.EDITOR.CONTROLS.Help}()},"./assets/js/builder/controls/image/change.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.IMAGE.Change={name:'image-change',tooltip:'Change Image',priority:85,iconClasses:'genericon genericon-image',selectors:['img'],init:function(){e.Controls.registerControl(this)},openModal:function(){var o=BOLDGRID.EDITOR.mce.selection.getNode();o&&'IMG'!==o.nodeName&&1===o.childElementCount&&'IMG'===o.firstChild.nodeName&&BOLDGRID.EDITOR.mce.selection.select(o.firstChild),BOLDGRID.EDITOR.mce.buttons.wp_img_edit.onclick(),wp.media.frame.setState('replace-image'),wp.media.frame.state('replace-image').on('replace',function(o){e.CropInstance.onReplace(o)})},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Change.init(),o=BOLDGRID.EDITOR.CONTROLS.IMAGE.Change}(jQuery)},"./assets/js/builder/controls/image/filter.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter={name:'image-filter',priority:90,iconClasses:'fa fa-magic',tooltip:'Image Filter',sliderHistory:{},preview:null,presetIntensity:'50%',panel:{title:'Image Filters',height:'536px',width:'800px',scrollTarget:'.presets ul',sizeOffset:-130},selectors:['img'],presets:[{name:'none',title:'None'},{name:'vintage',title:'Vintage'},{name:'lomo',title:'Lomo'},{name:'clarity',title:'Clarity'},{name:'sinCity',title:'Sin City'},{name:'sunrise',title:'Sunrise'},{name:'crossProcess',title:'Cross Process'},{name:'orangePeel',title:'Orange Peel'},{name:'love',title:'Love'},{name:'grungy',title:'Grungy'},{name:'jarques',title:'Jarques'},{name:'pinhole',title:'Pinhole'},{name:'oldBoot',title:'Old Boot'},{name:'glowingSun',title:'Glowing Sun'},{name:'hazyDays',title:'Hazy Days'},{name:'herMajesty',title:'Her Majesty'},{name:'nostalgia',title:'Nostalgia'},{name:'hemingway',title:'Hemingway'},{name:'concentrate',title:'Concentrate'}],customizeSettings:{brightness:{title:'Brightness',range:{min:-50,max:50}},vibrance:{title:'Vibrance',range:{min:-50,max:50}},contrast:{title:'Contrast',range:{min:-10,max:10}},saturation:{title:'Saturation',range:{min:-50,max:50}},exposure:{title:'Exposure',range:{min:-50,max:50}},hue:{title:'Hue',range:{min:0,max:100}},gamma:{title:'Gamma',range:{min:1,max:4,val:1}},clip:{title:'Clip',range:{min:0,max:50}},stackBlur:{title:'Blur',range:{min:0,max:30}},sepia:{title:'Sepia',range:{min:0,max:100}},noise:{title:'Noise',range:{min:0,max:50}},sharpen:{title:'Sharpen',range:{min:0,max:50}}},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){n._setupInsertClick(),n._setupToggleCustomize(),n._setupPanelClick()},_setupToggleCustomize:function(){var e=BOLDGRID.EDITOR.Panel,o;e.$element.on('click','.presets .activate-customize',function(){e.$element.find('.choices').addClass('customizing'),n.preview.revert(),n.applySliderSettings()}),e.$element.on('click','.customize .activate-presets',function(){e.$element.find('.choices').removeClass('customizing'),n.preview.revert(),o=e.$element.find('.selected').data('preset'),o&&'none'!==o?n.renderPreset(o):(e.clearSelected(),e.$element.find('[data-preset="none"]').addClass('selected'))})},renderPreset:function(e){var o=BOLDGRID.EDITOR.Panel;o.$element.addClass('rendering'),n.preview.revert(!1),n.preview[e](n.presetIntensity).render(function(){o.$element.removeClass('rendering')})},_setupPanelClick:function(){var o=BOLDGRID.EDITOR.Panel;o.$element.on('click','.image-filter .panel-selection',function(){var a=e(this),r=a.data('preset');return!o.$element.hasClass('rendering')&&void(o.clearSelected(),a.addClass('selected'),'none'===r?n.preview.revert():n.renderPreset(r))})},_setupInsertClick:function(){BOLDGRID.EDITOR.Panel.$element.on('click','.preview .insert-image',function(){n.insertImage()})},_setupSliders:function(){n.sliderHistory={},BOLDGRID.EDITOR.Panel.$element.find('.slider').each(function(){var o=e(this),a=o.data('control'),r=n.customizeSettings[a].range;o.slider({min:r.min,max:r.max,value:r.val||0,change:function(o,e){n.sliderHistory[a]=e.value,n.applySliderSettings()}})})},applySliderSettings:function(){n.preview.revert(!1),e.each(n.sliderHistory,function(e){n.preview[e](this)}),n.preview.render()},insertImage:function(){var o=BOLDGRID.EDITOR.Panel,a=BOLDGRID.EDITOR.Menu.getTarget(n);o.$element.addClass('rendering'),e.ajax({type:'post',url:ajaxurl,dataType:'json',data:{action:'boldgrid_canvas_image',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,attachement_id:a.attachment_id,image_data:n.preview.canvas.toDataURL()},success:function(e){e&&e.success&&(e=e.data,a.removeClass('wp-image-'+a.attachment_id),a.addClass('wp-image-'+e.attachment_id),a.attachment_id=e.attachment_id,a.attr('src',e.url),a.attr('data-mce-src',e.url),BoldgridEditor.images=e.images)}}).always(function(){o.$element.removeClass('rendering')})},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&n.openPanel()},_renderPanelThumbnails:function(){var e=1,a;a=function(){var r='[data-preset="'+n.presets[e].name+'"] img';o.Panel.$element.find(r).length&&Caman(r,function(){this[n.presets[e].name]('50%').render(function(){e++,n.presets[e]&&a()})})},a()},getImageSrc:function(){var o=BOLDGRID.EDITOR.Menu.getTarget(n),a=o.attr('src'),r;return e.each(BoldgridEditor.images,function(){if(o.hasClass('wp-image-'+this.attachment_id))return o.attachment_id=this.attachment_id,r=this.thumbnail,!1}),r||(r=a),{src:r,fullSrc:a}},openPanel:function(){var e=BOLDGRID.EDITOR.Panel,a=wp.template('boldgrid-editor-image-filter'),r;e.clear(),r=this.getImageSrc(),e.$element.removeClass('rendering'),e.$element.find('.panel-body').html(a({fullSrc:r.fullSrc,src:r.src,presets:n.presets,customizeSettings:n.customizeSettings})),!r.fullSrc||Caman.IO.isURLRemote(r.fullSrc)?o.Panel.$element.find('.panel-body .remote-image-error').addClass('error-active'):(n._setupSliders(),n._renderPanelThumbnails(),e.$element.find('[data-preset="none"]').addClass('selected'),n.preview=Caman(e.$element.find('.preview img')[0])),BOLDGRID.EDITOR.mce.selection.collapse(!1),e.open(n),e.centerPanel()},onMenuClick:function(){n.openPanel()}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter.init(),n=BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter}(jQuery)},"./assets/js/builder/controls/information.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;e.CONTROLS.Information={name:'information',panel:{title:'Controls Information',height:'575px',icon:'fa fa-info',width:'750px'},init:function(){e.Controls.registerControl(this)},activate:function(){o.onMenuClick()},setup:function(){o.templateHTML=wp.template('boldgrid-editor-information')()},onMenuClick:function(){var n=e.Panel;n.clear(),n.$element.find('.panel-body').html(o.templateHTML),n.open(o),n.centerPanel()}},BOLDGRID.EDITOR.CONTROLS.Information.init(),o=BOLDGRID.EDITOR.CONTROLS.Information}(jQuery)},"./assets/js/builder/controls/media/edit.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.MEDIA=BOLDGRID.EDITOR.CONTROLS.MEDIA||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit={name:'edit-media',tooltip:'Edit',priority:85,iconClasses:'dashicons dashicons-edit',selectors:['[data-wpview-type="gallery"]','[data-wpview-type="ninja_forms"]'],init:function(){e.Controls.registerControl(this)},openModal:function(){var n=e.Menu.getTarget(o).get(0);n&&wp.mce.views.edit(BOLDGRID.EDITOR.mce,n)},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit.init(),o=BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit}(jQuery)},"./assets/js/builder/controls/media/map.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.MEDIA=BOLDGRID.EDITOR.CONTROLS.MEDIA||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.MEDIA.Map={name:'edit-maps',tooltip:'Edit Map',priority:85,iconClasses:'dashicons dashicons-edit',selectors:['.boldgrid-google-maps'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},openModal:function(){wp.media.editor.open(),wp.media.frame.setState('iframe:google_map'),o.setContent()},setContent:function(){var o=e.Menu.getTarget(this);e.Controls.$container.find(o).length&&BOLDGRID.EDITOR.mce.selection.select(o[0])},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.MEDIA.Map.init(),o=BOLDGRID.EDITOR.CONTROLS.MEDIA.Map}(jQuery)},"./assets/js/builder/controls/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var n=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Section={$container:null,$popover:null,$currentSection:[],zoomSliderSettings:{min:1,max:6,defaultVal:3},init:function(e){a.renderZoomTools(),a.$container=e,a.bindHandlers()},bindHandlers:function(){var e=o('.bg-zoom-controls'),r=e.find('.zoom-in'),s=e.find('.zoom-out');n.Service.popover.section.$element.find('.move-sections').on('click',a.enableSectionDrag),o('.exit-row-dragging, .bg-close-zoom-view').on('click',a.exitSectionDrag),r.on('click',a.zoom.zoomIn),s.on('click',a.zoom.zoomOut),o(window).on('resize',a.updateHtmlSize)},updateHtmlSize:function(){var e,n;o('body').hasClass('boldgrid-zoomout')&&(e=a.$container.$body[0].getBoundingClientRect(),n=e.bottom-e.top+50,a.$container.find('html').css('max-height',n),o('#content_ifr').css('max-height',n))},zoom:{change:function(e){var o=parseInt(a.$slider.slider('value'));a.$slider.slider('value',e(o)).trigger('change')},zoomIn:function(){a.zoom.change(function(e){return e+1})},zoomOut:function(){a.zoom.change(function(e){return e-1})}},renderZoomTools:function(){var e=wp.template('boldgrid-editor-zoom-tools');o('#wp-content-editor-tools').append(e())},exitSectionDrag:function(r){var e=o('body'),s=o(window),l=a.$container.find('html');r.preventDefault(),a.$container.validate_markup(),a.$container.$body.find('.loading-gridblock').remove(),a.sectionDragEnabled=!1,e.removeClass('focus-on boldgrid-zoomout'),s.trigger('resize'),l.removeClass('zoomout dragging-section'),a.$container.$body.attr('contenteditable','true'),n.Controls.$menu.hide(),a.$container.$body.css('transform',''),l.css('max-height',''),o('#content_ifr').css('max-height',''),o('html, body').animate({scrollTop:o('#postdivrich').offset().top},0)},zoomDisabled:function(){if(IMHWPB.WP_MCE_Draggable.instance&&IMHWPB.WP_MCE_Draggable.instance.draggable_inactive)return alert('Add Block requires that BoldGrid Editing be enabled on this page. You can enable it by clicking the move icon \u2629 on your editor toolbar.'),!0},enableSectionDrag:function(){var e;a.zoomDisabled()||(o.fourpan.dismiss(),a.sectionDragEnabled=!0,a.$container.find('html').addClass('zoomout dragging-section'),a.$container.$body.removeAttr('contenteditable'),a.$slider=o('.bg-zoom-controls .slider'),n.Controls.$menu.addClass('section-dragging'),o('body').addClass('focus-on boldgrid-zoomout').find('#wpadminbar').addClass('focus-off'),o(window).trigger('resize').scrollTop(0),a.updateHtmlSize(),BOLDGRID.EDITOR.GRIDBLOCK.Loader.firstOpen(),n.GRIDBLOCK.View.onOpen(),e=function(e){a.removeZoomClasses(),a.$container.$body.addClass('zoom-scale-'+e),a.updateHtmlSize()},a.$slider.slider({min:a.zoomSliderSettings.min,max:a.zoomSliderSettings.max,value:a.zoomSliderSettings.defaultVal,orientation:'vertical',range:'max',change:function(o,n){e(n.value)},slide:function(o,n){e(n.value)}}))},removeZoomClasses:function(){a.$container.$body.removeClass(function(e,o){return(o.match(/(^|\s)zoom-scale-\S+/g)||[]).join(' ')})}},a=BOLDGRID.EDITOR.CONTROLS.Section}(jQuery)},"./assets/js/builder/controls/template.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Template',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=jQuery,l=s('body'),i=function(){function e(){a(this,e),this.bodyClassName='boldgrid-editor-template',this.$templateInput=s('#page_template')}return r(e,[{key:'init',value:function(){var o=this;this.updateBodyClass(),this.updateDefaultContainer(),this.$templateInput.on('change',function(n){o.updateBodyClass(),o.updateDefaultContainer(),BoldgridEditor.features.template_via_url&&(BOLDGRID.EDITOR.Service.loading.show(),BOLDGRID.EDITOR.Service.editorWidth.updateIframeUrl(BoldgridEditor.site_url+'&template_choice='+s(n.target).val()))})}},{key:'updateDefaultContainer',value:function(){var e=BoldgridEditor.builder_config.templateContainers;BoldgridEditor.is_boldgrid_template||(e[this.$templateInput.val()]?BoldgridEditor.default_container=e[this.$templateInput.val()]:BoldgridEditor.default_container='container-fluid')}},{key:'updateBodyClass',value:function(){this.isBoldgridTemplate(this.$templateInput.val())?l.addClass(this.bodyClassName):l.removeClass(this.bodyClassName)}},{key:'isBoldgridTemplate',value:function(e){return!!BoldgridEditor.internalPageTemplates[e]}}]),e}();new i().init()},"./assets/js/builder/customize/navigation.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Navigation',function(){return q}),n.d(o,'default',function(){return q});var r=n('./includes/template/customize/navigation.html'),s=n.n(r),l=n('./assets/image/icons/customize-nav/margin.svg'),i=n.n(l),d=n('./assets/image/icons/customize-nav/padding.svg'),c=n.n(d),p=n('./assets/image/icons/customize-nav/border.svg'),u=n.n(p),g=n('./assets/image/icons/customize-nav/box-shadow.svg'),m=n.n(g),h=n('./assets/image/icons/customize-nav/border-radius.svg'),b=n.n(h),f=n('./assets/image/icons/customize-nav/custom-class.svg'),C=n.n(f),v=n('./assets/image/icons/customize-nav/width.svg'),y=n.n(v),D=n('./assets/image/icons/customize-nav/block-align.svg'),w=n.n(D),E=n('./assets/image/icons/customize-nav/color.svg'),k=n.n(E),F=n('./assets/image/icons/customize-nav/background-color.svg'),x=n.n(F),A=n('./assets/image/icons/customize-nav/rotate.svg'),B=n.n(A),O=n('./assets/image/icons/customize-nav/font-size.svg'),T=n.n(O),S=n('./assets/image/icons/customize-nav/design.svg'),R=n.n(S),I=n('./assets/image/icons/customize-nav/animation.svg'),L=n.n(I),P=n('./assets/image/icons/customize-nav/devices.svg'),j=n.n(P),z=n('./assets/image/icons/customize-nav/divider.svg'),M=n.n(z),N=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),H=window.jQuery,G=BOLDGRID.EDITOR,q=function(){function e(){a(this,e),this.template=_.template(s.a),this.data={controls:[{name:'design',icon:R.a,label:'Element Design'},{name:'padding',icon:c.a,label:'Padding'},{name:'margin',icon:i.a,label:'Margin'},{name:'fontSize',icon:T.a,label:'Font Size'},{name:'fontColor',icon:k.a,label:'Color'},{name:'background-color',icon:x.a,label:'Background Color'},{name:'rotate',icon:B.a,label:'Rotate'},{name:'border',icon:u.a,label:'Border'},{name:'border-radius',icon:b.a,label:'Border Radius'},{name:'box-shadow',icon:m.a,label:'Box Shadow'},{name:'animation',icon:L.a,label:'Animation'},{name:'width',icon:y.a,label:'Width'},{name:'blockAlignment',icon:w.a,label:'Block Alignment'},{name:'device-visibility',icon:j.a,label:'Responsive Utilities'},{name:'customClasses',icon:C.a,label:'Custom CSS Classes'}]}}return N(e,[{key:'init',value:function(){return this._render(),this._setupClick(),this._bindEvents(),this}},{key:'enable',value:function(){this.$element.show()}},{key:'disable',value:function(){this.$element.hide()}},{key:'onPanelOpen',value:function(){this._enableMenuOptions(),this.activateFirstControl(),this.disable()}},{key:'activateFirstControl',value:function(){return this.$element.find('.item.enabled').first().click()}},{key:'displayControl',value:function(e){G.Panel.$element.find('.customize [data-control-name="'+e+'"]').show()}},{key:'_bindEvents',value:function(){var e=this;G.Panel.$element.on('open',function(){return e.onPanelOpen()})}},{key:'_enableMenuOptions',value:function(){var e=this,o=this.$element.find('.item').removeClass('enabled'),n=G.Panel.$element.find('.customize');n.find('[data-control-name]').each(function(o,n){var a=H(n),r=a.data('control-name');e.$element.find('[data-control-name="'+r+'"]').addClass('enabled')})}},{key:'_render',value:function(){this.$element=H(this.template(this.data)),this.$element.hide(),G.Panel.$element.find('.panel-title').after(this.$element)}},{key:'_setupClick',value:function(){var o=this;this.$element.find('.item').on('click',function(n){var e=H(n.target).closest('.item'),a=e.data('control-name');n.preventDefault(),o.$activeControl&&(o.$activeControl.removeClass('active'),G.Panel.$element.find('.customize [data-control-name]').hide()),e.addClass('active'),o.$activeControl=e,o.displayControl(a)})}}]),e}()},"./assets/js/builder/drag.js":function(e,o,n){'use strict';var a=Math.floor;Object.defineProperty(o,'__esModule',{value:!0});var r=n('./assets/js/builder/drag/content.js'),s=n('./assets/js/builder/drag/column.js'),l=n('./assets/js/builder/drag/placeholder.js'),i=n('./assets/js/builder/browser/ie-version.js'),d=BOLDGRID.EDITOR;jQuery.fn.IMHWPB_Draggable=function(e,o){var n=this,d=BOLDGRID.EDITOR,c=[];n.ie_version=null,n.isSafari=null,n.$master_container=this,n.$window=o(window),n.$iframe=o('#content_ifr'),n.$body=n.find('body'),n.$html=n.find('html'),n.$validatedInput=o('input[name="boldgrid-in-page-containers"]'),n.resizeOverlay=wp.template('boldgrid-editor-mce-tools')(),n.find('html').append(n.resizeOverlay),n.original_selector_strings={},n.scrollInterval=!1,n.$mce_32=o('#'+BOLDGRID.EDITOR.mce.theme.panel._items[0]._id),n.$post_status_info=o('#post-status-info'),n.additional_menu_items=e.menu_items||[],this.hover_timout=e.hover_timout||175,this.columnUnlockThreshold=75,this.$interaction_container=null,this.$boldgrid_menu_action_clicked=null,this.last_auto_scroll_event=null,this.editting_as_row=!1,this.hover_elements={content:{add_element:null},column:{add_element:null},row:{add_element:null}},this.color_alias={white:['rgb(255, 255, 255)','white'],transparent:['rgba(0, 0, 0, 0)','transparent']},this.master_container_id='',this.resize_finish_event=o.Event('resize_done_dwpb'),this.resize_start_event=o.Event('resize_start_dwpb'),this.boldgrid_modify_event=o.Event('boldgrid_modify_content'),this.add_row_event=o.Event('add_row_event_dwpb'),this.delete_event=o.Event('delete_dwpb'),this.clear_event=o.Event('clear_dwpb'),this.add_column_event=o.Event('add_column_dwpb'),this.drag_start_event=o.Event('drag_start_dwpb'),this.popovers_disabled=!1,this.right_resize_buffer=10,this.drag_end_event=o.Event('drag_end_dwpb'),this.nest_row=!1,this.drag_drop_triggered=!1,this.debug=e.debug,this.draggable_selectors_string=null,this.row_selectors_string=null,this.content_selectors_string=null,this.column_selectors_string=null,this.dragging_selector_class_name='dragging-imhwpb',this.dragging_selector='.'+this.dragging_selector_class_name,this.$current_drag=null,this.resize=!1,this.valid_drag=null,this.border_hover_buffer=15,this.resize_buffer=0.0213,this.max_row_size=12,this.$most_recent_row_enter_add=null,this.window_width=null,this.window_height=null,this.active_resize_class=null,this.restore_row=null,this.$temp_insertion=null,this.$cloned_drag_image=null,this.row_selector=e.row_selector||['.row:not(.row .row)'],this.add_media_event_handler=e.add_media_event_handler||function(){},this.insert_layout_event_handler=e.insert_layout_event_handler||function(){},this.general_column_selectors=e.general_column_selectors||['[class*="col-md"]'],this.nested_row_selector_string='.row .row:not(.row .row .row)',this.sectionSelectorString='.boldgrid-section',this.nestedColumnSelector='.row .row > [class*="col-md"]:not(.row .row .row [class*="col-md"])',this.general_content_selectors=['h1','h2','h3','h4','h5','h6','h7','a:not(p a)','img:not(p img):not(a img)','p:not(blockquote p)','button:not(p button):not(a button)','ul','ol','dl','form','table','.row .row','[data-imhwpb-draggable="true"]','.wpview-wrap','.wpview','blockquote','code','abbr'],this.content_selectors=e.content_selectors||['h1:not(.row .row h1)','h2:not(.row .row h2)','h3:not(.row .row h3)','h4:not(.row .row h4)','h5:not(.row .row h5)','h6:not(.row .row h6)','h7:not(.row .row h7)','a:not(.row .row a):not(p a)','img:not(.row .row img):not(p img):not(a img)','p:not(.row .row p):not(blockquote p)','button:not(.row .row button):not(p button):not(a button)','ul:not(.row .row ul):not(.draggable-tools-imhwpb ul)','ol:not(.row .row ol)','dl:not(.row .row dl)','form:not(.row .row form)','table:not(.row .row table)','.row .row:not(.row .row .row)','[data-imhwpb-draggable="true"]:not(.row .row [data-imhwpb-draggable="true"])','.wpview-wrap:not(.row .row .wpview-wrap)','.wpview:not(.row .row .wpview)','blockquote:not(.row .row blockquote)','code:not(.row .row code)','abbr:not(.row .row abbr)'];var p=['.row .row h1','.row .row h2','.row .row h3','.row .row h4','.row .row h5','.row .row h6','.row .row h7','.row .row a','.row .row img:not(p img):not(a img)','.row .row p','.row .row button:not(p button):not(a button)','.row .row ul','.row .row ol','.row .row dl','.row .row form','.row .row table','.row .row .row','.row .row [data-imhwpb-draggable="true"]','.row .row .wpview-wrap','.row .row .wpview','.row .row code','.row .row blockquote','.row .row abbr'],u=['> h1','> h2','> h3','> h4','> h5','> h6','> h7','> a','> img','> p','> button','> ul','> ol','> dl','> form','> table','> .row','> dl','> form','> table','.row:not(.row .row)','> [data-imhwpb-draggable="true"]','> .wpview-wrap','> .wpview','> code','> blockquote','> abbr'];this.column_sizes={0:0,1:0.083,2:0.167,3:0.25,4:0.333,5:0.416,6:0.5,7:0.583,8:0.667,9:0.75,10:0.833,11:0.917,12:1,13:1.083},this.dragTypeSetting=e.dragType||'dragEnter',this.layout_translation={"[12]":{12:'6',new:'6'},"[6,6]":{6:'4',new:'4'},"[4,4,4]":{4:'3',new:'3'},"[3,3,3,3]":{current:'3',current_transform:'2',new:'2',additional_transform:[{count:'1',from:'3',to:'2'}]},"[6,3,3]":{current:'3',current_transform:'2',new:'2',additional_transform:[{count:'1',from:'3',to:'2'}]}},this.capitalizeFirstLetter=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},this.init=function(){return n.fourpan({element_padding:0,transition_speed:0,activate:b,deactivate:h}),n.ie_version=Object(i['default'])(),n.isSafari=n.checkIsSafari(),n.create_selector_strings(),m(),n.bind_events(),n.setup_additional_plugins(),n.validate_markup(),n.track_window_size(),g(),d.RESIZE.Row.init(n),d.Controls.init(n),d.DRAG.Section.init(n),n};var g=function(){BoldgridEditor.is_boldgrid_theme||n.find('html').addClass('non-bg-theme')},m=function(){n.original_selector_strings={general_content_selector_string:n.general_content_selector_string,unformatted_content_selectors_string:n.unformatted_content_selectors_string,content_selectors_string:n.content_selectors_string,immediate_row_siblings_string:n.immediate_row_siblings_string,row_selectors_string:n.row_selectors_string,column_selectors_string:n.column_selectors_string,unformatted_column_selectors_string:n.unformatted_column_selectors_string,general_column_selectors_string:n.general_column_selectors_string,immediate_column_selectors_string:n.immediate_column_selectors_string,draggable_selectors_string:n.draggable_selectors_string}};this.create_selector_strings=function(){n.general_content_selector_string=n.general_content_selectors.join(),n.unformatted_content_selectors_string=n.content_selectors.join(),n.content_selectors_string=n.format_selectors(n.content_selectors).join(),n.immediate_row_siblings_string=u.join(),n.row_selectors_string=n.row_selector.join(),n.column_selectors_string=n.format_column_selectors(n.general_column_selectors,!0).join(),n.unformatted_column_selectors_string=n.column_selectors_string.replace(/:visible/,''),n.general_column_selectors_string=n.general_column_selectors.join(),n.immediate_column_selectors_string=n.format_immediate_column_selectors(n.general_column_selectors).join(),n.draggable_selectors_string=n.format_draggable_selectors_string()},this.set_background_colors=function(){var e=n.$body.css('background-color');(n.color_is(e,'transparent')||n.color_is(e,'white'))&&(n.$body.css('background-color','white'),n.color_is(n.$body.css('color'),'white')&&n.$body.css('color','black'))},this.validate_markup=function(){(!BoldgridEditor.is_boldgrid_theme||d.Controls.hasThemeFeature('variable-containers'))&&(d.VALIDATION.Section.updateContent(n.$body),n.$validatedInput.attr('value',1)),n.wrap_hr_tags(),n.wrap_content_elements(n),n.add_redundant_classes(n),n.removeClasses(n),n.remove_resizing_classes(n)},this.removeClasses=function(e){e.find('.bg-control-element').removeClass('bg-control-element')},this.failSafeCleanup=function(){n.find('body .dragging-started-imhwpb').remove(),n.find('.cloned-div-imhwpb').removeClass('cloned-div-imhwpb')},this.wrap_content_elements=function(e){e.find('img, a').each(function(){var a=o(this);a.parent().closest_context(n.original_selector_strings.content_selectors_string,e).length||a.wrap('<p class=\'mod-reset\'></p>')})},this.wrap_hr_tags=function(){n.find('hr').each(function(){var e=o(this);if(!e.closest_context(n.original_selector_strings.content_selectors_string,n).length){var a=e.closest_context(n.original_selector_strings.row_selectors_string+', '+n.original_selector_strings.general_column_selectors_string,n);a.is(n.original_selector_strings.row_selectors_string)?e.wrap('<div class=\'col-md-12\'><div class=\'row bg-editor-hr-wrap\'><div class=\'col-md-12\'></div></div></div>'):e.wrap('<div class=\'row bg-editor-hr-wrap\'><div class=\'col-md-12\'></div></div>')}else e.closest('.row').addClass('bg-editor-hr-wrap')})},this.bind_events=function(){n.bind_drag_listeners(),n.bind_container_events(),n.bind_additional_menu_items(),setTimeout(function(){n.set_background_colors()},1e3)};var h=function(){n.editting_as_row&&(n.content_selectors=n.original_selectors.content,n.row_selector=n.original_selectors.row,n.create_selector_strings(),n.off('.draggable'),n.$body.off('.draggable'),n.bind_events(),o.fourpan.$recent_highlight.removeClass('current-edit-as-row'),n.editting_as_row=!1,n.$html.removeClass('editing-as-row'),n.window_mouse_leave(),n.trigger('edit-as-row-leave'))},b=function(){n.original_selectors={},n.original_selectors.content=n.content_selectors,n.original_selectors.row=n.row_selector,n.content_selectors=p,n.row_selector=[n.nested_row_selector_string],n.create_selector_strings(),n.off('.draggable'),n.$body.off('.draggable'),n.bind_events(),n.find('.current-edit-as-row').removeClass('current-edit-as-row'),o.fourpan.$recent_highlight.addClass('current-edit-as-row'),n.editting_as_row=o.fourpan.$recent_highlight,n.$html.addClass('editing-as-row'),n.trigger('edit-as-row-enter'),n.window_mouse_leave()};this.unbind_all_events=function(){n.off('.draggable'),n.$body.off('.draggable'),n.off('.draggable_mce'),n.$body.attr('style','')},this.hide_menus=function(a){var e=!1,r;if(a&&a.target&&(r=o(a.target),r.closest('.popover-menu-imhwpb').length?e=!0:r.closest('.context-menu-imhwpb').siblings('.popover-menu-imhwpb:visible').length&&(e=!0)),!e){var s=n.find('.popover-menu-imhwpb');r&&s.not(r.closest('.popover-menu-imhwpb')).addClass('hidden')}},this.setup_additional_plugins=function(){o.fn.is_typing_boldgrid&&n.is_typing_boldgrid()},this.bind_container_events=function(){n.on('mousedown.draggable','.drag-handle-imhwpb',n.drag_handle_mousedown).on('mouseup.draggable','.drag-handle-imhwpb',n.drag_handle_mouseup).on('click.draggable',n.hide_menus).on('click.draggable',n.failSafeCleanup).on('click.draggable','.context-menu-imhwpb',n.setup_context_menu).on('boldgrid_modify_content.draggable',n.refresh_fourpan),n.on('mouseleave.draggable',n.window_mouse_leave).on('mouseup.draggable',n.master_container_mouse_up).on('mousemove.draggable',n.mousemove_container),n.on('start_typing_boldgrid.draggable',n.typing_events.start).on('end_typing_boldgrid.draggable',n.typing_events.end),(11<n.ie_version||!n.ie_version)&&n.on(n.resize_event_map,n.column_selectors_string)},this.bind_additional_menu_items=function(){o.each(n.additional_menu_items,function(e,o){n.on('click.draggable','li[data-action="'+o.title+'"]',o.callback)})},this.bind_drag_listeners=function(){n.$window.on('dragover.draggable',n.drag_handlers.over),n.on('dragstart.draggable','.drag-handle-imhwpb, [data-action="nest-row"]',n.drag_handlers.start).on('dragstart.draggable','img, a',n.drag_handlers.hide_tooltips).on('drop.draggable',n.drag_handlers.drop).on('dragend.draggable',n.drag_handlers.end).on('dragleave.draggable',n.drag_handlers.leave_dragging).on('dragenter.draggable',n.drag_handlers.record_drag_enter)},this.refresh_fourpan=function(){n.editting_as_row&&o.fourpan.refresh()},o.fn.reverse=[].reverse,o.fn.remove_popover_imhwpb=function(){},o.fn.is_after=function(e){return 0!==this.prevAll().filter(e).length},o.fn.is_before=function(e){return 0!==this.nextAll().filter(e).length},o.fn.closest_context=function(e,o){var n;return n=this.is(e)?this:this.parentsUntil(o).filter(e).eq(0),n},this.add_redundant_classes=function(e){e.find(n.original_selector_strings.general_column_selectors_string).each(function(){var e=o(this);e.addClass(n.find_column_sizes(e))})},this.track_window_size=function(){n.active_resize_class=n.determine_class_sizes(),n.$window.on('load resize',function(){setTimeout(function(){n.active_resize_class=n.determine_class_sizes()},300)})},this.prevent_default=function(e){e.preventDefault&&e.preventDefault()},this.format_draggable_selectors_string=function(){var e=[n.content_selectors_string,n.column_selectors_string,n.row_selectors_string];return e.join()},this.format_immediate_column_selectors=function(e){var a=n.format_selectors(e).slice();return o.each(a,function(e,o){o='> '+o,a[e]=o}),a},this.find_column_sizes=function(e){var o=e.attr('class'),n=[],a=o.match(/col-xs-([\d]+)/i),r=o.match(/col-sm-([\d]+)/i),s=o.match(/col-md-([\d]+)/i),l=12;return a?l=a[1]:n.push('col-xs-'+l),r?l=r[1]:n.push('col-sm-'+l),s||n.push('col-md-'+l),n.join(' ')},this.format_column_selectors=function(e,a){var r=e;return a&&(r=n.format_selectors(e).slice()),o.each(r,function(e,o){o=n.row_selectors_string+' > '+o,r[e]=o}),r},this.format_selectors=function(e){var n=e.slice();return o.each(n,function(e,o){o+=':visible',n[e]=o}),n},this.before_or_after_drop=function(e,o){var n=e.get(0).getBoundingClientRect(),r=-(n.height/n.width),s=a(n.bottom)-r*n.left,l=r*o.x+s,i;return i=l<=o.y?'after':'before',i},this.remove_receptor_containers=function(){n.find('.receptor-containers-imhwpb').removeClass('receptor-containers-imhwpb')},this.finish_dragging=function(){n.$cloned_drag_image&&n.$cloned_drag_image.remove&&n.$cloned_drag_image.remove(),n.$temp_insertion&&n.$temp_insertion.removeClass('cloned-div-imhwpb'),n.find(n.dragging_selector).removeClass(n.dragging_selector_class_name),n.valid_drag=!1,n.remove_receptor_containers(),n.trigger(n.boldgrid_modify_event)},this.array_equal=function(e,o){if(e===o)return!0;if(null==e||null==o)return!1;if(e.length!=o.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==o[n])return!1;return!0},this.drag_cleanup=function(){n.ie_version||n.validate_markup(),n.$current_drag.remove(),n.placeholder.revertContent(),n.finish_dragging(),n.trigger(n.drag_end_event,n.$temp_insertion),n.$current_drag=null,n.$temp_insertion.trigger('mouseenter'),n.removeClass('drag-progress'),clearInterval(n.scrollInterval)},this.determine_current_drag_properties=function(){var e='',o='';n.$current_drag.IMHWPB.is_row?e=n.row_selectors_string:n.$current_drag.IMHWPB.is_column?(o=n.row_selectors_string,e=n.general_column_selectors_string):n.$current_drag.IMHWPB.is_content&&(o=n.column_selectors_string,e=n.content_selectors_string),n.$current_drag.properties={sibling:e,parent:o}},this.between=function(e,o,n){return e>=o&&e<=n},this.delete_popovers=function(){n.find('body .draggable-tools-imhwpb').each(function(){var e=o(this),n=e.next();n.length&&(n[0].popover=null),setTimeout(function(){e.remove()})})},this.setup_context_menu=function(e){var a;e.preventDefault(),e.stopPropagation(),n.hide_menus(e),a=o(this).closest('.draggable-tools-imhwpb, .bg-drag-popover'),a.find('.popover-menu-imhwpb').toggleClass('hidden'),n.setMenuPosition(a),n.setMenuState(a)},this.setMenuState=function(e){e.removeClass('menu-open'),!1===e.find('.popover-menu-imhwpb').hasClass('hidden')&&e.addClass('menu-open')},this.setMenuPosition=function(e){var o=e[0].getBoundingClientRect(),a=e.find('.side-menu'),r=n.$html.width(),s,l;a.length&&(e.removeClass('side-menu-left menu-align-left'),s=e.find('.popover-menu-imhwpb ul').width(),l=o.right+a.width(),l+=100,l>n.$html.width()&&e.addClass('side-menu-left'),s+o.right>r&&e.addClass('menu-align-left'))},this.get_element_type=function(e){var o='';return e.is(n.content_selectors_string)?o='content':e.is(n.row_selectors_string)?o='row':e.is(n.column_selectors_string)&&(o='column'),o},this.get_tooltip_type=function(e){if(e.is(n.nested_row_selector_string)&&0==e.find('> .col-md-12 > hr:only-child').length&&!n.editting_as_row)var o='nested-row';else var o=n.get_element_type(e);return o},this.get_top_level_elements=function(){return n.$body.find('> *').not('.draggable-tools-imhwpb')},this.find_row_layout=function(e){var a=[],r=[],s=0;return e.find(n.immediate_column_selectors_string).each(function(){var e={},l=o(this),i=n.find_column_size(l);12>=i+s?(e.size=i,e.object=l[0],r.push(e),s+=i):(a.push(r),r=[],e.size=s=i,e.object=l[0],r.push(e))}),r.length&&a.push(r),a},this.find_column_stack=function(e,a){var r=[],s=null,l=n.find_row_layout(e);return o.each(l,function(e,n){if(o.each(n,function(o,l){if(a==l.object)return r=n,s=e,!1}),r.length)return!1}),{stack:r,stack_index:s}},this.check_adjacent_column=function(e,n){var a=!1;return n&&n.length&&o.each(e,function(e,o){if(n[0]==o.object)return a=!0,!1}),a},this.elementIsEmpty=function(e){var o=e.is(':empty');return o||e.find('img, i, hr, a').length||!(e.text().length<4)||(o=!0),o},this.getNewColumnString=function(){var e='col-md-1 col-sm-12 col-xs-12';switch(n.active_resize_class){case'col-sm':e='col-md-12 col-sm-1 col-xs-12';break;case'col-xs':e='col-md-12 col-sm-12 col-xs-1';}return e},this.mousemove_container=function(e){if(n.pageX=e.originalEvent.clientX,n.pageY=e.originalEvent.clientY,n.resize){n.resize.triggered||(n.trigger(n.resize_start_event),n.resize.triggered=!0);var a=n.resize.element.closest_context(n.row_selectors_string,n),r,s,l,i;if(!a.length)return;var d=a[0].getBoundingClientRect().width,c=n.find_column_size(n.resize.element),p=n.find_column_size(n.resize.sibling),u=n.resize.element[0].getBoundingClientRect(),g=n.find_row_size(a),m=n.column_sizes[c]*d,h=n.column_sizes[c+1]*d,b=n.column_sizes[c-1]*d;n.resize.left?(r=h-m+u.left,s=b-m+u.left,l=n.pageX>r,i=n.pageX<s):(r=b-m+u.right,s=h-m+u.right,l=n.pageX<r,i=n.pageX>s||a[0].getBoundingClientRect().right+n.right_resize_buffer<n.pageX);var f=d*n.resize_buffer,C=l||n.between(r,n.pageX-f,n.pageX+f),v=i||n.between(s,n.pageX-f,n.pageX+f),y=C&&1<c,D=v&&c<n.max_row_size;if(n.resize.left&&D){var w=n.find_column_stack(a,n.resize.element[0]);if(n.resize.element[0]==w.stack[0].object)return!1}if(1===c&&C){if(n.elementIsEmpty(n.resize.element)){var E=n.resize.element,k;n.resize.element.remove(),n.change_column_size(n.resize.sibling),n.resize.element=n.resize.sibling,n.resize.right?(n.resize.left=n.resize.right,n.resize.element.addClass('resize-border-left-imhwpb'),n.resize.right=null,k=n.resize.sibling.prev()):(n.resize.right=n.resize.left,n.resize.element.addClass('resize-border-right-imhwpb'),n.resize.left=null,k=n.resize.sibling.next()),n.resize.sibling=k}return!1}if(y||D){var w=n.find_column_stack(a,n.resize.element[0]);if(n.resize.left&&n.resize.element[0]==w.stack[0].object&&C)return!!(12>=g)&&(n.change_column_size(n.resize.element,!1),n.resize.sibling=o('<div>').addClass(n.getNewColumnString()),n.resize.sibling.addClass('content-border-imhwpb'),n.resize.element.before(n.resize.sibling),!1);if(v&&1==p){if(n.elementIsEmpty(n.resize.sibling)){var F='next';n.resize.left&&(F='prev');var x=n.resize.sibling[F]();n.resize.sibling.remove(),n.resize.sibling=x,n.change_column_size(n.resize.element)}return!1}var A=w.stack[w.stack.length-1].object==n.resize.element[0];if(n.resize.right&&12==g&&D&&'col-md'==n.active_resize_class&&A)return!1;if(12>=g&&n.resize.right&&A&&C)return n.change_column_size(n.resize.element,!1),n.resize.sibling=o('<div>').addClass(n.getNewColumnString()),a.append(n.resize.sibling),!1;var B=n.check_adjacent_column(w.stack,n.resize.sibling)}if(y){n.change_column_size(n.resize.element,!1),n.resize.sibling&&n.resize.sibling.length&&p<n.max_row_size&&B&&n.change_column_size(n.resize.sibling);var O=n.find_column_stack(a,n.resize.element[0]);w.stack_index!=O.stack_index&&n.end_resize()}else if(D){if(!n.resize.sibling||n.resize.sibling.length&&1==p)return;n.change_column_size(n.resize.element),B&&n.change_column_size(n.resize.sibling,!1);var O=n.find_column_stack(a,n.resize.element[0]);w.stack_index!=O.stack_index&&n.end_resize()}}},this.frame_cleanup=function(e){var a=o('<div>'+e+'</div>');return n.remove_resizing_classes(a),n.remove_border_classes(a),n.removeClasses(a),a.html()},this.remove_resizing_classes=function(e){e.find('.resizing-imhwpb').removeClass('resizing-imhwpb')},this.remove_border_classes=function(e){e.find('.resize-border-left-imhwpb, .resizing-imhwpb, .popover-hover, .resize-border-right-imhwpb, .content-border-imhwpb').removeClass('resize-border-right-imhwpb resizing-imhwpb popover-hover resize-border-left-imhwpb content-border-imhwpb')},this.end_resize=function(){n.resize=!1,n.remove_border_classes(n),n.$html.removeClass('no-select-imhwpb'),n.remove_resizing_classes(n),n.removeClass('resizing-imhwpb cursor-not-allowed-imhwpb'),n.trigger(n.resize_finish_event)},this.window_mouse_leave=function(){n.resize&&n.end_resize(),n.remove_resizing_classes(n),n.hover_elements={content:null,column:null,row:null}},this.drag_handle_mousedown=function(){n.valid_drag=!0,n.$current_clicked_element=BOLDGRID.EDITOR.Service.popover.selection.$target,n.$current_clicked_element.is('a')&&n.$current_clicked_element.find('img, button').length?n.$current_clicked_element.find('img, button').first().addClass('dragging-imhwpb'):n.$current_clicked_element.addClass('dragging-imhwpb'),n.$current_clicked_element.is(n.content_selectors_string)?n.find(n.column_selectors_string).addClass('receptor-containers-imhwpb'):n.$current_clicked_element.is(n.row_selectors_string)?n.find(n.row_selectors_string).addClass('receptor-containers-imhwpb'):n.$current_clicked_element.is(n.column_selectors_string)&&(n.find(n.column_selectors_string).addClass('receptor-containers-imhwpb'),n.find(n.row_selectors_string).addClass('receptor-containers-imhwpb'))},this.drag_handle_mouseup=function(){n.remove_receptor_containers(),n.valid_drag=!1},this.master_container_mouse_up=function(){n.resize&&n.end_resize(),n.$current_clicked_element&&n.$current_clicked_element.removeClass('dragging-imhwpb')},this.decrease_row_size=function(e){var a=!1;return e.find(n.immediate_column_selectors_string).reverse().each(function(){var e=o(this);if(2<=n.find_column_size(e))return n.change_column_size(e,!1),a=!0,!1}),a},this.get_border_mouse_location=function(e,o){var r=e[0].getBoundingClientRect(),s=a(r.left),l=a(r.right),i,d;return i=n.between(o,l-n.border_hover_buffer,l),d=n.between(o,s,s+n.border_hover_buffer),{left:d,right:i}},this.transform_layout=function(e,a){o.each(a,function(a,r){e.find(n.immediate_column_selectors_string).each(function(){var e=o(this);a==n.find_column_size(e)&&n.change_column_size(e,null,r)})})},this.find_layout_transform=function(e,o){var a=JSON.stringify(e),r=n.layout_translation[a];return'undefined'!=typeof o&&'undefined'!=typeof r&&'undefined'!=typeof r.current&&r.current!=o?r=null:'undefined'==typeof o&&'undefined'!=typeof r&&r.current&&(r=null),r},this.get_layout_format=function(e){var a=[];return e.find(n.immediate_column_selectors_string).each(function(){a.push(n.find_column_size(o(this)))}),a},this.change_column_size=function(e,a,r){if(e.length){var s=new RegExp(n.active_resize_class+'-[\\d]+','i');o.each(e.attr('class').split(' '),function(o,n){if(n.match(s)){var l=parseInt(n.replace(/\D/g,''));r?l=r:!1===a?l--:l++;var i=n.replace(/\d+/g,l),d=e.attr('class').replace(n,i);return e.attr('class',d),!1}}),n.trigger(n.boldgrid_modify_event)}},this.find_column_size=function(e){var o=0,a,r;return e&&e.length?(a=new RegExp(n.active_resize_class+'-([\\d]+)','i'),r=e.attr('class').match(a),r&&(o=r[1]),parseInt(o)):o},this.find_row_size=function(e){var a=0;return e.find(n.immediate_column_selectors_string).not('.dragging-imhwpb').each(function(){a+=n.find_column_size(o(this))}),a},this.determine_class_sizes=function(){var e=n.width(),o;return o=1061<e?'col-md':837<e?'col-sm':'col-xs',o},this.color_is=function(e,o){return-1!==n.color_alias[o].indexOf(e)};var f=function(e,o){if(200<=o)var n=1.25*o;else var n=250;e.css({"max-height":n+'px',overflow:'hidden'})};this.add_max_heights=function(){'column'==n.$current_drag.IMHWPB.type?n.find(n.row_selectors_string).each(function(){var e=o(this),a=n.find_row_size(e);if(12>=a){var r=e.outerHeight();f(e,r)}}):'content'==n.$current_drag.IMHWPB.type&&f(n.$temp_insertion,n.$current_drag.IMHWPB.height)};var C=function(e){e.css({"max-height":'',overflow:''})};return this.remove_max_heights=function(){'column'==n.$current_drag.IMHWPB.type?C(n.find(n.row_selectors_string)):'content'==n.$current_drag.IMHWPB.type&&C(n.$temp_insertion)},this.get_other_top_level_elements=function(){return n.$body.find(n.immediate_row_siblings_string).not(n.$current_drag)},this.find_page_min_max=function(){var e={};if(n.$current_drag.IMHWPB.is_row){var o=n.get_other_top_level_elements(),a=o.eq(0),r=o.last();e={offset_top:a[0].getBoundingClientRect().top,offset_bottom:r[0].getBoundingClientRect().top+r.outerHeight(!0)}}return e},this.find_row_min_max=function(){var e={};if(n.$current_drag.IMHWPB.is_column){var o=n.$current_drag.closest('.row'),a=o.get(0),r=a.getBoundingClientRect();e={offset_left:r.left,offset_right:r.left+o.outerWidth(!0),offset_top:Math.max(0,r.top-n.columnUnlockThreshold),offset_bottom:r.top+o.outerHeight(!0)}}return e},this.find_top_level_positions=function(){var e=[];if(n.$current_drag.IMHWPB.is_row){var a=n.get_other_top_level_elements();a.each(function(){var n=o(this),a=n.outerHeight(!0);e.push({max:this.getBoundingClientRect().top+a,element:n})})}return e},this.find_column_sibling_positions=function(){var e=[];return n.$current_drag.IMHWPB.is_column&&n.$current_drag.siblings(n.general_column_selectors_string).each(function(){var n=o(this),a=n.outerWidth(!0),r=this.getBoundingClientRect();e.push({max:r.left+a,element:n})}),e},this.recalc_col_pos=function(){n.$current_drag.IMHWPB.col_pos=n.find_column_sibling_positions(),n.$current_drag.IMHWPB.row_min_max=n.find_row_min_max()},this.recalc_row_pos=function(){n.$current_drag.IMHWPB.row_pos=n.find_top_level_positions(),n.$current_drag.IMHWPB.row_min_max=n.find_page_min_max()},this.reposition_column=function(e,a){if(n.$current_drag.IMHWPB.is_column&&!1==n.$current_drag.IMHWPB.unlock_column){if(n.$current_drag.IMHWPB.row_min_max.offset_top>a||n.$current_drag.IMHWPB.row_min_max.offset_bottom<a){n.$current_drag.IMHWPB.unlock_column=!0;var r=n.entered_target.closest(n.row_selectors_string);return void(r.length&&n.move_column_to(n.entered_target))}if(e<n.$current_drag.IMHWPB.row_min_max.offset_left){var s=n.$current_drag.closest(n.row_selectors_string).find(n.immediate_column_selectors_string).not(n.$current_drag).eq(0);return void(s.get(0)!=n.$temp_insertion[0]&&(s.before(n.$temp_insertion),n.recalc_col_pos(),n.trigger(n.boldgrid_modify_event)))}if(e>n.$current_drag.IMHWPB.row_min_max.offset_right){var l=n.$current_drag.closest(n.row_selectors_string).find(n.immediate_column_selectors_string).not(n.$current_drag).last();return void(l.get(0)!=n.$temp_insertion[0]&&(l.after(n.$temp_insertion),n.recalc_col_pos(),n.trigger(n.boldgrid_modify_event)))}o.each(n.$current_drag.IMHWPB.col_pos,function(){if(e<this.max)return c[0]!=this.element[0]&&(c=this.element,this.element.nextAll().not(n.$current_drag).filter(n.$temp_insertion).length?this.element.before(n.$temp_insertion):this.element.prevAll(n.general_column_selectors_string).not(n.$current_drag).get(0)==n.$temp_insertion[0]?this.element.after(n.$temp_insertion):this.element.before(n.$temp_insertion),n.trigger(n.boldgrid_modify_event),n.recalc_col_pos(),!1)})}},this.fill_row=function(e,a){var r;return e<n.max_row_size&&(r=o('<div class="col-md-'+(n.max_row_size-e)+' col-sm-12 col-xs-12"></div>'),a.append(r)),r},this.setInheritedBg=function(e,a){n.color_is(e.css('background-color'),'transparent')&&e.parents().each(function(){var a=o(this),r=a.css('background-color');if(!n.color_is(r,'transparent'))return e.css('background-color',r),!1}),setTimeout(function(){n.color_is(e.css('background-color'),'transparent')&&e.css({"background-color":'white',color:'#333'})},a||100)},this.drag_handlers={hide_tooltips:function(){n.$current_drag||setTimeout(function(){n.$body.find('.draggable-tools-imhwpb').addClass('hidden')},100)},drop:function(e){n.$current_drag&&(n.prevent_default(e),n.drag_handlers.end(e),n.drag_drop_triggered=!0)},end:function(){if(!n.drag_drop_triggered)return n.$current_drag?(n.restore_row=null,n.$most_recent_row_enter_add=null,n.remove_max_heights(),n.drag_cleanup(),!0):void 0},start:function(e){var a,r;n.valid_drag=!0,n.drag_drop_triggered=!1;var s=o(this);if(n.$current_drag=d.Service.popover.selection.$target,n.$current_drag.addClass('dragging-imhwpb'),n.addClass('drag-progress'),n.original_html=n.$current_drag.parent('a').length?n.$current_drag.parent('a')[0].outerHTML:n.$current_drag[0].outerHTML,n.$current_drag.IMHWPB={is_column:'column'===d.Service.popover.selection.name,is_row:'row'===d.Service.popover.selection.name,is_content:'content'===d.Service.popover.selection.name,height:n.$current_drag.outerHeight(),width:n.$current_drag.outerWidth(),dragStarted:!0},n.$current_drag.IMHWPB.is_row&&s.hasClass('action-list')&&(n.$current_drag.IMHWPB.is_row=!1,n.$current_drag.IMHWPB.is_content=!0),n.$current_drag.IMHWPB.is_column){n.$current_drag.IMHWPB.column_size=n.find_column_size(n.$current_drag);var i=n.$current_drag.closest_context(n.row_selectors_string,n);i.length&&(n.$current_drag.IMHWPB.original_row=i[0])}if(n.determine_current_drag_properties(),e.originalEvent.dataTransfer.setData('text',''),e.originalEvent.dataTransfer.dropEffect='copy',n.$temp_insertion=o(n.original_html),n.$temp_insertion.removeClass('dragging-imhwpb popover-hover'),n.$temp_insertion.addClass('cloned-div-imhwpb'),n.placeholder=new l.Placeholder(n.$current_drag,n.$temp_insertion),n.placeholder.setContent(),n.$current_drag.css({height:n.$current_drag.IMHWPB.height,width:n.$current_drag.IMHWPB.width}).addClass('hidden dragging-started-imhwpb'),n.$current_drag.attr('data-mce-bogus','all'),n.setInheritedBg(n.$current_drag),'undefined'!=typeof e.originalEvent.dataTransfer.setDragImage&&!n.isSafari){var c=document.createElement('img');c.src='',e.originalEvent.dataTransfer.setDragImage(c,0,0)}n.$current_drag.before(n.$temp_insertion),n.$current_drag.IMHWPB.is_column?(n.$current_drag.IMHWPB.type='column',n.recalc_col_pos(),a=n.$current_drag.closest('.row'),r=n.find_row_size(a),r<n.max_row_size&&n.fill_row(r,a),n.$current_drag.IMHWPB.unlock_column=12>=r&&'col-md'==n.active_resize_class&&n.$current_drag.siblings(n.unformatted_column_selectors_string).not(n.$temp_insertion).length?!1:!0):n.$current_drag.IMHWPB.is_row?(n.$current_drag.IMHWPB.type='row',n.recalc_row_pos()):n.$current_drag.IMHWPB.type='content',n.add_max_heights();var p=100;n.ie_version&&(p=150),setTimeout(function(){n.$current_drag.removeClass('hidden'),n.trigger(n.drag_start_event),n.find('.resizing-imhwpb').removeClass('resizing-imhwpb')},p),n.drag_handlers.initSmoothScroll()},over:function(e){if(n.$current_drag&&n.valid_drag&&(e.preventDefault(),!n.last_auto_scroll_event||n.last_auto_scroll_event+10<=new Date().getTime())){if(n.last_auto_scroll_event=new Date().getTime(),n.$current_drag.IMHWPB.dragStarted&&(d.Controls.$container.$current_drag.IMHWPB.is_row&&d.DRAG.Row.dragCursorPosition(e.originalEvent.pageY),n.reposition_column(e.originalEvent.pageX,e.originalEvent.pageY)),n.$html.hasClass('editing-as-row'))return;n.drag_handlers.autoScroll(e)}},initSmoothScroll:function(){n.autoScrollSpeed=!1,n.scrollInterval=setInterval(function(){n.autoScrollSpeed&&window.scrollBy(0,n.autoScrollSpeed)},1)},autoScroll:function(e){var o='fixed'===n.$mce_32.css('position'),a=n.$mce_32[0].getBoundingClientRect(),r=e.originalEvent.screenY;-100>window.screenY||(r<a.bottom+150&&o?n.autoScrollSpeed=-1:r>window.innerHeight-100?n.autoScrollSpeed=1:n.autoScrollSpeed=!1)},leave_dragging:function(e){if(n.$current_drag){n.ie_version||e.preventDefault();var a=o(e.target),l=n.entered_target;return n.prevent_duplicate_location_events(e)||!n.$current_drag?!1:n.$temp_insertion[0]==l[0]?(n.$most_recent_row_enter_add=null,!0):!1==n.has(l).length&&!1==n.$current_drag.IMHWPB.is_content||void(n.$current_drag.IMHWPB.is_row?d.DRAG.Row.dragEnter(l):n.$current_drag.IMHWPB.is_content?Object(r['default'])(e,a,l):n.$current_drag.IMHWPB.is_column&&n.$current_drag.IMHWPB.unlock_column&&Object(s['default'])(e,a,l))}},record_drag_enter:function(e){n.$current_drag&&(!n.ie_version&&e.preventDefault(),n.entered_target=o(e.target))}},this.checkIsSafari=function(){return /^((?!chrome|android).)*safari/i.test(navigator.userAgent)},this.move_column_to=function(e){var o=e.is(n.unformatted_column_selectors_string),a=e.is(n.$current_drag.properties.parent),r=e.closest_context(n.row_selectors_string,n),s=n.$temp_insertion.closest_context(n.row_selectors_string,n),l=n.find_row_size(r);if(r.length&&s[0]!=r[0]){if(a&&l>=n.max_row_size)return!1;var d=n.$temp_insertion[0].innerHTML;n.restore_row&&(s.html(n.restore_row),n.$temp_insertion.html(d));var c=n.$current_drag.IMHWPB.original_row!=r[0];n.restore_row=c?r.html():null;var p=l+n.$current_drag.IMHWPB.column_size<=n.max_row_size;if(!1==p&&c){var u=n.max_row_size-l,g=null;if(0<u)g=u;else if(r.find(n.immediate_column_selectors_string).length<=9){g=3,n.$current_drag.IMHWPB.column_size<g&&(g=n.$current_drag.IMHWPB.column_size);for(var m=0;m<g;m++)n.decrease_row_size(r)}if(g)n.change_column_size(n.$temp_insertion,null,g);else return n.restore_row=null,!0}else n.change_column_size(n.$temp_insertion,null,n.$current_drag.IMHWPB.column_size);o?e.before(n.$temp_insertion):r.append(n.$temp_insertion),n.record_recent_column_insertion()}else o&&(e.is_before(n.$temp_insertion)?e.before(n.$temp_insertion):e.after(n.$temp_insertion),n.record_recent_column_insertion())},this.record_recent_column_insertion=function(){n.recent_event={},n.insertion_time=new Date().getTime(),n.trigger(n.boldgrid_modify_event)},this.prevent_duplicate_location_events=function(e){var o=[e.originalEvent.pageX,e.originalEvent.pageY],a;return n.array_equal(n.current_drag_enter_event_loc,o)?a=!0:(n.current_drag_enter_event_loc=o,a=!1),a},this.createEmptyRow=function(){return o('<div class="row"><div class="col-md-12"></div></div>')},this.postAddRow=function(e){setTimeout(function(){n.find('.added-element').removeClass('added-element')},1e3),n.trigger(n.add_row_event,e.find('.col-md-12'))},this.typing_events={start:function(){n.find('html').addClass('boldgrid-is-typing')},end:function(){n.validate_markup(),n.find('html').removeClass('boldgrid-is-typing')}},this.resize_event_map={"mousemove.draggable":function(e,a){if(!n.resize){var r=n.pageX,s=!1;'undefined'!=typeof e&&null!=e&&(r=e.originalEvent.clientX,a=o(this),s=n.get_border_mouse_location(a,r)),s&&(s.left||s.right)?(a.addClass('resizing-imhwpb'),n.ie_version&&tinymce&&(BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1),BOLDGRID.EDITOR.mce.boldgridResize=!0)):(a.removeClass('resizing-imhwpb'),n.ie_version&&tinymce&&(BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0),BOLDGRID.EDITOR.mce.boldgridResize=!1))}n.$current_drag},"mousedown.draggable":function(e){var a=o(e.target);if(!a.closest('.draggable-tools-imhwpb').length){var r=o(this),s=n.get_border_mouse_location(r,e.originalEvent.clientX),l=null;s.left?(l=r.prevAll(n.column_selectors_string).first(),r.addClass('resize-border-left-imhwpb')):s.right&&(l=r.nextAll(n.column_selectors_string).first(),r.addClass('resize-border-right-imhwpb')),(s.left||s.right)&&(l.length&&l.addClass('content-border-imhwpb'),r.addClass('content-border-imhwpb'),n.addClass('resizing-imhwpb'),n.find('.resizing-imhwpb').removeClass('resizing-imhwpb'),n.$html.addClass('no-select-imhwpb'),n.trigger('resize_clicked'),n.resize={element:r,sibling:l,left:s.left,right:s.right})}}},this}},"./assets/js/builder/drag/column.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=jQuery;o['default']=function(e,o,a){var r=BOLDGRID.EDITOR.Controls.$container;if(r.recent_event&&r.recent_event.entered==a[0]&&r.recent_event.left==o[0])return!0;if(r.recent_event={entered:a[0],left:o[0]},r.insertion_time+20>new Date().getTime())return!0;if(!1==a.is(r.unformatted_column_selectors_string)&&!1==a.is(r.row_selectors_string)){var s=a.closest_context(r.column_selectors_string,r);s.length&&(a=s)}if(!1==r.has(a).length)return!0;if(a[0]!=r.$temp_insertion[0]){if(a.siblings().filter(r.$temp_insertion).length&&a.is(r.unformatted_column_selectors_string)&&a[0]!=r.$current_drag[0]){var l=n(e.target);if(a.find(l).length||a[0]==l[0])return!0}r.move_column_to(a)}}},"./assets/js/builder/drag/content.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0}),o['default']=function(e,o,n){var a=BOLDGRID.EDITOR.Controls.$container,r=o.closest_context(a.row_selectors_string,a),s=!!r.parent().closest(n).length;if(s){o=o.closest_context(a.row_selectors_string,a);var l=a.before_or_after_drop(o,{x:e.originalEvent.clientX,y:e.originalEvent.clientY});'before'==l?o.before(a.$temp_insertion):o.after(a.$temp_insertion)}else{if(!1==a.has(n).length)return!0;var i=n.parents(a.content_selectors_string).last();if(!0==i.length&&(n=i),n.is(a.unformatted_content_selectors_string)&&n[0]!=a.$current_drag[0]&&(n.find(o).length||n[0]==o[0]))return!0;var d=n.closest_context(a.$current_drag.properties.parent,a),c=d.length,p=!1,u=[];if(c){if(!1==a.editting_as_row){var u=d.find(a.content_selectors_string+', .row:not(.row .row .row)').not('.dragging-imhwpb');p=0<u.length}else{var u=d.find(a.general_content_selector_string).not('.dragging-imhwpb');p=0<u.length,1==u.length&&u.find('[data-action]')&&(p=!1)}!1==p&&(n=d)}var g=n.is(a.unformatted_column_selectors_string);g&&u.length&&!1==n.find(o).length&&(n=u.last(),p=!1);var m=n.is(a.unformatted_content_selectors_string+',hr:not('+a.master_container_id+'.row .row hr)');if(!m&&!0==p)return!0;var h=n.closest('.cloned-div-imhwpb'),b=h.length&&h[0]==a.$temp_insertion[0];if(b)return a.$most_recent_row_enter_add=null,!0;if(m)n.is_before(a.$temp_insertion)?n.before(a.$temp_insertion):n.is_after(a.$temp_insertion)?n.after(a.$temp_insertion):n.before(a.$temp_insertion),a.trigger(a.boldgrid_modify_event);else if(g){var f=n.find('>:first-child');var C=n.find('> div');if(f.length&&1===C.length&&!1==f.is(a.column_selectors_string+', .draggable-tools-imhwpb')&&f.is('div:not(.dragging-started-imhwpb)'))f.prepend(a.$temp_insertion);else{var l=a.before_or_after_drop(n,{x:e.originalEvent.clientX,y:e.originalEvent.clientY});'before'==l?n.prepend(a.$temp_insertion):n.append(a.$temp_insertion)}a.trigger(a.boldgrid_modify_event)}}}},"./assets/js/builder/drag/placeholder.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Placeholder',function(){return s});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=function(){function e(o,n){a(this,e),this.iframesReplaced=[],this.$renderedIframes=[],this.$clone=n,this.$dragged=o}return r(e,[{key:'setContent',value:function(){var e=this;this.$renderedIframes=this.$dragged.find('iframe'),this.$clone.find('iframe').each(function(o,n){var a=$(n),r=e.createPlaceholder(e.$renderedIframes.eq(o));e.iframesReplaced.push({$element:a,$placholder:r}),a.replaceWith(r)})}},{key:'revertContent',value:function(){var e=!0,o=!1,n;try{for(var a=this.iframesReplaced[Symbol.iterator](),r,s;!(e=(r=a.next()).done);e=!0)s=r.value,s.$placholder.replaceWith(s.$element)}catch(e){o=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(o)throw n}}}},{key:'createPlaceholder',value:function(e){var o=$(this.getPlaceholderHtml()),n=e.height()||e[0].height,a=e.width()||e[0].width;return o.css({height:n,width:a}),o}},{key:'getPlaceholderHtml',value:function(){return'\n\t\t\t<div class="media-placeholder">\n\t\t\t\t<div>\n\t\t\t\t\t<div class="dashicons dashicons-admin-media"></div>\n\t\t\t\t\t<div>Media</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t'}}]),e}()},"./assets/js/builder/drag/row.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.DRAG=BOLDGRID.EDITOR.DRAG||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.DRAG.Row={$recentRowElement:[],dragEnter:function(e){e=n.remapDragEnter(e),n.validateDragEnter(e)&&(n.moveIntoSection(e),n.postRowInsert())},dragCursorPosition:function(a){var r=o.Controls.$container,s=r.$current_drag;n.insertTopBottom(a)||e.each(s.IMHWPB.row_pos,function(){if(a<this.max)return n.$recentRowElement[0]!==this.element[0]&&(n.$recentRowElement=this.element,n._reorderRows(this.element),n.postRowInsert(),!1)})},postRowInsert:function(){o.Controls.$container.recalc_row_pos(),o.Controls.$container.trigger(o.Controls.$container.boldgrid_modify_event)},remapDragEnter:function(e){var o=e.closest('.boldgrid-section');return o.length&&(e=o),e},validateDragEnter:function(e){var n;return n=e.hasClass('boldgrid-section')&&0===e.find('.row:not(.dragging-imhwpb,.row .row)').not(o.Controls.$container.$current_drag).length&&0!==e.find('.container-fluid, .container').length,n},moveIntoSection:function(e){e.find('.container-fluid, .container').first().prepend(o.Controls.$container.$temp_insertion)},_insertRow:function(e,a){var r=o.Controls.$container.$temp_insertion;e.get(0)!==r[0]&&(e[a](r),n.postRowInsert())},insertTopBottom:function(e){var a=o.Controls.$container,r=a.$current_drag.IMHWPB.row_min_max,s=e<r.offset_top,l=e>r.offset_bottom,i=s?'before':'after',d=s?'first':'last',c=!1;return(s||l)&&(n._insertRow(a.get_other_top_level_elements()[d](),i),c=!0),c},_reorderRows:function(e){var n=o.Controls.$container,a=n.$temp_insertion,r=n.get_other_top_level_elements(),s=r.index(e),l=r.index(a),i='after',d,c,p,u,g;p=a.closest('.boldgrid-section')[0]!==e.closest('.boldgrid-section')[0],d=s<l,u=s>l,c=u&&s-1!==l,g=d&&s+1!==l,(d||c)&&!g&&(i='before'),u&&p&&(i='before'),d&&p&&(i='after'),e[i](a)}},n=BOLDGRID.EDITOR.DRAG.Row}(jQuery)},"./assets/js/builder/drag/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.DRAG=BOLDGRID.EDITOR.DRAG||{},function(o){'use strict';var e=BOLDGRID.EDITOR,n;n=e.DRAG.Section={currentDrag:!1,$container:null,$dragHelper:null,sectionLocations:[],init:function(e){n.$container=e,n.$dragHelper=n.renderHelpers(),n.bind()},renderHelpers:function(){var e=o('<div id="boldgrid-drag-pointer"></div>');return n.$container.find('html').append(e),e},isDragging:function(){return!!e.DRAG.Section.currentDrag},bind:function(){n.$container.on('dragstart','.dragging-section',function(){return!1}).on('mousedown','.dragging-section .boldgrid-section',n.start).on('mousemove','.dragging-section',n.over).on('mouseup dragend','.dragging-section',n.end).on('mousemove','.dragging-section',n.overHelper)},overHelper:function(o){(n.currentDrag||n.showDragHelper)&&(!n.lastPosEvent||n.lastPosEvent+25<=o.timeStamp)&&(n.lastPosEvent=o.timeStamp,n.positionHelper(o.originalEvent,n.$dragHelper))},end:function(){n.currentDrag&&(n.currentDrag.$element.removeClass('section-drag-element'),n.currentDrag=!1,n.$container.$html.removeClass('no-select-imhwpb section-dragging-active'),BOLDGRID.EDITOR.mce.undoManager.add(),e.CONTROLS.Section.updateHtmlSize())},drag:function(a){var e=a.originalEvent.pageY,r=null;n.sectionLocations.length&&(o.each(n.sectionLocations,function(){this.midPoint<e&&(r=this)}),!r&&e>n.sectionLocations[n.sectionLocations.length-1].midPoint&&(r=n.sectionLocations[n.sectionLocations.length-1]),!r&&e<n.sectionLocations[0].midPoint&&(n.sectionLocations[0].$section.before(n.currentDrag.$element),n.calcSectionLocs()),r&&(r.$section.after(n.currentDrag.$element),n.calcSectionLocs()))},over:function(o){n.currentDrag&&(!n.lastDragEvent||n.lastDragEvent+100<=o.timeStamp)&&(n.lastDragEvent=o.timeStamp,n.drag(o))},positionHelper:function(o,e){e.css({top:o.pageY-15,left:o.pageX-15})},calcSectionLocs:function(){var e=[];n.$container.$body.find('> .boldgrid-section').each(function(){var n=this.getBoundingClientRect(),a=(n.bottom-n.top)/2+n.top;e.push({$section:o(this),midPoint:a})}),n.sectionLocations=e},start:function(a){n.positionHelper(a.originalEvent,n.$dragHelper),n.startDrag(o(this))},startDrag:function(o){n.currentDrag={$element:o},n.currentDrag.$element.addClass('section-drag-element'),n.$container.find('html').addClass('section-dragging-active'),n.$container.$html.addClass('no-select-imhwpb'),n.$container.$body.removeAttr('contenteditable'),n.$dragHelper.css('display',''),n.calcSectionLocs(),e.CONTROLS.Section.updateHtmlSize()}}}(jQuery)},"./assets/js/builder/feedback.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;o.Feedback={init:function(){n.$input=e('[name="boldgrid-record-feedback"]'),n.bindEvents()},bindEvents:function(){e(window).on('boldgrid_added_gridblock',n.addGridblock)},add:function(e){var o=n.$input.val()||'[]';o=JSON.parse(o),o.push(e),n.$input.attr('value',JSON.stringify(o))},addGridblock:function(e,o){o&&o.template&&n.add({action:'installed_gridblock',data:{template:o.template}})}},n=BOLDGRID.EDITOR.Feedback,BOLDGRID.EDITOR.Feedback.init()}(jQuery)},"./assets/js/builder/gridblock/add.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n={$window:e(window),init:function(){n.setupInsertClick()},setupInsertClick:function(){e('.boldgrid-zoomout-section').on('click','.add-gridblock',n.onGridblockClick)},onGridblockClick:function(){var a=e(this),r=a.closest('.gridblock'),s=r.attr('data-id'),l;o.GRIDBLOCK.Generate.needsUpgrade(r)?window.open(BoldgridEditor.plugin_configs.urls.premium_key+'?source=plugin-add-gridblock','_blank'):(l=n.insertPlaceHolder(s),n.replaceGridblock(l,s))},replaceGridblock:function(e,a){var r=o.GRIDBLOCK.Create.getHtml(a);IMHWPB.tinymce_undo_disabled=!0,n.$window.trigger('resize'),'string'==typeof r?n.sendGridblock(r,e,a):r.always(function(o){n.sendGridblock(o,e,a)})},insertPlaceHolder:function(e){var n=o.GRIDBLOCK.configs.gridblocks[e].getPreviewPlaceHolder();return IMHWPB.WP_MCE_Draggable.draggable_instance.$body.prepend(n),n},sendGridblock:function(a,r,s){var a=wp.mce.views.setMarkers(a),l=e(a),i=IMHWPB.WP_MCE_Draggable.draggable_instance;l&&i?r.replaceWith(l.html()):window.send_to_editor(l.html()),i.validate_markup(),BOLDGRID.EDITOR.mce.fire('setContent'),BOLDGRID.EDITOR.mce.focus(),setTimeout(function(){o.CONTROLS.Add.scrollToElement(l,0)}),n.$window.trigger('resize'),setTimeout(function(){n.$window.trigger('resize')},1e3),IMHWPB.tinymce_undo_disabled=!1,BOLDGRID.EDITOR.mce.undoManager.add(),n.$window.trigger('boldgrid_added_gridblock',o.GRIDBLOCK.configs.gridblocks[s])}};o.GRIDBLOCK.Add=n,e(o.GRIDBLOCK.Add.init)}(jQuery)},"./assets/js/builder/gridblock/category.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(){'use strict';var e=BOLDGRID.EDITOR.GRIDBLOCK,o={currentCategory:'all',savedCategories:['library','saved'],init:function(){o.onSelectChange()},isSavedCategory:function(e){return-1!==o.savedCategories.indexOf(e)},onSelectChange:function(){var n=e.View.$gridblockNav.find('.boldgrid-gridblock-categories select');n.on('change',function(){o.currentCategory=n.val(),o.updateDisplay()})},canDisplayGridblock:function(n){var a=e.Category.currentCategory||'all',r=o.isSavedCategory(n.type),s=n.category===e.View.industry.getSelected()||o.isSavedCategory(o.currentCategory),l=n.type===a||'all'===a&&!r;return s&&l},updateDisplay:function(){var n=e.View.$gridblockSection.find('.gridblock'),a=e.View.$gridblockSection.find('.gridblocks');a.attr('filter',o.currentCategory),e.View.$gridblockNav.attr('data-block-filter',o.currentCategory),'all'===o.currentCategory?(n=n.hide().filter('[data-category="'+e.View.industry.getSelected()+'"]:not(.gridblock-loading)').filter(':not(.gridblock-loading)').filter(':not([data-type="saved"])').filter(':not([data-type="library"])').show(),e.View.$gridblockSection.scrollTop(0)):(n.hide(),!o.isSavedCategory(o.currentCategory)&&(n=n.filter('[data-category="'+e.View.industry.getSelected()+'"]:not(.gridblock-loading)')),n=n.filter('[data-type="'+o.currentCategory+'"]:not(.gridblock-loading)').show(),e.View.$gridblockSection.scrollTop(0)),4>n.length&&e.View.updateDisplay()},getSearchType:function(){return'all'===o.currentCategory?null:o.currentCategory}};e.Category=o}(jQuery)},"./assets/js/builder/gridblock/create.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n={$window:e(window),getHtml:function(e){var a='',r={};return o.GRIDBLOCK.configs.gridblocks[e]&&(r=o.GRIDBLOCK.configs.gridblocks[e]),a=n.getDynamicElements(r).length?n.installImages(r):n.getStaticHtml(r),a},getStaticHtml:function(e){var o=e.html;return e.$html&&(o=e.getHtml()),o},getDynamicElements:function(e){var o=e.$html.find('[dynamicimage]');return e.$html[0].hasAttribute('dynamicimage')&&'none'!==e.$html.css('background-image')&&o.push(e.$html),o},installImages:function(a){var r=e.Deferred(),s=0,l=n.getDynamicElements(a);return l.each(function(){var n=e(this);n.removeAttr('dynamicimage'),e.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_canvas_image',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,image_data:o.GRIDBLOCK.Image.getEncodedSrc(n)}}).done(function(e){e&&e.success&&o.GRIDBLOCK.Image.addImageUrl(n,e.data),s++,s===l.length&&r.resolve(a.getHtml())}).fail(function(){s++,s===l.length&&r.resolve(a.getHtml())})}),r}};o.GRIDBLOCK.Create=n}(jQuery)},"./assets/js/builder/gridblock/delete.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(o){'use strict';var e=BOLDGRID.EDITOR,n={$mceContainer:null,$deleteIcon:null,init:function(){n.$mceContainer=e.Controls.$container,n.$deleteIcon=n.$mceContainer.find('.delete-icon-wrap'),n.bindEvents()},bindEvents:function(){n.$mceContainer.on('mouseenter','.dragging-section .boldgrid-section',n.section.mouseEnter).on('mouseleave','.dragging-section .boldgrid-section',n.section.mouseLeave).on('click','.delete-icon-wrap',n.icon.click).on('mouseenter','.delete-icon-wrap',n.icon.mouseEnter).on('mouseleave','.delete-icon-wrap',n.icon.mouseLeave)},section:{mouseEnter:function(){var e=o(this),a=this.getBoundingClientRect();n.$deleteIcon.css({left:a.right,display:'block',top:a.top+a.height/2}),n.$deleteIcon.$section=e},mouseLeave:function(a){var e=o(a.relatedTarget||a.toElement);!1===e.hasClass('delete-icon')&&(o(this).removeClass('delete-overlay'),n.$deleteIcon.hide())}},icon:{mouseEnter:function(){n.$deleteIcon.$section.addClass('delete-overlay')},mouseLeave:function(){n.$deleteIcon.$section.removeClass('delete-overlay'),n.$deleteIcon.hide()},click:function(){n.$deleteIcon.$section.removeClass('delete-overlay'),n.$deleteIcon.hide(),n.$deleteIcon.$section.remove(),BOLDGRID.EDITOR.mce.undoManager.add(),e.GRIDBLOCK.Add.$window.trigger('resize')}}};e.GRIDBLOCK.Delete=n}(jQuery)},"./assets/js/builder/gridblock/drag.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(o){'use strict';function n(n){var e=!0,a=o(n.target||n.srcElement);return a&&a.hasClass('add-gridblock')&&(e=!1),e}var a=BOLDGRID.EDITOR,r={$body:o('body'),$window:o(window),$dragHelper:null,currentDrag:null,$mceContainer:null,init:function(){r.$mceContainer=a.Controls.$container,r.$dragHelper=r.createDragHelper(),r.bindEvents()},createDragHelper:function(){var e=o('<div id="boldgrid-drag-pointer"></div>').hide();return r.$body.append(e),e},bindEvents:function(){o('html').on('dragstart','.gridblock',function(){return!1}).on('mousemove','.section-dragging-active',r.mouseMove).on('mouseup','.section-dragging-active',r.endDrag).on('mouseleave','.section-dragging-active',r.endDrag).on('mousedown','body.boldgrid-zoomout .gridblock',r.startDrag),r.$mceContainer.on('mouseup','.dragging-section.dragging-gridblock-iframe',r.endDrag).on('mousemove','.dragging-section.dragging-gridblock-iframe',r.overIframe).on('mouseenter','.dragging-section.dragging-gridblock-iframe > body',r.enterIframeBody).on('mouseleave','.dragging-section.dragging-gridblock-iframe',r.leaveIframeBody)},enterIframeBody:function(){a.DRAG.Section.isDragging()||(r.$mceContainer.find('body').append(r.currentDrag.$element),a.DRAG.Section.startDrag(r.currentDrag.$element))},leaveIframeBody:function(){a.DRAG.Section.isDragging()&&(a.DRAG.Section.end(),r.currentDrag.$element.detach())},overIframe:function(){r.currentDrag&&(r.$dragHelper.hide(),a.DRAG.Section.showDragHelper=!0,a.DRAG.Section.$dragHelper.show())},endDrag:function(){r.currentDrag&&(IMHWPB.tinymce_undo_disabled=!1,a.DRAG.Section.$dragHelper.hide(),a.DRAG.Section.showDragHelper=!1,a.DRAG.Section.end(),r.$dragHelper.hide(),r.installGridblock(),r.$body.removeClass('section-dragging-active'),r.currentDrag.$gridblockUi.removeClass('dragging-gridblock'),r.$mceContainer.$html.removeClass('dragging-gridblock-iframe'),r.currentDrag=!1)},installGridblock:function(){r.$mceContainer.$body.find(r.currentDrag.$element).length&&(a.GRIDBLOCK.Add.replaceGridblock(r.currentDrag.$element,r.currentDrag.gridblockId),r.currentDrag.$element.removeClass('dragging-gridblock-placeholder'))},startDrag:function(s){var e=o(this),l=e.attr('data-id'),i;!1===n(s)||a.GRIDBLOCK.Generate.needsUpgrade(e)||(IMHWPB.tinymce_undo_disabled=!0,i=a.GRIDBLOCK.configs.gridblocks[l],r.currentDrag={$gridblockUi:e,gridblockId:l,gridblock:i,$element:i.getPreviewPlaceHolder()},r.currentDrag.$gridblockUi.addClass('dragging-gridblock'),r.$mceContainer.$html.addClass('dragging-gridblock-iframe'),r.currentDrag.$element.addClass('dragging-gridblock-placeholder'),r.$body.addClass('section-dragging-active'),a.DRAG.Section.positionHelper(s,r.$dragHelper),r.$dragHelper.show())},mouseMove:function(o){r.$dragHelper.show(),a.DRAG.Section.$dragHelper.hide(),a.DRAG.Section.positionHelper(o,r.$dragHelper)}};a.GRIDBLOCK.Drag=r}(jQuery)},"./assets/js/builder/gridblock/fetch-saved.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'FetchSaved',function(){return l});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}();window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{};var s=BOLDGRID.EDITOR.GRIDBLOCK,l=function(){function e(){a(this,e),this.status=''}return r(e,[{key:'fetch',value:function(){var e=this;return!this.status&&(this.status='fetching',s.Generate.gridblockLoadingUI.start(),this._call().done(function(o){e.status='done',s.Filter.savedBlocksConfigs(o),s.View.createGridblocks(),e.setGridblockCount()}).always(function(){e.status='fetching',s.Generate.gridblockLoadingUI.finish()}).fail(function(){e.status='failed',s.View.$gridblockSection.find('.gridblocks').attr('error','saved')}))}},{key:'setGridblockCount',value:function(){var e=_.countBy(s.configs.gridblocks||[],'type');s.View.$gridblockSection.find('.gridblocks').attr('my-gridblocks-count',(e.saved||0).toString()).attr('library-gridblocks-count',(e.library||0).toString())}},{key:'_call',value:function(){return $.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_get_saved_blocks',post_id:BoldgridEditor.post_id,boldgrid_editor_gridblock_save:BoldgridEditor.nonce_gridblock_save}})}}]),e}()},"./assets/js/builder/gridblock/filter.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n={configs:BoldgridEditor.gridblocks,removedGridlocks:{},setupConfigs:function(){o.GRIDBLOCK.configs={},o.GRIDBLOCK.configs.gridblocks={},n.loadingTemplate=wp.template('boldgrid-editor-gridblock-loading')},savedBlocksConfigs:function(o){n.configs=o,e.each(n.configs,function(o){this.html=n.unsetImageUrls(this.html),this.$previewHtml=e(n.unsetImageUrls(this.preview_html)),this.$html=e(this.html),'library'!==this.type&&n.removeInvalidGridblocks(this,o)}),n.setConfig()},unsetImageUrls:function(e){var o=e.match(/<img.*?>/g);return o=o||[],_.each(o,function(o){e=e.replace(o,o.replace(/\ssrc=/,' data-src='))}),e},removeInvalidGridblocks:function(e,o){var a=n.isSimpleGridblock(e.$html);a&&n.removeGridblock(o)},configMethods:{getHtml:function(e){var o='';return e=e&&'preview'===e?'$previewHtml':'$html',this[e].each(function(){this.outerHTML&&(o+=this.outerHTML)}),'<div class="temp-gridblock-wrapper">'+o+'</div>'},getPreviewPlaceHolder:function(){var o;return o=e(this.getHtml()),o.prepend(n.loadingTemplate()),o},getTitle:function(){var e=this.template,o;return e&&(o=e.replace(/[-_]/g,' '),o=o.charAt(0).toUpperCase()+o.slice(1)),o}},setConfig:function(){e.each(n.configs,function(e){!n.removedGridlocks[e]&&this.html&&(delete this.html,this.gridblockId=e,this.uniqueMarkup=n.createUniqueMarkup(this.$html),_.extend(this,n.configMethods),o.GRIDBLOCK.configs.gridblocks[e]=this)})},addGridblockConfig:function(e,a){var r='remote-'+a;e=_.defaults(e,{dynamicImages:!0,gridblockId:r,$html:e['html-jquery']}),e.$previewHtml=e.$previewHtml||e.$html,delete e.html,delete e.preview_html,delete e['html-jquery'],_.extend(e,n.configMethods),o.GRIDBLOCK.configs.gridblocks[r]=e},removeGridblock:function(e){n.removedGridlocks[e]=n.configs[e]},createUniqueMarkup:function(e){return e=e.clone(),e.find('img').removeAttr('src').removeAttr('data-src').removeAttr('class'),e[0].outerHTML.replace(/\s/g,'')},setPlaceholderSrc:function(e){var o=e.attr('data-width')?e.attr('data-width'):'300',n=e.attr('data-height')?e.attr('data-height'):'300';e.attr('src','https://placehold.it/'+o+'x'+n+'/cccccc/?text=+')},removeAttributionAttributes:function(e){e.removeAttr('data-boldgrid-asset-id').removeAttr('data-pending-boldgrid-attribution')},isSimpleGridblock:function(o){var n=!1,a=e('<div>').html(o.clone());return a.find('.mod-space').remove(),a.find('*').length<=5&&(n=!0),a.find('.row:not(.row .row) > [class^="col-"] > .row').each(function(){var o=e(this),a;if(!o.siblings().length&&(a=o.find('hr'),!a.siblings().length))return n=!0,!1}),a.find('.row:not(.row .row):only-of-type > [class^="col-"]:empty:only-of-type').each(function(){return n=!0,!1}),n}};o.GRIDBLOCK.Filter=n,o.GRIDBLOCK.Filter.setupConfigs()}(jQuery)},"./assets/js/builder/gridblock/generate.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n={gridblockCount:0,failure:!1,licenseTypes:[],fetch:function(){return n.fetching||n.failure?!1:(n.fetching=!0,n.gridblockLoadingUI.start(),n.requestGridblocks().done(function(e,a,r){n.licenseTypes=r.getResponseHeader('License-Types')||'[]',n.licenseTypes=JSON.parse(n.licenseTypes),o.Service.connectKey.postLicenseCheck(n.licenseTypes),n.addToConfig(e),o.GRIDBLOCK.View.createGridblocks()}).always(function(){n.fetching=!1,n.gridblockLoadingUI.finish()}).fail(function(){n.failure=!0,o.GRIDBLOCK.View.$gridblockSection.append(wp.template('boldgrid-editor-gridblock-error')())}))},needsUpgrade:function(e){return parseInt(e.attr('data-is-premium'))&&parseInt(o.GRIDBLOCK.View.$gridblocks.attr('data-requires-premium'))},requestGridblocks:function(n){var a=o.GRIDBLOCK.Category.getSearchType();return n=n||{},e.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:2e4,data:_.defaults(n,{action:'boldgrid_generate_blocks',boldgrid_editor_gridblock_save:BoldgridEditor.nonce_gridblock_save,quantity:30,color_palettes:1,version:BoldgridEditor.version,include_temporary_resources:1,release_channel:BoldgridEditor.boldgrid_settings.theme_release_channel,key:o.Service.connectKey.apiKey,transparent_backgrounds:'post'===BoldgridEditor.post_type?1:0,type:a,color:JSON.stringify({colors:o.CONTROLS.Color.getGridblockColors()}),category:o.GRIDBLOCK.View.industry.getSelected()})})},gridblockLoadingUI:{start:function(){e('body').addClass('loading-remote-body'),o.GRIDBLOCK.View.$gridblockNav.find('select').prop('disabled',!0)},finish:function(){e('body').removeClass('loading-remote-body'),o.GRIDBLOCK.View.$gridblockNav.find('select').prop('disabled',!1)}},addToConfig:function(e){_.each(e,function(a,r){e[r]=n.addRequiredProperties(a),o.GRIDBLOCK.Filter.addGridblockConfig(e[r],'generated-'+n.gridblockCount),n.gridblockCount++})},updateBackgroundImages:function(e){var o=e.attr('gb-background-image');o&&e.removeAttr('gb-background-image').css('background-image',o)},addRequiredProperties:function(o){var a=e(o.html),r=e(o.preview_html);return n.updateBackgroundImages(a),n.updateBackgroundImages(r),o.$previewHtml=r,o['html-jquery']=a,o}};o.GRIDBLOCK.Generate=n}(jQuery)},"./assets/js/builder/gridblock/image.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BoldgridEditor.builder_config.gridblock,n=BOLDGRID.EDITOR,a={translateImages:function(e,o){e.dynamicImages?(a.replaceImages(o),a.replaceBackgrounds(o)):a.transferSrcAttr(o)},transferSrcAttr:function(o){o.find('img[data-src]').each(function(){var o=e(this),n=o.attr('data-src');o.removeAttr('data-src').attr('src',n)})},setImageAttributes:function(e,o){for(var n=['height','width'],a=0,r;a<n.length;a++)r=n[a],e.data(r)&&(e.attr(r,e.data(r)),e.removeAttr('data-'+r));e.attr('src',o)},replaceImages:function(r){r.find('img').each(function(){var r=e(this),s=r.attr('data-src');return(r.removeAttr('data-src'),r.attr('dynamicimage',''),!a.isRandomUnsplash(s))?void a.setImageAttributes(r,s):void(n.GRIDBLOCK.Filter.setPlaceholderSrc(r),o.disabledUnsplashImages||a.getDataURL(s).done(function(e){a.setImageAttributes(r,e)}).fail(function(){a.getRedirectURL(s).done(function(e){a.setImageAttributes(r,e)}).fail(function(){n.GRIDBLOCK.Filter.setPlaceholderSrc(r)})}))})},replaceBackgrounds:function(e){var n=e.css('background-image')||'',r=n.match(/url\(?.+?\)/),s=a.getBackgroundUrl(e),l;if(l=function(o){n=a.replaceBackgroundUrl(n,o),e.css('background-image',n)},r){if(e.attr('dynamicimage',''),!a.isRandomUnsplash(s))return;if(e.css('background-image',''),o.disabledUnsplashImages)return;a.getDataURL(s).done(function(e){l(e)}).fail(function(){a.getRedirectURL(s).done(function(e){l(e)})})}},replaceBackgroundUrl:function(e,o){return e.replace(/url\(.+?\)/,'url('+o+')')},getBackgroundUrl:function(e){var o=e.css('background-image')||'';return o.replace(/.*\s?url\([\'\"]?/,'').replace(/[\'\"]?\).*/,'')},isRandomUnsplash:function(e){return e&&-1!==e.indexOf('source.unsplash')},getEncodedSrc:function(e){var o='';return o=a.isBackgroundImage(e)?a.getBackgroundUrl(e):e.attr('src'),o},isBackgroundImage:function(e){return'IMG'!==e[0].nodeName},addImageUrl:function(e,o){var n;e.removeAttr('dynamicimage'),a.isBackgroundImage(e)?(n=e.css('background-image')||'',n=a.replaceBackgroundUrl(n,o.url),e.attr('data-image-url',o.url).css('background-image',n)):(e.attr('src',o.url),'undefined'!=typeof o.attachment_id&&o.attachment_id&&e.addClass('wp-image-'+o.attachment_id))},getDataURL:function(o){var n=e.Deferred(),a=new XMLHttpRequest;return a.open('get',o),a.responseType='blob',a.onload=function(){var e=new FileReader,o;e.onload=function(){o=a.getResponseHeader('content-type')||'',200===a.status&&-1!==o.indexOf('image')?n.resolve(this.result):n.reject()},e.readAsDataURL(a.response)},a.onerror=function(){n.reject()},a.send(),n},getRedirectURL:function(o){var n=e.Deferred();return e.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:8e3,data:{action:'boldgrid_redirect_url',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,urls:[o]}}).done(function(e){var a=e.data[o]||!1;a?n.resolve(a):n.reject()}).fail(function(){n.reject()}),n}};n.GRIDBLOCK.Image=a}(jQuery)},"./assets/js/builder/gridblock/industry.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Industry',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=BOLDGRID.EDITOR.GRIDBLOCK,l=jQuery,i=function(){function e(){a(this,e)}return r(e,[{key:'init',value:function(){this.defaults={selection:'photography'},this.state='pending',this.$selectWrap=s.View.$gridblockNav.find('.boldgrid-gridblock-industry'),this.$select=this.$selectWrap.find('select'),this._fetch()}},{key:'setFilterVal',value:function(){s.View.$gridblockSection.find('.gridblocks').attr('industry',this.getSelected())}},{key:'getSelected',value:function(){return this.$select.val()||this.defaults.selection}},{key:'createSelectOptions',value:function(e){var o='',n=!0,a=!1,r;try{for(var s=e[Symbol.iterator](),l,i;!(n=(l=s.next()).done);n=!0)i=l.value,o+='<option value="'+i.slug+'">'+i.title+'</option>'}catch(e){a=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}return o}},{key:'showFilters',value:function(){'complete'===this.state&&s.View.finishedTypeFetch&&s.View.$filterSelectWrap.fadeIn()}},{key:'_fetch',value:function(){var e=this;return this.state='loading',s.Generate.gridblockLoadingUI.start(),l.ajax({type:'get',url:BoldgridEditor.plugin_configs.asset_server+BoldgridEditor.plugin_configs.ajax_calls.gridblock_industries,dataType:'json',timeout:1e4}).done(function(o){e.$select.html(e.createSelectOptions(o)),e._setDefault(),e.$selectWrap.show(),e._onSelectChange()}).always(function(){e.setFilterVal(),e.state='complete',e.showFilters(),s.View.updateDisplay()})}},{key:'_onSelectChange',value:function(){var e=this;this.$select.on('change',function(){e.setFilterVal(),s.Category.updateDisplay()})}},{key:'_setDefault',value:function(){var e=this._getInspirationsCategory(),o=BoldgridEditor.block_default_industry||e||this.defaults.selection;this.$select.find('[value="'+o+'"]').length?this.$select.val(o).change():this.$select.find('option:first-of-type').prop('checked',!0)}},{key:'_getInspirationsCategory',value:function(){var e;return BoldgridEditor.inspiration&&BoldgridEditor.inspiration.subcategory_key&&(e=BoldgridEditor.inspiration.subcategory_key.toLowerCase()),'property_management'===e&&(e='real_estate'),e}}]),e}()},"./assets/js/builder/gridblock/lead.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Lead',function(){return c}),n.d(o,'default',function(){return c});var r=n('./includes/template/gridblock/lead.html'),s=n.n(r),l=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),i=jQuery,d=BOLDGRID.EDITOR,c=function(){function e(){a(this,e),this.$template=i()}return l(e,[{key:'init',value:function(){BoldgridEditor.display_gridblock_lead&&(this.$template=this._insert(),this._bind())}},{key:'dismissPrompt',value:function(){this.$template.hide()}},{key:'_bind',value:function(){this._bindDismiss(),this._bindAddGridblock()}},{key:'_bindDismiss',value:function(){var e=this;this.$template.find('.add-blank').add('#insert-media-button, #insert-gridblocks-button').one('click',function(){e.dismissPrompt(),d.VALIDATION.Section.updateContainers(BOLDGRID.EDITOR.Controls.$container)})}},{key:'_bindAddGridblock',value:function(){var e=this;this.$template.find('.add-gridblock').one('click',function(){d.CONTROLS.Section.enableSectionDrag(),e.dismissPrompt()}),i('#content-html').one('click',function(){e.dismissPrompt()})}},{key:'_insert',value:function(){var e=d.Controls.$container.$iframe,o=i(s.a);return e.after(o),o}}]),e}()},"./assets/js/builder/gridblock/loader.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./assets/js/builder/gridblock/save.js'),r=n('./assets/js/builder/gridblock/preview.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){var o=BOLDGRID.EDITOR.GRIDBLOCK,n=BOLDGRID.EDITOR,s={$window:e(window),openInit:!1,countGidblocksLoaded:0,loadingGridblocks:!1,creatingIframe:!1,$iframeTemp:!1,firstOpen:function(){!1===s.openInit&&(s.openInit=!0,o.View.init(),o.Delete.init(),o.Drag.init(),s.preview=new r.Preview,s.preview.init(),new a.Save().init())},getPendingGridblockIds:function(){var n=[],a=0;return e.each(o.configs.gridblocks,function(e){!this.renderScheduled&&a<4&&o.Category.canDisplayGridblock(this)&&(a++,this.renderScheduled=!0,n.push(e))}),n},loadGridblocks:function(){var e=0,n,a,r;!0!==s.loadingGridblocks&&(r=s.getPendingGridblockIds(),0===r.length||(s.loadingGridblocks=!0,a=function(){var a=r[e],l=!!a&&o.configs.gridblocks[a];return!0===s.creatingIframe?void 0:l?void('iframeCreated'!==l.state&&s.createIframe(l),e++):(clearInterval(n),s.loadingGridblocks=!1,void o.View.$gridblockSection.trigger('scroll'))},n=window.setInterval(a,100)))},createIframe:function(a){var r=o.View.$gridblockSection.find('[data-id="'+a.gridblockId+'"]'),l=s.$iframeTemp?s.$iframeTemp:e('<iframe></iframe>'),i,d;s.creatingIframe=!0,o.View.$gridblockSection.find('.gridblocks').append(r),r.prepend(l),i=function(){var e;o.Image.translateImages(a,a.$html),o.Image.translateImages(a,a.$previewHtml),setTimeout(function(){s.preview.adjustHeight(l,r),n.Controls.$container.wrap_content_elements(a.$previewHtml)},1e3),s.preview.createIframe(l,{head:'',body:''}),e=l.contents(),o.View.addStyles(e),o.View.addBodyClasses(e),e.find('.content-placeholder').replaceWith(a.$previewHtml),o.Category.canDisplayGridblock(a)&&r.css('display',''),a.state='iframeCreated',a.$iframeContents=e,setTimeout(function(){r.addClass('animated fadeInUp'),r.removeClass('gridblock-loading'),s.creatingIframe=!1},200)},d=function(){!1===o.View.headMarkup?s.$window.on('boldgrid_head_styles',i):i()},'Firefox'===BOLDGRID.EDITOR.Controls.browser?l.on('load',d):d()}};o.Loader=s}(jQuery)},"./assets/js/builder/gridblock/preview.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Preview',function(){return d});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=jQuery,l=BOLDGRID.EDITOR.GRIDBLOCK,i=BOLDGRID.EDITOR,d=function(){function e(){a(this,e),this.scaleConfigs=[{minSize:1600,scale:0.59},{minSize:1359,scale:0.5},{minSize:0,scale:0.45}],this.placeholderHtml={},this.placeholderHtml.before=wp.template('gridblock-redacted-before')(),this.placeholderHtml.after=wp.template('gridblock-redacted-after')()}return r(e,[{key:'init',value:function(){this._bindResize()}},{key:'adjustHeight',value:function(e,o){var n=e.contents(),a=this._getScale(),r=n.find('body > div').height()-400;e.height(r),o.css('height',r*a)}},{key:'createIframe',value:function(e,o){var n=e[0].contentWindow.document;n.open(),n.write('<!DOCTYPE html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n\t\t\t\t\t'+o.head+'\n\t\t\t\t</head>\n\t\t\t\t<body>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t'+this.placeholderHtml.before+'\n\t\t\t\t\t\t<span class="content-placeholder"></span>\n\t\t\t\t\t\t'+o.body+'\n\t\t\t\t\t\t'+this.placeholderHtml.after+'\n\t\t\t\t\t</div>\n\t\t\t\t</body>\n\t\t\t</html>'),n.close()}},{key:'_getScale',value:function(){var e=0.59,o=!0,n=!1,a;try{for(var r=this.scaleConfigs[Symbol.iterator](),s,l;!(o=(s=r.next()).done);o=!0)if(l=s.value,l.minSize<=window.innerWidth){e=l.scale;break}}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}return e}},{key:'_bindResize',value:function(){var e=this,o=_.debounce(function(){i.CONTROLS.Section.sectionDragEnabled&&(l.View.$gridblocks.addClass('resizing-gridblocks'),l.View.$gridblockSection.find('.gridblock:not(.gridblock-loading)').each(function(o,n){var a=s(n);e.adjustHeight(a.find('iframe'),a)}),l.View.$gridblocks.removeClass('resizing-gridblocks'))},1e3);s(window).resize(o)}}]),e}()},"./assets/js/builder/gridblock/save.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Save',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=window.jQuery,l=BOLDGRID.EDITOR,i=function(){function e(){a(this,e)}return r(e,[{key:'init',value:function(){this._setupSaveGridblock()}},{key:'_setupSaveGridblock',value:function(){l.GRIDBLOCK.View.$gridblockSection.find('.gridblocks').on('mousedown','.gridblock .save',function(o){o.stopPropagation();var e=s(o.target),n=e.closest('.gridblock').data('id'),a=l.GRIDBLOCK.configs.gridblocks[n];l.Controls.get('Library').openPanel({title:a.getTitle(),type:a.type,html:l.GRIDBLOCK.Create.getHtml(n)})})}}]),e}()},"./assets/js/builder/gridblock/view.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./assets/js/builder/gridblock/fetch-saved.js'),r=n('./assets/js/builder/gridblock/industry.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){var o=BOLDGRID.EDITOR,n={$tinymceBody:null,$gridblockSection:null,$gridblockNav:null,headMarkup:!1,siteMarkup:'',init:function(){n.$filterSelectWrap=e('.filter-controls'),n.gridblockTemplate=wp.template('boldgrid-editor-gridblock'),n.$filterSelect=n.$filterSelectWrap.find('.boldgrid-gridblock-categories select'),n.findElements(),n.industry=new r.Industry,n.industry.init(),n.fetchTypes(),n.positionGridblockContainer(),n.setupUndoRedo(),n.createGridblocks(),o.GRIDBLOCK.Loader.loadGridblocks(),o.GRIDBLOCK.Category.init(),o.Service.connectKey.init(),n.endlessScroll(),n.templateClass=n.getTemplateClass(),n.fetchSaved=new a.FetchSaved},fetchTypes:function(){var o=this;return n.finishedTypeFetch=!1,e.ajax({url:BoldgridEditor.plugin_configs.asset_server+BoldgridEditor.plugin_configs.ajax_calls.gridblock_types,dataType:'json',timeout:4e3,data:{release_channel:BoldgridEditor.boldgrid_settings.theme_release_channel,key:BoldgridEditor.boldgrid_settings.api_key,version:BoldgridEditor.version}}).done(function(e){o.setFilterOptions(e)}).fail(function(){o.setFilterOptions()})},setFilterOptions:function(e){var o='',a=[],r=BoldgridEditor.builder_config.gridblock.filters;e=e||[],a=r.concat(e);var s=!0,l=!1,i;try{for(var d=a[Symbol.iterator](),c,p;!(s=(c=d.next()).done);s=!0)p=c.value,o+='<option value="'+p.slug+'">'+p.title+'</option>'}catch(e){l=!0,i=e}finally{try{!s&&d.return&&d.return()}finally{if(l)throw i}}n.$filterSelect.html(o),n.$filterSelectWrap.find('.boldgrid-gridblock-categories').show(),n.finishedTypeFetch=!0,n.industry.showFilters()},onOpen:function(){n.$gridblockSection.trigger('scroll'),n.updateCustomStyles()},updateCustomStyles:function(){var e=o.Service.styleUpdater.getStylesheetCss();_.each(o.GRIDBLOCK.configs.gridblocks,function(o){'iframeCreated'===o.state&&o.$iframeContents.find('#boldgrid-custom-styles').html(e)})},onLoad:function(){n.setupAddGridblock(),o.STYLE.Remote.getStyles(BoldgridEditor.site_url)},hasGridblocks:function(){var e=0;return _.each(o.GRIDBLOCK.configs.gridblocks,function(n){'ready'===n.state&&o.GRIDBLOCK.Category.canDisplayGridblock(n)&&e++}),5<=e},endlessScroll:function(){var e=n.$gridblockSection.find('.gridblocks'),a;a=_.throttle(function(){var a=n.$gridblockSection.scrollTop(),r=e.height();r-a<1500&&!0===o.CONTROLS.Section.sectionDragEnabled&&n.updateDisplay()},800),n.$gridblockSection.on('scroll',a)},updateDisplay:function(){var e=o.GRIDBLOCK.Category.isSavedCategory(o.GRIDBLOCK.Category.currentCategory);o.GRIDBLOCK.Loader.loadGridblocks(),e||n.hasGridblocks()||'complete'!==n.industry.state?e&&!n.hasGridblocks()&&n.fetchSaved.fetch():o.GRIDBLOCK.Generate.fetch()},setupAddGridblock:function(){e('#insert-gridblocks-button').on('click',function(){e('.wp-switch-editor.switch-tmce').click(),o.CONTROLS.Section.$container?o.CONTROLS.Section.enableSectionDrag():e(window).one('boldgrid_editor_loaded',function(){o.CONTROLS.Section.enableSectionDrag()})})},setupUndoRedo:function(){var o=e('.history-controls');o.find('.redo-link').on('click',function(){BOLDGRID.EDITOR.mce.undoManager.redo(),e(window).trigger('resize'),n.updateHistoryStates()}),o.find('.undo-link').on('click',function(){BOLDGRID.EDITOR.mce.undoManager.undo(),e(window).trigger('resize'),n.updateHistoryStates()})},updateHistoryStates:function(){var o=e('.history-controls');BOLDGRID.EDITOR.mce.undoManager&&(o.find('.redo-link').attr('disabled',!BOLDGRID.EDITOR.mce.undoManager.hasRedo()),o.find('.undo-link').attr('disabled',!BOLDGRID.EDITOR.mce.undoManager.hasUndo()))},findElements:function(){n.$gridblockSection=e('.boldgrid-zoomout-section'),n.$gridblocks=n.$gridblockSection.find('.gridblocks'),n.$gridblockNav=e('.zoom-navbar'),n.$pageTemplate=e('#page_template')},getTemplateClass:function(){var e=n.$pageTemplate.val()||'default';return e=e.split('.'),'page-template-'+e[0]},addBodyClasses:function(e){e.find('body').addClass(BoldgridEditor.body_class).addClass('mce-content-body entry-content centered-section').addClass(n.templateClass).css('overflow','hidden')},addStyles:function(e){var a=n.headMarkup;a+='<style id="boldgrid-custom-styles">'+o.Service.styleUpdater.getCachedCss()+'</style>',e.find('head').html(a)},positionGridblockContainer:function(){e('#wpcontent').after(n.$gridblockSection)},createGridblocks:function(){var e,o;n.$gridblockSection&&(o=n.$gridblockSection.find('.gridblocks'),e=n.generateInitialMarkup(),o.append(e),n.$gridblockSection.trigger('scroll'))},generateInitialMarkup:function(){var a='';return e.each(o.GRIDBLOCK.configs.gridblocks,function(){this.state||(this.state='ready',a+=n.gridblockTemplate(this))}),a}};o.GRIDBLOCK.View=n,e(o.GRIDBLOCK.View.onLoad)}(jQuery)},"./assets/js/builder/library/save.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Save',function(){return p}),n.d(o,'default',function(){return p});var r=n('./includes/template/gridblock-library.html'),s=n.n(r),l=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),i=window.jQuery,d=BOLDGRID.EDITOR,c=i(window),p=function(){function e(){a(this,e),this.name='Library',this.panel={title:'Block Library',icon:'gridblock-grid-icon',height:'430px',width:'600px',autoCenter:!0,showOverlay:!0}}return l(e,[{key:'init',value:function(){d.Controls.registerControl(this)}},{key:'setup',value:function(){this._bindHandlers()}},{key:'openPanel',value:function(e){this.gridblockData=e,this.$html=i(s.a),this._setState('save-prompt'),e.title&&this.$html.find('input').val(e.title).change(),d.Panel.setContent(this.$html).open(this),d.Panel.centerPanel()}},{key:'ajax',value:function(e){return e.action='boldgrid_editor_save_gridblock',e.boldgrid_editor_gridblock_save=BoldgridEditor.nonce_gridblock_save,i.ajax({url:ajaxurl,dataType:'json',method:'POST',timeout:5e3,data:e})}},{key:'save',value:function(e){var o=this,n=i.Deferred();return'string'==typeof e.html?(e.html=i('<div>'+e.html+'</div>').html(),this.ajax(e)):(e.html.always(function(a){e.html=i(a).html(),o.ajax(e).fail(function(e){n.reject(e)}).done(function(e){n.resolve(e)})}),n)}},{key:'_addToConfig',value:function(e){if(d.GRIDBLOCK.View.fetchSaved&&d.GRIDBLOCK.View.fetchSaved.status){var o={html:e.post_content,post:e,dynamicImages:!1,type:'library',"html-jquery":i(e.post_content)};d.GRIDBLOCK.Filter.addGridblockConfig(o,'ui-saved-'+e.ID),d.GRIDBLOCK.View.createGridblocks()}}},{key:'_setState',value:function(e){this.$html.attr('state',e)}},{key:'_bindHandlers',value:function(){this._setupFormSubmit()}},{key:'_setupFormSubmit',value:function(){var o=this;d.Panel.$element.on('submit','.save-gridblock form',function(n){var e=i(n.target),a=e.find('.bg-editor-button'),r=e.find('input');n.preventDefault(),d.Panel.showLoading(),a.attr('disabled','disabled'),o.gridblockData.title=r.val(),o.save(o.gridblockData).fail(function(){o._setState('save-failed')}).done(function(e){o._setState('save-success'),o._addToConfig(e.data)}).always(function(){d.Panel.hideLoading(),a.removeAttr('disabled')})})}}]),e}()},"./assets/js/builder/menu.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(o){'use strict';var e=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.Menu={$element:null,$activeElement:null,$mceContainer:null,init:function(){return this.create(),this.setupMenuDrag(),this.setupDimiss(),this.setupDropmenuOpen(),this.$element},getTarget:function(e){return this.$element.targetData[e.name]},getCurrentTarget:function(){var o;return e.Panel.currentControl&&(e.Panel.currentControl.getTarget?o=e.Panel.currentControl.getTarget():o=n.getTarget(e.Panel.currentControl)),o},create:function(){this.$mceContainer=o('#'+BOLDGRID.EDITOR.mce.theme.panel._items[0]._id),this.$element=o(wp.template('boldgrid-editor-control-menu')()),this.$mceContainer.append(this.$element),this.$element.items=[],this.$element.targetData=!1},setupMenuDrag:function(){this.$element.find('ul').draggable({containment:'#wp-content-editor-container',scroll:!1,axis:'x',cancel:'li'})},createListItem:function(e){var n=o('<li></li>').attr('data-action','menu-'+e.name),a=o('<span></span>').addClass(e.iconClasses),r;n.append(a),e.menuDropDown&&(r=o('<ul class="bg-editor-menu-dropdown"></ul>'),n.addClass('menu-dropdown-parent'),a.addClass('menu-dropdown-icon'),r.html('<li class="title">'+e.menuDropDown.title+'</li>'),o.each(e.menuDropDown.options,function(){r.append('<li class="'+this.class+'">'+this.name+'</li>')}),n.append(r)),e.tooltip&&n.append(wp.template('boldgrid-editor-tooltip')({message:e.tooltip})),this.$element.find('> ul').append(n)},setupDimiss:function(){o(document).on('click',function(a){!1===o(a.target).hasClass('menu-dropdown-icon')&&n.$element.find('.menu-dropdown-parent').removeClass('active')}),e.Controls.$container.on('click',function(){n.$element.find('.menu-dropdown-parent').removeClass('active')})},setupDropmenuOpen:function(){this.$element.on('click','.menu-dropdown-parent',function(){o(this).toggleClass('active').siblings().removeClass('active')})},activateControl:function(e){n.deactivateControl(),this.$activeElement=BOLDGRID.EDITOR.Menu.$element.find('[data-action="menu-'+e.name+'"]').addClass('active')},deactivateControl:function(){this.$activeElement&&(this.$activeElement.removeClass('active'),this.$activeElement=null)},reactivateMenu:function(){var e=BOLDGRID.EDITOR.Panel.$element;this.$activeElement&&e.is(':visible')&&this.$element.find('[data-action="menu-'+e.attr('data-type')+'"]').addClass('active')}},n=BOLDGRID.EDITOR.Menu}(jQuery)},"./assets/js/builder/notice/base.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Base',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=window.jQuery,l=BOLDGRID.EDITOR,i=function(){function e(){a(this,e)}return r(e,[{key:'bindDismissButton',value:function(){var e=this;l.Panel.$element.find('.bg-upgrade-notice, .setup').find('.dismiss').one('click',function(){e.dismissPanel()})}},{key:'removeEffects',value:function(){s('body').removeClass('bg-editor-intro-1-3 fadeout-background bg-editor-intro'),l.Panel.resetPosition(),l.Panel.closePanel(),l.Panel.$element.removeClass('animated bounceOutDown bounceInDown')}},{key:'dismissPanel',value:function(){var e=this,o=s('body');o.addClass('fadeout-background'),l.Panel.$element.addClass('bounceOutDown').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){e.removeEffects()}),setTimeout(function(){e.removeEffects()},1e3)}}]),e}()},"./assets/js/builder/notice/intro.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Intro',function(){return h}),n.d(o,'default',function(){return h});var l=n('./includes/template/intro.html'),i=n.n(l),d=n('./assets/js/builder/notice/base.js'),c=n('./node_modules/@boldgrid/controls/src/controls/index.js'),p=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),u=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},g=window.jQuery,m=BOLDGRID.EDITOR,h=function(e){function o(){a(this,o);var e=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return e.name='intro',e.panel={title:'Post and Page Builder - Setup',height:'285px',width:'650px',disabledClose:!0,autoCenter:!0},e}return s(o,e),p(o,[{key:'init',value:function(){BoldgridEditor.display_intro&&(this.selection=new c.f,this.$body=g('body'),this.settings=this.getDefaults(),this.templateMarkup=_.template(i.a)(),this.$panelHtml=g(this.templateMarkup),this.$templateInputs=this.$panelHtml.find('input[name="template"]'),this.openPanel(),this._setupNav(),this._addPanelSettings('welcome'),this.bindDismissButton(),this._setupStepActions())}},{key:'getDefaults',value:function(){return{template:{choice:'fullwidth'},palette:{choice:null}}}},{key:'openPanel',value:function(){m.Panel.currentControl=this,this.$body.addClass('bg-editor-intro'),m.Panel.setDimensions(this.panel.width,this.panel.height),m.Panel.setTitle(this.panel.title),m.Panel.setContent(this.$panelHtml),m.Panel.centerPanel(),m.Panel.$element.show()}},{key:'dismissPanel',value:function(){if(u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'dismissPanel',this).call(this),this.settings.template.choice=this.$templateInputs.filter(':checked').val(),'auto-draft'===BoldgridEditor.post.post_status&&'default'!==this.settings.template.choice){var e='template/page/'+this.settings.template.choice+'.php';g('#page_template').val(e).change()}this.saveSettings()}},{key:'saveSettings',value:function(){g.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_editor_setup',boldgrid_editor_setup:BoldgridEditor.setupNonce,settings:this.settings}})}},{key:'_setupStepActions',value:function(){var e=this;this.$panelHtml.on('boldgrid-editor-choose-color-palette',function(){var o;o=e.selection.create(),e.$panelHtml.find('.choose-palette').html(o),o.one('palette-selection',function(){e.$currentStep.find('[data-action-step]').removeAttr('disabled')}),o.on('palette-selection',function(){e.settings.palette.choice=e.selection.getSelectedPalette()})})}},{key:'_addPanelSettings',value:function(e){this.$currentStep=this.$panelHtml.find('[data-step="'+e+'"]'),m.Panel.setTitle(this.$currentStep.data('panel-title')),m.Panel.setInfo(this.$currentStep.data('panel-info')),m.Panel.setDimensions(this.$currentStep.data('panel-width')||this.panel.width,this.$currentStep.data('panel-height')||this.panel.height)}},{key:'_setupNav',value:function(){var o=this;this.$panelHtml.find('[data-action-step]').on('click',function(n){var e=g(n.target),a=e.data('action-step');o._addPanelSettings(a),o.$panelHtml.trigger('boldgrid-editor-'+a),o.$panelHtml.find('.step').removeClass('active'),m.Panel.centerPanel(),o.$currentStep.addClass('active')})}}]),o}(d.Base)},"./assets/js/builder/notice/update.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./assets/js/builder/notice/base.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.NOTICE=BOLDGRID.EDITOR.NOTICE||{},function(e){var o=BOLDGRID.EDITOR,n;o.NOTICE.Update={title:'New Release: Post and Page Builder',template:wp.template('boldgrid-upgrade-notice'),init:function(){BoldgridEditor.display_update_notice&&(this.notice=new a.Base,n.displayPanel(),setTimeout(function(){n.bindEvents()},1e3))},bindEvents:function(){this.notice.bindDismissButton(),n.bodyClick()},bodyClick:function(){var n=this;e('body').one('click',function(){n.notice.dismissPanel()}),o.Panel.$element.on('click',function(o){o.stopPropagation()})},displayPanel:function(){e('body').addClass('bg-editor-intro-1-3 bg-editor-intro'),n.initPanel(),n.renderPanel()},animatePanel:function(){o.Panel.$element.addClass('animated bounceInDown').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){e('.bg-editor-loading').hide()})},renderPanel:function(){o.Panel.$element.show(),n.animatePanel()},initPanel:function(){o.Panel.setDimensions(800,400),o.Panel.setTitle(n.title),o.Panel.setContent(n.template())}},n=o.NOTICE.Update}(jQuery)},"./assets/js/builder/panel.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.Panel={$element:null,currentControl:null,init:function(){return this.$body=e('body'),this.create(),this._setupPanelClose(),this._setupDrag(),this._setupCustomizeLeave(),this._setupCustomizeDefault(),this._lockPanelScroll(),this._setupAutoCenter(),this._setupEscapeClose(),this.$element},create:function(){this.$element=e(wp.template('boldgrid-editor-panel')()),this.$loading=this.$element.find('.bg-loading-spinner'),this.$body.append(this.$element)},setContent:function(e){return this.$element.find('.panel-body').html(e),this},setTitle:function(e){this.$element.find('.panel-title .name').html(e)},setInfo:function(e){this.$element.find('.panel-title .info').html(e)},showLoading:function(){this.$element.find('.panel-body').addClass('block-access-overlay'),this.$loading.addClass('enabled')},hideLoading:function(){this.$element.find('.panel-body').removeClass('block-access-overlay'),this.$loading.removeClass('enabled')},resetPosition:function(){this.$element.css({top:'',left:''})},setDimensions:function(e,o){this.$element.width(e),this.$element.height(o)},centerPanel:function(){var o=e(window),n=parseInt(this.$element.css('width')),a=parseInt(this.$element.css('height')),r=o.width(),s=o.height();this.$element.css({top:s/2-a/2,left:r/2-n/2})},initScroll:function(){n.createScrollbar(n.getScrollTarget(),this.currentControl.panel||{})},createScrollbar:function(e,o){var a=-66,r=this.$element.find(e);o&&o.sizeOffset&&(a=o.sizeOffset),n.$element.find('.slimScrollDiv >:first-child').slimScroll({destroy:!0}).attr('style',''),r.slimScroll({color:'#32373c',size:'8px',height:parseInt(o.height)+a,alwaysVisible:!0,disableFadeOut:!0,wheelStep:5})},isOpenControl:function(e){var o=!1;return this.$element.is(':visible')&&this.$element.attr('data-type')===e.name&&(o=!0),o},_setupEscapeClose:function(){var a=this,e=function(o){27===o.keyCode&&a.currentControl&&a.currentControl.panel&&!a.currentControl.panel.disabledClose&&a.$element.is(':visible')&&n.closePanel()};o.$window.on('keyup',e),o.Controls.$container.on('keyup',e)},_setupDrag:function(){this.$element.draggable({containment:'#wpwrap',handle:'.panel-title',scroll:!1})},clearSelected:function(){this.$element.find('.selected').removeClass('selected')},_setupPanelResize:function(){this.$element.resizable()},_setupPanelClose:function(){this.$element.on('click','.close-icon, button.dismiss',function(){n.closePanel()})},removeClasses:function(){o.Controls.$container.find('.bg-control-element').removeClass('bg-control-element')},closePanel:function(){n.$element.hide(),o.Panel.hideLoading(),BOLDGRID.EDITOR.Menu.deactivateControl(),n.removeClasses(),n.$element.hasClass('customize-open')&&(this.$element.trigger('bg-customize-exit'),n.$element.removeClass('customize-open')),this.$element.find('.panel-body').empty(),this.$element.removeClass('drag-disabled'),this.$element.trigger('bg-panel-close'),this.$body.removeClass('bg-editor-overlay'),BOLDGRID.EDITOR.mce.undoManager.add()},scrollToSelected:function(){var e=n.$element.find('.selected:not(.filters .selected):visible'),o,a;n.scrollTo(0),e.length&&(a=0,n.currentControl.panel.scrollOffset&&(a=n.currentControl.panel.scrollOffset),o=e.position().top+a,n.scrollTo(o+'px'))},getScrollTarget:function(){var e='.panel-body';return n.currentControl&&n.currentControl.panel.scrollTarget&&(e=n.currentControl.panel.scrollTarget),e},scrollTo:function(e){this.$element.find(n.getScrollTarget()).slimScroll({scrollTo:e,alwaysVisible:!0,disableFadeOut:!0})},clear:function(){this.$element.find('.panel-title .name').empty(),this.$element.find('.panel-title .info').empty(),this.$element.find('.panel-body').empty(),this.$element.find('.panel-title .icon').attr('class','')},_enableFooter:function(e){e&&e.includeFooter?n.showFooter():n.hideFooter()},hideFooter:function(){this.$element.find('.panel-footer').hide()},showFooter:function(){this.$element.find('.panel-footer').show()},_setupCustomize:function(o){o.panel.customizeCallback&&n.$element.find('.panel-footer .customize .panel-button').on('click',function(a){a.preventDefault(),n.customizeOpenEvent(),n.$element.attr('data-type')===o.name&&!0!==n.currentControl.panel.customizeCallback&&o.panel.customizeCallback()})},customizeOpenEvent:function(){n.$element.trigger('bg-customize-open'),n.$element.addClass('customize-open')},enterCustomization:function(){n.$element.find('.panel-body .customize').show(),n.$element.find('.presets').hide(),n.$element.find('.title').hide(),n.scrollTo(0),n.hideFooter(),o.Service.customize.navigation.enable()},_setupCustomizeDefault:function(){n.$element.find('.panel-footer .customize .panel-button').on('click',function(o){o.preventDefault(),n.currentControl&&n.currentControl.panel&&!0===n.currentControl.panel.customizeCallback&&n.enterCustomization()})},_setupCustomizeLeave:function(){n.$element.on('click','.back .panel-button',function(a){a.preventDefault(),n.$element.removeClass('customize-open'),n.currentControl&&n.currentControl.panel&&!0===n.currentControl.panel.customizeLeaveCallback&&(n.$element.find('.presets').show(),n.$element.find('.title').show(),n.$element.find('.panel-body .customize').hide(),o.Service.customize.navigation.disable(),n.toggleFooter(),n.scrollToSelected(),n.$element.trigger('bg-customize-exit'))})},setupPanelClick:function(n){var a=BOLDGRID.EDITOR.Panel;n.panel&&n.panel.styleCallback&&a.$element.on('click','[data-control-name="'+n.name+'"] .panel-selection',function(){var r=o.Menu.getCurrentTarget(),s=e(this);o.Util.removeComponentClasses(r,n.componentPrefix),r.addClass(s.attr('data-preset')),a.$element.find('.selected').removeClass('selected'),s.addClass('selected')})},toggleFooter:function(){n.$element.find('.panel-body .selected').length?n.showFooter():n.hideFooter()},collapseSelection:function(){'icon'!==n.currentControl.name&&(BOLDGRID.EDITOR.mce.selection.collapse(!1),BOLDGRID.EDITOR.mce.nodeChanged())},_lockPanelScroll:function(){window.addEventListener&&(this.$element[0].addEventListener('DOMMouseScroll',n._onWheel,!1),this.$element[0].addEventListener('mousewheel',n._onWheel,!1))},_onWheel:function(o){o=o||window.event,o.preventDefault&&o.preventDefault(),o.returnValue=!1},preselect:function(){var e,n;this.currentControl.panel.preselectCallback&&(e=o.Menu.getCurrentTarget(),n=o.Util.getClassesLike(e,this.currentControl.componentPrefix),n=n.join(' '),this.clearSelected(),this.$element.find('[data-preset="'+n+'"]:first').addClass('selected'))},showOverlay:function(){this.currentControl.panel&&this.currentControl.panel.showOverlay&&(this.$body.addClass('bg-editor-overlay'),this.$element.addClass('drag-disabled'))},_setupAutoCenter:function(){var o=this,n=_.debounce(function(){o.currentControl&&o.currentControl.panel.autoCenter&&o.centerPanel()},500);e(window).on('resize',n)},_setIcon:function(){this.currentControl.panel&&this.currentControl.panel.icon&&this.$element.find('.panel-title [data-id="icon"]').attr('class',this.currentControl.panel.icon).addClass('icon')},open:function(a){var r;BOLDGRID.EDITOR.mce.undoManager.add(),BOLDGRID.EDITOR.Menu.activateControl(a),this.currentControl=a,this.$element.addClass('ui-widget-content'),this.setDimensions(a.panel.width,a.panel.height),this.setTitle(a.panel.title),this.$element.attr('data-type',a.name),this.$element.find('.panel-body').attr('data-control-name',a.name),this._enableFooter(a.panel),this._setupCustomize(a),o.Tooltip.renderTooltips(),this.$element.show(),this.initScroll(a),this.preselect(),this.scrollToSelected(),this.collapseSelection(),this.showOverlay(),this._setIcon(),BOLDGRID.EDITOR.CONTROLS.Generic.initControls(),n.removeClasses(),r=o.Menu.$element.targetData[a.name]||e(),r.addClass('bg-control-element'),o.CONTROLS.Color.initColorControls(),this.$element.trigger('open')}},n=BOLDGRID.EDITOR.Panel}(jQuery)},"./assets/js/builder/popover/actions/clone.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Clone',function(){return l}),n.d(o,'default',function(){return l});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=BOLDGRID.EDITOR,l=function(){function e(o){a(this,e),this.popover=o}return r(e,[{key:'init',value:function(){var e=this;this.popover.$element.find('[data-action="duplicate"]').on('click',function(){e.clone(),e.postClone()})}},{key:'clone',value:function(){var e=this.popover.$target.clone();this.popover.$target.after(e)}},{key:'postClone',value:function(){s.Controls.$container.trigger('boldgrid_clone_element'),this.popover.updatePosition()}}]),e}()},"./assets/js/builder/popover/actions/delete.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Delete',function(){return l}),n.d(o,'default',function(){return l});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=BOLDGRID.EDITOR,l=function(){function e(o){a(this,e),this.popover=o}return r(e,[{key:'init',value:function(){var e=this;this.popover.$element.find('[data-action="delete"]').on('click',function(o){o.preventDefault(),e.delete()})}},{key:'delete',value:function(){this.popover.$target.remove(),this.popover.$element.hide(),this.popover.updatePosition(),s.Controls.$container.trigger('delete_dwpb')}}]),e}()},"./assets/js/builder/popover/actions/general.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'GeneralActions',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=BOLDGRID.EDITOR,l=jQuery,i=function(){function e(){a(this,e)}return r(e,[{key:'bind',value:function(e){var o=this;this.popover=e,e.$element.find('li[data-action="add-column"]').on('click',u.add_column),e.$element.find('li[data-action="duplicate-column"]').on('click',u.duplicateColumn),e.$element.find('li[data-action="clear"]').on('click',u.clear),e.$element.find('li[data-action="insert-layout"]').on('click',u.insert_layout),e.$element.find('li[data-action="add-row"]').on('click',u.add_row),e.$element.find('li[data-action="clone-as-row"]').on('click',u.unnest_row),e.$element.find('li[data-action]').on('click',u.trigger_action_click),e.$element.find('li[data-action="add-media"]').on('click',u.add_media),e.$element.find('li[data-action="align-top"]').on('click',u.alignTop),e.$element.find('li[data-action="Box"]').on('click',function(n){return o.generalMacro(n)}),e.$element.find('li[data-action="Advanced"]').on('click',function(n){return o.generalMacro(n)}),e.$element.find('li[data-action="Font"]').on('click',function(n){return o.generalMacro(n)}),e.$element.find('li[data-action="align-default"]').on('click',u.alignDefault),e.$element.find('li[data-action="align-bottom"]').on('click',u.alignBottom),e.$element.find('li[data-action="align-center"]').on('click',u.alignCenter),g=s.Controls.$container}},{key:'generalMacro',value:function(o){var e;o.stopPropagation(),e=l(o.target).data('action'),s.Service.popover.selection.$target.click(),s.Controls.get(e).openPanel(s.Service.popover.selection.$target,this.popover.name)}}]),e}(),d=['duplicate','add-row','add-column','nest-row','clear','delete','clone-as-row','align-top','align-bottom','align-default','align-center'],c=function(e,o){var n=BOLDGRID.EDITOR.Service.popover.selection.$target;n.removeClass('align-column-top align-column-bottom align-column-center'),o&&n.addClass('align-column-'+o),e.closest('.popover-menu-imhwpb').addClass('hidden')},p=function(e,o){e.preventDefault(),o.closest('.popover-menu-imhwpb').addClass('hidden'),g.window_mouse_leave()},u={alignTop:function(){c(l(this),'top')},alignBottom:function(){c(l(this),'bottom')},alignCenter:function(){c(l(this),'center')},alignDefault:function(){c(l(this))},unnest_row:function(e){var o=BOLDGRID.EDITOR.Service.popover.selection.$target;o.length&&(l(o[0].outerHTML).insertBefore(o.parent().closest('.row')),p(e,o))},add_row:function(){var e=g.createEmptyRow();BOLDGRID.EDITOR.Service.popover.selection.$target.before(e),g.postAddRow(e)},add_column:function(e){e.preventDefault();var o=l(this),n=BOLDGRID.EDITOR.Service.popover.selection.$target,a=g.find_row_size(n),r=n.find('> *'),s;if(1===r.length&&'BR'==r[0].tagName&&n.empty(),a<g.max_row_size&&a>=0)s=g.fill_row(a,n);else if(a>=g.max_row_size){var i=g.get_layout_format(n),d=g.find_layout_transform(i);d&&!d.current?(g.transform_layout(n,d),s=l('<div class="col-md-'+d.new+' col-sm-12 col-xs-12"></div>'),n.append(s)):(g.decrease_row_size(n),s=l('<div class="col-md-1 col-sm-12 col-xs-12"></div>'),n.append(s))}s.html('<p><br> </p>'),s.addClass('added-element'),setTimeout(function(){s.removeClass('added-element')},1e3),g.trigger(g.add_column_event,s),o.closest('.popover-menu-imhwpb').addClass('hidden')},duplicateColumn:function(e){e.preventDefault();var o=BOLDGRID.EDITOR.Service.popover.selection.$target,n=o.closest_context(g.row_selectors_string,g),a=g.find_column_size(o),r=g.get_layout_format(n),s=g.find_layout_transform(r,a),i=1;if(g.find_row_size(n)+a<=g.max_row_size){var d=o.before(o[0].outerHTML);d[0].popover=null}else if(s){if(!s.current){g.transform_layout(n,s),i=s.new;var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i)}else{g.change_column_size(o,null,s.current_transform),i=s.new;var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i),l.each(s.additional_transform,function(e,o){var a=0;n.find(g.immediate_column_selectors_string).reverse().each(function(){if(a<o.count){var e=l(this);g.find_column_size(e)==o.from&&(g.change_column_size(e,null,o.to),a++)}else return!1})})}}else if(0==a%2&&a){g.change_column_size(o,null,parseInt(a/2));var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,parseInt(a/2))}else if(g.decrease_row_size(n)){var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i)}g.trigger(g.add_column_event)},clear:function(e){e.preventDefault();var o=l(this),n=BOLDGRID.EDITOR.Service.popover.selection.$target,a=g.get_element_type(n);'column'==BOLDGRID.EDITOR.Service.popover.selection.name?(n.html('<p><br> </p>'),c(o)):n.find(':not('+g.column_selectors_string+'):not( '+g.row_selectors_string+')').remove(),o.closest('.popover-menu-imhwpb').addClass('hidden'),g.trigger(g.clear_event,n)},add_media:function(){g.add_media_event_handler(BOLDGRID.EDITOR.Service.popover.selection.$target[0])},insert_layout:function(){g.insert_layout_event_handler(BOLDGRID.EDITOR.Service.popover.selection.$target[0])},trigger_action_click:function(e){var o=l(this);-1===d.indexOf(o.data('action'))&&(g.$boldgrid_menu_action_clicked=BOLDGRID.EDITOR.Service.popover.selection.$target[0],p(e,o)),g.trigger(g.boldgrid_modify_event)}},g},"./assets/js/builder/popover/base.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Base',function(){return p}),n.d(o,'default',function(){return p});var r=n('./assets/js/builder/popover/actions/clone.js'),s=n('./assets/js/builder/popover/actions/delete.js'),l=n('./assets/js/builder/popover/actions/general.js'),i=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),d=window.jQuery,c=BOLDGRID.EDITOR,p=function(){function e(o){a(this,e),o=o||{},o.actions=o.actions||{},o.actions.clone=o.actions.clone||new r['default'](this),o.actions.delete=o.actions.delete||new s['default'](this),this.options=o,this.selectors=['.must-be-defined'],this.debounceTime=300,this._hideCb=this._getDebouncedHide(),this._showCb=this._getDebouncedUpdate(),this.hideHandleEvents=['bge_row_resize_start','start_typing_boldgrid','boldgrid_modify_content','resize_clicked','drag_end_dwpb','history_change_boldgrid','clear_dwpb','add_column_dwpb']}return i(e,[{key:'init',value:function(){return this.$target,this.$element=this._render(),this.$element.hide(),this._bindEvents(),this.options.actions.clone.init(),this.options.actions.delete.init(),new l['default']().bind(this),this}},{key:'hideHandles',value:function(e){var o;e&&e.relatedTarget&&(o=d(e.relatedTarget)),this.preventMouseLeave&&this.preventMouseLeave(o)||(this._removeBorder(),this.$element.$menu.addClass('hidden'),this.$element.hide(),this.$element.trigger('hide'),this.$element.removeClass('menu-open'))}},{key:'updatePosition',value:function(e){var o,n;return this._removeBorder(),e&&(n=d(e.target)),this._isInvalidTarget(n||this.$target)?void this.$element.hide():c.Controls.$container.$current_drag||c.Controls.$container.resize||this.disableAddPopover?!1:void(n&&(n=n.closest(this.getSelectorString()),this.$target&&n[0]!==this.$target[0]&&(this.$element.removeClass('menu-open'),this.$element.$menu.addClass('hidden')),this.$target=n),this.$element.trigger('updatePosition'),o=this.$target[0].getBoundingClientRect(),this.$element.css(this.getPositionCss(o)).show(),this.$target.addClass('popover-hover'))}},{key:'bindSelectorEvents',value:function(){var e=this;this.$element.on('mouseenter',function(){e.debouncedUpdate()}),c.Controls.$container.$body.on('mouseenter.draggable',this.getSelectorString(),function(o){e.debouncedUpdate(o)}),c.Controls.$container.$body.on('mouseleave.draggable',this.getSelectorString(),function(o){e.debouncedHide(o)})}},{key:'debouncedHide',value:function(e){this._hideCb(e),this.mostRecentAction='leave'}},{key:'debouncedUpdate',value:function(e){this._showCb(e),this.mostRecentAction='enter'}},{key:'_getDebouncedHide',value:function(){var e=this;return _.debounce(function(o){'leave'===e.mostRecentAction&&e.hideHandles(o)},this.debounceTime)}},{key:'_getDebouncedUpdate',value:function(){var e=this;return _.debounce(function(o){'enter'===e.mostRecentAction&&e.updatePosition(o)},this.debounceTime)}},{key:'_bindEvents',value:function(){this.bindSelectorEvents(),this._universalEvents()}},{key:'_universalEvents',value:function(){var e=this;this.$element.on('mousedown',function(){c.Service.popover.selection=e}),c.Controls.$container.on('edit-as-row-enter edit-as-row-leave',function(){e.bindSelectorEvents(),e.hideHandles()}),c.Controls.$container.on('end_typing_boldgrid',function(){'start_typing_boldgrid'===e.hideEventType&&e.updatePosition()}),c.Controls.$container.on('history_change_boldgrid',function(){e.disableAddPopover=!0,setTimeout(function(){e.disableAddPopover=!1},500)}),this.$element.on('mouseleave',function(o){e.debouncedHide(o)}),c.Controls.$container.find('[data-action]').on('click',function(o){e.hideHandles(o)}),c.Controls.$container.on('mouseleave',function(o){e.hideEventType=o.type,e.debouncedHide()}),c.Controls.$container.on(this.hideHandleEvents.join(' '),function(o){e.hideEventType=o.type,e.hideHandles()})}},{key:'_isInvalidTarget',value:function(e){return!e||!e.length||!c.Controls.$container.find(e).length}},{key:'_removeBorder',value:function(){this.$target&&this.$target.length&&this.$target.removeClass('popover-hover')}},{key:'_render',value:function(){var e=d(_.template(this.template)({actions:c.Controls.$container.additional_menu_items}));return e.$menu=e.find('.popover-menu-imhwpb'),c.Controls.$container.$body.after(e),e}}]),e}()},"./assets/js/builder/popover/column.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Column',function(){return g}),n.d(o,'default',function(){return g});var l=n('./assets/js/builder/popover/base.js'),i=n('./includes/template/popover/column.html'),d=n.n(i),c=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),p=window.jQuery,u=BOLDGRID.EDITOR,g=function(e){function o(){var e;a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return n.template=d.a,n.name='column',(e=n,r(n,e))}return s(o,e),c(o,[{key:'getPositionCss',value:function(e){return{top:e.top,left:e.left}}},{key:'getSelectorString',value:function(){return u.Controls.$container.editting_as_row?u.Controls.$container.nestedColumnSelector:u.Controls.$container.original_selector_strings.unformatted_column_selectors_string}}]),o}(l.Base)},"./assets/js/builder/popover/content.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Content',function(){return m}),n.d(o,'default',function(){return m});var l=n('./assets/js/builder/popover/base.js'),i=n('./includes/template/popover/content.html'),d=n.n(i),c=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),p=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return n.template=d.a,n.name='content',n.nestedSelector=n.createNestedSelector(),(e=n,r(n,e))}return s(o,e),c(o,[{key:'_bindEvents',value:function(){var e=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this),this.$element.on('updatePosition',function(){return e._onUpdatePosition()}),this.$element.find('.edit-as-row').on('click',function(){return e._onEditRow()})}},{key:'getPositionCss',value:function(e){var o=40;return 80>e.height&&(o=e.height/2),{top:e.top+o,left:e.left}}},{key:'getSelectorString',value:function(){var e=g.Controls.$container.original_selector_strings.unformatted_content_selectors_string;return g.Controls.$container.editting_as_row&&(e=this.nestedSelector),e}},{key:'createNestedSelector',value:function(){var e=[];return _.each(g.Controls.$container.content_selectors,function(o){'.row .row:not(.row .row .row)'!==o&&e.push(o.replace('not(.row .row','not(.row .row .row'))}),e.join(',')}},{key:'preventMouseLeave',value:function(e){return e&&1===e.closest(this.$target).length}},{key:'_onUpdatePosition',value:function(){var e=this.$target.parents(this.getSelectorString()).last();e.length&&(this.$target=e),this.$target.hasClass('row')&&!g.Controls.$container.editting_as_row?this.$element.addClass('nested-row-popover-imhwpb'):this.$element.removeClass('nested-row-popover-imhwpb')}},{key:'_onEditRow',value:function(){g.Controls.$container.trigger('boldgrid_edit_row',this.$target),g.Controls.$container.editting_as_row?u.fourpan.dismiss():u.fourpan.highlight(this.$target)}}]),o}(l.Base)},"./assets/js/builder/popover/row.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Row',function(){return m}),n.d(o,'default',function(){return m});var l=n('./assets/js/builder/popover/base.js'),i=n('./includes/template/popover/row.html'),d=n.n(i),c=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),p=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return n.template=d.a,n.name='row',(e=n,r(n,e))}return s(o,e),c(o,[{key:'_bindEvents',value:function(){var e=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this),this.$element.on('updatePosition',function(){g.RESIZE.Row.positionHandles(e.$target)}),this.$element.on('hide',function(){g.RESIZE.Row.hideHandles()})}},{key:'getPositionCss',value:function(e){return{top:e.top,left:e.left+e.width}}},{key:'preventMouseLeave',value:function(e){return e&&e.hasClass('draghandle')&&this.$target.is(g.RESIZE.Row.$currentRow)}},{key:'getSelectorString',value:function(){var e=g.Controls.$container.original_selector_strings.row_selectors_string;return g.Controls.$container.editting_as_row&&(e=g.Controls.$container.nested_row_selector_string),e}}]),o}(l.Base)},"./assets/js/builder/popover/section.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Section',function(){return m}),n.d(o,'default',function(){return m});var l=n('./assets/js/builder/popover/base.js'),i=n('./includes/template/popover/section.html'),d=n.n(i),c=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),p=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return n.template=d.a,n.name='section',n.selectors=['.boldgrid-section'],n.emptySectionTemplate=wp.template('boldgrid-editor-empty-section'),n.selectorsString=n.selectors.join(','),(e=n,r(n,e))}return s(o,e),c(o,[{key:'_bindEvents',value:function(){var n=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this);this.$element.find('[data-action]').on('click',function(o){o.stopPropagation()}),this.$element.find('[data-action="section-width"]').on('click',function(o){return n.sectionWidth(o)}),this.$element.find('[data-action="move-up"]').on('click',function(){return n.moveUp()}),this.$element.find('[data-action="move-down"]').on('click',function(){return n.moveDown()}),this.$element.find('[data-action="background"]').on('click',function(){return n.background()}),this.$element.find('[data-action="save-gridblock"]').on('click',function(o){return n._saveGridblock(o)}),this.$element.find('[data-action="add-new"]').on('click',function(){return n.addNewSection()}),this.$element.find('.context-menu-imhwpb').on('click',function(o){return n.menuDirection(o)})}},{key:'getSelectorString',value:function(){return this.selectorsString}},{key:'getPositionCss',value:function(e){return{top:e.bottom+35,left:'calc(50% - 38px)',transform:'translateX(-50%)'}}},{key:'addNewSection',value:function(){var e=u(this.emptySectionTemplate());this.$target.after(e),this.transistionSection(e)}},{key:'transistionSection',value:function(e){IMHWPB.tinymce_undo_disabled=!0,e.animate({"background-color":'transparent'},500,'swing',function(){g.Controls.addStyle(e,'background-color',''),IMHWPB.tinymce_undo_disabled=!1,BOLDGRID.EDITOR.mce.undoManager.add()})}},{key:'menuDirection',value:function(o){var e=o.screenY-window.screenY,n=g.Menu.$mceContainer[0].getBoundingClientRect();e-n.bottom<340?this.$element.find('.popover-menu-imhwpb').addClass('menu-down'):this.$element.find('.popover-menu-imhwpb').removeClass('menu-down')}},{key:'moveUp',value:function(){var e=this.$target.prev();e.length&&e.before(this.$target),g.Controls.$container.trigger(g.Controls.$container.delete_event)}},{key:'_saveGridblock',value:function(){g.Controls.get('Library').openPanel({html:this.$target[0].outerHTML})}},{key:'moveDown',value:function(){var e=this.$target.next();e.length&&e.after(this.$target),g.Controls.$container.trigger(g.Controls.$container.delete_event)}},{key:'background',value:function(){this.$target.click(),BOLDGRID.EDITOR.CONTROLS.Background.openPanel()}},{key:'sectionWidth',value:function(){g.CONTROLS.Container.toggleSectionWidth(this.$target.find('.container, .container-fluid')),this.$target.trigger(g.Controls.$container.delete_event)}}]),o}(l.Base)},"./assets/js/builder/render-fonts.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR.FontRender={createLinkList:function(o){var n={};return o.find('[data-font-family]').each(function(){var o=e(this),a=o.attr('data-font-family');a&&(n[a]=n[a]||{})}),n},updateFontLink:function(n){var a=n.find('head'),r=a.find('#boldgrid-google-fonts'),s,l,i;r.length||(r=e('<link id="boldgrid-google-fonts" rel="stylesheet">'),a.append(r)),s=o.createLinkList(n),l=[],e.each(s,function(e){l.push(e)}),l=l.join('|'),l&&(i=jQuery.param({family:l}),r.attr('href','https://fonts.googleapis.com/css?'+i))}}}(jQuery)},"./assets/js/builder/resize/row.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.RESIZE=BOLDGRID.EDITOR.RESIZE||{},function(o){'use strict';var n=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.RESIZE.Row={$body:null,handleSize:20,$container:null,$topHandle:null,$bottomHandle:null,handleOffset:null,currentlyDragging:!1,$currentRow:null,init:function(e){a.$container=e,a.handleOffset=a.handleSize,a.createHandles(),a.initDraggable()},createHandles:function(){a.$topHandle=o('<span class="draghandle top" title="Drag Resize Row" data-setting="padding-top"></span>'),a.$bottomHandle=o('<span class="draghandle bottom" title="Drag Resize Row" data-setting="padding-bottom"></span>'),o.each([a.$topHandle,a.$bottomHandle],function(){this.css({position:'fixed',height:a.handleSize,width:a.handleSize})}),a.$container.find('body').after(a.$topHandle).after(a.$bottomHandle),a.hideHandles()},initDraggable:function(){var r,s;a.$container.find('.draghandle').draggable({scroll:!1,axis:'y',start:function(){a.currentlyDragging=!0,s=o(this).data('setting'),r=parseInt(a.$currentRow.css(s)),a.$currentRow.addClass('changing-padding'),a.$container.$html.addClass('no-select-imhwpb'),a.$container.$html.addClass('changing-'+s),n.Controls.$container.trigger('bge_row_resize_start')},stop:function(){n.Controls.$container.trigger('bge_row_resize_end'),a.currentlyDragging=!1,a.$currentRow.removeClass('changing-padding'),a.$container.$html.removeClass('no-select-imhwpb'),a.$container.$html.removeClass('changing-'+s),a.hideHandles()},drag:function(l,e){var i=e.position.top-e.originalPosition.top,d,c,p;'padding-top'===s?(d=parseInt(a.$currentRow.css(s))-i,p='top',0<d&&i&&window.scrollBy(0,-i)):(d=r+i,p='bottom'),0>d&&(c=a.$currentRow[0].getBoundingClientRect(),e.position.top=c[p]-(e.helper.hasClass('top')?0:a.handleOffset),d=0),n.Controls.addStyle(a.$currentRow,s,d),a.$container.$html.hasClass('editing-as-row')&&o.fourpan&&o.fourpan.refresh()}})},positionHandles:function(e){var o,n;return e&&e.length?(o=e[0].getBoundingClientRect(),n=o.right-100,!a.currentlyDragging&&void(a.$currentRow=e,a.$topHandle.css({top:o.top-1,left:n}),a.$bottomHandle.css({top:o.bottom-a.handleOffset+1,left:n}),a.$topHandle.show(),a.$bottomHandle.show())):(a.$topHandle.hide(),void a.$bottomHandle.hide())},hideHandles:function(){return!a.currentlyDragging&&void(a.$topHandle.hide(),a.$bottomHandle.hide())}},a=BOLDGRID.EDITOR.RESIZE.Row}(jQuery)},"./assets/js/builder/service.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Service',function(){return w});var r=n('./assets/js/builder/tinymce/width.js'),s=n('./assets/js/builder/style/updater.js'),l=n('./assets/js/builder/tinymce/loading.js'),i=n('./assets/js/builder/controls/color/palette.js'),d=n('./assets/js/builder/notice/intro.js'),c=n('./assets/js/builder/library/save.js'),p=n('./assets/js/builder/controls/element/advanced.js'),u=n('./assets/js/builder/gridblock/lead.js'),g=n('./assets/js/builder/popover/content.js'),m=n('./assets/js/builder/popover/column.js'),h=n('./assets/js/builder/popover/row.js'),b=n('./assets/js/builder/popover/section.js'),f=n('./assets/js/builder/customize/navigation.js'),C=n('./assets/js/builder/view.js'),v=n('./assets/js/builder/connect-key/prompt.js'),y=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),D=window.BOLDGRID.EDITOR,w=function(){function e(){a(this,e)}return y(e,[{key:'init',value:function(){return this.editorWidth=null,this.styleUpdater=null,this._onWindowLoad(),this._onEditorLoad(),this._onEditorPreload(),this}},{key:'_onWindowLoad',value:function(){this.editorWidth=new r['default']().init(),this.loading=new l['default']().init(),new C.View().init()}},{key:'_onEditorLoad',value:function(){var e=this;BOLDGRID.EDITOR.$window.on('boldgrid_editor_loaded',function(){e.styleUpdater=new s['default'](BOLDGRID.EDITOR.Controls.$container).init(),e.popover={},e.popover.selection=!1,e.popover.content=new g['default']().init(),e.popover.column=new m['default']().init(),e.popover.row=new h['default']().init(),e.popover.section=new b['default']().init(),e.connectKey=new v.ConnectKey,BOLDGRID.EDITOR.CONTROLS.Section.init(BOLDGRID.EDITOR.Controls.$container)})}},{key:'_onEditorPreload',value:function(){var e=this;BOLDGRID.EDITOR.$window.on('boldgrid_editor_preload',function(){e.colorPalette=new i.Palette().init(),D.Controls.colorControl=D.CONTROLS.Color.init(),new d.Intro().init(),new c.Save().init(),new u.Lead().init(),new p.Advanced().init(),D.Service.customize=D.Service.customize||{},D.Service.customize.navigation=new f.Navigation().init()})}}]),e}();BOLDGRID.EDITOR.Service=new w().init()},"./assets/js/builder/style/remote.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.STYLE=BOLDGRID.EDITOR.STYLE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n={getStyles:function(a){var r=function(e){n.siteMarkup=e,o.GRIDBLOCK.View.headMarkup=n.getHeadElements(e),o.$window.trigger('boldgrid_page_html',n.siteMarkup),o.$window.trigger('boldgrid_head_styles',n.headMarkup)};e.get(a).success(function(e){r(e)}).fail(function(e){r(e.responseText||'')})},getHeadElements:function(o){var n,a;return o=o.replace(/<body\b[^<]*(?:(?!<\/body>)<[^<]*)*<\/body>/,''),n=e('<div>').html(o),a='',n.find('link, style').each(function(){var o=e(this),n=this.outerHTML,r=o.prop('tagName');'LINK'===r&&'stylesheet'!==o.attr('rel')&&'boldgrid-custom-styles-css'!==o.attr('id')&&(n=''),a+=n}),a+=wp.template('gridblock-iframe-styles')(),a}};o.STYLE.Remote=n}(jQuery)},"./assets/js/builder/style/updater.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Updater',function(){return c}),n.d(o,'default',function(){return c});var l=n('./node_modules/@boldgrid/controls/src/controls/index.js'),i=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),d=jQuery,c=function(e){function o(){return a(this,o),r(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return s(o,e),i(o,[{key:'init',value:function(){return this.$input=d('#boldgrid-control-styles'),this.loadSavedConfig(BoldgridEditor.control_styles.configuration||[]),this.setup(),this.updateInput(),this}},{key:'updateInput',value:function(){this.$input.val(JSON.stringify(this.stylesState)),this.updateCachedCss()}},{key:'updateCachedCss',value:function(){this.cachedCss=this.getStylesheetCss()}},{key:'getCachedCss',value:function(){return this.cachedCss||(this.cachedCss=this.getStylesheetCss()),this.cachedCss}}]),o}(l.k)},"./assets/js/builder/tinymce/loading.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Loading',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=window.jQuery,l=BOLDGRID.EDITOR,i=function(){function e(){return a(this,e),this.failsafeTimeout=3e3,this.$element=s('.bg-editor-loading-main'),this}return r(e,[{key:'init',value:function(){return this._setupFailsafe(),this}},{key:'hide',value:function(){var e=this;this.$element.removeClass('active'),setTimeout(function(){e.$element.addClass('disabled')},500)}},{key:'show',value:function(){var e=this;this.$element.removeClass('disabled'),setTimeout(function(){e.$element.addClass('active')})}},{key:'_setupFailsafe',value:function(){var e=this;setTimeout(function(){e.hide()},this.failsafeTimeout)}}]),e}()},"./assets/js/builder/tinymce/width.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'Width',function(){return i}),n.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=window.jQuery,l=BOLDGRID.EDITOR,i=function(){function e(){a(this,e)}return r(e,[{key:'init',value:function(){return this.$postContainer,this.$resizeiframe,this.resizable=!1,this.stylesheetWaitTime=500,this.updateIframeUrl(),this}},{key:'createIframe',value:function(){var e=s('<iframe id="resizer-iframe"></iframe>');return e.attr('width',window.innerWidth),e.attr('height',window.innerHeight),s('html').append(e),e}},{key:'_findPostContainer',value:function(){var e=this.$resizeiframe.contents(),o=e.find('body'),n=e.find('.post-'+BoldgridEditor.post_id+', article').first(),a=n.find('.entry-content'),r=e.find('.site-content'),s=n.find('.boldgrid-section:first');return s.length?o=s:a.length?o=a:n.length?o=n:r.length&&(o=r),o}},{key:'getWidth',value:function(){var e='auto';return this.$postContainer&&this.$postContainer.width()&&(e=this.$postContainer.width()),e}},{key:'_postIframeProcess',value:function(){this.$postContainer=this._findPostContainer(),this.resizable=this.$postContainer.length&&this.$postContainer.width(),IMHWPB.WP_MCE_Draggable.instance&&IMHWPB.WP_MCE_Draggable.instance.resize_done_event(),l.$window.trigger('boldgrid_post_width',{width:this.getWidth()}),l.Service.loading.hide()}},{key:'updateIframeUrl',value:function(e){var o=this;e=e||BoldgridEditor.site_url,BoldgridEditor.is_boldgrid_theme&&'post'!==BoldgridEditor.post_type||(!this.$resizeiframe&&(this.$resizeiframe=this.createIframe()),this._setIframeData(e).done(function(){o._postIframeProcess()}))}},{key:'_setIframeData',value:function(e){var o=s.Deferred();return this.$resizeiframe[0].src=e,this.$resizeiframe[0].onload=function(){o.resolve()},setTimeout(function(){o.resolve()},3e3),o}}]),e}()},"./assets/js/builder/tinymce/wp-mce-draggable.js":function(){var e=BOLDGRID.EDITOR;window.IMHWPB=IMHWPB||{},IMHWPB.WP_MCE_Draggable=function(){var o=this,n=jQuery;this.resize_selector='.mce-resizehandle',this.draggable_instance=!1;var a=n(window);this.draggable_inactive=!1,this.last_resize=null,this.phone_width_needed=620,this.tablet_width_needed=1250,this.desktop_width_needed=1270;var r=[];this.bind_window_resize=function(){var e=_.debounce(o.resize_done_event,300);a.on('resize',e)},this.highlight_screen_size=function(e){o.remove_icon_highlights(),n('.mce-boldgrid-'+e).addClass('boldgrid-highlighted-mce-icon')},this.remove_icon_highlights=function(){n('.mce-displaysize-imhwpb').removeClass('boldgrid-highlighted-mce-icon')};var s=n.Event('BoldGridPreInit');this.load_draggable=function(e){!1==o.draggable_instance&&(n(document).trigger(s,this),IMHWPB.WP_MCE_Draggable.draggable_instance=e.IMHWPB_Draggable({add_media_event_handler:o.add_media_action,insert_layout_event_handler:o.insert_layout_action,menu_items:r,main_container:!0},n).init(),o.draggable_instance=IMHWPB.WP_MCE_Draggable.draggable_instance),o.bind_events()},this.add_media_action=function(){o.insert_from_media_modal_tab('insert')},this.insert_from_media_modal_tab=function(e){BOLDGRID.EDITOR.mce.selection.setCursorLocation(o.draggable_instance.$boldgrid_menu_action_clicked,0),wp.media.editor.open(),wp.media.frame.setState(e)},this.insert_layout_action=function(){e.CONTROLS.Section.enableSectionDrag()},this.set_button_cursor=function(a){if(a.clientX){var e=n(this),r=o.draggable_instance.$master_container.find('button:not([data-mce-bogus])').not(e);o.replace_all_buttons(r),BOLDGRID.EDITOR.mce.selection.setCursorLocation(this,1)}},this.replace_all_buttons=function(e){e.each(function(){var e=this.outerHTML;n(this).replaceWith(e)})},this.bind_events=function(){o.draggable_instance.$master_container.on('mousedown.draggable_mce','.draggable-tools-imhwpb',o.boldgrid_tool_click).on('mouseup.draggable_mce','.draggable-tools-imhwpb',o.boldgrid_tool_click).on('add_column_dwpb.draggable_mce',o.add_column_done).on('drag_start_dwpb.draggable_mce',o.drag_start).on('delete_dwpb.draggable_mce',o.add_history).on('boldgrid_clone_element',o.add_history).on('drag_end_dwpb.draggable_mce',o.drag_end_event).on('add_row_event_dwpb.draggable_mce',o.set_cursor).on('boldgrid_edit_row.draggable_mce',o.edit_row).on('click.draggable_mce','button:not([data-mce-bogus])',o.set_button_cursor).on('click.draggable_mce','a',function(o){o.preventDefault()}).on('resize_start_dwpb.draggable_mce',o.prevent_edit).on('resize_done_dwpb.draggable_mce',o.column_resize_done),o.draggable_instance.$master_container.textSelect(o.text_select_start,o.text_select_end)},this.add_history=function(){o.add_tiny_mce_history()},this.drag_start=function(){BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1),BOLDGRID.EDITOR.mce.selection.collapse(!1),o.end_undo_level_mce(),o.draggable_instance.$master_container.find('html').addClass('drag-progress')},this.text_select_start=function(){o.draggable_instance.$master_container.find('html').addClass('selecting'),o.draggable_instance.$master_container.trigger('text_select_start')},this.text_select_end=function(){o.draggable_instance.$master_container.find('html').removeClass('selecting'),o.draggable_instance.$master_container.trigger('text_select_end')},this.set_cursor=function(e,o){BOLDGRID.EDITOR.mce.selection.setCursorLocation(o,0)},this.prevent_edit=function(){BOLDGRID.EDITOR.mce.selection.collapse(!1),o.draggable_instance.ie_version||BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1)},this.end_undo_level_mce=function(){IMHWPB.tinymce_undo_disabled=!0},this.drag_end_event=function(e,n){BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0),BOLDGRID.EDITOR.mce.selection.setCursorLocation(null),IMHWPB.tinymce_undo_disabled=!1,o.add_tiny_mce_history(),o.initialize_gallery_objects(o.draggable_instance.$master_container),o.draggable_instance.$master_container.find('html').removeClass('drag-progress'),tinymce&&BOLDGRID.EDITOR.mce.selection&&n&&BOLDGRID.EDITOR.mce.selection.setCursorLocation(n,0)},this.column_resize_done=function(){o.draggable_instance.ie_version||(BOLDGRID.EDITOR.mce.getBody().blur(),BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0),BOLDGRID.EDITOR.mce.selection.setCursorLocation(null)),a.trigger('resize')},this.add_column_done=function(e,n){o.add_tiny_mce_history(),o.initialize_gallery_objects(o.draggable_instance.$master_container),BOLDGRID.EDITOR.mce.selection.setCursorLocation(n,0)},this.add_tiny_mce_history=function(){BOLDGRID.EDITOR.mce.undoManager.add()},this.initialize_gallery_objects=function(e){'undefined'!=typeof IMHWPBGallery&&'undefined'!=typeof IMHWPBGallery.init_gallery&&(e.find('.masonry').removeClass('masonry'),IMHWPBGallery.init_gallery(e))},this.boldgrid_tool_click=function(){o.remove_mce_resize_handles(),o.draggable_instance.ie_version||(BOLDGRID.EDITOR.mce.selection.select(BOLDGRID.EDITOR.mce.getBody(),!0),BOLDGRID.EDITOR.mce.selection.collapse(!1))},this.remove_mce_resize_handles=function(){o.draggable_instance.$master_container.find('[data-mce-selected]').removeAttr('data-mce-selected'),o.draggable_instance.$master_container.find('.mce-resizehandle').remove(),n('.mce-wp-image-toolbar').hide(),o.draggable_instance.$master_container.find(o.resize_selector).hide()},this.addDeactivateClasses=function(){n('html').addClass('draggable-inactive'),n(BOLDGRID.EDITOR.mce.iframeElement).contents().find('html').addClass('draggable-inactive')},this.resize_done_event=function(){o.updateScreenLayout(),o.updateResizingIframe(),o.update_device_highlighting(),o.$window.trigger('resize.boldgrid-gallery')},this.updateResizingIframe=function(){e.Service.editorWidth.resizable&&(e.Service.editorWidth.$resizeiframe.attr('width',e.Controls.$container.$html.width()),e.Controls.$container.$body.css('width',e.Service.editorWidth.getWidth()))},this.updateScreenLayout=function(){IMHWPB.Editor.instance.currently_selected_size?'monitor'==IMHWPB.Editor.instance.currently_selected_size?1470<window.innerWidth?l():1355<window.innerWidth?i():d():'tablet'==IMHWPB.Editor.instance.currently_selected_size?1250<window.innerWidth?l():1134<window.innerWidth?i():d():'phone'==IMHWPB.Editor.instance.currently_selected_size&&l():1470<window.innerWidth?l():1355<window.innerWidth?i():1041<window.innerWidth?d():1040>=window.innerWidth&&o.set_num_columns(2)};var l=function(){o.set_num_columns(2),o.$body.removeClass('folded'),o.$window.trigger('scroll')},i=function(){o.set_num_columns(2),o.$body.addClass('folded'),o.$window.trigger('scroll')},d=function(){o.set_num_columns(1),o.$body.addClass('folded'),o.$window.trigger('scroll')};this.set_num_columns=function(e){1==e?o.$post_body.addClass('columns-1').removeClass('columns-2'):o.$post_body.addClass('columns-2').removeClass('columns-1')},this.update_device_highlighting=function(){if(e.Controls.$container.$iframe&&!o.draggable_inactive){var n=e.Controls.$container.$iframe.width();1061<n?o.highlight_screen_size('desktop'):837<n?o.highlight_screen_size('tablet'):o.highlight_screen_size('phone')}},this.bind_collapse_click=function(){n('#collapse-menu').on('click',function(){!IMHWPB.Editor.instance.currently_selected_size&&1355<window.innerWidth&&1470>window.innerWidth&&(o.$body.hasClass('folded')?(o.set_num_columns(2),o.$window.trigger('scroll')):(o.set_num_columns(1),o.$window.trigger('scroll'))),o.update_device_highlighting()})},this.bind_column_switch=function(){n('[name="screen_columns"]').on('click',function(){o.update_device_highlighting()})},this.add_menu_item=function(e,o,n){r.push({title:e,element_type:o,callback:n})},this.edit_row=function(e,o){var a=n(o).find('p, a');a.length&&BOLDGRID.EDITOR.mce.selection.setCursorLocation(a[0],0)},this.bind_min_max_controls=function(){var e=n('#max-row-overlay'),a=n('#min-row-overlay');e.on('click',function(){o.$resize_div.animate({height:'1000px'},1e3)}),a.on('click',function(){o.$resize_div.animate({height:'0px'},1e3)})},this.create_resize_handle=function(){var e=n('.temp-overlay');o.$resize_div.resizable({handles:{n:n('.resizable-n')},start:function(){e.addClass('active')},stop:function(){e.removeClass('active')}}).bind('resize',function(){n(this).css('top','auto')}).removeClass('ui-resizable')},n(function(){o.$window=n(window),o.$body=n('body'),o.$post_body=n('#post-body'),o.$editor_content_container=n('#poststuff'),o.$overlay_preview=n('#boldgrid-overlay-preview'),o.$resize_div=n('#resizable'),o.bind_column_switch(),o.bind_window_resize(),o.bind_collapse_click(),o.bind_min_max_controls(),o.create_resize_handle(),o.$window.trigger('resize')})}},"./assets/js/builder/tooltips.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.Tooltip={template:wp.template('boldgrid-editor-tooltip'),renderTooltips:function(){n._configTooltips(),n._inlineTooltips()},addTooltip:function(e,o){!1===e.children().first().hasClass('boldgrid-tooltip-wrap')&&e.prepend(n.template({message:o}))},_inlineTooltips:function(){o.Panel.$element.find('[data-tooltip-inline]').each(function(o,a){var r=e(a);n.addTooltip(r,r.data('tooltip-inline'))})},_configTooltips:function(){_.each(BoldgridEditor.builder_config.helpTooltip,function(a,r){o.Panel.$element.add(BOLDGRID.EDITOR.CONTROLS.Color.$colorPanel).find(r).each(function(){n.addTooltip(e(this),a)})})}},n=BOLDGRID.EDITOR.Tooltip}(jQuery)},"./assets/js/builder/util.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,n;o.Util={convertPxToEm:function(e,o){var n=0;return o=o?parseInt(o):0,e=e?parseInt(e):0,o&&e&&(n=(e/o).toFixed(1)),n},getClassesLike:function(o,n){var a=o.attr('class'),r=[],s=[];return r=a?a.split(' '):[],e.each(r,function(){0===this.indexOf(n)&&s.push(this)}),s},getComponentClasses:function(o,a){var r=e('<div>').attr('class',o),s=n.getClassesLike(r,a);return r.remove(),s},removeComponentClasses:function(e,o){var n=new RegExp('(^|\\s)'+o+'\\S+','g');e.removeClass(function(e,o){return(o.match(n)||[]).join(' ')})},checkBrowser:function(){var e=navigator.userAgent.search('Chrome'),o=navigator.userAgent.search('Firefox'),n=navigator.userAgent.search('MSIE 8.0'),a=navigator.userAgent.search('MSIE 9.0'),r;return-1<e?r='Chrome':-1<o?r='Firefox':-1<a?r='MSIE 9.0':-1<n&&(r='MSIE 8.0'),r}},n=BOLDGRID.EDITOR.Util}(jQuery)},"./assets/js/builder/validation/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.VALIDATION=BOLDGRID.EDITOR.VALIDATION||{},function(e){'use strict';BOLDGRID.EDITOR.VALIDATION.Section={};var o=BOLDGRID.EDITOR.VALIDATION.Section;e.fn.closestContext=function(e,o){var n;return n=this.is(e)?this:this.parentsUntil(o).filter(e).eq(0),n};var n='container',a='boldgrid-section',r='<div class="'+a+'"></div>',s='<div class="'+n+'"></div>',l=function(){var a=[],r;r=function(){e(a).wrapAll('<div class="'+n+'"><div class="row"><div class="col-md-12">'),a=[]},o.$context.find('> *').each(function(){var o=e(this);o.is('h1,h2,h3,h4,h5,h6,h7,a,img,p,button,ul,ol,dl,form,table,[data-imhwpb-draggable="true"],.wpview-wrap,.wpview,blockquote,code,abbr')?a.push(this):r()}),r()};o.updateContent=function(e){n=BoldgridEditor.default_container||'container-fluid',s='<div class="'+n+'"></div>',o.$context=e,l(),d(),p(),c(),i()},o.updateContainers=function(o){o.find(' .container, .container-fluid').each(function(){e(this).removeClass('container container-fluid').addClass(BoldgridEditor.default_container)})};var i=function(){o.$context.find('.boldgrid-section > .container-fluid').each(function(){var o=e(this),n=o.attr('class').replace('container-fluid','');o.attr('class','container-fluid'),o.parent().addClass(n)})},d=function(){o.$context.find('.container').each(function(){var n=e(this),r=n.parent();r.length&&r[0]!==o.$context[0]&&!1===r.hasClass(a)&&r.addClass(a)})},c=function(){o.$context.find('.row:not(.row .row)').each(function(){var n=e(this),l=n.parent();n.closestContext('.container, .container-fluid',o.$context).length||n.wrap(s),n.closestContext('.boldgrid-section',o.$context).length||(l.length&&l[0]!==o.$context[0]?l.addClass(a):n.parent().wrap(r))})},p=function(){o.$context.find('.container, .container-fluid').each(function(){var o=e(this);o.parent('.boldgrid-section').length||!1!==o.hasClass(a)||o.wrap(r)})}}(jQuery)},"./assets/js/builder/view.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),n.d(o,'View',function(){return l});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=window.jQuery,l=function(){function e(){a(this,e)}return r(e,[{key:'init',value:function(){this.renamePublishButton()}},{key:'renamePublishButton',value:function(){s('.post-type-bg_block.locale-en-us.post-new-php #submitdiv #publish').val('Save New Block')}}]),e}()},"./assets/js/index.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./node_modules/jquery/dist/jquery.js'),r=n.n(a),s=n('./node_modules/istyping/jquery.is-typing.js'),l=n.n(s),i=n('./node_modules/fourpan/jquery.fourpan.js'),d=n.n(i),c=n('./node_modules/textselect/jquery.text-select.js'),p=n.n(c),u=n('./node_modules/jquery-slimscroll/jquery.slimscroll.js'),g=n.n(u),m=n('./node_modules/wp-color-picker-alpha/src/wp-color-picker-alpha.js'),h=n.n(m),b=n('./node_modules/jquery-ui-dist/jquery-ui.structure.css'),f=n.n(b),C=n('./node_modules/jquery-ui-dist/jquery-ui.theme.css'),v=n.n(C),y=n('./assets/css/font-family-controls.min.css'),D=n.n(y),w=n('./assets/js/builder/tinymce/wp-mce-draggable.js'),E=n.n(w),k=n('./assets/js/builder/util.js'),F=n.n(k);window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR.$window=r()(window),function(e){e.keys().forEach(e)}(n('./assets/js/builder recursive \\.js#x27;))},"./includes/template/customize/background-color.html":function(e){e.exports='<div class="color-controls section generic-bg-color"> <h4>Background Color</h4> <label for=generic-bg-color class=color-preview></label> <input type=text data-type="" name=generic-bg-color class=color-control value=""> </div> '},"./includes/template/customize/color.html":function(e){e.exports='<div class="color-controls section <%=name %>"> <h4><%=label %></h4> <label for="<%=name %>" class=color-preview></label> <input type=text data-type="" name="<%=name %>" class=color-control value=""> </div> '},"./includes/template/customize/navigation.html":function(e){e.exports='<div class=customize-navigation> <% _.each( controls, function ( control, index ) { %> <div class=item data-tooltip-inline="<%=control.label %>" data-control-name="<%=control.name %>"> <a href=#><%=control.icon %></a> </div> <% } ); %> </div> '},"./includes/template/gridblock-library.html":function(e){e.exports='<div class=save-gridblock> <div class="save-prompt save-state"> <h2>Save Block to Your Library</h2> <h4>Any designs you save can be reused on any page or website.</h4> <form> <input required type=text placeholder="Enter title here"> <button class="bg-editor-button bg-primary-color btn btn-rounded save">Save</button> </form> </div> <div class="save-failed save-state"> <h2>Oops! An error occured.</h2> <h4>We were unable to add the Block to you library. Please try again later.</h4> <button class="bg-editor-button bg-primary-color btn btn-rounded dismiss">Okay, Got it!</button> </div> <div class="save-success save-state"> <h2>Block Saved!</h2> <h4>Your Block can be found in the admin area under Post and Page Builder, and will also be available in "Block Library" within the Add Blocks interface.</h4> <button class="bg-editor-button bg-primary-color btn btn-rounded dismiss">Okay, Got it!</button> </div> </div> '},"./includes/template/gridblock/lead.html":function(e){e.exports='<div class=editing-blocker> <div class=gridblock-lead> <p>Get Started with a Block</p> <p class=desc>Adding a Block will help you create your new page faster.</p> <div class=actions> <a class="button add-blank">Blank Page</a> <a class="boldgrid-color button button-primary gridblock-icon add-gridblock"><span class=wp-media-buttons-icon></span> Add Block</a> </div> </div> </div> '},"./includes/template/intro.html":function(e,o,n){e.exports='<div class=setup> <div data-step=welcome class="step active welcome" data-panel-width=600 data-panel-info="Step 1/3"> <img src='+n('./assets/image/notice/plugin-icon-editor.png')+'> <div class=step-content> <h2>Welcome to the Page &amp; Post Editor</h2> <p class=lead> In order to optimize your experience, let\'s setup your plugin with some preferences. If you choose to skip the setup we\'ll set default options that you can easily modify later. </p> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-secondary-color dismiss">Skip Setup</a> <a class="btn bg-editor-button btn-rounded bg-primary-color" data-action-step=choose-template>Okay, Let\'s Go!</a> </p> </div> </div> <div data-step=choose-template data-panel-info="Step 2/3" class="step choose-template" data-panel-width=350 data-panel-height=550 data-panel-title="Post and Page Builder - Templates"> <h3>Choose your default template:</h3> <p class=lead>The Post and Page Builder includes 3 custom page templates provide more layout control. Choose your default page template to use on new pages.</p> <div class=template-control> <label> <span class=radio> <span class=label>Full Width (Recommended)</span> <input class="template sidebar none" type=radio name=template checked=checked value=fullwidth> <span class=template-icon></span> </span> </label> <label> <span class=radio> <span class=label>Right Sidebar</span> <input class="template sidebar right" type=radio name=template value=right-sidebar> <span class=template-icon></span> </span> </label> <label> <span class=radio> <span class=label>Left Sidebar</span> <input class="template sidebar left" type=radio name=template value=left-sidebar> <span class=template-icon></span> </span> </label> <label> <span class=radio> <span class=label>Theme Default</span> <input class="template default" type=radio name=template value=default> <span class=template-icon></span> </span> </label> </div> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color" data-action-step=done>Next Step</a> </p> </div> <div data-step=choose-color-palette data-panel-info="Step 2/3" data-panel-width=400 data-panel-height=675 class=step data-panel-title="Post and Page Builder - Colors"> <div class=choose-palette></div> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color" disabled=disabled data-action-step=done>Next Step</a> </p> </div> <div class="done step" data-step=done data-panel-info="Step 3/3" data-panel-height=250 data-panel-width=525 data-panel-title="Post and Page Builder - Help"> <h2>Your done!</h2> <p> For help exploring the many features of this plugin please visit our support site: <a class=support-link target=_blank href="https://www.boldgrid.com/support/editing-your-pages/post-and-page-builder/?source=boldgrid-editor_setup">BoldGrid Page &amp; Post Editor</a>. </p> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color dismiss">Okay, Got It!</a> </p> </div> </div>'},"./includes/template/popover/column.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb style=top:82px;left:754.5px> <span class="popover-imhwpb top-popover-imhwpb column-popover-imhwpb"> <div title="Drag Column" contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true> </span></div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Column</li> <li class="no-select-imhwpb action-list" data-action=duplicate-column>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=clear>Clear Contents</li> <li class="no-select-imhwpb action-list" data-action=add-media>Insert Media</li> <li class="no-select-imhwpb action-list side-menu-parent" data-action=vertical-alignment>Vertical Alignment</li> <div class=side-menu> <ul> <li class="no-select-imhwpb action-list" data-action=align-default>Default</li> <li class="no-select-imhwpb action-list" data-action=align-top>Top</li> <li class="no-select-imhwpb action-list" data-action=align-center>Center</li> <li class="no-select-imhwpb action-list" data-action=align-bottom>Bottom</li> </ul> </div> <li class="no-select-imhwpb action-list" data-action=Box>Background</li> <% _.each( actions, function ( value ) {\n\t\t\t\tif ( \'column\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> </ul> </div> <div title="Edit Column" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span></div> </span> </div> '},"./includes/template/popover/content.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb> <div class="bg-drag-popover content-drag-handle"> <span class="popover-imhwpb content-popover-imhwpb left-popover-imhwpb"> <div title=Move contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true></span> </div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Content</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=Font>Font</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <% _.each( actions, function ( value ) {\n\t\t\t\t\t\tif ( \'content\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Content" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span> </div> <div title="Edit As Row" class="edit-as-row draggable-button"> <span class="genericon genericon-expand" aria-hidden=true></span></div> </span> </div> </div> '},"./includes/template/popover/row.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb> <span class="popover-imhwpb row-popover-imhwpb right-popover-imhwpb"> <div title="Drag Row" contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true> </span></div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Row</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=clear>Clear Contents</li> <li class="no-select-imhwpb action-list" data-action=insert-layout>Insert Block</li> <li class="no-select-imhwpb action-list" data-action=add-column>Add Column</li> <li class="no-select-imhwpb action-list" data-action=add-row>Add Empty Row</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <li class="no-select-imhwpb action-list" draggable=true data-action=nest-row></li> <% _.each( actions, function ( value ) {\n\t\t\t\tif ( \'row\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Row" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span></div> </span> </div> '},"./includes/template/popover/section.html":function(e){e.exports='<div class="bg-drag-popover section-drag-handle draggable-tools-imhwpb" spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on> <span class="popover-imhwpb section-popover-imhwpb bottom-popover-imhwpb"> <div title="Drag Sections" contenteditable=false class="move-sections no-select-imhwpb draggable-button"> <span class="genericon genericon-unzoom" aria-hidden=true></span> </div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Section</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=section-width>Section Width</li> <li class="no-select-imhwpb action-list" data-action=move-up>Move Up</li> <li class="no-select-imhwpb action-list" data-action=move-down>Move Down</li> <li class="no-select-imhwpb action-list" data-action=add-new>Add Empty Section</li> <li class="no-select-imhwpb action-list" data-action=save-gridblock>Save Block</li> <li class="no-select-imhwpb action-list" data-action=background>Change Background</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <% _.each( actions, function ( value ) {\n\t\t\t\t\tif ( \'section\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Section" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span> </div> </span> </div> '},"./node_modules/@boldgrid/components/src/components/config.js":function(e,o,n){'use strict';o.a={hr:n('./node_modules/@boldgrid/components/src/components/hr/config.js'),divider:n('./node_modules/@boldgrid/components/src/components/divider/config.js'),video:n('./node_modules/@boldgrid/components/src/components/video/config.js'),icon:n('./node_modules/@boldgrid/components/src/components/icon/config.js'),getComponent:function(e,o,n){return n=n||{},this[e].default.getComponent(o,n)}}},"./node_modules/@boldgrid/components/src/components/divider/config.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0}),o['default']={baseName:'bg-divider',styles:{clouds:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/clouds.svg')},"curve-async":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/curve-async.svg')},circle:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/circle.svg')},"fan-op":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/fan-op.svg')},mountains:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/mountains.svg')},brush:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/brush.svg')},"tilt-op":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/tilt-op.svg')},tilt:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/tilt.svg')},"triangle-async":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/triangle-async.svg')},"waves-smooth":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/waves-smooth.svg')},pyramid:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/pyramid.svg')},"big-triangle":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/big-triangle.svg')},drops:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/drops.svg')},book:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/book.svg')},split:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/split.svg')},waves:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/waves.svg')},arrow:{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/arrow.svg')},"half-circle":{svg:n('./node_modules/@boldgrid/components/src/components/divider/svg/half-circle.svg')}},getComponent:function(e,o){var n=[],a=this.styles[e];return o.position&&n.push(this.baseName+'-'+o.position),o.direction&&n.push(this.baseName+'-'+o.direction),n=n.join(' '),'\n\t\t\t<div class="'+this.baseName+' '+n+' '+this.baseName+'-'+e+'">\n\t\t\t\t'+a.svg+'\n\t\t\t</div>\n\t\t'}}},"./node_modules/@boldgrid/components/src/components/divider/svg/arrow.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 10" preserveAspectRatio="none"><path d="M350,10L340,0h20L350,10z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/big-triangle.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 100 102" preserveAspectRatio="none"><path d="M0 0 L50 100 L100 0 Z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/book.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M194,99c186.7,0.7,305-78.3,306-97.2c1,18.9,119.3,97.9,306,97.2c114.3-0.3,194,0.3,194,0.3s0-91.7,0-100c0,0,0,0,0-0 L0,0v99.3C0,99.3,79.7,98.7,194,99z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/brush.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="none"><path d="M283.5,9.7c0,0-7.3,4.3-14,4.6c-6.8,0.3-12.6,0-20.9-1.5c-11.3-2-33.1-10.1-44.7-5.7 s-12.1,4.6-18,7.4c-6.6,3.2-20,9.6-36.6,9.3C131.6,23.5,99.5,7.2,86.3,8c-1.4,0.1-6.6,0.8-10.5,2c-3.8,1.2-9.4,3.8-17,4.7 c-3.2,0.4-8.3,1.1-14.2,0.9c-1.5-0.1-6.3-0.4-12-1.6c-5.7-1.2-11-3.1-15.8-3.7C6.5,9.2,0,10.8,0,10.8V0h283.5V9.7z M260.8,11.3 c-0.7-1-2-0.4-4.3-0.4c-2.3,0-6.1-1.2-5.8-1.1c0.3,0.1,3.1,1.5,6,1.9C259.7,12.2,261.4,12.3,260.8,11.3z M242.4,8.6 c0,0-2.4-0.2-5.6-0.9c-3.2-0.8-10.3-2.8-15.1-3.5c-8.2-1.1-15.8,0-15.1,0.1c0.8,0.1,9.6-0.6,17.6,1.1c3.3,0.7,9.3,2.2,12.4,2.7 C239.9,8.7,242.4,8.6,242.4,8.6z M185.2,8.5c1.7-0.7-13.3,4.7-18.5,6.1c-2.1,0.6-6.2,1.6-10,2c-3.9,0.4-8.9,0.4-8.8,0.5 c0,0.2,5.8,0.8,11.2,0c5.4-0.8,5.2-1.1,7.6-1.6C170.5,14.7,183.5,9.2,185.2,8.5z M199.1,6.9c0.2,0-0.8-0.4-4.8,1.1 c-4,1.5-6.7,3.5-6.9,3.7c-0.2,0.1,3.5-1.8,6.6-3C197,7.5,199,6.9,199.1,6.9z M283,6c-0.1,0.1-1.9,1.1-4.8,2.5s-6.9,2.8-6.7,2.7 c0.2,0,3.5-0.6,7.4-2.5C282.8,6.8,283.1,5.9,283,6z M31.3,11.6c0.1-0.2-1.9-0.2-4.5-1.2s-5.4-1.6-7.8-2C15,7.6,7.3,8.5,7.7,8.6 C8,8.7,15.9,8.3,20.2,9.3c2.2,0.5,2.4,0.5,5.7,1.6S31.2,11.9,31.3,11.6z M73,9.2c0.4-0.1,3.5-1.6,8.4-2.6c4.9-1.1,8.9-0.5,8.9-0.8 c0-0.3-1-0.9-6.2-0.3S72.6,9.3,73,9.2z M71.6,6.7C71.8,6.8,75,5.4,77.3,5c2.3-0.3,1.9-0.5,1.9-0.6c0-0.1-1.1-0.2-2.7,0.2 C74.8,5.1,71.4,6.6,71.6,6.7z M93.6,4.4c0.1,0.2,3.5,0.8,5.6,1.8c2.1,1,1.8,0.6,1.9,0.5c0.1-0.1-0.8-0.8-2.4-1.3 C97.1,4.8,93.5,4.2,93.6,4.4z M65.4,11.1c-0.1,0.3,0.3,0.5,1.9-0.2s2.6-1.3,2.2-1.2s-0.9,0.4-2.5,0.8C65.3,10.9,65.5,10.8,65.4,11.1 z M34.5,12.4c-0.2,0,2.1,0.8,3.3,0.9c1.2,0.1,2,0.1,2-0.2c0-0.3-0.1-0.5-1.6-0.4C36.6,12.8,34.7,12.4,34.5,12.4z M152.2,21.1 c-0.1,0.1-2.4-0.3-7.5-0.3c-5,0-13.6-2.4-17.2-3.5c-3.6-1.1,10,3.9,16.5,4.1C150.5,21.6,152.3,21,152.2,21.1z"></path><path d="M269.6,18c-0.1-0.1-4.6,0.3-7.2,0c-7.3-0.7-17-3.2-16.6-2.9c0.4,0.3,13.7,3.1,17,3.3 C267.7,18.8,269.7,18,269.6,18z"></path><path d="M227.4,9.8c-0.2-0.1-4.5-1-9.5-1.2c-5-0.2-12.7,0.6-12.3,0.5c0.3-0.1,5.9-1.8,13.3-1.2 S227.6,9.9,227.4,9.8z"></path><path d="M204.5,13.4c-0.1-0.1,2-1,3.2-1.1c1.2-0.1,2,0,2,0.3c0,0.3-0.1,0.5-1.6,0.4 C206.4,12.9,204.6,13.5,204.5,13.4z"></path><path d="M201,10.6c0-0.1-4.4,1.2-6.3,2.2c-1.9,0.9-6.2,3.1-6.1,3.1c0.1,0.1,4.2-1.6,6.3-2.6 S201,10.7,201,10.6z"></path><path d="M154.5,26.7c-0.1-0.1-4.6,0.3-7.2,0c-7.3-0.7-17-3.2-16.6-2.9c0.4,0.3,13.7,3.1,17,3.3 C152.6,27.5,154.6,26.8,154.5,26.7z"></path><path d="M41.9,19.3c0,0,1.2-0.3,2.9-0.1c1.7,0.2,5.8,0.9,8.2,0.7c4.2-0.4,7.4-2.7,7-2.6 c-0.4,0-4.3,2.2-8.6,1.9c-1.8-0.1-5.1-0.5-6.7-0.4S41.9,19.3,41.9,19.3z"></path><path d="M75.5,12.6c0.2,0.1,2-0.8,4.3-1.1c2.3-0.2,2.1-0.3,2.1-0.5c0-0.1-1.8-0.4-3.4,0 C76.9,11.5,75.3,12.5,75.5,12.6z"></path><path d="M15.6,13.2c0-0.1,4.3,0,6.7,0.5c2.4,0.5,5,1.9,5,2c0,0.1-2.7-0.8-5.1-1.4 C19.9,13.7,15.7,13.3,15.6,13.2z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/circle.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="xMidYMin"><path d="M465,0 a2,3 0 0,0 75,0"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/clouds.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M-5 100 Q 0 20 5 100 Z M0 100 Q 5 0 10 100 M5 100 Q 10 30 15 100 M10 100 Q 15 10 20 100 M15 100 Q 20 30 25 100 M20 100 Q 25 -10 30 100 M25 100 Q 30 10 35 100 M30 100 Q 35 30 40 100 M35 100 Q 40 10 45 100 M40 100 Q 45 50 50 100 M45 100 Q 50 20 55 100 M50 100 Q 55 40 60 100 M55 100 Q 60 60 65 100 M60 100 Q 65 50 70 100 M65 100 Q 70 20 75 100 M70 100 Q 75 45 80 100 M75 100 Q 80 30 85 100 M80 100 Q 85 20 90 100 M85 100 Q 90 50 95 100 M90 100 Q 95 25 100 100 M95 100 Q 100 15 105 100 Z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/curve-async.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0c0,0,0,6,0,6.7c0,18,240.2,93.6,615.2,92.6C989.8,98.5,1000,25,1000,6.7c0-0.7,0-6.7,0-6.7H0z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/drops.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 27.8" preserveAspectRatio="xMidYMax slice"><path d="M0 0v1.4c.6.7 1.1 1.4 1.4 2 2 3.8 2.2 6.6 1.8 10.8-.3 3.3-2.4 9.4 0 12.3 1.7 2 3.7 1.4 4.6-.9 1.4-3.8-.7-8.2-.6-12 .1-3.7 3.2-5.5 6.9-4.9 4 .6 4.8 4 4.9 7.4.1 1.8-1.1 7 0 8.5.6.8 1.6 1.2 2.4.5 1.4-1.1.1-5.4.1-6.9.1-3.7.3-8.6 4.1-10.5 5-2.5 6.2 1.6 5.4 5.6-.4 1.7-1 9.2 2.9 6.3 1.5-1.1.7-3.5.5-4.9-.4-2.4-.4-4.3 1-6.5.9-1.4 2.4-3.1 4.2-3 2.4.1 2.7 2.2 4 3.7 1.5 1.8 1.8 2.2 3 .1 1.1-1.9 1.2-2.8 3.6-3.3 1.3-.3 4.8-1.4 5.9-.5 1.5 1.1.6 2.8.4 4.3-.2 1.1-.6 4 1.8 3.4 1.7-.4-.3-4.1.6-5.6 1.3-2.2 5.8-1.4 7 .5 1.3 2.1.5 5.8.1 8.1s-1.2 5-.6 7.4c1.3 5.1 4.4.9 4.3-2.4-.1-4.4-2-8.8-.5-13 .9-2.4 4.6-6.6 7.7-4.5 2.7 1.8.5 7.8.2 10.3-.2 1.7-.8 4.6.2 6.2.9 1.4 2 1.5 2.6-.3.5-1.5-.9-4.5-1-6.1-.2-1.7-.4-3.7.2-5.4 1.8-5.6 3.5 2.4 6.3.6 1.4-.9 4.3-9.4 6.1-3.1.6 2.2-1.3 7.8.7 8.9 4.2 2.3 1.5-7.1 2.2-8 3.1-4 4.7 3.8 6.1 4.1 3.1.7 2.8-7.9 8.1-4.5 1.7 1.1 2.9 3.3 3.2 5.2.4 2.2-1 4.5-.6 6.6 1 4.3 4.4 1.5 4.4-1.7 0-2.7-3-8.3 1.4-9.1 4.4-.9 7.3 3.5 7.8 6.9.3 2-1.5 10.9 1.3 11.3 4.1.6-3.2-15.7 4.8-15.8 4.7-.1 2.8 4.1 3.9 6.6 1 2.4 2.1 1 2.3-.8.3-1.9-.9-3.2 1.3-4.3 5.9-2.9 5.9 5.4 5.5 8.5-.3 2-1.7 8.4 2 8.1 6.9-.5-2.8-16.9 4.8-18.7 4.7-1.2 6.1 3.6 6.3 7.1.1 1.7-1.2 8.1.6 9.1 3.5 2 1.9-7 2-8.4.2-4 1.2-9.6 6.4-9.8 4.7-.2 3.2 4.6 2.7 7.5-.4 2.2 1.3 8.6 3.8 4.4 1.1-1.9-.3-4.1-.3-6 0-1.7.4-3.2 1.3-4.6 1-1.6 2.9-3.5 5.1-2.9 2.5.6 2.3 4.1 4.1 4.9 1.9.8 1.6-.9 2.3-2.1 1.2-2.1 2.1-2.1 4.4-2.4 1.4-.2 3.6-1.5 4.9-.5 2.3 1.7-.7 4.4.1 6.5.6 1.5 2.1 1.7 2.8.3.7-1.4-1.1-3.4-.3-4.8 1.4-2.5 6.2-1.2 7.2 1 2.3 4.8-3.3 12-.2 16.3 3 4.1 3.9-2.8 3.8-4.8-.4-4.3-2.1-8.9 0-13.1 1.3-2.5 5.9-5.7 7.9-2.4 2 3.2-1.3 9.8-.8 13.4.5 4.4 3.5 3.3 2.7-.8-.4-1.9-2.4-10 .6-11.1 3.7-1.4 2.8 7.2 6.5.4 2.2-4.1 4.9-3.1 5.2 1.2.1 1.5-.6 3.1-.4 4.6.2 1.9 1.8 3.7 3.3 1.3 1-1.6-2.6-10.4 2.9-7.3 2.6 1.5 1.6 6.5 4.8 2.7 1.3-1.5 1.7-3.6 4-3.7 2.2-.1 4 2.3 4.8 4.1 1.3 2.9-1.5 8.4.9 10.3 4.2 3.3 3-5.5 2.7-6.9-.6-3.9 1-7.2 5.5-5 4.1 2.1 4.3 7.7 4.1 11.6 0 .8-.6 9.5 2.5 5.2 1.2-1.7-.1-7.7.1-9.6.3-2.9 1.2-5.5 4.3-6.2 4.5-1 7.7 1.5 7.4 5.8-.2 3.5-1.8 7.7-.5 11.1 1 2.7 3.6 2.8 5 .2 1.6-3.1 0-8.3-.4-11.6-.4-4.2-.2-7 1.8-10.8 0 0-.1.1-.1.2-.2.4-.3.7-.4.8v.1c-.1.2-.1.2 0 0v-.1l.4-.8c0-.1.1-.1.1-.2.2-.4.5-.8.8-1.2V0H0zM282.7 3.4z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/fan-op.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 283.5 19.6" preserveAspectRatio="none"><path style="opacity:0.33" d="M0 0L0 18.8 141.8 4.1 283.5 18.8 283.5 0z"></path><path style="opacity:0.33" d="M0 0L0 12.6 141.8 4 283.5 12.6 283.5 0z"></path><path style="opacity:0.33" d="M0 0L0 6.4 141.8 4 283.5 6.4 283.5 0z"></path><path d="M0 0L0 1.2 141.8 4 283.5 1.2 283.5 0z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/half-circle.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M1000,4.3V0H0v4.3C0.9,23.1,126.7,99.2,500,100S1000,22.7,1000,4.3z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/mountains.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path opacity="0.33" d="M473,67.3c-203.9,88.3-263.1-34-320.3,0C66,119.1,0,59.7,0,59.7V0h1000v59.7 c0,0-62.1,26.1-94.9,29.3c-32.8,3.3-62.8-12.3-75.8-22.1C806,49.6,745.3,8.7,694.9,4.7S492.4,59,473,67.3z"></path><path opacity="0.66" d="M734,67.3c-45.5,0-77.2-23.2-129.1-39.1c-28.6-8.7-150.3-10.1-254,39.1 s-91.7-34.4-149.2,0C115.7,118.3,0,39.8,0,39.8V0h1000v36.5c0,0-28.2-18.5-92.1-18.5C810.2,18.1,775.7,67.3,734,67.3z"></path><path d="M766.1,28.9c-200-57.5-266,65.5-395.1,19.5C242,1.8,242,5.4,184.8,20.6C128,35.8,132.3,44.9,89.9,52.5C28.6,63.7,0,0,0,0 h1000c0,0-9.9,40.9-83.6,48.1S829.6,47,766.1,28.9z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/pyramid.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M761.9,44.1L643.1,27.2L333.8,98L0,3.8V0l1000,0v3.9"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/split.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 20" preserveAspectRatio="none"><path d="M0,0v3c0,0,393.8,0,483.4,0c9.2,0,16.6,7.4,16.6,16.6c0-9.1,7.4-16.6,16.6-16.6C606.2,3,1000,3,1000,3V0H0z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/tilt-op.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2600 131.1" preserveAspectRatio="none"><path d="M0 0L2600 0 2600 69.1 0 0z"></path><path style="opacity:0.5" d="M0 0L2600 0 2600 69.1 0 69.1z"></path><path style="opacity:0.25" d="M2600 0L0 0 0 130.1 2600 69.1z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/tilt.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,6V0h1000v100L0,6z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/triangle-async.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M738,99l262-93V0H0v5.6L738,99z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/waves-smooth.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7 c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V0H0v30.3c0,0,72,32.6,158.4,30.5c39.2-0.7,92.8-6.7,134-22.4 c21.2-8.1,52.2-18.2,79.7-24.2C399.3,7.9,411.6,7.5,421.9,6.5z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/divider/svg/waves.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1047.1 3.7" preserveAspectRatio="xMidYMin slice"><path d="M1047.1,0C557,0,8.9,0,0,0v1.6c0,0,0.6-1.5,2.7-0.3C3.9,2,6.1,4.1,8.3,3.5c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3C13.8,2,16,4.1,18.2,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C23.6,2,25.9,4.1,28,3.5c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C63,2,65.3,4.1,67.4,3.5 C68.3,3.3,69,1.6,69,1.6s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 C82.7,2,85,4.1,87.1,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3C92.6,2,94.8,4.1,97,3.5c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9 c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9c0,0,0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2 c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.7-0.3 c1.2,0.7,3.5,2.8,5.6,2.2c0.9-0.2,1.5-1.9,1.5-1.9s0.6-1.5,2.6-0.4V0z M2.5,1.2C2.5,1.2,2.5,1.2,2.5,1.2C2.5,1.2,2.5,1.2,2.5,1.2z M2.7,1.4c0.1,0,0.1,0.1,0.1,0.1C2.8,1.4,2.8,1.4,2.7,1.4z"></path></svg>'},"./node_modules/@boldgrid/components/src/components/hr/config.js":function(e){e.exports={styles:['bg-hr bg-hr-16','bg-hr bg-hr-15','bg-hr bg-hr-14','bg-hr bg-hr-1','bg-hr bg-hr-19','bg-hr bg-hr-2','bg-hr bg-hr-20','bg-hr bg-hr-18','bg-hr bg-hr-3','bg-hr bg-hr-17','bg-hr bg-hr-7','bg-hr bg-hr-4','bg-hr bg-hr-5','bg-hr bg-hr-6','bg-hr bg-hr-8','bg-hr bg-hr-9','bg-hr bg-hr-10','bg-hr bg-hr-11','bg-hr bg-hr-13'],getComponent:function(e){return'\n\t\t\t<hr class="'+e+'">\n\t\t'}}},"./node_modules/@boldgrid/components/src/components/icon/config.js":function(e){e.exports={styles:['bg-icon bg-icon-1','bg-icon bg-icon-2','bg-icon bg-icon-3','bg-icon bg-icon-4','bg-icon bg-icon-5','bg-icon bg-icon-6']}},"./node_modules/@boldgrid/components/src/components/video/config.js":function(e){e.exports={styles:['bg-video bg-video-1','bg-video bg-video-2','bg-video bg-video-3']}},"./node_modules/@boldgrid/controls/src/controls/animation/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return E});var r=n('./node_modules/@boldgrid/controls/src/controls/animation/template.html'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/animation/style.scss'),i=n.n(l),d=n('./node_modules/jquery/dist/jquery.js'),c=n.n(d),p=n('./node_modules/select2/dist/css/select2.min.css'),u=n.n(p),g=n('./node_modules/select2/dist/js/select2.min.js'),m=n.n(g),h=n('./node_modules/animate.css/animate.css'),b=n.n(h),f=n('./node_modules/@boldgrid/controls/src/controls/slider/index.js'),C=n('./node_modules/animate.css/animate-config.json'),v=n.n(C),y=n('./node_modules/title-case/title-case.js'),D=n.n(y),w=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),E=function(){function e(o){a(this,e),this.options=o||{},this.$target=this.options.target,this.animationClasses=_.flatten(_.values(v.a)),this.animationClassesString=this.animationClasses.join(' '),this.delayControl=new f.a({name:'animation-delay',label:'Delay (secs)',uiSettings:{min:0,max:4,value:this.getDefault('data-wow-delay'),step:.1}}),this.durationControl=new f.a({name:'animation-duration',label:'Duration (secs)',uiSettings:{min:.5,max:4,value:this.getDefault('data-wow-duration'),step:.1}})}return w(e,[{key:'getDefault',value:function(e){var o=this.$target.attr(e);return'undefined'==typeof o&&(o='1'),o.replace('s','')}},{key:'render',value:function(){return this.$durationSlider=this.durationControl.render(),this.$delaySlider=this.delayControl.render(),this.$control=c()(_.template(s.a)({animateConfig:v.a,titleCase:D.a})),this.$control.find('durationSlider').replaceWith(this.$durationSlider),this.$control.find('delaySlider').replaceWith(this.$delaySlider),this.$typeControl=this.$control.find('select'),this._presetType(),this.$typeControl.select2(),this._bindEvents(),this.$control}},{key:'_presetType',value:function(){if(this.$target.hasClass('wow')){var e=!0,o=!1,n;try{for(var a=this.animationClasses[Symbol.iterator](),r,s;!(e=(r=a.next()).done);e=!0)s=r.value,this.$target.hasClass(s)&&this.$typeControl.val(s)}catch(e){o=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(o)throw n}}}}},{key:'removeSettings',value:function(){this.$target.removeClass('wow'),this.$target.removeAttr('data-wow-duration'),this.$target.removeAttr('data-wow-delay'),this._removeAnimationClasses()}},{key:'saveAnimation',value:function(e){var o=this,n=this.durationControl.$input.val()+'s',a=this.delayControl.$input.val()+'s';this.$target.addClass('wow'),this._removeAnimationClasses(),this.$target.addClass('animated'),this.$target.addClass(e),this.$target.css('animation-duration',n),this.$target.attr('data-wow-duration',n),this.$target.attr('data-wow-delay',a),this.$target.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){o._removeAnimationClasses(),o.$target.addClass(e)})}},{key:'triggerAnimation',value:function(){var e=this.$typeControl.val();e?this.saveAnimation(e):this.removeSettings()}},{key:'_bindEvents',value:function(){var e=this;this.$typeControl.on('change',function(){return e.triggerAnimation()}),this.durationControl.$control.on('slide-change',function(){return e._updateAnimationSettings()}),this.delayControl.$control.on('slide-change',function(){return e._updateAnimationSettings()})}},{key:'_updateAnimationSettings',value:function(){var e=this.durationControl.$input.val()+'s',o=this.delayControl.$input.val()+'s';this.$typeControl.val()&&(this.$target.attr('data-wow-duration',e),this.$target.attr('data-wow-delay',o))}},{key:'_removeAnimationClasses',value:function(){this.$target.removeClass('animated'),this.$target.removeClass(this.animationClassesString),this.$target.css('animation-duration','')}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/animation/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/animation/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/animation/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/animation/template.html":function(e){e.exports='<div class="boldgrid-control animation-control"> <h3 class=control-title>Animation</h3> <div class=animation-type-control> <h4 class=control-title>Type</h4> <select class=animations name=animation-type> <option value="">None</option> <% _.each( animateConfig, function ( category, categoryName ) { %> <optgroup label="<%= titleCase( categoryName )%>"> <%\t_.each( category, function ( animationName ) { %> <option value="<%=animationName %>"><%=titleCase( animationName ) %></option> <% } ); %> </optgroup> <% } ); %> </select> </div> <durationslider/> <delayslider/> </div> '},"./node_modules/@boldgrid/controls/src/controls/border-radius/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}n.d(o,'a',function(){return p});var l=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/conversion.js'),d=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),c=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},p=function(e){function o(e){a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return n.controlOptions={control:{title:'Border Radius',name:'border-radius',units:{default:'px',enabled:['px','em','%']},sliders:[{name:'top-left',label:'Top Left',cssProperty:'border-top-left-radius'},{name:'top-right',label:'Top Right',cssProperty:'border-top-right-radius'},{name:'bottom-right',label:'Bottom Right',cssProperty:'border-bottom-right-radius'},{name:'bottom-left',label:'Bottom Left',cssProperty:'border-bottom-left-radius'}]},slider:{px:{min:0,max:50,step:1},em:{step:0.1,min:0,max:5},"%":{min:0,max:50,step:1}}},n}return s(o,e),d(o,[{key:'convertToSelectedUnit',value:function(e){var n,a;return-1!==e.indexOf('%')&&(e=parseInt(e),e=new i.a().percentageToPixel(e,this.$target)),'%'===this.selectedUnit?(a=parseInt(e),n=new i.a().pxToPercentage(a,this.$target)):n=c(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'convertToSelectedUnit',this).call(this,e),n}}]),o}(l.a)},"./node_modules/@boldgrid/controls/src/controls/border-radius/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/border-radius/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/border/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}n.d(o,'a',function(){return h});var l=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=n('./node_modules/@boldgrid/controls/src/controls/border/template.html'),d=n.n(i),c=n('./node_modules/@boldgrid/controls/src/controls/border/style.scss'),p=n.n(c),u=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),g=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},m=window.jQuery,h=function(e){function o(e){a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return n.controlOptions={control:{title:'Border Width',name:'border-width',units:{default:'px',enabled:['px','em']}},slider:{px:{step:0.1,min:0,max:15},em:{min:0,max:5,step:0.1}}},n.borderDirections=['left','top','right','bottom'],n}return s(o,e),u(o,[{key:'render',value:function(){var e;return g(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this),this.$typeControl=m(d.a),this.bindEvents(),e=this.$typeControl.append(this.$control),e}},{key:'bindEvents',value:function(){this._bindTypeChange(),this.refreshValues(),this._setType()}},{key:'_setType',value:function(){var e=this._getBorderStyle();return e='none'===e?'':e,this.$typeControl.find('.border-type-control input').filter('[value="'+e+'"]').prop('checked',!0)}},{key:'_getBorderStyle',value:function(){var e='',o=!0,n=!1,a;try{for(var r=this.borderDirections[Symbol.iterator](),s;!(o=(s=r.next()).done);o=!0){var l=s.value,i=this.$target.css('border-'+l+'-style');if('none'!==i){e=i;break}}}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}return e}},{key:'refreshValues',value:function(){var e;g(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'refreshValues',this).call(this),e=this._setType(),this._toggleWidthControl(e.val())}},{key:'_toggleWidthControl',value:function(e){e?this.$control.show():this.$control.hide()}},{key:'_bindTypeChange',value:function(){var o=this;this.$typeControl.find('input').on('change',function(n){var e=m(n.target),a=e.val();o.applyCssRules({"border-style":a}),o._toggleWidthControl(a),o.$control.trigger('type-change',a)})}}]),o}(l.a)},"./node_modules/@boldgrid/controls/src/controls/border/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/border/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/border/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/border/template.html":function(e){e.exports='<div class="boldgrid-control border-control"> <div class=border-type-control> <h4 class=control-title>Border Type</h4> <ul> <li><label><input type=radio name=border-type checked=checked value="">None</label></li> <li><label><input type=radio name=border-type value=dashed>Dashed</label></li> <li><label><input type=radio name=border-type value=double>Double</label></li> <li><label><input type=radio name=border-type value=solid>Solid</label></li> <li><label><input type=radio name=border-type value=dotted>Dotted</label></li> </ul> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/box-shadow/config.js":function(e,o){'use strict';o.a={controlOptions:{control:{title:'Box Shadow',name:'box-shadow',linkable:!1,units:{default:'px',enabled:['px']},sliders:[{name:'horizontal-position',label:'Horizontal Position',cssProperty:'border-top-left-radius'},{name:'vertical-position',label:'Vertical Position',cssProperty:'border-top-right-radius'},{name:'blur-radius',label:'Blur Radius',cssProperty:'border-bottom-right-radius'},{name:'spread-radius',label:'Spread Radius',cssProperty:'border-bottom-right-radius'}]},slider:{px:{min:-200,max:200},em:{min:0.1,max:5}}},sliderConfig:{"horizontal-position":{min:-50,max:50},"vertical-position":{min:-50,max:50},"blur-radius":{min:0,max:100},"spread-radius":{min:-25,max:25}}}},"./node_modules/@boldgrid/controls/src/controls/box-shadow/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}n.d(o,'a',function(){return b});var l=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=n('./node_modules/@boldgrid/controls/src/controls/switch/index.js'),d=n('./node_modules/@boldgrid/controls/src/controls/color-picker/index.js'),c=n('./node_modules/@boldgrid/controls/src/controls/box-shadow/parser.js'),p=n('./node_modules/@boldgrid/controls/src/controls/box-shadow/config.js'),u=n('./node_modules/@boldgrid/controls/src/controls/box-shadow/style.scss'),g=n.n(u),m=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),h=function e(o,n,a){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,n);if(void 0===r){var s=Object.getPrototypeOf(o);return null===s?void 0:e(s,n,a)}if('value'in r)return r.value;var l=r.get;return void 0===l?void 0:l.call(a)},b=function(e){function o(e){a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return n.parser=new c.a,n.slidersLinked=!1,n.controlOptions=p.a.controlOptions,n.sliderConfig=p.a.sliderConfig,n.currentValues=n.getCurrentValues(),n.shadowType=n.currentValues.inset?'inset':'',n.shadowColor=n.getShadowColor(),n.switchControl=new i.a({name:'box-shadow-outline',label:'Outline / Inset'}),n.colorPicker=new d.a,n}return s(o,e),m(o,[{key:'getShadowColor',value:function(){return this.currentValues.color||'#cecece'}},{key:'getSliderConfig',value:function(e){return this.currentValues=this.getCurrentValues(),this.currentValues&&(this.sliderConfig[e.name].value=this.currentValues[e.name]),this.sliderConfig[e.name]}},{key:'getCurrentValues',value:function(){return this.parser.parse(this.$target.css('box-shadow'))}},{key:'render',value:function(){var e;return h(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this),this._setupOutlineSwitch(),this._setupColorPicker(),e=this.$control.add(this.switchControl.$element),e=e.add(this.colorPicker.$element),e}},{key:'refreshValues',value:function(){var e;h(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'refreshValues',this).call(this),this.updateCheckedSetting(),this.updateShadowType(),e=this.colorPicker.$input.iris('option','change'),this.colorPicker.$input.iris('option','change',function(){}),this.colorPicker.$input.iris('color',this.getShadowColor()),this.colorPicker.$input.iris('option','change',e)}},{key:'_updateCss',value:function(){var e=this.getValues(),o=this.controlOptions.control.name,n=[];n.push(this.shadowType),n.push(e['horizontal-position']+this.selectedUnit),n.push(e['vertical-position']+this.selectedUnit),n.push(e['blur-radius']+this.selectedUnit),n.push(e['spread-radius']+this.selectedUnit),n.push(this.shadowColor),n=n.join(' '),this.applyCssRules({"box-shadow":n})}},{key:'_setupColorPicker',value:function(){var o=this,e=_.defaults(this.options.colorPicker||{},{defaultColor:this.shadowColor,hide:!1,change:function(){}});this.colorPicker.init(!1,e),this.colorPicker.$input.iris('option','change',function(n,e){o.shadowColor=e.color.toString(),o._updateCss()})}},{key:'updateCheckedSetting',value:function(){this.switchControl.$input.prop('checked',this.currentValues.inset)}},{key:'updateShadowType',value:function(){this.shadowType=this.switchControl.isEnabled()?'inset':''}},{key:'_setupOutlineSwitch',value:function(){var e=this;this.switchControl.render(),this.updateCheckedSetting(),this.switchControl.$input.on('change',function(){e.updateShadowType(),e._updateCss()})}}]),o}(l.a)},"./node_modules/@boldgrid/controls/src/controls/box-shadow/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/box-shadow/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/box-shadow/parser.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return s});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=function(){function e(){a(this,e),this.regex=/(-?\d+px)|(rgb\(.+\))/g,this.propertyOrder=['horizontal-position','vertical-position','blur-radius','spread-radius'],this.default={inset:!1,"horizontal-position":0,"vertical-position":0,"blur-radius":0,"spread-radius":0,color:!1}}return r(e,[{key:'parse',value:function(e){var o=this.default,n=e.match(this.regex),a=0;if(o.inset=-1!==e.indexOf('inset'),!n||2>=n.length)return!1;var r=!0,s=!1,l;try{for(var i=n[Symbol.iterator](),d,c;!(r=(d=i.next()).done);r=!0)c=d.value,-1===c.indexOf('rgb')?'inset'===c?o.inset=!0:-1!==c.indexOf('px')&&(o[this.propertyOrder[a]]=parseInt(c),a++):o.color=c}catch(e){s=!0,l=e}finally{try{!r&&i.return&&i.return()}finally{if(s)throw l}}return o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/box-shadow/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/checkbox/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return p});var r=n('./node_modules/@boldgrid/controls/src/controls/checkbox/template.html'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/checkbox/style.scss'),i=n.n(l),d=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),c=window.jQuery,p=function(){function e(o){a(this,e),this.options=_.defaults(o||{},{name:_.random(0,1e4),label:'My Checkbox'}),this.template=_.template(s.a)}return d(e,[{key:'render',value:function(){return this.$element=c(this.template(this.options)),this.$input=this.$element.find('input'),this.$element}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/checkbox/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/checkbox/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/checkbox/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/checkbox/template.html":function(e){e.exports='<div class=mdc-form-field> <div class=mdc-checkbox> <input type=checkbox id="<%=name %>" name="<%=name %>" class=mdc-checkbox__native-control /> <div class=mdc-checkbox__background> <svg class=mdc-checkbox__checkmark viewBox="0 0 24 24"> <path class=mdc-checkbox__checkmark__path fill=none stroke=white d="M1.73,12.91 8.1,19.28 22.79,4.59"/> </svg> <div class=mdc-checkbox__mixedmark></div> </div> <label for="<%=name %>"> <%=typeof icon !== \'undefined\' ? icon : \'\' %> <span class=label-text><%=label %></span></label> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/color-picker/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/color-picker/js/picker.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/color-picker/js/picker.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return p});var r=n('./node_modules/color-js/color.js'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/color-picker/style.scss'),i=n.n(l),d=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),c=window.jQuery,p=function(){function e(){a(this,e)}return d(e,[{key:'init',value:function(e,o){return this.options=_.defaults(o||{},{clear:!1,width:255,mode:'hsv',type:'full',slider:'horizontal',hide:!0,defaultColor:!1,palettes:!0,secondaryPalette:[]}),this.$element=e||c('<div data-value="'+this.options.defaultColor+'"></div>'),this.$input=this.createColorInput(),this.setupIris(),o.hide&&this.setupAutoCollapse(),this}},{key:'setupAutoCollapse',value:function(){var e=this;c('body').on('click',function(){e.hide(),e.$element.addClass()}),this.$element.on('click',function(o){return o.stopPropagation()})}},{key:'hide',value:function(){c.contains(document,this.$input[0])&&(this.$element.hide(),this.$element.attr('data-state','hidden'),this.$input.iris('hide'))}},{key:'show',value:function(){this.$element.show(),this.$element.attr('data-state','visible'),this.$input.iris('show')}},{key:'setupIris',value:function(){this.$input.iris(this.options),this.createPickerPalettes(),this.bindCustomPalettes()}},{key:'createColorInput',value:function(){var e=this.$element.attr('data-value'),o=c('<input type="text" data-alpha="true" class="pluto-color-control color-control-input"/>');return o.val(e).change(),this.$element.html(o),o.wrapAll('<div class="custom-input bg-color-picker-control boldgrid-control"></div>'),o}},{key:'createPickerPalettes',value:function(){for(var e=c('<div class="secondary-colors"></div>'),o=0;o<this.options.secondaryPalette.length;o++)e.append('<a class="iris-palette" tabindex="0"></a>');e.prependTo(this.$element.find('.iris-picker-inner')),this.$input.iris('option','width',this.options.width)}},{key:'bindCustomPalettes',value:function(){var o=this;this.$element.find('.secondary-colors .iris-palette').on('click',function(n){o.setColor(c(n.target).css('background-color'))})}},{key:'setColor',value:function(e){var o=s()(e);this.$input.iris('color',o.toString())}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color-picker/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js":function(e,o){'use strict';o.a=[['#DB3E3E','#030000','#E97070','#6E0E0E','#FEBCA3'],['#FFCD57','#E8ED76','#E6F0AF','#D7E8D5','#4A3A47'],['#FA6900','#F38630','#E0E4CC','#A7DBD8','#69D2E7'],['#FC9D9A','#F9CDAD','#C8C8A9','#83AF9B','#FE4365'],['#D95B43','#ECD078','#53777A','#542437','#C02942'],['#FF6B6B','#C7F464','#4ECDC4','#556270','#C44D58'],['#E08E79','#774F38','#F1D4AF','#ECE5CE','#C5E0DC'],['#E8DDCB','#CDB380','#036564','#033649','#031634'],['#E97F02','#F8CA00','#8A9B0F','#490A3D','#BD1550'],['#594F4F','#E5FCC2','#9DE0AD','#45ADA8','#547980'],['#EB6841','#6A4A3C','#EDC951','#00A0B0','#CC333F'],['#C6A49A','#F4EAD5','#C6E5D9','#E94E77','#D68189'],['#7A6A53','#D9CEB2','#948C75','#D5DED9','#99B2B7'],['#FF9E9D','#DAD8A7','#7FC7AF','#3FB8AF','#FF3D7F'],['#FFFFFF','#1C140D','#F2E9E1','#CBE86B','#CBE86B'],['#DCE9BE','#EFFFCD','#2E2633','#99173C','#555152'],['#343838','#005F6B','#008C9E','#00DFFC','#00B4CC'],['#F0B49E','#F7E4BE','#413E4A','#73626E','#B38184'],['#FF847C','#FECEA8','#99B898','#2A363B','#E84A5F'],['#FC913A','#F9D423','#EDE574','#E1F5C4','#FF4E50'],['#554236','#F77825','#D3CE3D','#F1EFA5','#60B99A'],['#E8CAA4','#64908A','#424254','#351330','#CC2A41'],['#F9F2E7','#8FBE00','#AEE239','#40C0CB','#00A8C6'],['#BF4D28','#655643','#E6AC27','#F6F7BD','#80BCA3'],['#FF4242','#F4FAD2','#D4EE5E','#E1EDB9','#F0F2EB'],['#8C2318','#F2C45A','#BFB35A','#88A65E','#5E8C6A'],['#F5634A','#FF9C5B','#FAD089','#3B8183','#ED303C'],['#FFFFFF','#000000','#D1E751','#4DBCE9','#26ADE4'],['#F27435','#CFBE27','#BCBDAC','#3B2D38','#F02475'],['#424242','#E9E9E9','#BCBCBC','#FF9900','#3299BB'],['#EBE3AA','#CAD7B2','#A8CABA','#838689','#5D4157'],['#5E412F','#F07818','#F0A830','#FCEBB6','#78C0A8'],['#F8B195','#355C7D','#6C5B7B','#C06C84','#F67280'],['#BEF202','#88C425','#EAFDE6','#519548','#1B676B'],['#C5BC8E','#EEE6AB','#696758','#36393B','#45484B'],['#E4844A','#E8BF56','#E2F7CE','#91204D','#452632'],['#FF823A','#FFF7BD','#F2F26F','#95CFB7','#F04155'],['#FA2A00','#3D1C00','#F0D8A8','#F2D694','#86B8B1'],['#A0C55F','#7AB317','#0D6759','#0B2E59','#2A044A'],['#CCBF82','#B8AF03','#67917A','#170409','#E33258'],['#7B3B3B','#493736','#B9D7D9','#668284','#2A2829'],['#EEAA88','#EEC290','#EEDD99','#CCC68D','#BBBB88'],['#F85931','#EDB92E','#A3A948','#009989','#CE1836'],['#E8D5B9','#E8D5B7','#F5B349','#0E2430','#FC3A51'],['#EF746F','#FFBE40','#ECF081','#B3CC57','#AB3E5B'],['#BCA297','#F0E2A4','#F4EBC3','#C5CEAE','#AB526B'],['#604848','#F0F0D8','#C0D860','#789048','#607848'],['#5A2E2E','#DFBA69','#FFFEDF','#3E4147','#2A2C31'],['#C04848','#F07241','#300030','#480048','#601848'],['#E8CAAF','#EEE0B7','#EBEFC9','#C4CBB7','#AAB3AB'],['#FFAAA6','#FFD3B5','#DCEDC2','#A8E6CE','#FF8C94'],['#D3643B','#403B33','#EDEBE6','#D6E1C7','#94C7B6'],['#D14334','#FFEAAD','#B3E099','#028F76','#1C2130'],['#987F69','#E3AD40','#FDF1CC','#FCD036','#C6D6B8'],['#29221F','#FCF7C5','#0ABFBC','#13747D','#FC354C'],['#E6781E','#C8CF02','#F8FCC1','#1693A7','#CC0C39'],['#E6F9BC','#BCDEA5','#83988E','#574951','#3A111C'],['#F88F79','#F6AA93','#B28774','#B9D3B0','#81BDA4'],['#EBEBBC','#BCE3C5','#82B3AE','#230F2B','#F21D41'],['#5E3929','#CD8C52','#FCF7D3','#DEE8BE','#B7D1A3'],['#E15E32','#E5F04C','#C0D23E','#5C323E','#A82743'],['#DAD6CA','#1BB0CE','#4F8699','#6A5E72','#563444'],['#C6A9A3','#EBD8B7','#99BBAD','#5B527F','#9A8194'],['#DC5B3E','#CCFC8E','#8EBE94','#4E395D','#827085'],['#FEDCBA','#ECDBBC','#DADABD','#C8D9BF','#B6D8C0'],['#EB7B59','#E5DDCB','#A7C5BD','#524656','#CF4647'],['#FEA6A2','#F9D6AC','#988864','#FFE9AF','#8DCCAD'],['#C21A01','#F03C02','#1C0113','#A30006','#6B0103'],['#E5625C','#F9BF76','#8EB2C5','#615375','#D1313D'],['#9D7E79','#CCAC95','#9A947C','#748B83','#5B756C'],['#C2412D','#D1AA34','#A7A844','#5A1E4A','#A46583'],['#CFFFDD','#B4DEC1','#5C5863','#A85163','#FF1F4C'],['#A8A7A7','#474747','#363636','#E8175D','#CC527A'],['#E3DFBA','#C8D6BF','#1A1F1E','#93CCC6','#6CBDB5'],['#FFEAF2','#FBC5D8','#FCD9E5','#382F32','#F1396D'],['#605951','#C1B398','#FBEEC2','#ACCEC0','#61A6AB'],['#413D3D','#C8FF00','#040004','#FA023C','#4B000F'],['#F56218','#FF9D2E','#FFFEC7','#919167','#9DC9AC'],['#A5A36C','#F5F4D7','#535233','#E0DFB1','#951F2B'],['#D34017','#F8F3BF','#DCE4F7','#BFCFF7','#75616B'],['#F87E7B','#FAB87F','#DCD1B4','#5E9FA3','#B05574'],['#F54828','#F7803C','#F8E4C1','#FFEDBF','#2E0D23'],['#412E28','#D1C089','#151101','#EDF6EE','#B3204D'],['#000000','#CCCCCC','#292C37','#B11623','#9F111B'],['#FFFBB7','#A6F6AF','#66B6AB','#5B7C8D','#4F2958'],['#EFF3CD','#B2D5BA','#61ADA0','#248F8D','#605063'],['#F8A13F','#E8F9A2','#A5AAD9','#7E5686','#BA3C3D'],['#4E3F30','#F8F4E4','#FEFEEB','#A5B3AA','#0CA5B0'],['#633D2E','#F7AF63','#DDD9AB','#BFD8AD','#9CDDC8'],['#353432','#4E4D4A','#94BA65','#2790B0','#2B4E72'],['#FAFBE3','#CDCFB7','#FCFEF5','#D6E6C3','#E9FFE1'],['#4D3B3B','#DE6262','#FFD0B3','#F5E0D3','#FFB88C'],['#AC2005','#2C1507','#BB8138','#ECCF8D','#84B295'],['#2D2D29','#92C7A3','#DFECE6','#3CA2A2','#215A6D'],['#F38A8A','#55443D','#F1EDD0','#CDE9CA','#A0CAB5'],['#FB6B41','#F6D86B','#339194','#A70267','#F10C49'],['#D88A8A','#F8EDD1','#9D9D93','#474843','#C5CFC6'],['#403831','#30261C','#36544F','#1F5F61','#0B8185'],['#FF9C97','#EEE9E5','#FAD3B2','#FFBA7F','#FFE181'],['#ECBE13','#93A42A','#2FB8AC','#309292','#046D8B'],['#1F1C0D','#BBB749','#E0FBAC','#78AE62','#379F7A'],['#E0E0E0','#82837E','#BDEB07','#94B053','#BFFA37'],['#8B7A5E','#FFEFD3','#FFFEE4','#9FD6D2','#D0ECEA'],['#E86E1C','#ECBA09','#B5AC01','#1B1521','#D41E45'],['#FF8A00','#FABE28','#88C100','#00C176','#FF003C'],['#86C28B','#859987','#77B885','#6DA67A','#4A4857'],['#A38A5F','#D1C5A5','#8C873E','#793A57','#4D3339'],['#BBB2A1','#A79B83','#8A7E66','#ADC0B4','#BED6C7'],['#D9D9D9','#C4FFEB','#312736','#D4838F','#D6ABB1'],['#FFA566','#395A4F','#432330','#853C43','#F25C5E'],['#E46F0A','#F0B300','#11766D','#410936','#A40B54'],['#C75233','#C78933','#D6CEAA','#79B5AC','#5E2F46'],['#CAFF42','#EBF7F8','#88ABC2','#49708A','#D0E0EB'],['#333333','#FBFFE3','#83A300','#E21B5A','#9E0C39'],['#FFD8D8','#F5A2A2','#805841','#FFFCDD','#DCF7F3'],['#F45D4C','#F7A541','#FACA66','#FEE5AD','#A1DBB2'],['#BD5532','#E1B866','#DEE1B6','#73C8A9','#373B44'],['#FAAD8E','#FFD6A3','#FFF0B8','#FDFFD9','#142F30'],['#F35F55','#FBC599','#CDBB93','#9EAE8A','#335650'],['#FDE6BD','#F4DD51','#A1C5AB','#632F53','#D11E48'],['#E6867A','#D9AB91','#D9D5A7','#C7FCD7','#ED4A6A'],['#E5EAA4','#A8C4A2','#69A5A4','#616382','#66245B'],['#2B2B2B','#FFC6A5','#F2E3C6','#353634','#E6324B'],['#8F9924','#ACC95F','#F3FFEB','#F1396D','#FD6081'],['#F34739','#FF6E27','#331327','#991766','#D90F5A'],['#D54B1A','#503D2E','#E3A72F','#F0ECC9','#058789'],['#DE4126','#EB9605','#6E1E62','#261C21','#B0254F'],['#595151','#B39C82','#F0D399','#B8C99D','#BF496A'],['#E47C5D','#F0DDAA','#59B390','#152B3C','#E32D40'],['#111625','#341931','#571B3C','#7A1E48','#9D2053'],['#D6A692','#292522','#A39081','#EFD9B4','#4D6160'],['#99A66D','#C0DE5D','#B5CC6A','#A9BD68','#6DA67A'],['#E4F5B1','#A7DBAB','#7BB0A8','#635274','#512B52'],['#68462B','#E9E0D1','#91A398','#33605A','#070001'],['#ED834E','#EBE1C5','#EBCC6E','#595643','#4E6B66'],['#EC4401','#CC9B25','#13CD4A','#7B6ED6','#5E525C'],['#E32F21','#E4DED0','#ABCCBD','#7DBEB8','#181619'],['#400403','#FE8B05','#EFEECC','#0AABBA','#FE0557'],['#FFAB07','#E9D558','#72AD75','#0E8D94','#434D53'],['#E4E4C5','#B9D48B','#D3E4C5','#8D2036','#CE0A31'],['#9B8E7E','#C3CCAF','#311D39','#67434F','#A51A41'],['#FFFFFF','#000000','#7DB4B5','#E0EFF1','#680148'],['#FC930A','#F7C41F','#E0E05A','#CCF390','#FF003D'],['#F24E4E','#F78145','#F2C94E','#A0B046','#11644D'],['#EFEAC5','#E7D84B','#1B8798','#360745','#D61C59'],['#CC5D4C','#5B5847','#FFFEC6','#C7D1AF','#96B49C'],['#FEA887','#FF824A','#D1D0D7','#F6E7F7','#FC284F'],['#FE857E','#EE9C92','#D3B9A3','#E3E8CD','#BCD8BF'],['#A69785','#807462','#665C49','#B8FAFF','#E8FDFF'],['#FFB884','#F5DF98','#FFF8D4','#C0D1C2','#2E4347'],['#E3CF9E','#AEB18E','#79927D','#79254A','#795C64'],['#615145','#C6CCA5','#8AB8A8','#6B9997','#54787D'],['#B1E6D1','#77B1A9','#3D7B80','#270A33','#451A3E'],['#F5B9AE','#F6F1DE','#C8CD3B','#95A131','#EE0B5B'],['#C9B180','#7A907C','#2A6E78','#3B4058','#4B1139'],['#EE887A','#E4E391','#9ABC8A','#2D1B33','#F36A71'],['#F06D61','#DA825F','#C4975C','#A8AB7B','#8CBF99'],['#2B2726','#BACCA4','#7DAD93','#018790','#0A516D'],['#703E3B','#D3C8B4','#FFF3DB','#E7E4D5','#C84648'],['#F9A799','#F4BFAD','#F5DABD','#8C886F','#B7CBBF'],['#C7956D','#F2D974','#2B222C','#5E4352','#965D62'],['#EB9C4D','#F2D680','#F3FFCF','#697060','#BAC9A9'],['#F5DD9D','#BCC499','#92A68A','#7B8F8A','#506266'],['#E6F99D','#C8E98E','#7FDA89','#259073','#041122'],['#49281F','#564334','#CFB590','#9E9A41','#758918'],['#FFA588','#027B7F','#572E4F','#BF1E62','#D62957'],['#A88C8C','#7A8C89','#80A8A8','#909D9E','#FF0D51'],['#FFB969','#EAF27E','#3B8C88','#452E3C','#FF3D5A'],['#FFFFFF','#EBE7E0','#BDB8AD','#44749D','#C6D4E1'],['#F0FFC9','#A9DA88','#62997A','#3B0819','#72243D'],['#FB0C06','#FFC52C','#E7EDEA','#CEECEF','#030D4F'],['#6B5D4D','#B0A18F','#DFCDB4','#FBEED3','#429398'],['#7E1C13','#E6E1C2','#6D9788','#1E2528','#BF0A0D'],['#F59D92','#E5B8AD','#C99E93','#D5D2C8','#9D9E94'],['#1D1313','#A3B808','#24B694','#30C4C9','#D22042'],['#EDD48E','#C2C092','#65AC92','#676077','#641F5E'],['#FF714B','#EAFF87','#ACFFE9','#540045','#C60052'],['#FEBF97','#F5ECB7','#23192D','#FD0A54','#F57576'],['#D28574','#E7A97E','#E0BA9B','#A69E80','#3B1922'],['#FCB653','#CEE879','#8CD19D','#5CACC4','#FF5254'],['#A14016','#CC883A','#CFC89A','#89A194','#322938'],['#A32C28','#BCA875','#7B8055','#384030','#1C090B'],['#FA6A64','#7A4E48','#4A4031','#F6E2BB','#9EC6B8'],['#6E6662','#879676','#A3C68C','#340735','#4F364A'],['#E0846D','#DBC092','#DBE7B4','#D4F7DC','#F51441'],['#F2E8C4','#98D9B6','#3EC9A7','#2B879E','#616668'],['#FF9036','#F6D76B','#FDEBA9','#D6254D','#FF5475'],['#353130','#85847E','#CBCFB4','#F7345B','#AB6A6E'],['#71443F','#8C7C62','#D3D5B0','#B5CEA4','#9DC19D'],['#E6B39A','#E6CBA5','#EDE3B4','#8B9E9B','#6D7578'],['#F2F0DF','#CACCB6','#8E9E82','#A9C1D9','#607890'],['#C21B12','#280904','#FC4B2A','#680E34','#9A151A'],['#E2DDD9','#8D7966','#D8C8B8','#F8F1E9','#A8A39D'],['#E6EBA9','#ABBB9F','#6F8B94','#706482','#703D6F'],['#FFAB98','#E5DBC0','#7F9CA0','#0B0E31','#F74553'],['#373737','#EFEAE4','#BADB73','#ACCE91','#8DB986'],['#FDCFBF','#FEB89F','#742365','#5F0D3B','#E23D75'],['#161616','#E7C049','#92B35A','#1F6764','#C94D65'],['#230B00','#F8ECD4','#A29D7F','#D4CFA5','#AABE9B'],['#C46564','#9B726F','#EEB15B','#F0E999','#B8C99D'],['#FF7474','#F59B71','#C7C77F','#E0E0A8','#F1F1C1'],['#D74F33','#C4AC30','#DBD8A2','#1E8C93','#4B3E4D'],['#9A927B','#EEDA95','#B7C27E','#805566','#8A6A6B'],['#F0F7DA','#C9DF8A','#77AB59','#36802D','#234D20'],['#F2643D','#F2A73D','#26251C','#A0E8B7','#EB0A44'],['#E16639','#AD860A','#E7DD96','#55024A','#B7023F'],['#D8A878','#E7E79D','#C0D890','#78A890','#606078'],['#E36B6B','#E3A56B','#574C41','#E3C77B','#96875A'],['#000000','#D31900','#FF6600','#FFF2AF','#7CB490'],['#FF7373','#F2A176','#CC9476','#948A71','#566965'],['#B3A176','#312C20','#E2CB92','#7C7052','#494D4B'],['#EBC588','#EBEAA9','#0E0B29','#3B0032','#7D2948'],['#EBC288','#489C79','#05676E','#1A081F','#4D1D4D'],['#875346','#FB9274','#F7E4C6','#CDDBC2','#F5565B'],['#EFB198','#7D5D4E','#EAD2A4','#F7E5BF','#BFCDB4'],['#6B6B6B','#8F9E6F','#B1CF72','#5E405F','#4F364C'],['#FAFAFA','#1F1F1F','#FA4B00','#7A5B3E','#CDBDAE'],['#FABDBD','#FAD6D6','#94654C','#FEFCD0','#F89FA1'],['#F7D683','#CCB24C','#FFFDC0','#FFFFFD','#457D97'],['#1F6764','#575A65','#8F4D65','#C74066','#FF3366'],['#BA3622','#F0DDBD','#1C997F','#520C30','#851E25'],['#ECE1C3','#8EBDB6','#195E63','#3E838C','#063940'],['#FF370F','#332717','#F0F0AF','#9DBCBC','#6BACBF'],['#B39980','#D9CC8C','#FFFF99','#663366','#8C6673'],['#A95A52','#F18052','#6F5846','#FFA446','#E35B5D'],['#666666','#F0F0D8','#B4DF37','#B4DEBE','#77CCA4'],['#CC3E18','#F0971C','#181419','#4A073C','#9E0B41'],['#7D1A0C','#A86B4C','#E8C382','#B39D69','#340A0B'],['#ED6464','#1A1B1C','#574759','#87586C','#BF6370'],['#DD423E','#3F2C26','#EAC388','#C5AD4B','#A2A384'],['#4DAB8C','#542638','#E86F9E','#C9306B','#8F244D'],['#F63700','#FB6900','#007E80','#00B9BD','#004853'],['#FFCDB8','#37260C','#FDEECF','#C8C696','#97BEA9'],['#937460','#AD8B32','#C6BE9A','#DDE0CF','#8C5B7B'],['#FFFFFF','#CFCFCF','#967C52','#FFFAEB','#F0F0D8'],['#F1DB42','#FCFCD7','#95D0B8','#67BE9B','#F04158'],['#F9EBC6','#B2AC96','#DDDCBD','#8CBFB8','#62B3B4'],['#ECBE13','#2C2B26','#6A6B5F','#738C79','#A43955'],['#F88863','#FFC27F','#FFE29A','#411F2D','#AC4147'],['#62A07B','#4F8B89','#536C8D','#5C4F79','#613860'],['#EB613B','#4D3B36','#F98F6F','#F7EADC','#C1D9CD'],['#F8BE00','#9BB61B','#057C46','#02483E','#2B1719'],['#E88460','#EDD269','#CDECCC','#321D2E','#F23460'],['#6E6460','#E39B7D','#E8D3A9','#BCBFA3','#89B399'],['#606D80','#DCE0E6','#2B4C7E','#567EBB','#1F1F20'],['#B8FD99','#7CF49A','#595B5A','#0DE5A8','#14C3A2'],['#FF7D10','#FFB238','#0A0310','#49007E','#FF005B'],['#E7EED0','#CAD1C3','#51425F','#948E99','#2E1437'],['#EAA353','#B9A173','#FFEFA9','#413040','#6C6368'],['#FAF6D0','#C7D8AB','#909A92','#744F78','#30091E'],['#FBC599','#CDBB93','#9EAE8A','#160E32','#ED5672'],['#FFFF00','#CCD91A','#99B333','#668C4D','#336666'],['#EA8676','#493831','#EAB05E','#FDEECD','#D24858'],['#E1E3AC','#A6B985','#648A64','#46685B','#213435'],['#17F9FF','#00B4FC','#005BC5','#012677','#001449'],['#4A403D','#EA804C','#A69A90','#FACF7D','#FFF1C1'],['#5A4E3C','#E9EBBF','#C4D428','#D8E472','#418E8E'],['#EDAD9E','#E1EAB5','#ACDEB2','#390D2D','#FE4B74'],['#FFC897','#F7EFA2','#BAC99A','#75C9A3','#42393B'],['#E47267','#8A8780','#D6D1AF','#E6E5C4','#D7D8C5'],['#8B911A','#FDFFD9','#0C0D02','#36BBA6','#73185E'],['#FFF5DE','#B8D9C8','#750E49','#4D002B','#917081'],['#D55C2B','#F6E7D3','#89A46F','#55203C','#9F0A28'],['#F15500','#D56F00','#B88000','#FF0C71','#FF2654'],['#574435','#F6AA3D','#E0DC8B','#6CC4B9','#ED4C57'],['#E6A06F','#9E9C71','#5E8271','#33454E','#242739'],['#000000','#F0371A','#F7E6A6','#B5B479','#3E6B48'],['#000000','#FBFFCD','#79AE92','#1C5560','#001F36'],['#FBFEE5','#A8E7CA','#25232D','#98173D','#C91842'],['#DED1B6','#6D997A','#6CA19E','#84ABAA','#42282C'],['#FC580C','#FC6B0A','#F8872E','#FFA927','#FDCA49'],['#DBD9B7','#949A8E','#A5B5AB','#C1C9C8','#615566'],['#FFF18C','#D0EAA3','#EEFFDB','#ADE4B5','#71DBD2'],['#C7EDE8','#A0DED6','#7ECECA','#45B5C4','#1693A5'],['#D15C57','#D9D4A8','#4A5F67','#5C374B','#CC3747'],['#D16344','#D7BF5E','#F1E8B4','#B2BB91','#83555E'],['#EEDEAD','#DDDEAD','#CCDEAD','#BBDEAD','#AADEAD'],['#84C1B1','#AD849A','#D64783','#40202A','#FD135A'],['#F6F0BC','#A3D95B','#AAE3AB','#442433','#1F0310'],['#B14623','#F6921D','#130912','#3E1C33','#602749'],['#9A736E','#E7A83E','#E0DF9F','#B2CBA3','#EA525F'],['#000000','#FA7F77','#F7A398','#F6C7B7','#B42529'],['#F07C19','#FFC219','#E5D599','#029DAF','#E32551'],['#E48B69','#E1B365','#674F23','#FFEEAC','#E5DB84'],['#A7321C','#352504','#CC982A','#FFDC68','#928941'],['#241811','#D4A979','#E3C88F','#C2C995','#A8BD95'],['#F27C7C','#FCF09F','#8DE0A6','#4EB3DE','#DE528C'],['#F18273','#4C3D31','#F2BD76','#F4F5DE','#C4CEB0'],['#FF703F','#F7BC05','#ECF6BB','#76BCAD','#FA2E59'],['#D96153','#FFB870','#FFF5D6','#84BFC3','#000511'],['#CA221F','#590F0C','#FEAD26','#FFFDC0','#B9D7A1'],['#F5886B','#5A3226','#F1C972','#F3E6BC','#72AE95'],['#F5F7BD','#DEDFC5','#B2B39F','#C8C9B5','#3D423C'],['#785D56','#E6D5C1','#C6B299','#FFF4E3','#BE4C54'],['#67594D','#718063','#79A687','#1D1016','#4F2B38'],['#F07868','#EBB970','#E7D3B0','#2197A3','#F71E6C'],['#D9CF85','#CDE4B3','#B4DFB3','#9BDAB3','#69D0B3'],['#F7E0AE','#2D2C26','#C3B457','#998496','#FA748F'],['#E2DF9A','#EBE54D','#4B490B','#757449','#FF0051'],['#FE6962','#F9BA84','#EEE097','#FFFFE5','#8E407A'],['#FA9B9B','#FFDABF','#F7F3D5','#635063','#E88087'],['#FF2121','#FFE8B3','#A3E3B1','#51BD9C','#244242'],['#F03813','#FF8826','#FFB914','#2C9FA3','#B31237'],['#DB1414','#E8591C','#332C26','#C5E65C','#7FB8B0'],['#003E4F','#33384E','#66324C','#992C4B','#CC2649'],['#FEAB8D','#F4C9A3','#D7B89C','#99C9BD','#15212A'],['#F88F89','#EEC276','#FBF6D0','#79C3AA','#1F0E1A'],['#D43B2D','#FE6C2B','#020001','#340016','#9F102C'],['#FCF9D8','#EDEBC9','#9DBFAF','#00CCBE','#09A6A3'],['#D4E2B6','#C4DBB4','#ABCCB1','#72B1A4','#539FA2'],['#D8523D','#75372D','#928854','#D4CE9E','#96A782'],['#F38264','#F2CC67','#75BAA8','#5F051F','#F40034'],['#E25858','#E9D6AF','#FFFFDD','#C0EFD2','#384252'],['#A7CD2C','#BADA5F','#CEE891','#E1F5C4','#50C8C6'],['#541F14','#938172','#CC9E61','#020304','#626266'],['#9E6D4E','#CFB699','#FFFEE1','#FA8CB1','#FDC5C9'],['#F7F7F7','#3B3737','#991818','#9DD3DF','#C9D1D3'],['#F06B50','#E1D772','#FAF4B1','#394240','#45AAB8'],['#FCA89D','#FAC7B4','#998B82','#FFE1C9','#AFC7B9'],['#F88D87','#FCDCB3','#A8BCBD','#823772','#D65981'],['#F7D7CD','#F3E7D7','#C7B9C5','#E0C0C7','#F8C7C9'],['#8A211D','#BF2A23','#CF872E','#F0CE4E','#A6AD3C'],['#5C493D','#3A352F','#E5F3BA','#BAFDC2','#80D3BB'],['#90FF17','#00C16C','#00755C','#004443','#002E34'],['#FF3D00','#FFBC11','#0A837F','#076461','#002C2B'],['#FF41A1','#F60069','#4D4A4B','#FF90AB','#FFCCD1'],['#706767','#E87474','#E6A37A','#D9C777','#C0DBAB'],['#1C0F0E','#DB5643','#C5BD99','#9FB38F','#70AA87'],['#755858','#FFC870','#F7F7C6','#9CAD9A','#C8E3C5'],['#BD9999','#9D8078','#414978','#13123E','#8E848C'],['#85AE72','#BCE1AB','#170132','#361542','#573E54'],['#E45635','#F7A21B','#15191D','#4B538B','#D60257'],['#FF4746','#E8DA5E','#92B55F','#487D76','#4B4452'],['#D1B68D','#5A5C75','#51445F','#492D49','#87555C'],['#000000','#9E906E','#AAB69B','#8870FF','#9684A3'],['#FF705F','#913F33','#FFAA67','#FFDFAB','#9FB9C2'],['#FF6543','#FFBA6B','#FFDC8A','#FFF19E','#B5F4BC'],['#481800','#F07E13','#E2D397','#0FC3E8','#0194BE'],['#E4DDD6','#E4E3CD','#ECECDD','#D4DDD6','#C4DDD6'],['#F59330','#FFEBBF','#F0D442','#85A29E','#B22148'],['#000000','#FF8830','#D1B8A0','#AECED2','#CBDCDF'],['#443A37','#F0823F','#E0D124','#F7F799','#BD374C'],['#FEC0AB','#FEE9A6','#9380B7','#660860','#FA5894'],['#8F8F8F','#ECECEC','#25020F','#FF1168','#9E1E4C'],['#FFE3B3','#CFCCA8','#97B59D','#B9113F','#A8636E'],['#D1E389','#B9DE51','#E1B7ED','#E04891','#F5E1E2'],['#BFAC8B','#000706','#0C7E7E','#134647','#00272D'],['#FFCD57','#E8ED76','#E6F0AF','#D7E8D5','#4A3A47'],['#FFCA1B','#B6FF00','#228DFF','#BA01FF','#FF0092'],['#FFFFFF','#59554E','#F3F4E5','#E2E3D9','#A1C1BE'],['#CD5B51','#F3A36B','#E9DFCC','#554865','#352630'],['#BAAB6A','#FBEA80','#FDFAC7','#426B65','#204B5E'],['#977E77','#EFAE54','#DBDA97','#4B1D37','#EF6771'],['#D95B45','#ECD079','#43777A','#442432','#C02948'],['#F7DB15','#2F2BAD','#AD2BAD','#E42692','#F71568'],['#FF4845','#FF745F','#FFC55F','#FFEC5E','#36173D'],['#F8F8EC','#AEDD2B','#066699','#0A5483','#02416D'],['#FE6C63','#EECAB1','#D3C8B4','#D4F1DB','#240910'],['#BDA2A2','#FBBE9A','#FAD889','#FAF5C8','#899AA1'],['#473430','#C54B2C','#D89845','#C8D197','#11BAAC'],['#F1C694','#EDECCF','#207178','#101652','#DC6378'],['#CCBD9E','#D8CCB2','#495168','#2A2344','#260729'],['#F2B8A0','#DACDBD','#D4486F','#DF5C7E','#EF97A3'],['#F09580','#FDF2B4','#101942','#80043A','#F60C49'],['#6F0B00','#241714','#BE3100','#C96823','#C9B849'],['#F8F5C1','#C8CE13','#349E97','#DE1A72','#2C0D1A'],['#FEF7D5','#0EC0C1','#210123','#6C043C','#910142'],['#736558','#FEF5C6','#AAF2E4','#31D5DE','#FD65A0'],['#FFDBD7','#F7F1E1','#855E6E','#CE7095','#FFB2C1'],['#810E0B','#FEBEA3','#FCE5B1','#E8DE92','#F6F5DA'],['#C42311','#F2502C','#FCF59B','#CAD17A','#91C494'],['#3C363B','#F9EBF2','#F3E2E8','#F58F9A','#FCD7DA'],['#4A3D3D','#FF6161','#F2E9E6','#F4F8E6','#D8DEC3'],['#F8D9BD','#7F440A','#E6BC56','#6A9277','#FF275E'],['#000000','#F58723','#C7BA99','#D4C9AD','#F1ECDF'],['#B39E58','#E8DBAD','#99822D','#80AB99','#8C0E48'],['#F0A991','#B9D9B4','#288D85','#B05574','#D18E8F'],['#FF695C','#CCBCA1','#2E1E45','#612A52','#BA3259'],['#E4491C','#FFB727','#67B79E','#538A95','#565175'],['#514442','#AEF055','#E0FFC3','#3F8978','#25E4BC'],['#E6D1CA','#EEE9C7','#ED7B83','#EC8A90','#EBA2A4'],['#EDD58F','#C2BF92','#66AC92','#686077','#641F5E'],['#FCA699','#FFE4AA','#583B7E','#C9729F','#E2869B'],['#454545','#A22365','#FF0084','#743455','#D11174'],['#DAE2CB','#96C3A6','#6CB6A5','#221D34','#90425C'],['#001848','#301860','#483078','#604878','#906090'],['#F76E2A','#F0C505','#651366','#A71A5B','#E7204E'],['#F4F4F4','#594433','#A68C69','#F0E5C9','#9BA657'],['#6B6B6B','#FF7857','#F7C081','#CEF781','#95DE90'],['#444444','#B52C00','#A9A17A','#FCF7D1','#8C0005'],['#FFFFFF','#000000','#AC4A00','#F8F0AF','#002930'],['#BFA374','#E3BA6A','#6D756A','#4D686F','#364461'],['#E5EAD4','#9ACC77','#45936C','#334F53','#1F0A1D'],['#43204A','#422343','#7F1E47','#C22047','#EA284B'],['#3D3C3B','#DDE3CA','#7C8071','#B2D9F7','#487AA1'],['#C0CC39','#DBF73B','#2B2628','#EB0258','#A6033F'],['#E4E6C3','#88BAA3','#361F2D','#63203D','#BA1E4A'],['#2C2321','#FFFAB3','#9DAB34','#63B397','#A2E5D2'],['#FFABAB','#FFDAAB','#DDFFAB','#ABE4FF','#D9ABFF'],['#9C8680','#F98F6F','#DBBF6B','#C8EB6A','#EB5E7F'],['#D5CA98','#B3C262','#768A4F','#66424C','#C72546'],['#F7DECE','#EED7C5','#CCCCBB','#2D2E2C','#9EC4BB'],['#F0F0D8','#A8C030','#184848','#006060','#007878'],['#ECE488','#F6F5CD','#91C68D','#74AA9B','#796C86'],['#DDCAA2','#AEBEA3','#4E5C69','#D83957','#B97479'],['#B18272','#63594D','#C2B291','#EAE3D1','#D6E4C3'],['#D8D8D8','#ECDAD8','#E2D9D8','#FFDCD8','#F5DBD8'],['#D6B3B1','#E6E1CD','#C6D8C0','#231B42','#F97992'],['#D7DFC3','#D2DFC8','#CDDFCD','#C8DFD2','#C3DFD7'],['#B1E1E9','#96D7EB','#839CB5','#F2E4F9','#686466'],['#EFD2BE','#EFBC98','#917F6E','#EFE1D1','#D9DDCD'],['#A73E2B','#482C21','#D07E0E','#E9DEB0','#2F615E'],['#F4E196','#A6BF91','#5F9982','#78576B','#400428'],['#F3D915','#E9E4BB','#A89907','#BFD4B7','#1A1C27'],['#7A6248','#FFFBF0','#968F4B','#030506','#AB9597'],['#F77C3E','#FABA66','#FCE185','#A2CCA5','#50232E'],['#FF6A5A','#FFB350','#83B8AA','#272D4D','#B83564'],['#D9A071','#CFC88F','#A5B090','#607873','#AB505E'],['#FA3C08','#FC7D23','#678D6C','#772A53','#BD0A41'],['#FFFFFF','#757575','#000000','#A1AC88','#464D70'],['#B9340B','#3F261C','#CEA45C','#C5BE8B','#498379'],['#EA2A15','#FAEDD9','#808F12','#2A5C0B','#042608'],['#9D9F89','#CCEE8D','#B2DE93','#8BC59B','#84AF97'],['#F86254','#FEA189','#F3D5A5','#BAB997','#FF0F35'],['#FF695C','#FFC391','#F6F4C2','#8DC9B5','#8C315D'],['#D96831','#E6B33D','#172C3C','#274862','#995052'],['#A8A878','#CDCD76','#939E78','#839074','#061013'],['#7C7B6C','#F8F69F','#BAB986','#3E3E53','#000039'],['#693726','#80B3FF','#A2122F','#FFC2CE','#FD6E8A'],['#EFB0A9','#FFE6DB','#CBC8B5','#D1EAEE','#BDA0A2'],['#FE6960','#FEBF97','#FEFAC2','#D2FDFE','#AFFBFF'],['#FC694D','#FC8D4D','#FABA32','#F5DD7E','#0DB2AC'],['#EBF74F','#B0C65A','#6D8D76','#66666E','#6A3D5A'],['#EC6C2B','#FEAE4B','#35352B','#BDBF90','#E7E9C4'],['#FF9966','#D99973','#B39980','#8C998C','#669999'],['#D4BE99','#E0FFCC','#171133','#581E44','#C5485A'],['#000000','#FCAE11','#B2A700','#770493','#ED0B65'],['#FFFAE3','#C1D9D0','#141827','#736681','#62455B'],['#D1DAB9','#92BEA5','#31233E','#6F646C','#671045'],['#5F3711','#E2D5C1','#D4C098','#F7F6E4','#F6F6E2'],['#20130A','#E9F0C9','#142026','#3B657A','#123142'],['#5ADB94','#0BA18C','#368986','#2E0331','#8A034D'],['#4A2512','#F4DDB4','#F1AE2B','#72BCA5','#BC0B27'],['#E03E36','#EECCBB','#F1731F','#730662','#BD0D59'],['#C27B57','#FFC978','#D1A664','#FFE7BF','#C9C987'],['#302727','#BA2D2D','#F2511B','#F2861B','#C7C730'],['#330A04','#6C1305','#B32900','#DE8531','#EFAC41'],['#615050','#776A6A','#FCFCFC','#F5F1E8','#AD9A6F'],['#52423C','#D3AD98','#EDD4BE','#B9C3C4','#AD5C70'],['#FFCC33','#CCFF33','#B877A8','#B8008A','#FF3366'],['#7C917F','#93BD9A','#3D1C33','#210518','#5E4B55'],['#FF9934','#FFC018','#B3C631','#CDE54E','#F8FEF4'],['#996666','#FF3366','#E64066','#CC4D66','#B35966'],['#FFFFFF','#BDD1DE','#4180AB','#8AB3CF','#E4EBF0'],['#DADAD8','#CBE65B','#1EA49D','#FE6196','#FF2C69'],['#D2E7AA','#A4CA8B','#66997B','#27081D','#47232C'],['#EB9D8D','#EFD8A9','#93865A','#C5CBA6','#A8BB9A'],['#FDD87F','#C6D38E','#5C966E','#315E61','#0F314C'],['#0D0502','#85685A','#CB8E5F','#E0DEAB','#ECF8D4'],['#E2C99F','#A39B7E','#7A7B7C','#53576B','#353437'],['#EDEADE','#DDEADD','#CDEADC','#BDEADB','#ADEADA'],['#FC3903','#FC7F03','#FFAB03','#A6026C','#D1024E'],['#000000','#F4A854','#FFF8BC','#CF023B','#F3214E'],['#AC0D0D','#320606','#AC8D49','#DDE29F','#A2C7BB'],['#C97C7A','#1F1106','#B8C2A0','#D1DBC8','#DA3754'],['#700808','#CC4E00','#FF8030','#FFDD8C','#6E9167'],['#FBBAA4','#F9E5C0','#B6D0A0','#2C171C','#FF667C'],['#FAFAD7','#EDF79E','#BCD9A0','#85CC9C','#2B9EB3'],['#000000','#E7EBB0','#C6C99D','#A8AB84','#0C0D05'],['#FC8C77','#F8DFBD','#130716','#9A2848','#EC4B59'],['#330C0C','#61290E','#A84818','#A89048','#A8C078'],['#D8D9C0','#8FC9B9','#91334F','#AB5C72','#D18E8F'],['#D1BD95','#DBDEA6','#D1F7BA','#391B4A','#8C686B'],['#FB6F24','#8CA315','#0A4B75','#1E6495','#5191C1'],['#C2685F','#FBD7A3','#D4C46D','#722249','#932B4E'],['#C1A2A0','#E3CEBD','#FCFDEB','#725B75','#322030'],['#DE4C45','#D9764D','#CC9E8A','#EBDFC6','#C1C5C7'],['#AD8484','#D9D5BB','#B05574','#D24D6C','#C1858F'],['#390039','#820081','#FE1CAC','#FE40B9','#FE59C2'],['#F6BE5F','#CFBF9E','#F7DEA8','#D45E80','#C6838C'],['#FCE7D2','#E0DBBD','#C0CEAA','#EB5874','#FD8086'],['#926D40','#FF9F15','#C4D004','#ABECE4','#FB7991'],['#B56A65','#D5A57F','#E9D7A9','#D2D09F','#4B3132'],['#F1EBEB','#EEE8E8','#CACACA','#24C0EB','#5CCEEE'],['#E8ACAC','#DFD0AF','#A1C0A1','#A45785','#85586C'],['#DEC790','#200E38','#6A0E47','#B50D57','#FF0D66'],['#D6D578','#9DAD42','#B1BF63','#258A60','#0A3740'],['#FBE2B9','#FCF6D2','#FCF6D2','#C6C39A','#281F20'],['#EC6349','#F8DB7E','#310A26','#6F1B2C','#CE2340'],['#99CCCC','#A8BDC2','#B8AEB8','#C79EAD','#D78FA3'],['#EB9961','#FCF4B6','#331436','#7A1745','#CB4F57'],['#F9F9E7','#505045','#161613','#C1E0E0','#C0A1AE'],['#F9DED3','#FDD1B6','#89ABB4','#C7B6BE','#FAB4B6'],['#B3544F','#D6C396','#E7FCCF','#300511','#1F0B0C'],['#F59982','#FACB97','#F3DCB2','#F2116C','#ED616F'],['#FFFFFF','#FF97CA','#FF348E','#BE0049','#770021']]},"./node_modules/@boldgrid/controls/src/controls/color/index.js":function(e,o,n){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=n('./node_modules/@boldgrid/controls/src/controls/color/js/renderer.js');n.d(o,'ColorPalette',function(){return a.b}),n.d(o,'Renderer',function(){return a.a});var r=n('./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js');n.d(o,'Palettes',function(){return r.a});var s=n('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js');n.d(o,'Generate',function(){return s.a});var l=n('./node_modules/@boldgrid/controls/src/controls/color/js/selection.js');n.d(o,'Selection',function(){return l.a});var i=n('./node_modules/@boldgrid/controls/src/controls/color/js/config.js');n.d(o,'Config',function(){return i.a});var d=n('./node_modules/@boldgrid/controls/src/controls/color/js/material.js');n.d(o,'Material',function(){return d.a})},"./node_modules/@boldgrid/controls/src/controls/color/js/button.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return d});var r=n('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),s=n('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),l=function(){function e(e,o){var n=[],a=!0,r=!1,s;try{for(var l=e[Symbol.iterator](),i;!(a=(i=l.next()).done)&&(n.push(i.value),!(o&&n.length===o));a=!0);}catch(e){r=!0,s=e}finally{try{!a&&l['return']&&l['return']()}finally{if(r)throw s}}return n}return function(o,n){if(Array.isArray(o))return o;if(Symbol.iterator in Object(o))return e(o,n);throw new TypeError('Invalid attempt to destructure non-iterable instance')}}(),i=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),d=function(){function e(o){a(this,e),o=o||{},this.files=['color-palette-scss/buttons/buttons.scss','color-palette-scss/buttons/_options.scss','color-palette-scss/buttons/types/_3d.scss','color-palette-scss/buttons/types/_border.scss','color-palette-scss/buttons/types/_borderless.scss','color-palette-scss/buttons/types/_dropdown.scss','color-palette-scss/buttons/types/_glow.scss','color-palette-scss/buttons/types/_groups.scss','color-palette-scss/buttons/types/_longshadow.scss','color-palette-scss/buttons/types/_raised.scss','color-palette-scss/buttons/types/_shapes.scss','color-palette-scss/buttons/types/_sizes.scss','color-palette-scss/buttons/types/_wrapper.scss','color-palette-scss/buttons/_layout.scss','color-palette-scss/buttons/_base.scss','color-palette-scss/buttons/_mixins.scss'],this.namespace='.btn',this._defaultColors=[{name:'color-dark',val:'#252525'},{name:'color-light',val:'#eff0f1'}],this.sassCompiler=o.sassCompiler?o.sassCompiler:new r.a}return i(e,[{key:'init',value:function(){return this.preload()}},{key:'preload',value:function(){return this.sassCompiler.preload(this.files)}},{key:'convertColorState',value:function(e){var o=[],n=e.palettes['palette-primary']['neutral-color'],a=!0,r=!1,s;try{for(var i=e.palettes['palette-primary'].colors.entries()[Symbol.iterator](),d;!(a=(d=i.next()).done);a=!0){var c=l(d.value,2),p=c[0],u=c[1];o.push({name:'color-'+(p+1),val:u})}}catch(e){r=!0,s=e}finally{try{!a&&i.return&&i.return()}finally{if(r)throw s}}var g=!0,m=!1,h;try{for(var b=this._defaultColors[Symbol.iterator](),f,u;!(g=(f=b.next()).done);g=!0)u=f.value,o.push(u)}catch(e){m=!0,h=e}finally{try{!g&&b.return&&b.return()}finally{if(m)throw h}}return n&&o.push({name:'color-neutral',val:n}),o}},{key:'formatColorSass',value:function(e){var o=new s.a,n='',a;e=e||[];var r=!0,l=!1,i;try{for(var d=e[Symbol.iterator](),c,p;!(r=(c=d.next()).done);r=!0)p=c.value,a=o.getContrast(p.val),n+='(\''+p.name+'\' '+p.val+' '+a+')'}catch(e){l=!0,i=e}finally{try{!r&&d.return&&d.return()}finally{if(l)throw i}}return n&&(n='$ubtn-colors: '+n+';'),n}},{key:'getCompileString',value:function(e){var o=this.formatColorSass(this.convertColorState(e)),n='$ubtn-namespace: \''+this.namespace+'\';';return n+o+'@import "color-palette-scss/buttons/buttons.scss";'}},{key:'compile',value:function(e,o){this.sassCompiler.compiler.compile(compileString,function(e){o(e)})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/config.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return i});var r=n('./node_modules/@boldgrid/controls/src/controls/color/js/material.js'),s=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),l=window.jQuery,i=function(){function e(){a(this,e),this.material=new r.a,this.defaultColor='blue',this.samplePalettesColors=['blue','teal','red','pink','grey','brown']}return s(e,[{key:'createSimpleConfig',value:function(e){var o={},n=this.getPresetPalettes(),a;return o.palettes=[],e?(a=this.createPalette(e),o.palettes.push(a),o.palettes=o.palettes.concat(n)):o.palettes=n,o.palettes[0].isActive=!0,o['color-palette-size']=o.palettes[0].colors.length,o.palette_formats=['palette-primary'],o}},{key:'getPresetPalettes',value:function(){var e=[],o=!0,n=!1,a;try{for(var r=this.samplePalettesColors[Symbol.iterator](),s,l;!(o=(s=r.next()).done);o=!0)l=s.value,e.push(this._createDefault(l))}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}return e}},{key:'createPalette',value:function(e){var o=_.defaults(e,{default:!0,copyOnMod:!0,isActive:!1,format:'palette-primary',colors:this.material.getPalette(this.defaultColor)});return o.palette_id=btoa(o.colors),o}},{key:'mergeDefaults',value:function(e){return e.palettes=e.palettes.concat(this.getPresetPalettes()),e}},{key:'createSavableState',value:function(e){var o=this.createSimpleConfig(),n=e.palettes['palette-primary'];o.palettes=[],n.isActive=!0,n.default=!1,o.palettes[0]=this.createPalette(n),o.saved_palettes=[],e.saved_palettes=e.saved_palettes||[];var a=!0,r=!1,s;try{for(var l=e.saved_palettes[Symbol.iterator](),i;!(a=(i=l.next()).done);a=!0){var d=i.value,c=this.createPalette(d);c.palette_id!==o.palettes[0].palette_id&&(c.default=!1,c.copyOnMod=!1,o.saved_palettes.push(c))}}catch(e){r=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw s}}return o}},{key:'_createDefault',value:function(e){return this.createPalette({isActive:!1,colors:this.material.getPalette(e),"neutral-color":'white'})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/control.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/color/js/transitions.js'),r=n('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),s=n('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),l=n('./node_modules/@boldgrid/controls/src/controls/color-picker/index.js'),i=n('./node_modules/color-js/color.js'),d=n.n(i),c=n('./node_modules/raw-loader/index.js!./node_modules/@boldgrid/controls/src/controls/color/scss/utilities/color-classes.sass'),p=n.n(c),u='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e};window.BOLDGRID=window.BOLDGRID||{},window.BOLDGRID.COLOR_PALETTE=window.BOLDGRID.COLOR_PALETTE||{},window.BOLDGRID.COLOR_PALETTE.Modify=window.BOLDGRID.COLOR_PALETTE.Modify||{},window.BOLDGRIDSass=window.BOLDGRIDSass||{};var g=jQuery,m=g(window),h=BOLDGRID.COLOR_PALETTE.Modify,b=h;h.pickerCompileDelay=100,h.pendingCompile=!1,h.palette_generator=BOLDGRID.COLOR_PALETTE.Generate,h.generated_color_palettes=6,h.state=null,h.active_body_class='',h.first_update=!0,h.prelockNeutral=!1,h.themePalettes=[];var f=['#232323','#FFFFFF','#FF5F5F','#FFDBB8','#FFFFB2','#bad6b1','#99acbf','#cdb5e2'];h.init=function(e,o){h.first_update=!0,b.configs=b.initConfigs(o),b.$control=e,b.sassCompiler=new r.a,b.colorPicker=new l.a,b.pausePickerChanges(),b.classProperties(),b.setupEvents()},h.classProperties=function(){b.$palette_control_wrapper=g('.bgctrl-color-palette'),b.$colorPickerWrap=b.$palette_control_wrapper.find('.color-picker-wrap'),b.$palette_option_field=b.$palette_control_wrapper.find('.palette-option-field'),b.generated_palettes_container=b.$palette_control_wrapper.find('.generated-palettes-container'),b.$accoridon_section_colors=g('#accordion-section-colors'),b.$paletteWrapper=b.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper'),b.hasNeutral=b.$paletteWrapper.data('has-neutral'),b.numColors=b.$paletteWrapper.data('num-colors')},h.setupEvents=function(){h.duplicate_modification_icons(),h.themePalettes=h.getThemePalettes(),h.bind_palette_duplicate_remove(),h.bind_palette_activation(),h.setup_color_picker(),h.setup_close_color_picker(),h.setup_palette_generation(),h.bind_generate_palette_action(),h.bind_help_section_visibility(),h.bind_help_link(),h.bindActiveColorClick(),h.bindTransitions(),h.bind_compile_done(),h.fetch_acceptable_palette_formats(),setTimeout(h.pickerPostInit,100)},h.initConfigs=function(e){return _.defaults({enableCustomizerTransitions:!1,boldgrid_light_text:'#FFF',boldgrid_dark_text:'#000'},e)},h.bind_help_section_visibility=function(){g('.accordion-section').on('click',function(){var e=g('.boldgrid-color-palette-help');b.$accoridon_section_colors.hasClass('open')&&!e.is(':visible')?e.show():!1===b.$accoridon_section_colors.hasClass('open')&&e.hide()})},h.setup_close_color_picker=function(){b.$close_palette_creator=g('<button type="button" class="button close-color-picker">Done</button>'),b.colorPicker.$input.after(b.$close_palette_creator),b.$close_palette_creator.on('click',function(){b.colorPicker.hide()})},h.getThemePalettes=function(){var e=[];return b.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-copy-on-mod="1"]').each(function(){var o=[];g(this).find('[data-color]').each(function(){o.push(g(this).data('color'))}),b.hasNeutral&&o.splice(-1,1),e.push(o)}),e},h.setup_palette_generation=function(){b.$palette_control_wrapper.find('.palette-generator-button').on('click',function(){!1===b.$paletteWrapper.hasClass('palette-generate-mode')&&(b.hasNeutral&&b.prelockNeutral&&(b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors:last').addClass('selected-for-generation'),h.sync_locks()),b.$paletteWrapper.addClass('palette-generate-mode'))}),b.$palette_control_wrapper.on('click','.palette-generate-mode .current-palette-wrapper .color-lock',function(o){var e=g(this);o.stopPropagation(),b.$palette_control_wrapper.find('.boldgrid-active-palette li').eq(e.data('count')).toggleClass('selected-for-generation'),e.toggleClass('selected-for-generation')}),b.$palette_control_wrapper.find('.cancel-generated-palettes-button').on('click',function(o){var e=g(this);o.stopPropagation(),b.$palette_control_wrapper.find('.boldgrid-active-palette[data-auto-generated]').removeAttr('data-auto-generated'),b.generated_palettes_container.empty(),e.closest('.palette-generate-mode').removeClass('palette-generate-mode').find('.selected-for-generation').removeClass('selected-for-generation')})},h.duplicate_modification_icons=function(){h.$icon_set=b.$palette_control_wrapper.find('.boldgrid-duplicate-dashicons').first(),h.$icon_set&&(h.$icon_set=h.$icon_set.clone())},h.bind_generate_palette_action=function(){b.$palette_control_wrapper.find('.palette-generator-button').on('click',function(){var e=h.paletteData(),o=null;b.hasNeutral&&(e.samplePalette.splice(-1,1),o=e.partialPalette.splice(-1,1),o=o[0]);var n=new s.a,a=n.generatePaletteCollection(e,h.generated_color_palettes);b.hasNeutral&&g.each(a,function(){o?this.push(o):this.push(n.generateNeutralColor(this))}),h.display_generated_palettes(a)})},h.display_generated_palettes=function(e){var o=b.generated_palettes_container.empty(),n=null;g.each(e,function(){b.hasNeutral&&(n=this[this.length-1]);var e=g('<div data-palette-wrapper="true"><ul><li class="boldgrid-palette-colors"></li></ul></div>'),a=e.find('ul').addClass('boldgrid-inactive-palette').attr('data-auto-generated','true').attr('data-neutral-color',n).attr('data-color-palette-format',h.get_random_format()),r=a.find('li');g.each(this,function(){var e=g('<span></span>').css('background-color',this).attr('data-color',!0);r.append(e)}),o.append(e)})},h.paletteData=function(){var e={samplePalette:[],partialPalette:[],additionalSamplePalattes:h.themePalettes};return b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(){var o=g(this);o.hasClass('selected-for-generation')?e.partialPalette.push(o.css('background-color')):e.partialPalette.push(null),e.samplePalette.push(o.css('background-color'))}),e},h.fetch_acceptable_palette_formats=function(){h.body_classes=b.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper').data('color-formats'),'object'===u(h.body_classes)&&(h.body_classes=g.map(h.body_classes,function(e){return[e]}))},h.revert_current_selection=function(e){e.removeClass('current-palette-wrapper');var o=e.find('> ul');o.removeClass('boldgrid-active-palette').addClass('boldgrid-inactive-palette'),o.find('.boldgrid-duplicate-dashicons').remove();var n=g('<li class="boldgrid-palette-colors"></li>');o.find('.boldgrid-palette-colors:not(.ui-sortable-helper)').not('.ui-sortable-placeholder').each(function(){var e=g(this);if('absolute'!==e.css('position')){var o=g('<span data-color="true"></span>').css('background-color',e.css('background-color'));n.append(o)}}),e.find('.bg-lock-controls').remove(),n.append(h.$icon_set.clone()),o.find('.boldgrid-palette-colors').remove(),o.append(n),o.data('ui-sortable')&&o.sortable('disable')},h.bind_help_link=function(){b.$palette_control_wrapper.on('click','[data-action="open-color-picker"]',function(o){o.stopPropagation();var e=b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors:first');h.activate_color(null,e)})},h.sync_locks=function(){var e=b.$palette_control_wrapper.find('.bg-lock-controls .color-lock');e.removeClass('selected-for-generation'),b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(o){var n=g(this);n.hasClass('selected-for-generation')&&e.eq(o).addClass('selected-for-generation')})},h.activate_palette=function(e){h.addColorTransition(),b.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),e.attr('data-auto-generated')&&(e=e.closest('div').clone().find('[data-auto-generated]'));var o=[];b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(e){var n=g(this);n.hasClass('selected-for-generation')&&o.push(e)}),e.find('span[data-color]').each(function(n){var a=g(this),r=a.css('background-color'),s='';-1!==o.indexOf(n)&&(s='selected-for-generation'),e.append('<li class="boldgrid-palette-colors '+s+' boldgrid-dashicon" style="background-color: '+r+'"></li>')}),e.append(h.$icon_set.clone()),e.find('li:first').remove();var n=e.closest('div').addClass('current-palette-wrapper').detach();b.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper').prepend(n);var a=b.$palette_control_wrapper.find('.palette-action-buttons');a.removeClass('hidden').insertAfter(e),b.$palette_control_wrapper.find('.boldgrid-active-palette').each(function(){var e=g(this);e.attr('data-auto-generated')?e.closest('div').remove():h.revert_current_selection(e.closest('div'))}),h.add_jquery_sortable(e),e.sortable('enable'),e.disableSelection(),e.removeClass('boldgrid-inactive-palette'),e.addClass('boldgrid-active-palette'),e.find('li').disableSelection();var r=g('<div class="bg-lock-controls"></div>');e.find('li').each(function(e){r.append('<div class="color-lock" data-count="'+e+'"><div class="lock unlock"><div class="top"></div><div class="mid"></div><div class="bottom"><div class="keyhole-top"></div><div class="keyhole-bottom"></div></div></div>')}),e.after(r),h.sync_locks(),h.first_update?(b.$control.trigger('rendered'),h.first_update=!1):h.update_theme_option({source:'activatePalette'})},h.add_jquery_sortable=function(e){var o=[],n=null;e.sortable({items:'.boldgrid-palette-colors',axis:'x',start:function(a,r){o=[],n=null,r.item&&(b.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),!r.item.find('span').length&&h.modify_palette_action(r.item.closest('[data-palette-wrapper="true"]')),r.placeholder.css('background-color',r.item.css('background-color')).css('visibility','visible'),e.find('li').not(r.helper).not(r.placeholder).each(function(e){var a=g(this);o.push(a.css('background-color')),a.is(r.item)&&(n=e)}))},change:function(a,r){var s=e.find('li').not(r.helper).not(r.item);s.each(function(e){var a=g(this),l=o[e];a.is(r.placeholder)?s.eq(n).css('background-color',l):n!==e&&s.eq(e).css('background-color',l)})},helper:'clone',stop:function(e,o){if(h.addColorTransition(),h.update_theme_option({source:'dragColor'}),h.open_picker(),o.item){var n=o.item;if(!n.find('span').length){b.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),n.addClass('active-palette-section'),n.siblings().each(function(){var e=g(this);e.toggleClass('boldgrid-dashicon'),setTimeout(function(){e.toggleClass('boldgrid-dashicon')},15)});var a=n.closest('.boldgrid-color-palette-wrapper');h.preselect_active_color(a),h.sync_locks(),h.updateNeutralData()}}}})},h.format_current_palette_state=function(){var e={},o=b.$palette_control_wrapper.find('.boldgrid-active-palette').first();e['active-palette']=o.attr('data-color-palette-format'),e['active-palette-id']=o.attr('data-palette-id'),e.palettes={},e.saved_palettes=[],b.active_body_class=e['active-palette'];var n=function(){var o=g(this),n={},a=parseInt(o.attr('data-copy-on-mod')),r=o.hasClass('boldgrid-active-palette');n=r?o.find('li.boldgrid-palette-colors'):o.find('.boldgrid-palette-colors > span');var s=[];n.not(b.hasNeutral?':last-of-type':'').each(function(){s.push(g(this).css('background-color'))});var l={format:o.attr('data-color-palette-format'),colors:s,"neutral-color":o.attr('data-neutral-color')};r&&(e.palettes[o.attr('data-color-palette-format')]=l),r||a||e.saved_palettes.push(l)};return b.$palette_control_wrapper.find('[data-color-palette-format]').not(o).not('[data-auto-generated="true"]').each(n),o.each(n),e},h.getContrastColor=function(e){return window.wp&&window.wp.customize?wp.customize('boldgrid_dark_text').get():b.configs[e]},h.create_color_scss_file=function(e){var o='',n='$colors: ';g.each(e.palettes,function(e){if(this.colors){var a=n;g.each(this.colors,function(n){var r=n+1;o+='#x27;+e+'_'+r.toString()+':'+this+';',a+='#x27;+e+'_'+r.toString()+' '}),a!=n&&(o+=a+';')}this['neutral-color']&&(o+='#x27;+e+'-neutral-color:'+this['neutral-color']+';')});var a=b.getContrastColor('boldgrid_light_text'),r=b.getContrastColor('boldgrid_dark_text');return o+='$light-text:'+a+';',o+='$dark-text:'+r+';',o=b.appendButtonRules(o),o},h.appendButtonRules=function(e){return BOLDGRIDSass.ButtonVariables&&(e+='$ubtn-namespace: "'+BOLDGRIDSass.ButtonVariables['ubtn-namespace']+'";',e+='$ubtn-bgcolor: '+BOLDGRIDSass.ButtonVariables['ubtn-bgcolor'],e+='$ubtn-font-color: '+BOLDGRIDSass.ButtonVariables['ubtn-font-color'],e+='$ubtn-theme-color: '+BOLDGRIDSass.ButtonVariables['ubtn-bgcolor'].replace(/\#x2F;g,'')),'undefined'!=typeof BOLDGRIDSass.ButtonExtends&&('undefined'!=typeof BOLDGRIDSass.ButtonExtends.primary&&(e+='$button-primary-classes: "'+BOLDGRIDSass.ButtonExtends.primary+'";'),'undefined'!=typeof BOLDGRIDSass.ButtonExtends.secondary&&(e+='$button-secondary-classes: "'+BOLDGRIDSass.ButtonExtends.secondary+'";')),e},h.update_theme_option=function(e){e=e||{};var o=b.getScss();e.colorConfig=h.state,h.compile(o,e)},h.getScss=function(){h.state=h.format_current_palette_state();var e=h.create_color_scss_file(h.state),o=e+b.configs.renderer.getImportString();return o+b.configs.renderer.buttonColors.getCompileString(h.state)},h.compile=function(e,o){b.pendingCompile={content:e,options:o},h.doCompile()},h.doCompile=function(){var e=b.pendingCompile;e&&!b.sassCompiler.processing&&(b.sassCompiler.compile(e.content,e.options),b.pendingCompile=!1)},h.bind_palette_activation=function(){b.$palette_control_wrapper.on('click','.boldgrid-inactive-palette',function(){h.activate_palette(g(this))})},h.activate_color=function(o,e,n){var a;o?(a=g(this),o.stopPropagation()):a=e,!1===a.hasClass('active-palette-section')&&(b.hasNeutral&&a.is('.boldgrid-active-palette .boldgrid-palette-colors:last')?b.colorPicker.$input.iris({palettes:f}):b.colorPicker.$input.iris({palettes:!0}),h.modify_palette_action(a.closest('[data-palette-wrapper="true"]')),b.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),a.addClass('active-palette-section'),h.open_picker(),n&&b.pausePickerChanges(),b.colorPicker.setColor(a.css('background-color')))},h.pausePickerChanges=function(){b.ignoreColorChange=!0,setTimeout(function(){b.ignoreColorChange=!1})},h.open_picker=function(){b.colorPicker.show()},h.updateNeutralData=function(){var e,o,n;e=!!b.$palette_control_wrapper.find('.boldgrid-active-palette').attr('data-neutral-color'),e&&(n=b.$palette_control_wrapper.find('.boldgrid-active-palette'),o=n.find('.boldgrid-palette-colors:last').css('background-color'),n.attr('data-neutral-color',o))},h.setup_color_picker=function(){var e=_.throttle(function(){h.update_theme_option({source:'updatePicker'})},100),o=h.themePalettes[0];b.hasNeutral&&o.push('#FFF');this.colorPicker.init(b.$palette_control_wrapper.find('.color-picker'),{secondaryPalette:o,change:function(o,n){if(b.fadeEffectInProgress)return!1;var a=n.color.toString();b.$palette_control_wrapper.find('.active-palette-section').css('background-color',a),h.updateNeutralData(),h.updateCustomPalettes(),b.ignoreColorChange||e()}})},h.updateCustomPalettes=function(){var e=b.$palette_control_wrapper.find('.secondary-colors .iris-palette');b.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(o){e.eq(o).css('background-color',g(this).css('background-color'))})},h.preselect_active_color=function(e){b.colorPicker.setColor(e.find('.active-palette-section').css('background-color'))},h.bind_palette_duplicate_remove=function(){b.$palette_control_wrapper.on('click','.boldgrid-copy-palette, .boldgrid-remove-palette',function(o){o.stopPropagation();var e=g(this),n=e.closest('[data-palette-wrapper="true"]'),a=!0;e.hasClass('boldgrid-copy-palette')&&(a=!1),a?h.remove_palette(n):h.copy_palette(n)})},h.remove_palette=function(e){e.find('.boldgrid-inactive-palette').length&&(e.remove(),h.state=h.format_current_palette_state(),h.update_palette_settings())},h.modify_palette_action=function(e){e.find('[data-copy-on-mod="1"]').length&&h.copy_palette(e)},h.copy_palette=function(e){var o=e.find('.boldgrid-active-palette');if(o.length){var n=e.clone(!1);n.find('.palette-action-buttons').remove(),n.find('.boldgrid-active-palette').removeAttr('data-auto-generated'),h.clean_palette_clone(e.find('.boldgrid-active-palette')),h.revert_current_selection(n);var a=h.get_first_inactive();n.insertBefore(a)}else if(e.find('.boldgrid-inactive-palette').length){var r=e.clone(!1);h.clean_palette_clone(r.find('.boldgrid-inactive-palette')),e.after(r)}h.state=h.format_current_palette_state(),h.update_palette_settings()},h.clean_palette_clone=function(e){e.removeAttr('data-copy-on-mod data-palette-id')},h.get_first_inactive=function(){return b.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper > [data-palette-wrapper="true"]').not('.current-palette-wrapper').first()},h.bind_compile_done=function(){m.on('boldgrid_sass_compile_done',function(e,o){h.doCompile(),'color_palette_focus'!==o.source&&(h.update_iframe(o),b.$control.trigger('sass_compiled',o))})},h.update_iframe=function(e){h.compiled_css=e.result.text,h.update_palette_settings()},h.update_palette_settings=function(){h.text_area_val=JSON.stringify({state:h.state}),window.wp&&window.wp.customize&&wp.customize('boldgrid_color_palette').set('').set(h.text_area_val)},h.get_random_format=function(){return h.body_classes[0]},h.pickerPostInit=function(){var e=b.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-is-active="1"]').first(),o=b.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-is-default="1"]').first(),n=o;e.length&&(n=e),n.click(),b.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),g('body').on('click',function(){b.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),b.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section')}),b.$palette_control_wrapper.find('.wp-color-result').on('click',function(){var e=g(this),o=e.parent().find('.iris-picker').is(':visible');o&&(e.removeClass('expanded-wp-colorpicker'),!b.$palette_control_wrapper.find('.active-palette-section').length&&b.$palette_control_wrapper.find('.boldgrid-active-palette li:first').click())}),b.active_body_class=b.$palette_control_wrapper.find('.boldgrid-active-palette').first().attr('data-color-palette-format')},h.bindActiveColorClick=function(){b.$palette_control_wrapper.on('click','.boldgrid-active-palette li',function(o){o.stopPropagation(),h.activate_color(null,g(this),!0)})}},"./node_modules/@boldgrid/controls/src/controls/color/js/generate.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}var r=Math.floor;n.d(o,'a',function(){return m}),n.d(o,'b',function(){return m});var s=n('./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js'),l=n('./node_modules/color-js/color.js'),i=n.n(l),d=n('./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js'),c='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e},p=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),u=window.jQuery,g={},m=function(){function e(){a(this,e),this.contrast={light:'#1a1a1a',dark:'#ffffff'},this.colorSchemeMethods=['fiveToneAScheme','fiveToneBScheme','fiveToneCScheme','fiveToneDScheme','fiveToneEScheme','neutralScheme','neutralScheme','neutralScheme','analogousScheme','analogousScheme','analogousScheme'],this.internalPalettes=['monochromatic','intesity_and_hue','complementaryScheme','splitComplementaryScheme','splitComplementaryCWScheme','triadicScheme','tetradicScheme'],this.fillPaletteActions=['compliment','blend','copy'],this.methods=['saturateByAmount','lightenByAmount','shiftHue'],this.neutralColors=['#FFFFF2','#FBF5E6','#FFFFFF','#F6F9ED','#FDFDF0','#EBECE4','#ECF1EF','#FFFFFE','#FCF6CF','#FEFFEF','#FFFFFD','#FFFFF3','#FEF1E9','#FEF6E4','#EEF3E2','#292929','#4d4d4d','#1a1a1a']}var o=Math.abs;return p(e,[{key:'getRandomColor',value:function(){for(var e=['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'],o='#',n=0;6>n;n++)o+=e[r(16*Math.random())];return o}},{key:'getContrast',value:function(e){var o=i()(e),n=this.contrast.light,a=o.getLightness();return 0.5>a&&(n=this.contrast.dark),n}},{key:'generateNeutralColor',value:function(e){var o=Math.random(),n=null,a,r;return o>0.5?(a=_.sample(e),r=i()(a),n=r.setLightness(0.9).toCSS()):n=_.sample(this.neutralColors),n}},{key:'colorDiff',value:function(e,n){e=i()(e).toHSL(),n=i()(n).toHSL();var a=e.hue-n.hue,r=e.saturation-n.saturation,s=e.lightness-n.lightness,l=o(a)/360,d=o(r),c=o(s);return{hue:a,saturationDiff:r,lightnessDiff:s,totalPercentageDiff:l+d+c}}},{key:'findMatches',value:function(e){var o={};return u.each(e,function(n,a){u.each(e,function(e,r){r===a&&e!==n&&(!o[r]&&(o[r]=[]),-1===o[r].indexOf(n)&&o[r].push(n),-1===o[r].indexOf(e)&&o[r].push(e))})}),o}},{key:'arrayMove',value:function(e,o,n){if(o>=e.length)for(var a=o-e.length;a--+1;)e.push(void 0);return e.splice(o,0,e.splice(n,1)[0]),e}},{key:'findRelations',value:function(e){var o=[],n;return n=this.findMatches(e),!1===u.isEmptyObject(n)&&u.each(n,function(){o.push({type:'match',values:this})}),o}},{key:'determineRelations',value:function(e){var o=this,n={},a=[],r=this.findRelations(e.samplePalette);return u.each(r,function(){var o=!0;u.each(this.values,function(){if(e.partialPalette[this])return o=!1,!1}),o&&a.push(this)}),a.length?n={type:'samplePalette',relationsData:a}:_.each(e.additionalSamplePalattes,function(e){if(a=o.findRelations(e),a.length)return n={type:'additionalSamplePalattes',relationsData:a},!1}),n}},{key:'applyRelationships',value:function(e,o,n){var a=e.slice(0);return u.each(o.relationsData,function(){var e=this,o=!1;'match'===e.type&&(u.each(e.values,function(){var e=n.indexOf(this);-1!==e&&(o=this)}),!1===o&&(o=e.values[r(Math.random()*e.values.length)]),u.each(e.values,function(){a[this]=a[o]}))}),a}},{key:'findLockedIndexes',value:function(e){var o=[];return u.each(e,function(e){this&&o.push(e)}),o}},{key:'determineRelationalCount',value:function(e,o){var n;return n=2/3,'additionalSamplePalattes'===e&&(n=1/3),r(o*n)}},{key:'findPalettesByColor',value:function(e){var n=this,a=[],r,s;return s=function(){return d.a[this.paletteIndex].slice(0)},_.each(d.a,function(o,r){_.each(o,function(o,l){var i=n.colorDiff(o,e);if(!(16<i.hue)){var d={paletteIndex:r,colorIndex:l,distance:i,getPalette:s};a.push(d)}})}),r=function(e,n){return o(e.distance.totalPercentageDiff)>o(n.distance.totalPercentageDiff)?1:o(e.distance.totalPercentageDiff)<o(n.distance.totalPercentageDiff)?-1:0},a.sort(r),a}},{key:'generatePaletteCollection',value:function(e,o){o||(o=5);for(var n=this.determineRelations(e),a=this.findLockedIndexes(e.partialPalette),r=this.determineRelationalCount(n.type,o),s=[],l=0,i;l<o;l++)if(i=this.generatePalette(e),'object'===('undefined'==typeof i?'undefined':c(i))&&i.length){var d='samplePalette'===n.type&&l<r||'additionalSamplePalattes'===n.type&&l>=o-r;d&&(i=this.applyRelationships(i,n,a)),i=this.fixLockedIndex(i,e.partialPalette),s.push(i)}return s}},{key:'fixLockedIndex',value:function(e,o){return u.each(o,function(o){this&&(e[o]=this)}),e}},{key:'generatePalette',value:function(e){var o=[],n=this.partialPaletteIntoColorsPalette(e.partialPalette),a=this.isPaletteEmpty(n.palette);if(a)o=this.getPaletteFromStaticList(n.palette);else if(1<n.generateKeys.length){var s=this.generatePaletteFromPartial(n.palette);o=this.randomizePalette(s,n.unchangedKeys)}else{var l=n.palette[n.generateKeys[0]];if(l.toCSS()!==g.color&&(g.color=l.toCSS(),g.palettes=this.findPalettesByColor(g.color),g.paletteCounter=0),g.palettes[g.paletteCounter])o=g.palettes[g.paletteCounter].getPalette(),o=this.arrayMove(o,n.generateKeys[0],this.colorIndex),o=this.truncateGeneratedPalette(o,n.palette),g.paletteCounter++;else{var i=r(3*Math.random())+1;if(1===i){var d=internalPalettes[r(Math.random()*internalPalettes.length)],c=new Palettes;o=c[d](l)}else if(2===i){var p=colorSchemeMethods[r(Math.random()*colorSchemeMethods.length)];o=l[p]()}else{var m=this.randomArray(4,5);m.unshift(0),o=l.schemeFromDegrees(m)}o=this.randomizePalette(o,[0]),o=this.formatPaletteToUnchanged(o,n.generateKeys[0]),o=this.truncateGeneratedPalette(o,n.palette)}}var h=o.slice(0);return u.each(n.unchangedKeys,function(){h[this]=e.partialPalette[this]}),h}},{key:'truncateGeneratedPalette',value:function(e,o){for(var n=[],a=0;a<o.length;a++)n.push(e[a]);return n}},{key:'formatPaletteToUnchanged',value:function(e,o){var n=e[0],a={};return a[o]=n,a[0]=e[o],u.each(e,function(e){0===e||e!==o&&(a[e]=this)}),a=u.map(a,function(e){return[e]}),a}},{key:'partialPaletteIntoColorsPalette',value:function(e){var o=[],n=[],a=[];return u.each(e,function(e){if(this){var r=i()(this);0.9>r.getLightness()&&0.1<r.getLightness()&&0.15<r.getSaturation()?(o.push(r),a.push(e)):o.push(null),n.push(e)}else o.push(null)}),{palette:o,unchangedKeys:n,generateKeys:a}}},{key:'getPaletteFromStaticList',value:function(e){for(var o=[],n=0,a;2>n;n++){if(a=d.a[r(Math.random()*d.a.length)],a.length>=e.length)if(a.length>e.length)for(var s=0;s<e.length;s++)o.push(a[s]);else a.length===e.length&&(o=a);o.length&&(n=2)}return o}},{key:'isPaletteEmpty',value:function(e){var o=!0;return u.each(e,function(){if(this)return o=!1,!1}),o}},{key:'getGrey',value:function(){var e=i()('#FFFFFF');return e.setBlue(0).setRed(0).setGreen(0).setLightness(Math.random()).toCSS()}},{key:'colorArrayToCss',value:function(e){var o=[];return u.each(e,function(e){5<e&&o.push(this.toCSS())}),o}},{key:'generatePaletteFromPartial',value:function(e){var o=this,n=[];u.each(e,function(e,o){o&&n.push(o)});var a=[];return _.each(e,function(e){if(!e){var r=_.sample(o.fillPaletteActions),s=_.sample(n),l=_.sample(n),i;i='compliment'===r?s.shiftHue(180):'blend'===r?s.blend(l,0.5):s,a.push(i)}else a.push(e)}),a}},{key:'randomizePalette',value:function(e,o){var n=this,a=[];return u.each(e,function(e,s){if(5<=e)return!1;if(-1!==o.indexOf(e))return void a.push(s.toCSS());for(var l=0;2>l;l++){var i=void 0,d=_.sample(n.methods);i='shiftHue'===d?r(45*Math.random())+1-23:(r(20*Math.random())+1)/100,s=s[d](i),1===l&&a.push(s.toCSS())}}),a}},{key:'randomArray',value:function(e,o){for(var n=[],a=45*o,s=0;s<e;s++)n.push(r(Math.random()*a)+1-a/2);return n}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/material.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return i});var r=n('./node_modules/google-material-color-palette-json/lib/palette.js'),s=n.n(r),l=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),i=function(){function e(){a(this,e),this.paletteLayoutShades=['500','900','100','#eeeeee','#131313'],this.availableColors=_.without(_.keys(s.a),'black','white')}return l(e,[{key:'getRandomPalette',value:function(){var e=_.sample(this.availableColors);return this.getPalette(e)}},{key:'getPalette',value:function(e){var o=[],n=!0,a=!1,r;try{for(var l=this.paletteLayoutShades[Symbol.iterator](),i,d;!(n=(i=l.next()).done);n=!0)d=i.value,-1===d.indexOf('#')?-1===['black','white','#eeeeee'].indexOf(d)?o.push(s.a[e]['shade_'+d]):o.push(s.a[d]):o.push(d)}catch(e){a=!0,r=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw r}}return o}},{key:'getAllPalettes',value:function(){var e=[],o=!0,n=!1,a;try{for(var r=this.availableColors[Symbol.iterator](),s,l;!(o=(s=r.next()).done);o=!0)l=s.value,e.push(this.getPalette(l))}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}return e}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return s});var r=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),s=function(){function e(){a(this,e)}return r(e,[{key:'monochromatic',value:function(e){var o=[e,e.lightenByAmount(0.3),e.darkenByAmount(0.1),e.saturateByAmount(0.5),e.lightenByAmount(0.2)];return o}},{key:'intesityAndHue',value:function(e){var o=[e,e.shiftHue(20).lightenByAmount(0.15),e.shiftHue(-20).darkenByAmount(0.2),e.shiftHue(-33).darkenByAmount(0.25),e.shiftHue(10).lightenByAmount(0.05)];return o}},{key:'complementaryScheme',value:function(e){var o=[e,e.shiftHue(180),e.shiftHue(180).lightenByAmount(0.25),e.darkenByAmount(0.25),e.lightenByAmount(0.25)];return o}},{key:'splitComplementaryScheme',value:function(e){var o=[e,e.shiftHue(150),e.shiftHue(320),e.shiftHue(320).darkenByAmount(0.25),e.lightenByAmount(0.25)];return o}},{key:'splitComplementaryCWScheme',value:function(e){var o=[e,e.shiftHue(60),e.shiftHue(210),e.darkenByAmount(0.1),e.shiftHue(60).darkenByAmount(0.15)];return o}},{key:'triadicScheme',value:function(e){var o=[e,e.shiftHue(60),e.shiftHue(240),e.shiftHue(60).lightenByAmount(0.2),e.lightenByAmount(0.15)];return o}},{key:'tetradicScheme',value:function(e){var o=[e,e.shiftHue(90),e.shiftHue(180),e.shiftHue(270),e.saturateByAmount(-0.25)];return o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/renderer.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return g}),n.d(o,'b',function(){return g});var r=n('./node_modules/@boldgrid/controls/src/controls/color/scss/control.scss'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/color/js/control.js'),i=n('./node_modules/@boldgrid/controls/src/controls/color/js/config.js'),d=n('./node_modules/@boldgrid/controls/src/controls/color/js/button.js'),c=n('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),p=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),u=window.jQuery,g=function(){function e(o){a(this,e),this.preloadedFiles=!1,this.initialCompilesDone=!1,this.initialCompileCount=0,this.configs=_.defaults(o||{},{sassFiles:[],defaultSassFiles:['color-palette-scss/classes/color-classes.scss']}),this.configs.sassFiles=this.configs.sassFiles.concat(this.configs.defaultSassFiles),this.sassCompiler=new c.a(this.configs.sass||{}),this.buttonColors=new d.a({sassCompiler:this.sassCompiler})}return p(e,[{key:'init',value:function(){return this._preloadFiles()}},{key:'initialCompiles',value:function(e){var o=this,n=u.Deferred(),a=window.BOLDGRID.COLOR_PALETTE.Modify.getScss();return this.sassCompiler.compile(a,{source:'setup'}).done(function(){e>o.compileCount?(o.compileCount++,o.initialCompiles(e)):(o.initialCompilesDone=!0,n.resolve())}),n}},{key:'setPaletteSettings',value:function(e){this.palettes=this._createPaletteSetting(e),this.formatConfig()}},{key:'formatConfig',value:function(){this.palettes.saved_palettes=this.palettes.saved_palettes||[],this.palettes.palettes=this.palettes.saved_palettes.concat(this.palettes.palettes),this.palettes.hasNeutralColor=this.palettes.palettes[0]['neutral-color']?1:0,this.palettes.colorPaletteColumns=this.palettes['color-palette-size']+this.palettes.hasNeutralColor,this.assignNeutral()}},{key:'assignNeutral',value:function(){var e=!0,o=!1,n;try{for(var a=this.palettes.palettes[Symbol.iterator](),r,s;!(e=(r=a.next()).done);e=!0)s=r.value,s['neutral-color']&&s.colors.push(s['neutral-color'])}catch(e){o=!0,n=e}finally{try{!e&&a.return&&a.return()}finally{if(o)throw n}}}},{key:'getImportString',value:function(){var e='',o=!0,n=!1,a;try{for(var r=this.configs.sassFiles[Symbol.iterator](),s,l;!(o=(s=r.next()).done);o=!0)l=s.value,e+='@import "'+l+'";'}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}return e}},{key:'render',value:function(e,o){var n,a;return this.setPaletteSettings(o),a=this._createHtml(),n=u(a),e.append(a),window.BOLDGRID.COLOR_PALETTE.Modify.init(n,{renderer:this}),this.$control=n,n}},{key:'_createHtml',value:function(){var e=n('./node_modules/@boldgrid/controls/src/controls/color/template.html');return _.template(e)({config:this.palettes})}},{key:'_preloadFiles',value:function(){var e=this,o=u.Deferred(),n=this.configs.sassFiles.concat(this.buttonColors.files);return this.sassCompiler.preload(n).done(function(){e.preloadedFiles=!0,o.resolve(n)}),o}},{key:'_createPaletteSetting',value:function(e){var o=new i.a;return e=e?o.mergeDefaults(e):o.createSimpleConfig(),u.extend(!0,{},e)}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/selection.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return h});var r=n('./node_modules/@boldgrid/controls/src/controls/color/scss/selection.scss'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/color/scss/pagination.scss'),i=n.n(l),d=n('./node_modules/@boldgrid/controls/src/controls/color/js/control.js'),c=n('./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js'),p=n('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),u=n('./node_modules/@boldgrid/controls/src/controls/color/js/material.js'),g=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),m=window.jQuery,h=function(){function e(){a(this,e),this.material=new u.a,this.pageSize=6,this.maxPages=25,this.$control,this.$pagination,this.$selectedPalette,this.currentPage=0,this.currentCount=0,this.pages=[],this.colors=this._createAvailablePalettes(),this._paginatePalettes()}return g(e,[{key:'create',value:function(){return this.$control=m(n('./node_modules/@boldgrid/controls/src/controls/color/template/selection.html')),this.$paletteRows=this.$control.find('.palette-rows'),this.$pagination=this.$control.find('.bg-pagination'),this._bindEvents(),this.updatePage(this.currentPage),this.$control}},{key:'updatePage',value:function(e){this.currentPage=Math.min(e,this.maxPages),this._displayCurrentPage(),this.currPageAttr=this.currentPage,this.maxPages<=this.currentPage&&(this.currPageAttr='last'),this.$pagination.attr('data-page',this.currPageAttr)}},{key:'getSelectedPalette',value:function(){return this.$selectedPalette[0].colors}},{key:'randomSelection',value:function(){var e=this.material.getRandomPalette();return e.push('#FFF'),this._formatPalette(e)}},{key:'_createAvailablePalettes',value:function(){var e=[],o=new p.b,n=_.shuffle(c.a);n=_.union(this.material.getAllPalettes(),n);var a=!0,r=!1,s;try{for(var l=n[Symbol.iterator](),i,d;!(a=(i=l.next()).done);a=!0)d=i.value,d.push('#FFFFFF'),e.push(d)}catch(e){r=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw s}}return e}},{key:'_paginatePalette',value:function(){for(var e=[],o=this.currentCount+this.pageSize,n=this.currentCount;o>n;n++)e.push(this.colors[n]);this.currentCount=this.pageSize+this.currentCount,this.pages.push(e)}},{key:'_paginatePalettes',value:function(){for(var e=0;this.maxPages>=e;e++)this._paginatePalette()}},{key:'_displayCurrentPage',value:function(){var e=this.$paletteRows.find('[data-page-id="'+this.currentPage+'"]');if(this.$paletteRows.find('.palette-row').hide(),e.length)return void e.show();var o=this.pages[this.currentPage],n=!0,a=!1,r;try{for(var s=o[Symbol.iterator](),l;!(n=(l=s.next()).done);n=!0){var i=l.value,d=this._createPaletteRow(i);this.$paletteRows.append(d)}}catch(e){a=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}}},{key:'_bindEvents',value:function(){var e=this;this.$paletteRows.on('click','.palette-row',function(o){e._activate(m(o.currentTarget))}),this.$control.find('.next a').on('click',function(o){o.preventDefault(),e.updatePage(e.currentPage+1)}),this.$control.find('.prev a').on('click',function(o){o.preventDefault(),e.updatePage(e.currentPage-1)})}},{key:'_activate',value:function(e){var o=this.$control.find('.selected-palette');this.$selectedPalette=e,o.find('.palette-row').replaceWith(e.clone()),o.addClass('active'),this.$paletteRows.find('.active').removeClass('active'),this.selectedPalette=e.addClass('active'),this.$control.trigger('palette-selection',{palette:this.getSelectedPalette()})}},{key:'_formatPalette',value:function(e){var o=e.pop();return{colors:e,"neutral-color":o}}},{key:'_createPaletteRow',value:function(e){var o=m('<ul class="palette-row" data-page-id="'+this.currentPage+'">'),n=!0,a=!1,r,s;try{for(var l=e[Symbol.iterator](),i,d;!(n=(i=l.next()).done);n=!0)d=i.value,r=m('<li>').css('background-color',d),o.append(r)}catch(e){a=!0,s=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw s}}return o[0].colors=this._formatPalette(e),o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/transitions.js":function(e,o,n){'use strict';var a=n('./node_modules/color-js/color.js'),r=n.n(a),s=window.jQuery,l=s(window),i,d;window.BOLDGRID=window.BOLDGRID||{},window.BOLDGRID.COLOR_PALETTE=window.BOLDGRID.COLOR_PALETTE||{},window.BOLDGRID.COLOR_PALETTE.Modify=window.BOLDGRID.COLOR_PALETTE.Modify||{},d=window.BOLDGRID.COLOR_PALETTE.Modify,i=d,d.getPreviewerBody=function(){return i.configs.enableCustomizerTransitions?s(wp.customize.previewer.container).find('iframe').last().contents().find('body'):s()},d.addColorTransition=function(){var e=new Date().getTime(),o;i.configs.enableCustomizerTransitions&&(o=d.getPreviewerBody(),o.addClass('color-palette-transitions duration-long'),i.lastTransitionTime=e,setTimeout(function(){i.lastTransitionTime===e&&o.removeClass('color-palette-transitions duration-long')},600))},d.bindTransitions=function(){i.configs.enableCustomizerTransitions&&i.$palette_control_wrapper.on('click','.boldgrid-active-palette li',function(o){var e=s(this),n=e.css('background-color'),a=!1,c=350,p=0.4,u,g,m,h;i.fadeEffectInProgress||!o.originalEvent||(m=d.getPreviewerBody(),i.hasNeutral&&e.is(':last-of-type')&&(a=!0),g=r()(n),g.getLuminance()>0.5?(u=g.darkenByAmount(p),u=u.toCSS()):(u=g.lightenByAmount(p),u=u.toCSS()),e.css('background-color',u),a&&e.closest('.boldgrid-active-palette').attr('data-neutral-color',u),m.addClass('color-palette-transitions'),d.update_theme_option(),e.css('background-color',n),a&&e.closest('.boldgrid-active-palette').attr('data-neutral-color',n),h=new Date().getTime(),i.fadeEffectInProgress=!0,l.one('boldgrid_sass_compile_done',function(){var e=0,o=new Date().getTime()-h;o<c&&(e=c),l.one('boldgrid_sass_compile_done',function(o,n){setTimeout(function(){d.update_iframe(n),setTimeout(function(){m.removeClass('color-palette-transitions'),i.fadeEffectInProgress=!1},250)},e)}),d.update_theme_option({source:'color_palette_focus'})}))})}},"./node_modules/@boldgrid/controls/src/controls/color/scss/control.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/scss/pagination.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/scss/selection.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/template.html":function(e){e.exports='<div class="bgctrl-color-palette boldgrid-control"> <h3>Active Palette</h3> <div class="boldgrid-color-palette-wrapper color-palette-columns-<%=config.colorPaletteColumns %>" data-color-formats=\'["<%=config.palette_formats %>"]\' data-has-neutral="<%=config.hasNeutralColor %>" data-num-colors="<%=config.colorPaletteColumns %>"> <%\n\t_.each( config.palettes, function ( palette, name ) { %> <div data-palette-wrapper=true> <ul class=boldgrid-inactive-palette data-is-default="<%= ~~palette.default %>" data-is-active="<%= ~~palette.isActive %>" data-color-palette-format="<%=palette.format %>" data-copy-on-mod="<%= ~~palette.copyOnMod %>" data-palette-id="<%=palette.palette_id %>" <% if ( palette[\'neutral-color\'] ) { %> data-neutral-color="<%= palette[\'neutral-color\'] %>" <% } %> > <li class=boldgrid-palette-colors> <% _.each( palette.colors, function ( color ) { %> <span data-color="<%=color %>" style="background: <%=color %>"></span> <% } ); %> <div class=boldgrid-duplicate-dashicons> <span class="dashicons dashicons-admin-post boldgrid-copy-palette" title="Save Palette"></span> <span class="dashicons dashicons-no boldgrid-remove-palette" title="Remove Palette"></span> </div> </li> </ul> </div> <% } ); %> <div class="palette-action-buttons hidden"> <button class="button button-primary palette-creator-button palette-generator-button" type=button>Suggest Palettes</button> <div class=color-picker data-value=ffffff></div> <input type=textarea class="hidden palette-option-field"/> <div class=generate-palettes-selection-section> <h3>Suggested Palettes</h3> <div class=generated-palettes-container></div> <input type=button class="button cancel-generated-palettes-button" value=Done> </div> <div class=saved-palettes-divider> <h3>Saved Palettes</h3> </div> </div> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/color/template/selection.html":function(e){e.exports='<div class=palette-selection> <h3>Choose a palette</h3> <p> Your chosen color palette will be used for default color selection. You can fully customize these colors later. </p> <div class=selected-palette> <div class=unselected> Select a Palette Below </div> <div class=selected> <p>Selected Palette</p> <ul class=palette-row> </ul> </div> </div> <div class=palette-rows> </div> <div class=bg-pagination> <div class=prev><a href=#>Previous</a></div> <div class=next><a href=#>Next</a></div> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/device-visibility/control.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}n.d(o,'a',function(){return p});var r=n('./node_modules/@boldgrid/controls/src/controls/device-visibility/template.html'),s=n.n(r),l=n('./node_modules/@boldgrid/controls/src/controls/checkbox/index.js'),i=function(){function e(e,o){var n=[],a=!0,r=!1,s;try{for(var l=e[Symbol.iterator](),i;!(a=(i=l.next()).done)&&(n.push(i.value),!(o&&n.length===o));a=!0);}catch(e){r=!0,s=e}finally{try{!a&&l['return']&&l['return']()}finally{if(r)throw s}}return n}return function(o,n){if(Array.isArray(o))return o;if(Symbol.iterator in Object(o))return e(o,n);throw new TypeError('Invalid attempt to destructure non-iterable instance')}}(),d=function(){function e(e,o){for(var n=0,a;n<o.length;n++)a=o[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}return function(o,n,a){return n&&e(o.prototype,n),a&&e(o,a),o}}(),c=window.jQuery,p=function(){function e(o){a(this,e),this.options=o||{},this.$target=this.options.target,this.template=_.template(s.a),this.checkboxConfigs=[{name:'phone-visibility',label:'Phone',class:'hidden-xs',icon:n('./node_modules/@boldgrid/controls/src/controls/device-visibility/img/phone.svg')},{name:'tablet-visibility',label:'Tablet',class:'hidden-sm',icon:n('./node_modules/@boldgrid/controls/src/controls/device-visibility/img/tablet.svg')},{name:'desktop-visibility',label:'Desktop',class:'hidden-md',icon:n('./node_modules/@boldgrid/controls/src/controls/device-visibility/img/desktop.svg')},{name:'large-visibility',label:'Large Displays',class:'hidden-lg',icon:n('./node_modules/@boldgrid/controls/src/controls/device-visibility/img/large.svg')}]}return d(e,[{key:'render',value:function(){return this.$control=c(this.template()),this._appendCheckboxes(),this.$control}},{key:'_appendCheckboxes',value:function(){var e=this.$control.find('.checkboxes'),o=!0,n=!1,a;try{for(var r=this.checkboxConfigs.entries()[Symbol.iterator](),s;!(o=(s=r.next()).done);o=!0){var d=i(s.value,2),c=d[0],p=d[1];this.checkboxConfigs[c].control=new l.a(p),e.append(this.checkboxConfigs[c].control.render()),this._preset(p),this._bind(p)}}catch(e){n=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(n)throw a}}}},{key:'_allChecked',value:function(){return 0===this.$control.find('.checkboxes input:not(:checked)').length}},{key:'_preset',value:function(e){this.$target.hasClass(e.class)&&e.control.$input.prop('checked',!0)}},{key:'_bind',value:function(e){var o=this,n=e.control.$input;n.on('change',function(){var a=n.prop('checked');return o._allChecked()?void n.prop('checked',!1):void(a?o.$target.addClass(e.class):o.$target.removeClass(e.class))})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/device-visibility/img/desktop.svg":function(e){e.exports='<svg fill="#000000" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path d="M0 0h24v24H0V0z" id="a"></path></defs><clipPath id="b"><use overflow="visible" xlink:href="#a"></use></clipPath><path clip-path="url(#b)" d="M20 18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"></path></svg>'},"./node_modules/@boldgrid/controls/src/controls/device-visibility/img/large.svg":function(e){e.exports='<svg fill="#000000" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"></path><path d="M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.1-.9-2-2-2zm0 14H3V5h18v12z"></path></svg>'},"./node_modules/@boldgrid/controls/src/controls/device-visibility/img/phone.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" viewBox="0 0 24 24"><path d="M16 1H8C6.34 1 5 2.34 5 4v16c0 1.66 1.34 3 3 3h8c1.66 0 3-1.34 3-3V4c0-1.66-1.34-3-3-3zm-2 20h-4v-1h4v1zm3.25-3H6.75V4h10.5v14z"></path><path d="M0 0h24v24H0z" fill="none"></path></svg>'},"./node_modules/@boldgrid/controls/src/controls/device-visibility/img/tablet.svg":function(e){e.exports='<svg fill="#000000" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"></path><path d="M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 1.99-.9 1.99-2L23 6c0-1.1-.9-2-2-2zm-2 14H5V6h14v12z"></path></svg>'},"./node_modules/@boldgrid/controls/src/controls/device-visibility/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/device-visibility/control.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/device-visibility/template.html":function(e){e.exports='<div class="boldgrid-control device-visibility-control"> <h3 class=control-title>Responsive Utilities</h3> <p>By default this element is visibile on all devices. You can hide this element on any of the following devices.</p> <div class=checkboxes> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/color/index.js');n.d(o,'e',function(){return a.ColorPalette}),n.d(o,'f',function(){return a.Selection}),n.d(o,'j',function(){return a.Config});var r=n('./node_modules/@boldgrid/controls/src/controls/device-visibility/index.js');n.d(o,'g',function(){return r.a});var s=n('./node_modules/@boldgrid/controls/src/controls/padding/index.js');n.d(o,'i',function(){return s.Padding});var l=n('./node_modules/@boldgrid/controls/src/controls/border/index.js');n.d(o,'b',function(){return l.a});var i=n('./node_modules/@boldgrid/controls/src/controls/margin/index.js');n.d(o,'h',function(){return i.a});var d=n('./node_modules/@boldgrid/controls/src/controls/border-radius/index.js');n.d(o,'c',function(){return d.a});var c=n('./node_modules/@boldgrid/controls/src/controls/box-shadow/index.js');n.d(o,'d',function(){return c.a});var p=n('./node_modules/@boldgrid/controls/src/controls/slider/index.js'),u=n('./node_modules/@boldgrid/controls/src/controls/animation/index.js');n.d(o,'a',function(){return u.a});var g=n('./node_modules/@boldgrid/controls/src/controls/style/index.js');n.d(o,'k',function(){return g.Updater});({Color:n('./node_modules/@boldgrid/controls/src/controls/color/index.js'),Style:n('./node_modules/@boldgrid/controls/src/controls/style/index.js'),Padding:n('./node_modules/@boldgrid/controls/src/controls/padding/index.js')})},"./node_modules/@boldgrid/controls/src/controls/margin/index.js":function(e,o,n){'use strict';var a=n('./node_modules/@boldgrid/controls/src/controls/margin/margin.js');n.d(o,'a',function(){return a.a})},"./node_modules/@boldgrid/controls/src/controls/margin/margin.js":function(e,o,n){'use strict';function a(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function s(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}n.d(o,'a',function(){return i});var l=n('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=function(e){function o(e){a(this,o);var n=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return n.controlOptions={control:{title:'Margin',name:'margin',units:{default:'px',enabled:['px','em','%']},sliders:[{name:'top',label:'Top',cssProperty:'margin-top'},{name:'right',label:'Right',cssProperty:'margin-right'},{name:'bottom',label:'Bottom',cssProperty:'margin-bottom'},{name:'left',label:'Left',cssProperty:'margin-left'}]},slider:{px:{min:-100,max:100,step:1},"%":{min:-20,max:20,step:0.1},em:{min:-5,max:5,step:0.1}}},n}return s(o,e),o}(l.a)},"./node_modules/@boldgrid/controls/src/controls/multi-slider/config.js":function(e,o){'use strict';o.a={defaults:{control:{title:'Universal',linkable:!0,units:{default:'percentage',enabled:['px','percentage','em']},sliders:[{name:'top',label:'Top',cssProperty:'border-top-width'},{name:'right',label:'Right',cssProperty:'border-right-width'},{name:'bottom',label:'Bottom',cssProperty:'border-bottom-width'},{name:'left',label:'Left',cssProperty:'border-left-width'}]},slider:{px:{min:0,max:100},"%":{min:0,max:100},em:{min:0.1,max:5}}}}},"./node_modules/@boldgrid/controls/src/controls/mu