Genesis Blocks - Version 1.2.5

Version Description

  • Added: block_categories_all filter for WordPress 5.8.
  • Changed: Replace Font Awesome with SVG files in the Profile Box (aka Author Profile) block, and the Sharing block.
  • Changed: Ensure the Post Grid block works outside of a post context (such as the WordPress 5.8 widgets screen).
  • Fixed: Improve accessibility & readability of the Slate Collection colors.
Download this release

Release Info

Developer studiopress
Plugin Icon 128x128 Genesis Blocks
Version 1.2.5
Comparing to
See all releases

Code changes from version 1.2.4 to 1.2.5

dist/blocks.build.js CHANGED
@@ -3,9 +3,9 @@
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var i=a.apply(null,r);i&&e.push(i)}else if("object"===o)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function a(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function m(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function _(e,t,n,r){return wt(e,t,n,r,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=h(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function f(e){var t=_(NaN);return null!=e?p(h(t),e):h(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=a.momentProperties=[],y=!1;function k(e,t){var n,r,a;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=h(t)),c(t._locale)||(e._locale=t._locale),b.length>0)for(n=0;n<b.length;n++)c(a=t[r=b[n]])||(e[r]=a);return e}function M(e){k(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,a.updateOffset(this),y=!1)}function v(e){return e instanceof M||null!=e&&null!=e._isAMomentObject}function L(e){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function Y(e,t){var n=!0;return p((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var r,o,i,l=[];for(o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(i in r+="\n["+o+"] ",arguments[0])s(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[o];l.push(r)}L(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var w,T={};function D(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),T[e]||(L(t),T[e]=!0)}function R(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e,t){var n,r=p({},e);for(n in t)s(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&i(e[n])&&(r[n]=p({},r[n]));return r}function x(e){null!=e&&this.set(e)}function E(e,t,n){var r=""+Math.abs(e),a=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,w=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var C=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},H={};function O(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(H[e]=a),t&&(H[t[0]]=function(){return E(a.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function A(e,t){return e.isValid()?(t=z(t,e.localeData()),P[t]=P[t]||function(e){var t,n,r,a=e.match(C);for(t=0,n=a.length;t<n;t++)H[a[t]]?a[t]=H[a[t]]:a[t]=(r=a[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=R(a[r])?a[r].call(t,e):a[r];return o}}(t),P[t](e)):e.localeData().invalidDate()}function z(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(j.lastIndex=0;n>=0&&j.test(e);)e=e.replace(j,r),j.lastIndex=0,n-=1;return e}var N={};function B(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function F(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function W(e){var t,n,r={};for(n in e)s(e,n)&&(t=F(n))&&(r[t]=e[n]);return r}var I={};function U(e,t){I[e]=t}function J(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=V(t)),n}function q(e,t){return function(n){return null!=n?(K(this,e,n),a.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&J(e.year())&&1===e.month()&&29===e.date()?(n=G(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ve(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z,Q=/\d/,X=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ae=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,me=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function _e(e,t,n){Z[e]=R(t)?t:function(e,r){return e&&n?n:t}}function he(e,t){return s(Z,e)?Z[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Z={};var fe,be={};function ye(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=G(e)}),n=0;n<e.length;n++)be[e[n]]=r}function ke(e,t){ye(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function Me(e,t,n){null!=t&&s(be,e)&&be[e](t,n._a,n,e)}function ve(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?J(e)?29:28:31-r%7%2}fe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},O("M",["MM",2],"Mo",(function(){return this.month()+1})),O("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),O("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),B("month","M"),U("month",8),_e("M",re),_e("MM",re,X),_e("MMM",(function(e,t){return t.monthsShortRegex(e)})),_e("MMMM",(function(e,t){return t.monthsRegex(e)})),ye(["M","MM"],(function(e,t){t[1]=G(e)-1})),ye(["MMM","MMMM"],(function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[1]=a:h(n).invalidMonth=e}));var Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ye="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),we=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Te=pe,De=pe;function Re(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=_([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=fe.call(this._shortMonthsParse,i))?a:null:-1!==(a=fe.call(this._longMonthsParse,i))?a:null:"MMM"===t?-1!==(a=fe.call(this._shortMonthsParse,i))||-1!==(a=fe.call(this._longMonthsParse,i))?a:null:-1!==(a=fe.call(this._longMonthsParse,i))||-1!==(a=fe.call(this._shortMonthsParse,i))?a:null}function Se(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=G(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),ve(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function xe(e){return null!=e?(Se(this,e),a.updateOffset(this,!0),this):$(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}var t,n,r=[],a=[],o=[];for(t=0;t<12;t++)n=_([2e3,t]),r.push(this.monthsShort(n,"")),a.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),a.sort(e),o.sort(e),t=0;t<12;t++)r[t]=ge(r[t]),a[t]=ge(a[t]);for(t=0;t<24;t++)o[t]=ge(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ce(e){return J(e)?366:365}O("Y",0,0,(function(){var e=this.year();return e<=9999?E(e,4):"+"+e})),O(0,["YY",2],0,(function(){return this.year()%100})),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),B("year","y"),U("year",1),_e("Y",ue),_e("YY",re,X),_e("YYYY",se,te),_e("YYYYY",le,ne),_e("YYYYYY",le,ne),ye(["YYYYY","YYYYYY"],0),ye("YYYY",(function(e,t){t[0]=2===e.length?a.parseTwoDigitYear(e):G(e)})),ye("YY",(function(e,t){t[0]=a.parseTwoDigitYear(e)})),ye("Y",(function(e,t){t[0]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return G(e)+(G(e)>68?1900:2e3)};var je=q("FullYear",!0);function Pe(e,t,n,r,a,o,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,o,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,o,i),s}function He(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Oe(e,t,n){var r=7+t-n;return-(7+He(e,0,r).getUTCDay()-t)%7+r-1}function Ae(e,t,n,r,a){var o,i,s=1+7*(t-1)+(7+n-r)%7+Oe(e,r,a);return s<=0?i=Ce(o=e-1)+s:s>Ce(e)?(o=e+1,i=s-Ce(e)):(o=e,i=s),{year:o,dayOfYear:i}}function ze(e,t,n){var r,a,o=Oe(e.year(),t,n),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?r=i+Ne(a=e.year()-1,t,n):i>Ne(e.year(),t,n)?(r=i-Ne(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function Ne(e,t,n){var r=Oe(e,t,n),a=Oe(e+1,t,n);return(Ce(e)-r+a)/7}function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),B("week","w"),B("isoWeek","W"),U("week",5),U("isoWeek",5),_e("w",re),_e("ww",re,X),_e("W",re),_e("WW",re,X),ke(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=G(e)})),O("d",0,"do","day"),O("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),O("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),O("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),B("day","d"),B("weekday","e"),B("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),_e("d",re),_e("e",re),_e("E",re),_e("dd",(function(e,t){return t.weekdaysMinRegex(e)})),_e("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),_e("dddd",(function(e,t){return t.weekdaysRegex(e)})),ke(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:h(n).invalidWeekday=e})),ke(["d","e","E"],(function(e,t,n,r){t[r]=G(e)}));var Fe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),We="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ie="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=pe,Je=pe,Ve=pe;function Ge(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=_([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=fe.call(this._weekdaysParse,i))?a:null:"ddd"===t?-1!==(a=fe.call(this._shortWeekdaysParse,i))?a:null:-1!==(a=fe.call(this._minWeekdaysParse,i))?a:null:"dddd"===t?-1!==(a=fe.call(this._weekdaysParse,i))||-1!==(a=fe.call(this._shortWeekdaysParse,i))||-1!==(a=fe.call(this._minWeekdaysParse,i))?a:null:"ddd"===t?-1!==(a=fe.call(this._shortWeekdaysParse,i))||-1!==(a=fe.call(this._weekdaysParse,i))||-1!==(a=fe.call(this._minWeekdaysParse,i))?a:null:-1!==(a=fe.call(this._minWeekdaysParse,i))||-1!==(a=fe.call(this._weekdaysParse,i))||-1!==(a=fe.call(this._shortWeekdaysParse,i))?a:null}function qe(){function e(e,t){return t.length-e.length}var t,n,r,a,o,i=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=_([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),a=ge(this.weekdaysShort(n,"")),o=ge(this.weekdays(n,"")),i.push(r),s.push(a),l.push(o),c.push(r),c.push(a),c.push(o);i.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function $e(){return this.hours()%12||12}function Ke(e,t){O(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}O("H",["HH",2],0,"hour"),O("h",["hh",2],0,$e),O("k",["kk",2],0,(function(){return this.hours()||24})),O("hmm",0,0,(function(){return""+$e.apply(this)+E(this.minutes(),2)})),O("hmmss",0,0,(function(){return""+$e.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)})),O("Hmm",0,0,(function(){return""+this.hours()+E(this.minutes(),2)})),O("Hmmss",0,0,(function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),B("hour","h"),U("hour",13),_e("a",Ze),_e("A",Ze),_e("H",re),_e("h",re),_e("k",re),_e("HH",re,X),_e("hh",re,X),_e("kk",re,X),_e("hmm",ae),_e("hmmss",oe),_e("Hmm",ae),_e("Hmmss",oe),ye(["H","HH"],3),ye(["k","kk"],(function(e,t,n){var r=G(e);t[3]=24===r?0:r})),ye(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ye(["h","hh"],(function(e,t,n){t[3]=G(e),h(n).bigHour=!0})),ye("hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r)),h(n).bigHour=!0})),ye("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(a)),h(n).bigHour=!0})),ye("Hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r))})),ye("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(a))}));var Qe,Xe=q("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Le,monthsShort:Ye,week:{dow:0,doy:6},weekdays:Fe,weekdaysMin:Ie,weekdaysShort:We,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function at(e){return e?e.toLowerCase().replace("_","-"):e}function ot(t){var r=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports)try{r=Qe._abbr,n(205)("./"+t),it(r)}catch(e){tt[t]=null}return tt[t]}function it(e,t){var n;return e&&((n=c(t)?lt(e):st(e,t))?Qe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Qe._abbr}function st(e,t){if(null!==t){var n,r=et;if(t.abbr=e,null!=tt[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])r=tt[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return tt[e]=new x(S(r,t)),nt[e]&&nt[e].forEach((function(e){st(e.name,e.config)})),it(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Qe;if(!o(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,r,a,o=0;o<e.length;){for(t=(a=at(e[o]).split("-")).length,n=(n=at(e[o+1]))?n.split("-"):null;t>0;){if(r=ot(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(a,n)>=t-1)break;t--}o++}return Qe}(e)}function ct(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ve(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ht=/^\/?Date\((-?\d+)/i,gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ft={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bt(e){var t,n,r,a,o,i,s=e._i,l=ut.exec(s)||dt.exec(s);if(l){for(h(e).iso=!0,t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[1])){a=pt[t][0],r=!1!==pt[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[3])){o=(l[2]||" ")+_t[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!mt.exec(l[4]))return void(e._isValid=!1);i="Z"}e._f=a+(o||"")+(i||""),Lt(e)}else e._isValid=!1}function yt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function kt(e){var t,n,r,a,o,i,s,l,c=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],r=c[3],a=c[2],o=c[5],i=c[6],s=c[7],l=[yt(n),Ye.indexOf(r),parseInt(a,10),parseInt(o,10),parseInt(i,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||We.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return ft[e];if(t)return 0;var r=parseInt(n,10),a=r%100;return(r-a)/100*60+a}(c[8],c[9],c[10]),e._d=He.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function vt(e){var t,n,r,o,i,s=[];if(!e._d){for(r=function(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,a,o,i,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,i=4,n=Mt(t.GG,e._a[0],ze(Tt(),1,4).year),r=Mt(t.W,1),((a=Mt(t.E,1))<1||a>7)&&(l=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,c=ze(Tt(),o,i),n=Mt(t.gg,e._a[0],c.year),r=Mt(t.w,c.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(l=!0)):a=o),r<1||r>Ne(n,o,i)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=Ae(n,r,a,o,i),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(i=Mt(e._a[0],r[0]),(e._dayOfYear>Ce(i)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=He(i,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?He:Pe).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(h(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],h(e).empty=!0;var t,n,r,o,i,s,l=""+e._i,c=l.length,u=0;for(r=z(e._f,e._locale).match(C)||[],t=0;t<r.length;t++)o=r[t],(n=(l.match(he(o,e))||[])[0])&&((i=l.substr(0,l.indexOf(n))).length>0&&h(e).unusedInput.push(i),l=l.slice(l.indexOf(n)+n.length),u+=n.length),H[o]?(n?h(e).empty=!1:h(e).unusedTokens.push(o),Me(o,n,e)):e._strict&&!n&&h(e).unusedTokens.push(o);h(e).charsLeftOver=c-u,l.length>0&&h(e).unusedInput.push(l),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=h(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),vt(e),ct(e)}else kt(e);else bt(e)}function Yt(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new M(ct(t)):(d(t)?e._d=t:o(n)?function(e){var t,n,r,a,o,i,s=!1;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<e._f.length;a++)o=0,i=!1,t=k({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Lt(t),g(t)&&(i=!0),o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||i)&&(r=o,n=t,i&&(s=!0));p(e,n||t)}(e):n?Lt(e):function(e){var t=e._i;c(t)?e._d=new Date(a.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=ht.exec(e._i);null===t?(bt(e),!1===e._isValid&&(delete e._isValid,kt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=m(t.slice(0),(function(e){return parseInt(e,10)})),vt(e)):i(t)?function(e){if(!e._d){var t=W(e._i),n=void 0===t.day?t.date:t.day;e._a=m([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),vt(e)}}(e):u(t)?e._d=new Date(t):a.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function wt(e,t,n,r,a){var s,c={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new M(ct(Yt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Tt(e,t,n,r){return wt(e,t,n,r,!1)}a.createFromInputFallback=Y("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Dt=Y("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()})),Rt=Y("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()}));function St(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var xt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Et(e){var t=W(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,i=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(s(e,t)&&(-1===fe.call(xt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<xt.length;++n)if(e[xt[n]]){if(r)return!1;parseFloat(e[xt[n]])!==G(e[xt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+d+1e3*u+6e4*c+1e3*l*60*60,this._days=+i+7*o,this._months=+a+3*r+12*n,this._data={},this._locale=lt(),this._bubble()}function Ct(e){return e instanceof Et}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Pt(e,t){O(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+E(~~(e/60),2)+t+E(~~e%60,2)}))}Pt("Z",":"),Pt("ZZ",""),_e("Z",me),_e("ZZ",me),ye(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Ot(me,e)}));var Ht=/([\+\-]|\d\d)/gi;function Ot(e,t){var n,r,a=(t||"").match(e);return null===a?null:0===(r=60*(n=((a[a.length-1]||[])+"").match(Ht)||["-",0,0])[1]+G(n[2]))?0:"+"===n[0]?r:-r}function At(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(v(e)||d(e)?e.valueOf():Tt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),a.updateOffset(n,!1),n):Tt(e).local()}function zt(e){return-Math.round(e._d.getTimezoneOffset())}function Nt(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Bt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ft=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wt(e,t){var n,r,a,o,i,l,c=e,d=null;return Ct(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(d=Bt.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:G(d[2])*n,h:G(d[3])*n,m:G(d[4])*n,s:G(d[5])*n,ms:G(jt(1e3*d[6]))*n}):(d=Ft.exec(e))?(n="-"===d[1]?-1:1,c={y:It(d[2],n),M:It(d[3],n),w:It(d[4],n),d:It(d[5],n),h:It(d[6],n),m:It(d[7],n),s:It(d[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=Tt(c.from),i=Tt(c.to),a=o.isValid()&&i.isValid()?(i=At(i,o),o.isBefore(i)?l=Ut(o,i):((l=Ut(i,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=a.milliseconds,c.M=a.months),r=new Et(c),Ct(e)&&s(e,"_locale")&&(r._locale=e._locale),Ct(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function It(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Jt(e,t){return function(n,r){var a;return null===r||isNaN(+r)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),Vt(this,Wt(n,r),e),this}}function Vt(e,t,n,r){var o=t._milliseconds,i=jt(t._days),s=jt(t._months);e.isValid()&&(r=null==r||r,s&&Se(e,$(e,"Month")+s*n),i&&K(e,"Date",$(e,"Date")+i*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&a.updateOffset(e,i||s))}Wt.fn=Et.prototype,Wt.invalid=function(){return Wt(NaN)};var Gt=Jt(1,"add"),qt=Jt(-1,"subtract");function $t(e){return"string"==typeof e||e instanceof String}function Kt(e){return v(e)||d(e)||$t(e)||u(e)||function(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&$t(e)})).length),t&&n}(e)||function(e){var t,n,r=i(e)&&!l(e),a=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)n=o[t],a=a||s(e,n);return r&&a}(e)||null==e}function Zt(e){var t,n=i(e)&&!l(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)r=r||s(e,a[t]);return n&&r}function Qt(e,t){if(e.date()<t.date())return-Qt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Xt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var en=Y("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function tn(){return this._locale}function nn(e,t){return(e%t+t)%t}function rn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],r=[],a=[],o=[],i=this.eras();for(e=0,t=i.length;e<t;++e)r.push(ge(i[e].name)),n.push(ge(i[e].abbr)),a.push(ge(i[e].narrow)),o.push(ge(i[e].name)),o.push(ge(i[e].abbr)),o.push(ge(i[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function ln(e,t){O(0,[e,e.length],0,t)}function cn(e,t,n,r,a){var o;return null==e?ze(this,r,a).year:(t>(o=Ne(e,r,a))&&(t=o),un.call(this,e,t,n,r,a))}function un(e,t,n,r,a){var o=Ae(e,t,n,r,a),i=He(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}O("N",0,0,"eraAbbr"),O("NN",0,0,"eraAbbr"),O("NNN",0,0,"eraAbbr"),O("NNNN",0,0,"eraName"),O("NNNNN",0,0,"eraNarrow"),O("y",["y",1],"yo","eraYear"),O("y",["yy",2],0,"eraYear"),O("y",["yyy",3],0,"eraYear"),O("y",["yyyy",4],0,"eraYear"),_e("N",on),_e("NN",on),_e("NNN",on),_e("NNNN",(function(e,t){return t.erasNameRegex(e)})),_e("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ye(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?h(n).era=a:h(n).invalidEra=e})),_e("y",ce),_e("yy",ce),_e("yyy",ce),_e("yyyy",ce),_e("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),ye(["y","yy","yyy","yyyy"],0),ye(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,a):t[0]=parseInt(e,10)})),O(0,["gg",2],0,(function(){return this.weekYear()%100})),O(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),B("weekYear","gg"),B("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),_e("G",ue),_e("g",ue),_e("GG",re,X),_e("gg",re,X),_e("GGGG",se,te),_e("gggg",se,te),_e("GGGGG",le,ne),_e("ggggg",le,ne),ke(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=G(e)})),ke(["gg","GG"],(function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)})),O("Q",0,"Qo","quarter"),B("quarter","Q"),U("quarter",7),_e("Q",Q),ye("Q",(function(e,t){t[1]=3*(G(e)-1)})),O("D",["DD",2],"Do","date"),B("date","D"),U("date",9),_e("D",re),_e("DD",re,X),_e("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ye(["D","DD"],2),ye("Do",(function(e,t){t[2]=G(e.match(re)[0])}));var dn=q("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),B("dayOfYear","DDD"),U("dayOfYear",4),_e("DDD",ie),_e("DDDD",ee),ye(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=G(e)})),O("m",["mm",2],0,"minute"),B("minute","m"),U("minute",14),_e("m",re),_e("mm",re,X),ye(["m","mm"],4);var mn=q("Minutes",!1);O("s",["ss",2],0,"second"),B("second","s"),U("second",15),_e("s",re),_e("ss",re,X),ye(["s","ss"],5);var pn,_n,hn=q("Seconds",!1);for(O("S",0,0,(function(){return~~(this.millisecond()/100)})),O(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),O(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),O(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),O(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),O(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),O(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),B("millisecond","ms"),U("millisecond",16),_e("S",ie,Q),_e("SS",ie,X),_e("SSS",ie,ee),pn="SSSS";pn.length<=9;pn+="S")_e(pn,ce);function gn(e,t){t[6]=G(1e3*("0."+e))}for(pn="S";pn.length<=9;pn+="S")ye(pn,gn);_n=q("Milliseconds",!1),O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");var fn=M.prototype;function bn(e){return e}fn.add=Gt,fn.calendar=function(e,t){1===arguments.length&&(Kt(arguments[0])?(e=arguments[0],t=void 0):Zt(arguments[0])&&(t=arguments[0],e=void 0));var n=e||Tt(),r=At(n,this).startOf("day"),o=a.calendarFormat(this,r)||"sameElse",i=t&&(R(t[o])?t[o].call(this,n):t[o]);return this.format(i||this.localeData().calendar(o,this,Tt(n)))},fn.clone=function(){return new M(this)},fn.diff=function(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(!(r=At(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=F(t)){case"year":o=Qt(this,r)/12;break;case"month":o=Qt(this,r);break;case"quarter":o=Qt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:V(o)},fn.endOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),a.updateOffset(this,!0),this},fn.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=A(this,e);return this.localeData().postformat(t)},fn.from=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||Tt(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.fromNow=function(e){return this.from(Tt(),e)},fn.to=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||Tt(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.toNow=function(e){return this.to(Tt(),e)},fn.get=function(e){return R(this[e=F(e)])?this[e]():this},fn.invalidAt=function(){return h(this).overflow},fn.isAfter=function(e,t){var n=v(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},fn.isBefore=function(e,t){var n=v(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},fn.isBetween=function(e,t,n,r){var a=v(e)?e:Tt(e),o=v(t)?t:Tt(t);return!!(this.isValid()&&a.isValid()&&o.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))},fn.isSame=function(e,t){var n,r=v(e)?e:Tt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},fn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},fn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},fn.isValid=function(){return g(this)},fn.lang=en,fn.locale=Xt,fn.localeData=tn,fn.max=Rt,fn.min=Dt,fn.parsingFlags=function(){return p({},h(this))},fn.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:I[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=W(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(R(this[e=F(e)]))return this[e](t);return this},fn.startOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}return this._d.setTime(t),a.updateOffset(this,!0),this},fn.subtract=qt,fn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},fn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},fn.toDate=function(){return new Date(this.valueOf())},fn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?A(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):R(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",A(n,"Z")):A(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(fn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),fn.toJSON=function(){return this.isValid()?this.toISOString():null},fn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fn.unix=function(){return Math.floor(this.valueOf()/1e3)},fn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},fn.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},fn.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},fn.eraYear=function(){var e,t,n,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,r=this.startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-a(o[e].since).year())*n+o[e].offset;return this.year()},fn.year=je,fn.isLeapYear=function(){return J(this.year())},fn.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},fn.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},fn.quarter=fn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},fn.month=xe,fn.daysInMonth=function(){return ve(this.year(),this.month())},fn.week=fn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},fn.isoWeek=fn.isoWeeks=function(e){var t=ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},fn.weeksInYear=function(){var e=this.localeData()._week;return Ne(this.year(),e.dow,e.doy)},fn.weeksInWeekYear=function(){var e=this.localeData()._week;return Ne(this.weekYear(),e.dow,e.doy)},fn.isoWeeksInYear=function(){return Ne(this.year(),1,4)},fn.isoWeeksInISOWeekYear=function(){return Ne(this.isoWeekYear(),1,4)},fn.date=dn,fn.day=fn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},fn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},fn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},fn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},fn.hour=fn.hours=Xe,fn.minute=fn.minutes=mn,fn.second=fn.seconds=hn,fn.millisecond=fn.milliseconds=_n,fn.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ot(me,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=zt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Vt(this,Wt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:zt(this)},fn.utc=function(e){return this.utcOffset(0,e)},fn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zt(this),"m")),this},fn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ot(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},fn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},fn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fn.isLocal=function(){return!!this.isValid()&&!this._isUTC},fn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fn.isUtc=Nt,fn.isUTC=Nt,fn.zoneAbbr=function(){return this._isUTC?"UTC":""},fn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fn.dates=Y("dates accessor is deprecated. Use date instead.",dn),fn.months=Y("months accessor is deprecated. Use month instead",xe),fn.years=Y("years accessor is deprecated. Use year instead",je),fn.zone=Y("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),fn.isDSTShifted=Y("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return k(t,this),(t=Yt(t))._a?(e=t._isUTC?_(t._a):Tt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),i=0;for(r=0;r<a;r++)(n&&e[r]!==t[r]||!n&&G(e[r])!==G(t[r]))&&i++;return i+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=x.prototype;function kn(e,t,n,r){var a=lt(),o=_().set(r,t);return a[n](o,e)}function Mn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return kn(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=kn(e,r,n,"month");return a}function vn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var a,o=lt(),i=e?o._week.dow:0,s=[];if(null!=n)return kn(t,(n+i)%7,r,"day");for(a=0;a<7;a++)s[a]=kn(t,(a+i)%7,r,"day");return s}yn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return R(r)?r.call(t,n):r},yn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(C).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(e){return this._ordinal.replace("%d",e)},yn.preparse=bn,yn.postformat=bn,yn.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return R(a)?a(e,t,n,r):a.replace(/%d/i,e)},yn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return R(n)?n(t):n.replace(/%s/i,t)},yn.set=function(e){var t,n;for(n in e)s(e,n)&&(R(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(e,t){var n,r,o,i=this._eras||lt("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":o=a(i[n].since).startOf("day"),i[n].since=o.valueOf()}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":o=a(i[n].until).startOf("day").valueOf(),i[n].until=o.valueOf()}}return i},yn.erasParse=function(e,t,n){var r,a,o,i,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(o=l[r].name.toUpperCase(),i=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(i===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([o,i,s].indexOf(e)>=0)return l[r]},yn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},yn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},yn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||we).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},yn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[we.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(e,t,n){var r,a,o;if(this._monthsParseExact)return Re.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=_([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},yn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=De),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Te),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(e){return ze(e,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Be(n,this._week.dow):e?n[e.day()]:n},yn.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},yn.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},yn.weekdaysParse=function(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Ge.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=_([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},yn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Je),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ve),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},yn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=Y("moment.lang is deprecated. Use moment.locale instead.",it),a.langData=Y("moment.langData is deprecated. Use moment.localeData instead.",lt);var Ln=Math.abs;function Yn(e,t,n,r){var a=Wt(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function Tn(e){return 4800*e/146097}function Dn(e){return 146097*e/4800}function Rn(e){return function(){return this.as(e)}}var Sn=Rn("ms"),xn=Rn("s"),En=Rn("m"),Cn=Rn("h"),jn=Rn("d"),Pn=Rn("w"),Hn=Rn("M"),On=Rn("Q"),An=Rn("y");function zn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Nn=zn("milliseconds"),Bn=zn("seconds"),Fn=zn("minutes"),Wn=zn("hours"),In=zn("days"),Un=zn("months"),Jn=zn("years"),Vn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qn(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}var $n=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Zn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,o,i,s,l=$n(this._milliseconds)/1e3,c=$n(this._days),u=$n(this._months),d=this.asSeconds();return d?(e=V(l/60),t=V(e/60),l%=60,e%=60,n=V(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",o=Kn(this._months)!==Kn(d)?"-":"",i=Kn(this._days)!==Kn(d)?"-":"",s=Kn(this._milliseconds)!==Kn(d)?"-":"",a+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?i+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var Qn=Et.prototype;return Qn.isValid=function(){return this._isValid},Qn.abs=function(){var e=this._data;return this._milliseconds=Ln(this._milliseconds),this._days=Ln(this._days),this._months=Ln(this._months),e.milliseconds=Ln(e.milliseconds),e.seconds=Ln(e.seconds),e.minutes=Ln(e.minutes),e.hours=Ln(e.hours),e.months=Ln(e.months),e.years=Ln(e.years),this},Qn.add=function(e,t){return Yn(this,e,t,1)},Qn.subtract=function(e,t){return Yn(this,e,t,-1)},Qn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=F(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Tn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Dn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Qn.asMilliseconds=Sn,Qn.asSeconds=xn,Qn.asMinutes=En,Qn.asHours=Cn,Qn.asDays=jn,Qn.asWeeks=Pn,Qn.asMonths=Hn,Qn.asQuarters=On,Qn.asYears=An,Qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Qn._bubble=function(){var e,t,n,r,a,o=this._milliseconds,i=this._days,s=this._months,l=this._data;return o>=0&&i>=0&&s>=0||o<=0&&i<=0&&s<=0||(o+=864e5*wn(Dn(s)+i),i=0,s=0),l.milliseconds=o%1e3,e=V(o/1e3),l.seconds=e%60,t=V(e/60),l.minutes=t%60,n=V(t/60),l.hours=n%24,i+=V(n/24),a=V(Tn(i)),s+=a,i-=wn(Dn(a)),r=V(s/12),s%=12,l.days=i,l.months=s,l.years=r,this},Qn.clone=function(){return Wt(this)},Qn.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},Qn.milliseconds=Nn,Qn.seconds=Bn,Qn.minutes=Fn,Qn.hours=Wn,Qn.days=In,Qn.weeks=function(){return V(this.days()/7)},Qn.months=Un,Qn.years=Jn,Qn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,o=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(o=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var a=Wt(e).abs(),o=Vn(a.as("s")),i=Vn(a.as("m")),s=Vn(a.as("h")),l=Vn(a.as("d")),c=Vn(a.as("M")),u=Vn(a.as("w")),d=Vn(a.as("y")),m=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(m=m||u<=1&&["w"]||u<n.w&&["ww",u]),(m=m||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,m[3]=+e>0,m[4]=r,qn.apply(null,m)}(this,!a,o,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)},Qn.toISOString=Zn,Qn.toString=Zn,Qn.toJSON=Zn,Qn.locale=Xt,Qn.localeData=tn,Qn.toIsoString=Y("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zn),Qn.lang=en,O("X",0,0,"unix"),O("x",0,0,"valueOf"),_e("x",ue),_e("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ye("x",(function(e,t,n){n._d=new Date(G(e))})),
7
  //! moment.js
8
- a.version="2.26.0",t=Tt,a.fn=fn,a.min=function(){var e=[].slice.call(arguments,0);return St("isBefore",e)},a.max=function(){var e=[].slice.call(arguments,0);return St("isAfter",e)},a.now=function(){return Date.now?Date.now():+new Date},a.utc=_,a.unix=function(e){return Tt(1e3*e)},a.months=function(e,t){return Mn(e,t,"months")},a.isDate=d,a.locale=it,a.invalid=f,a.duration=Wt,a.isMoment=v,a.weekdays=function(e,t,n){return vn(e,t,n,"weekdays")},a.parseZone=function(){return Tt.apply(null,arguments).parseZone()},a.localeData=lt,a.isDuration=Ct,a.monthsShort=function(e,t){return Mn(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return vn(e,t,n,"weekdaysMin")},a.defineLocale=st,a.updateLocale=function(e,t){if(null!=t){var n,r,a=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(S(tt[e]._config,t)):(null!=(r=ot(e))&&(a=r._config),t=S(a,t),null==r&&(t.abbr=e),(n=new x(t)).parentLocale=tt[e],tt[e]=n),it(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===it()&&it(e)):null!=tt[e]&&delete tt[e]);return tt[e]},a.locales=function(){return w(tt)},a.weekdaysShort=function(e,t,n){return vn(e,t,n,"weekdaysShort")},a.normalizeUnits=F,a.relativeTimeRounding=function(e){return void 0===e?Vn:"function"==typeof e&&(Vn=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},a.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=fn,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}).call(this,n(34)(e))},,function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";e.exports=n(200)},function(e,t,n){var r=n(177),a=n(206),o=n(283),i=n(13);e.exports=function(e,t){return(i(e)?r:o)(e,a(t,3))}},function(e,t,n){var r=n(181),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(202),a=n(203),o=n(43),i=n(204);e.exports=function(e,t){return r(e)||a(e,t)||o(e,t)||i()}},function(e,t){function n(e,t,n,r){var a,o=null==(a=r)||"number"==typeof a||"boolean"==typeof a?r:n(r),i=t.get(o);return void 0===i&&(i=e.call(this,r),t.set(o,i)),i}function r(e,t,n){var r=Array.prototype.slice.call(arguments,3),a=n(r),o=t.get(a);return void 0===o&&(o=e.apply(this,r),t.set(a,o)),o}function a(e,t,n,r,a){return n.bind(t,e,r,a)}function o(e,t){return a(e,this,1===e.length?n:r,t.cache.create(),t.serializer)}function i(){return JSON.stringify(arguments)}function s(){this.cache=Object.create(null)}s.prototype.has=function(e){return e in this.cache},s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new s}};e.exports=function(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:o)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){return a(e,this,r,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,n,t.cache.create(),t.serializer)}}},function(e,t,n){e.exports=n(296)},function(e,t,n){var r=n(219),a=n(225);e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(22),a=n(221),o=n(222),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?a(e):o(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(209),a=n(210),o=n(211),i=n(212),s=n(213);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(179);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(12).Symbol;e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(17)(Object,"create");e.exports=r},function(e,t,n){var r=n(234);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(18),a=n(19);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(26);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(192);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},function(e,t,n){e.exports=function(e,t){var n,r,a=0;function o(){var o,i,s=n,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(i=0;i<l;i++)if(s.args[i]!==arguments[i]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(o=new Array(l),i=0;i<l;i++)o[i]=arguments[i];return s={args:o,val:e.apply(null,o)},n?(n.prev=s,s.next=n):r=s,a===t.maxSize?(r=r.prev).next=null:a++,n=s,s.val}return t=t||{},o.clear=function(){n=null,r=null,a=0},o}},function(e,t,n){var r=n(185),a=n(289),o=n(290),i=Math.min;e.exports=function(e,t){if((e=o(e))<1||e>9007199254740991)return[];var n=4294967295,s=i(e,4294967295);t=a(t),e-=4294967295;for(var l=r(s,t);++n<e;)t(n);return l}},function(e,t,n){var r=n(293),a=n(294),o=n(43),i=n(295);e.exports=function(e){return r(e)||a(e)||o(e)||i()}},function(e,t){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r=0,a=[];++t<n;){var o=e[t];o&&(a[r++]=o)}return a}},function(e,t){function n(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var i=e.apply(t,r);function s(e){n(i,a,o,s,l,"next",e)}function l(e){n(i,a,o,s,l,"throw",e)}s(void 0)}))}}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(17)(n(12),"Map");e.exports=r},function(e,t,n){var r=n(226),a=n(233),o=n(235),i=n(236),s=n(237);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(255),a=n(261),o=n(39);e.exports=function(e){return o(e)?r(e):a(e)}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(180),a=n(38);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},function(e,t,n){var r=n(13),a=n(26),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||(i.test(e)||!o.test(e)||null!=t&&e in Object(t))}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){var r=n(44);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){!function(e){"use strict";
9
  //! moment.js locale configuration
10
  e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
11
  //! moment.js locale configuration
@@ -284,9 +284,9 @@ e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeo
284
  *
285
  * This source code is licensed under the MIT license found in the
286
  * LICENSE file in the root directory of this source tree.
287
- */var r=n(201),a="function"==typeof Symbol&&Symbol.for,o=a?Symbol.for("react.element"):60103,i=a?Symbol.for("react.portal"):60106,s=a?Symbol.for("react.fragment"):60107,l=a?Symbol.for("react.strict_mode"):60108,c=a?Symbol.for("react.profiler"):60114,u=a?Symbol.for("react.provider"):60109,d=a?Symbol.for("react.context"):60110,m=a?Symbol.for("react.forward_ref"):60112,p=a?Symbol.for("react.suspense"):60113,_=a?Symbol.for("react.memo"):60115,h=a?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function k(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}function M(){}function v(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}k.prototype.isReactComponent={},k.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},M.prototype=k.prototype;var L=v.prototype=new M;L.constructor=v,r(L,k.prototype),L.isPureReactComponent=!0;var Y={current:null},w=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function D(e,t,n){var r,a={},i=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,r)&&!T.hasOwnProperty(r)&&(a[r]=t[r]);var l=arguments.length-2;if(1===l)a.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];a.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===a[r]&&(a[r]=l[r]);return{$$typeof:o,type:e,key:i,ref:s,props:a,_owner:Y.current}}function R(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var S=/\/+/g,x=[];function E(e,t,n,r){if(x.length){var a=x.pop();return a.result=e,a.keyPrefix=t,a.func=n,a.context=r,a.count=0,a}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>x.length&&x.push(e)}function j(e,t,n){return null==e?0:function e(t,n,r,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case o:case i:l=!0}}if(l)return r(a,t,""===n?"."+P(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var u=n+P(s=t[c],c);l+=e(s,u,r,a)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=g&&t[g]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),c=0;!(s=t.next()).done;)l+=e(s=s.value,u=n+P(s,c++),r,a);else if("object"===s)throw r=""+t,Error(f(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return l}(e,"",t,n)}function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function H(e,t){e.func.call(e.context,t,e.count++)}function O(e,t,n){var r=e.result,a=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?A(e,r,n,(function(e){return e})):null!=e&&(R(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,a+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(S,"$&/")+"/")+n)),r.push(e))}function A(e,t,n,r,a){var o="";null!=n&&(o=(""+n).replace(S,"$&/")+"/"),j(e,O,t=E(t,o,r,a)),C(t)}var z={current:null};function N(){var e=z.current;if(null===e)throw Error(f(321));return e}var B={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Y,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return A(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;j(e,H,t=E(null,null,t,n)),C(t)},count:function(e){return j(e,(function(){return null}),null)},toArray:function(e){var t=[];return A(e,t,null,(function(e){return e})),t},only:function(e){if(!R(e))throw Error(f(143));return e}},t.Component=k,t.Fragment=s,t.Profiler=c,t.PureComponent=v,t.StrictMode=l,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=function(e,t,n){if(null==e)throw Error(f(267,e));var a=r({},e.props),i=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=Y.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)w.call(t,u)&&!T.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];a.children=c}return{$$typeof:o,type:e.type,key:i,ref:s,props:a,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=D,t.createFactory=function(e){var t=D.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:m,render:e}},t.isValidElement=R,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:_,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return N().useCallback(e,t)},t.useContext=function(e,t){return N().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return N().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return N().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return N().useLayoutEffect(e,t)},t.useMemo=function(e,t){return N().useMemo(e,t)},t.useReducer=function(e,t,n){return N().useReducer(e,t,n)},t.useRef=function(e){return N().useRef(e)},t.useState=function(e){return N().useState(e)},t.version="16.13.1"},function(e,t,n){"use strict";
288
  /*
289
  object-assign
290
  (c) Sindre Sorhus
291
  @license MIT
292
- */var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=i(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))a.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)o.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){var r={"./af":45,"./af.js":45,"./ar":46,"./ar-dz":47,"./ar-dz.js":47,"./ar-kw":48,"./ar-kw.js":48,"./ar-ly":49,"./ar-ly.js":49,"./ar-ma":50,"./ar-ma.js":50,"./ar-sa":51,"./ar-sa.js":51,"./ar-tn":52,"./ar-tn.js":52,"./ar.js":46,"./az":53,"./az.js":53,"./be":54,"./be.js":54,"./bg":55,"./bg.js":55,"./bm":56,"./bm.js":56,"./bn":57,"./bn.js":57,"./bo":58,"./bo.js":58,"./br":59,"./br.js":59,"./bs":60,"./bs.js":60,"./ca":61,"./ca.js":61,"./cs":62,"./cs.js":62,"./cv":63,"./cv.js":63,"./cy":64,"./cy.js":64,"./da":65,"./da.js":65,"./de":66,"./de-at":67,"./de-at.js":67,"./de-ch":68,"./de-ch.js":68,"./de.js":66,"./dv":69,"./dv.js":69,"./el":70,"./el.js":70,"./en-au":71,"./en-au.js":71,"./en-ca":72,"./en-ca.js":72,"./en-gb":73,"./en-gb.js":73,"./en-ie":74,"./en-ie.js":74,"./en-il":75,"./en-il.js":75,"./en-in":76,"./en-in.js":76,"./en-nz":77,"./en-nz.js":77,"./en-sg":78,"./en-sg.js":78,"./eo":79,"./eo.js":79,"./es":80,"./es-do":81,"./es-do.js":81,"./es-us":82,"./es-us.js":82,"./es.js":80,"./et":83,"./et.js":83,"./eu":84,"./eu.js":84,"./fa":85,"./fa.js":85,"./fi":86,"./fi.js":86,"./fil":87,"./fil.js":87,"./fo":88,"./fo.js":88,"./fr":89,"./fr-ca":90,"./fr-ca.js":90,"./fr-ch":91,"./fr-ch.js":91,"./fr.js":89,"./fy":92,"./fy.js":92,"./ga":93,"./ga.js":93,"./gd":94,"./gd.js":94,"./gl":95,"./gl.js":95,"./gom-deva":96,"./gom-deva.js":96,"./gom-latn":97,"./gom-latn.js":97,"./gu":98,"./gu.js":98,"./he":99,"./he.js":99,"./hi":100,"./hi.js":100,"./hr":101,"./hr.js":101,"./hu":102,"./hu.js":102,"./hy-am":103,"./hy-am.js":103,"./id":104,"./id.js":104,"./is":105,"./is.js":105,"./it":106,"./it-ch":107,"./it-ch.js":107,"./it.js":106,"./ja":108,"./ja.js":108,"./jv":109,"./jv.js":109,"./ka":110,"./ka.js":110,"./kk":111,"./kk.js":111,"./km":112,"./km.js":112,"./kn":113,"./kn.js":113,"./ko":114,"./ko.js":114,"./ku":115,"./ku.js":115,"./ky":116,"./ky.js":116,"./lb":117,"./lb.js":117,"./lo":118,"./lo.js":118,"./lt":119,"./lt.js":119,"./lv":120,"./lv.js":120,"./me":121,"./me.js":121,"./mi":122,"./mi.js":122,"./mk":123,"./mk.js":123,"./ml":124,"./ml.js":124,"./mn":125,"./mn.js":125,"./mr":126,"./mr.js":126,"./ms":127,"./ms-my":128,"./ms-my.js":128,"./ms.js":127,"./mt":129,"./mt.js":129,"./my":130,"./my.js":130,"./nb":131,"./nb.js":131,"./ne":132,"./ne.js":132,"./nl":133,"./nl-be":134,"./nl-be.js":134,"./nl.js":133,"./nn":135,"./nn.js":135,"./oc-lnc":136,"./oc-lnc.js":136,"./pa-in":137,"./pa-in.js":137,"./pl":138,"./pl.js":138,"./pt":139,"./pt-br":140,"./pt-br.js":140,"./pt.js":139,"./ro":141,"./ro.js":141,"./ru":142,"./ru.js":142,"./sd":143,"./sd.js":143,"./se":144,"./se.js":144,"./si":145,"./si.js":145,"./sk":146,"./sk.js":146,"./sl":147,"./sl.js":147,"./sq":148,"./sq.js":148,"./sr":149,"./sr-cyrl":150,"./sr-cyrl.js":150,"./sr.js":149,"./ss":151,"./ss.js":151,"./sv":152,"./sv.js":152,"./sw":153,"./sw.js":153,"./ta":154,"./ta.js":154,"./te":155,"./te.js":155,"./tet":156,"./tet.js":156,"./tg":157,"./tg.js":157,"./th":158,"./th.js":158,"./tl-ph":159,"./tl-ph.js":159,"./tlh":160,"./tlh.js":160,"./tr":161,"./tr.js":161,"./tzl":162,"./tzl.js":162,"./tzm":163,"./tzm-latn":164,"./tzm-latn.js":164,"./tzm.js":163,"./ug-cn":165,"./ug-cn.js":165,"./uk":166,"./uk.js":166,"./ur":167,"./ur.js":167,"./uz":168,"./uz-latn":169,"./uz-latn.js":169,"./uz.js":168,"./vi":170,"./vi.js":170,"./x-pseudo":171,"./x-pseudo.js":171,"./yo":172,"./yo.js":172,"./zh-cn":173,"./zh-cn.js":173,"./zh-hk":174,"./zh-hk.js":174,"./zh-mo":175,"./zh-mo.js":175,"./zh-tw":176,"./zh-tw.js":176};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=205},function(e,t,n){var r=n(207),a=n(271),o=n(194),i=n(13),s=n(280);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):r(e):s(e)}},function(e,t,n){var r=n(208),a=n(270),o=n(191);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(178),a=n(183);e.exports=function(e,t,n,o){var i=n.length,s=i,l=!o;if(null==e)return!s;for(e=Object(e);i--;){var c=n[i];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<s;){var u=(c=n[i])[0],d=e[u],m=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var p=new r;if(o)var _=o(d,m,u,e,t,p);if(!(void 0===_?a(m,d,3,o,p):_))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(21),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(21);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(21);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(21);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},function(e,t,n){var r=n(20);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(20),a=n(35),o=n(36);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!a||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(i)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(180),a=n(223),o=n(23),i=n(182),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,m=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||a(e))&&(r(e)?m:s).test(i(e))}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(22),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var a=i.call(e);return r&&(t?e[s]=n:delete e[s]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,a=n(224),o=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(12)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(227),a=n(20),o=n(35);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||a),string:new r}}},function(e,t,n){var r=n(228),a=n(229),o=n(230),i=n(231),s=n(232);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(24);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(24),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(24),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},function(e,t,n){var r=n(24);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(25);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(25);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(25);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(25);e.exports=function(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}},function(e,t,n){var r=n(178),a=n(184),o=n(244),i=n(248),s=n(265),l=n(13),c=n(187),u=n(189),d="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,p,_,h){var g=l(e),f=l(t),b=g?"[object Array]":s(e),y=f?"[object Array]":s(t),k=(b="[object Arguments]"==b?d:b)==d,M=(y="[object Arguments]"==y?d:y)==d,v=b==y;if(v&&c(e)){if(!c(t))return!1;g=!0,k=!1}if(v&&!k)return h||(h=new r),g||u(e)?a(e,t,n,p,_,h):o(e,t,b,n,p,_,h);if(!(1&n)){var L=k&&m.call(e,"__wrapped__"),Y=M&&m.call(t,"__wrapped__");if(L||Y){var w=L?e.value():e,T=Y?t.value():t;return h||(h=new r),_(w,T,n,p,h)}}return!!v&&(h||(h=new r),i(e,t,n,p,_,h))}},function(e,t,n){var r=n(36),a=n(240),o=n(241);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=a,i.prototype.has=o,e.exports=i},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(22),a=n(245),o=n(179),i=n(184),s=n(246),l=n(247),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,m){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new a(e),new a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var _=1&r;if(p||(p=l),e.size!=t.size&&!_)return!1;var h=m.get(e);if(h)return h==t;r|=2,m.set(e,t);var g=i(p(e),p(t),r,c,d,m);return m.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},function(e,t,n){var r=n(12).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(249),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,i,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var m=c[d];if(!(l?m in t:a.call(t,m)))return!1}var p=s.get(e);if(p&&s.get(t))return p==t;var _=!0;s.set(e,t),s.set(t,e);for(var h=l;++d<u;){var g=e[m=c[d]],f=t[m];if(o)var b=l?o(f,g,m,t,e,s):o(g,f,m,e,t,s);if(!(void 0===b?g===f||i(g,f,n,o,s):b)){_=!1;break}h||(h="constructor"==m)}if(_&&!h){var y=e.constructor,k=t.constructor;y==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof k&&k instanceof k||(_=!1)}return s.delete(e),s.delete(t),_}},function(e,t,n){var r=n(250),a=n(252),o=n(37);e.exports=function(e){return r(e,o,a)}},function(e,t,n){var r=n(251),a=n(13);e.exports=function(e,t,n){var o=t(e);return a(e)?o:r(o,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},function(e,t,n){var r=n(253),a=n(254),o=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return o.call(e,t)})))}:a;e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(185),a=n(186),o=n(13),i=n(187),s=n(188),l=n(189),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&a(e),d=!n&&!u&&i(e),m=!n&&!u&&!d&&l(e),p=n||u||d||m,_=p?r(e.length,String):[],h=_.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||m&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,h))||_.push(g);return _}},function(e,t,n){var r=n(18),a=n(19);e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(18),a=n(38),o=n(19),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&a(e.length)&&!!i[r(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(181),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===a&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s}).call(this,n(34)(e))},function(e,t,n){var r=n(262),a=n(263),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(264)(Object.keys,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(266),a=n(35),o=n(267),i=n(268),s=n(269),l=n(18),c=n(182),u=c(r),d=c(a),m=c(o),p=c(i),_=c(s),h=l;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||a&&"[object Map]"!=h(new a)||o&&"[object Promise]"!=h(o.resolve())||i&&"[object Set]"!=h(new i)||s&&"[object WeakMap]"!=h(new s))&&(h=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case d:return"[object Map]";case m:return"[object Promise]";case p:return"[object Set]";case _:return"[object WeakMap]"}return t}),e.exports=h},function(e,t,n){var r=n(17)(n(12),"DataView");e.exports=r},function(e,t,n){var r=n(17)(n(12),"Promise");e.exports=r},function(e,t,n){var r=n(17)(n(12),"Set");e.exports=r},function(e,t,n){var r=n(17)(n(12),"WeakMap");e.exports=r},function(e,t,n){var r=n(190),a=n(37);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,r(i)]}return t}},function(e,t,n){var r=n(183),a=n(28),o=n(277),i=n(40),s=n(190),l=n(191),c=n(27);e.exports=function(e,t){return i(e)&&s(t)?l(c(e),t):function(n){var i=a(n,e);return void 0===i&&i===t?o(n,e):r(t,i,3)}}},function(e,t,n){var r=n(273),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(o,"$1"):n||e)})),t}));e.exports=i},function(e,t,n){var r=n(274);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(36);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(a.Cache||r),n}a.Cache=r,e.exports=a},function(e,t,n){var r=n(276);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(22),a=n(177),o=n(13),i=n(26),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return a(t,e)+"";if(i(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(278),a=n(279);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(193),a=n(186),o=n(13),i=n(188),s=n(38),l=n(27);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var m=l(t[c]);if(!(d=null!=e&&n(e,m)))break;e=e[m]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&i(m,u)&&(o(e)||a(e))}},function(e,t,n){var r=n(281),a=n(282),o=n(40),i=n(27);e.exports=function(e){return o(e)?r(i(e)):a(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(192);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(284),a=n(39);e.exports=function(e,t){var n=-1,o=a(e)?Array(e.length):[];return r(e,(function(e,r,a){o[++n]=t(e,r,a)})),o}},function(e,t,n){var r=n(285),a=n(288)(r);e.exports=a},function(e,t,n){var r=n(286),a=n(37);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var r=n(287)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var a=-1,o=Object(t),i=r(t),s=i.length;s--;){var l=i[e?s:++a];if(!1===n(o[l],l,o))break}return t}}},function(e,t,n){var r=n(39);e.exports=function(e,t){return function(n,a){if(null==n)return n;if(!r(n))return e(n,a);for(var o=n.length,i=t?o:-1,s=Object(n);(t?i--:++i<o)&&!1!==a(s[i],i,s););return n}}},function(e,t,n){var r=n(194);e.exports=function(e){return"function"==typeof e?e:r}},function(e,t,n){var r=n(291);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(292);e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(23),a=n(26),o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}},function(e,t,n){var r=n(44);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var a=t&&t.prototype instanceof u?t:u,o=Object.create(a.prototype),i=new v(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return Y()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=y(i,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,i),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function u(){}function d(){}function m(){}var p={};p[a]=function(){return this};var _=Object.getPrototypeOf,h=_&&_(_(L([])));h&&h!==t&&n.call(h,a)&&(p=h);var g=m.prototype=u.prototype=Object.create(p);function f(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function b(e,t){var r;this._invoke=function(a,o){function i(){return new t((function(r,i){!function r(a,o,i,s){var c=l(e[a],e,o);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,s)}))}s(c.arg)}(a,o,r,i)}))}return r=r?r.then(i,i):i()}}function y(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function v(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:Y}}function Y(){return{value:void 0,done:!0}}return d.prototype=g.constructor=m,m.constructor=d,m[i]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,i in e||(e[i]="GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},f(b.prototype),b.prototype[o]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new b(s(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},f(g),g[i]="Generator",g[a]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=L,v.prototype={constructor:v,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(M),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;M(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";n.r(t);var r=n(9),a=n.n(r),o=n(8),i=n.n(o),s=n(1),l=n.n(s),c=n(2),u=n.n(c),d=n(3),m=n.n(d),p=n(4),_=n.n(p),h=n(0),g=n.n(h),f=n(5),b=n.n(f);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var k=wp.element.Component,M=wp.hooks.applyFilters,v=function(e){m()(n,e);var t=y(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){if(void 0===this.props.children)return null;var e=!1;if(void 0!==this.props.children.props&&void 0!==this.props.children.props.name||(e=!0),e&&(void 0===this.props.children._owner||void 0===this.props.children._owner.memoizedProps||void 0===this.props.children._owner.memoizedProps.name))return this.props.children;var t=e?this.props.children._owner.memoizedProps.name:this.props.children.props.name;return M("gb_should_render_block_setting",!0,t,this.props.id,genesis_blocks_globals.user_data)?this.props.children:null}}]),n}(k);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Y=wp.i18n.__,w=wp.element.Component,T=wp.blockEditor,D=T.InspectorControls,R=T.PanelColorSettings,S=wp.components,x=S.PanelBody,E=S.RangeControl,C=S.SelectControl,j=function(e){m()(n,e);var t=L(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=[{value:"left-aligned",label:Y("Left Aligned","genesis-blocks")},{value:"right-aligned",label:Y("Right Aligned","genesis-blocks")}],n=this.props,r=n.attributes,a=r.testimonialBackgroundColor,o=r.testimonialTextColor,i=r.testimonialFontSize,s=r.testimonialCiteAlign,l=n.setAttributes;return React.createElement(D,{key:"inspector"},React.createElement(x,null,React.createElement(v,{id:"gb_testimonial_testimonialFontSize"},React.createElement(E,{label:Y("Font Size","genesis-blocks"),value:i,onChange:function(t){return e.props.setAttributes({testimonialFontSize:t})},min:14,max:24,step:1})),React.createElement(v,{id:"gb_testimonial_testimonialCiteAlign"},React.createElement(C,{label:Y("Cite Alignment","genesis-blocks"),description:Y("Left or right align the cite name and title.","genesis-blocks"),options:t,value:s,onChange:function(t){return e.props.setAttributes({testimonialCiteAlign:t})}}))),React.createElement(v,{id:"gb_testimonial_testimonialBackgroundColor"},React.createElement(R,{title:Y("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return l({testimonialBackgroundColor:e})},label:Y("Background Color","genesis-blocks")}]})),React.createElement(v,{id:"gb_testimonial_testimonialTextColor"},React.createElement(R,{title:Y("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:function(e){return l({testimonialTextColor:e})},label:Y("Text Color","genesis-blocks")}]})))}}]),n}(w);function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var H=function(e){m()(n,e);var t=P(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.testimonialImgURL,n=e.testimonialBackgroundColor,r=e.testimonialTextColor,a=e.testimonialFontSize,o=e.testimonialCiteAlign;return React.createElement("div",{style:{backgroundColor:n||"#f2f2f2",color:r||"#32373c"},className:b()(this.props.className,o,{"gb-has-avatar":t},"gb-font-size-"+a,"gb-block-testimonial")},this.props.children)}}]),n}(wp.element.Component),O={};O.upload=React.createElement("svg",{width:"32px",height:"32px",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m77.945 91.453h-72.371c-3.3711 0-5.5742-2.3633-5.5742-5.2422v-55.719c0-3.457 2.1172-6.0703 5.5742-6.0703h44.453v11.051l-38.98-0.003906v45.008h60.977v-17.133l11.988-0.007812v22.875c0 2.8789-2.7812 5.2422-6.0664 5.2422z"}),React.createElement("path",{d:"m16.543 75.48l23.25-22.324 10.441 9.7773 11.234-14.766 5.5039 10.539 0.039063 16.773z"}),React.createElement("path",{d:"m28.047 52.992c-3.168 0-5.7422-2.5742-5.7422-5.7461 0-3.1758 2.5742-5.75 5.7422-5.75 3.1797 0 5.7539 2.5742 5.7539 5.75 0 3.1719-2.5742 5.7461-5.7539 5.7461z"}),React.createElement("path",{d:"m84.043 30.492v22.02h-12.059l-0.015625-22.02h-15.852l21.941-21.945 21.941 21.945z"}));var A=O;function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function B(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var F=wp.i18n.__,W=wp.element,I=W.Component,U=W.Fragment,J=wp.blockEditor,V=J.RichText,G=J.AlignmentToolbar,q=J.BlockControls,$=J.MediaUpload,K=wp.components,Z=K.Button,Q=K.Dashicon,X=["image"],ee=function(e){m()(n,e);var t=B(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.testimonialName,o=n.testimonialTitle,i=n.testimonialContent,s=n.testimonialAlignment,l=n.testimonialImgURL,c=n.testimonialImgID,u=n.testimonialImgAlt,d=n.testimonialTextColor,m=t.setAttributes,p=function(){m({testimonialImgURL:null,testimonialImgID:null,testimonialImgAlt:null})};return[React.createElement(q,{key:"controls"},React.createElement(G,{value:s,onChange:function(e){return m({testimonialAlignment:e})}})),React.createElement(j,a()({key:"gb-testimonial-inspector-"+this.props.clientId},N({setAttributes:m},this.props))),React.createElement(H,a()({key:"gb-testimonial-editor-"+this.props.clientId},this.props),React.createElement(V,{tagName:"div",multiline:"p",placeholder:F("Add testimonial text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:i,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],className:b()("gb-testimonial-text"),style:{textAlign:s},onChange:function(e){return m({testimonialContent:e})}}),React.createElement("div",{className:"gb-testimonial-info"},React.createElement("div",{className:"gb-testimonial-avatar-wrap"},React.createElement("div",{className:"gb-testimonial-image-wrap"},React.createElement($,{buttonProps:{className:"change-image"},onSelect:function(e){return m({testimonialImgID:e.id,testimonialImgURL:e.sizes.thumbnail.url,testimonialImgAlt:e.alt})},allowed:X,type:"image",value:c,render:function(e){var t=e.open;return React.createElement(U,null,React.createElement(Z,{className:c?"gb-change-image":"gb-add-image",onClick:t},c?React.createElement("img",{className:"gb-testimonial-avatar",src:l,alt:u||null}):A.upload),c&&React.createElement(Z,{className:"gb-remove-image",onClick:p},React.createElement(Q,{icon:"dismiss"})))}}))),React.createElement(V,{tagName:"h2",placeholder:F("Add name","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,className:"gb-testimonial-name",style:{color:d},onChange:function(t){return e.props.setAttributes({testimonialName:t})}}),React.createElement(V,{tagName:"small",placeholder:F("Add title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:o,className:"gb-testimonial-title",style:{color:d},onChange:function(t){return e.props.setAttributes({testimonialTitle:t})}})))]}}]),n}(I);function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ne=wp.element.Component,re=wp.blockEditor.RichText,ae=function(e){m()(n,e);var t=te(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.testimonialName,n=e.testimonialTitle,r=e.testimonialContent,a=e.testimonialAlignment,o=e.testimonialImgURL,i=e.testimonialImgAlt,s=e.testimonialTextColor;return React.createElement(H,this.props,React.createElement(re.Content,{tagName:"div",className:"gb-testimonial-text",style:{textAlign:a},value:r}),React.createElement("div",{className:"gb-testimonial-info"},o&&React.createElement("div",{className:"gb-testimonial-avatar-wrap"},React.createElement("div",{className:"gb-testimonial-image-wrap"},React.createElement("img",{className:"gb-testimonial-avatar",src:o,alt:i||null}))),t&&React.createElement(re.Content,{tagName:"h2",className:"gb-testimonial-name",style:{color:s||"#32373c"},value:t}),n&&React.createElement(re.Content,{tagName:"small",className:"gb-testimonial-title",style:{color:s||"#32373c"},value:n})))}}]),n}(ne),oe=(n(326),n(328),wp.i18n.__);function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-testimonial",{title:oe("Testimonial","genesis-blocks"),description:oe("Add a user testimonial with a name and title.","genesis-blocks"),icon:"format-quote",category:"genesis-blocks",keywords:[oe("testimonial","genesis-blocks"),oe("quote","genesis-blocks"),oe("atomic","genesis-blocks")],attributes:{testimonialName:{type:"array",selector:".gb-testimonial-name",source:"children"},testimonialTitle:{type:"array",selector:".gb-testimonial-title",source:"children"},testimonialContent:{type:"array",selector:".gb-testimonial-text",source:"children"},testimonialAlignment:{type:"string"},testimonialImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},testimonialImgID:{type:"number"},testimonialImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},testimonialBackgroundColor:{type:"string",default:"#f2f2f2"},testimonialTextColor:{type:"string",default:"#32373c"},testimonialFontSize:{type:"number",default:18},testimonialCiteAlign:{type:"string",default:"left-aligned"}},gb_settings_data:{gb_testimonial_testimonialFontSize:{title:oe("Font Size","genesis-blocks")},gb_testimonial_testimonialCiteAlign:{title:oe("Cite Alignment","genesis-blocks")},gb_testimonial_testimonialBackgroundColor:{title:oe("Background Color","genesis-blocks")},gb_testimonial_testimonialTextColor:{title:oe("Text Color","genesis-blocks")}},edit:function(e){return React.createElement(ee,e)},save:function(e){return React.createElement(ae,e)}});var se=wp.i18n.__,le=wp.element.Component,ce=wp.blockEditor,ue=ce.InspectorControls,de=ce.PanelColorSettings,me=wp.components,pe=me.PanelBody,_e=me.RangeControl,he=me.SelectControl,ge=me.TextControl,fe=function(e){m()(n,e);var t=ie(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.profileFontSize,r=t.profileBackgroundColor,a=t.profileTextColor,o=t.profileLinkColor,i=t.twitter,s=t.facebook,l=t.instagram,c=t.pinterest,u=t.google,d=t.youtube,m=t.github,p=t.linkedin,_=t.wordpress,h=t.email,g=t.website,f=t.profileAvatarShape,b=this.props.setAttributes,y=[{value:"square",label:se("Square","genesis-blocks")},{value:"round",label:se("Round","genesis-blocks")}];return React.createElement(ue,{key:"inspector"},React.createElement(pe,null,React.createElement(v,{id:"gb_author_profile_profileFontSize"},React.createElement(_e,{label:se("Font Size","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({profileFontSize:t})},min:14,max:24,step:1})),React.createElement(v,{id:"gb_author_profile_profileAvatarShape"},React.createElement(he,{label:se("Avatar Shape","genesis-blocks"),description:se("Choose between a round or square avatar shape.","genesis-blocks"),options:y,value:f,onChange:function(t){return e.props.setAttributes({profileAvatarShape:t})}})),React.createElement(v,{id:"gb_author_profile_profileBackgroundColor"},React.createElement(de,{title:se("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:r,onChange:function(e){return b({profileBackgroundColor:e})},label:se("Background Color","genesis-blocks")}]})),React.createElement(v,{id:"gb_author_profile_profileTextColor"},React.createElement(de,{title:se("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return b({profileTextColor:e})},label:se("Text Color","genesis-blocks")}]})),React.createElement(v,{id:"gb_author_profile_profileLinkColor"},React.createElement(de,{title:se("Social Link Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:function(e){return b({profileLinkColor:e})},label:se("Social Link Color","genesis-blocks")}]}))),React.createElement(v,{id:"gb_author_profile_socialLinks"},React.createElement(pe,{title:se("Social Links","genesis-blocks"),initialOpen:!1},React.createElement("p",null,se("Add links to your social media site and they will appear in the bottom of the profile box.","genesis-blocks")),React.createElement(ge,{label:se("Twitter URL","genesis-blocks"),type:"url",value:i,onChange:function(t){return e.props.setAttributes({twitter:t})}}),React.createElement(ge,{label:se("Facebook URL","genesis-blocks"),type:"url",value:s,onChange:function(t){return e.props.setAttributes({facebook:t})}}),React.createElement(ge,{label:se("Instagram URL","genesis-blocks"),type:"url",value:l,onChange:function(t){return e.props.setAttributes({instagram:t})}}),React.createElement(ge,{label:se("Pinterest URL","genesis-blocks"),type:"url",value:c,onChange:function(t){return e.props.setAttributes({pinterest:t})}}),React.createElement(ge,{label:se("Google URL","genesis-blocks"),type:"url",value:u,onChange:function(t){return e.props.setAttributes({google:t})}}),React.createElement(ge,{label:se("YouTube URL","genesis-blocks"),type:"url",value:d,onChange:function(t){return e.props.setAttributes({youtube:t})}}),React.createElement(ge,{label:se("Github URL","genesis-blocks"),type:"url",value:m,onChange:function(t){return e.props.setAttributes({github:t})}}),React.createElement(ge,{label:se("LinkedIn URL","genesis-blocks"),type:"url",value:p,onChange:function(t){return e.props.setAttributes({linkedin:t})}}),React.createElement(ge,{label:se("WordPress Profile URL","genesis-blocks"),type:"url",value:_,onChange:function(t){return e.props.setAttributes({wordpress:t})}}),React.createElement(ge,{label:se("Email URL","genesis-blocks"),help:se('Supports a URL or an email link. Email links must be prefixed with "mailto:". Example: mailto:test@example.com',"genesis-blocks"),type:"url",value:h,onChange:function(t){return e.props.setAttributes({email:t})}}),React.createElement(ge,{label:se("Website URL","genesis-blocks"),type:"url",value:g,onChange:function(t){return e.props.setAttributes({website:t})}}))))}}]),n}(le);function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ye=function(e){m()(n,e);var t=be(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileAlignment,n=e.profileImgURL,r=e.profileFontSize,a=e.profileBackgroundColor,o=e.profileTextColor,i=e.profileAvatarShape;return React.createElement("div",{style:{backgroundColor:a,color:o},className:b()(this.props.className,t,i,{"gb-has-avatar":n},"gb-font-size-"+r,"gb-block-profile","gb-profile-columns")},this.props.children)}}]),n}(wp.element.Component);function ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Me=wp.i18n.__,ve=function(e){m()(n,e);var t=ke(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("ul",{className:"gb-social-links"},this.props.attributes.website&&!!this.props.attributes.website.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.website,target:"_blank",rel:"noopener noreferrer"},Me("Website","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fas fa-link"}))),this.props.attributes.twitter&&!!this.props.attributes.twitter.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.twitter,target:"_blank",rel:"noopener noreferrer"},Me("Twitter","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-twitter"}))),this.props.attributes.facebook&&!!this.props.attributes.facebook.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.facebook,target:"_blank",rel:"noopener noreferrer"},Me("Facebook","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-facebook-f"}))),this.props.attributes.instagram&&!!this.props.attributes.instagram.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.instagram,target:"_blank",rel:"noopener noreferrer"},Me("Instagram","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-instagram"}))),this.props.attributes.pinterest&&!!this.props.attributes.pinterest.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.pinterest,target:"_blank",rel:"noopener noreferrer"},Me("Pinterest","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-pinterest"}))),this.props.attributes.google&&!!this.props.attributes.google.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.google,target:"_blank",rel:"noopener noreferrer"},Me("Google","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-google"}))),this.props.attributes.youtube&&!!this.props.attributes.youtube.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.youtube,target:"_blank",rel:"noopener noreferrer"},Me("YouTube","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-youtube"}))),this.props.attributes.linkedin&&!!this.props.attributes.linkedin.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.linkedin,target:"_blank",rel:"noopener noreferrer"},Me("LinkedIn","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-linkedin"}))),this.props.attributes.github&&!!this.props.attributes.github.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.github,target:"_blank",rel:"noopener noreferrer"},Me("Github","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-github"}))),this.props.attributes.wordpress&&!!this.props.attributes.wordpress.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.wordpress,target:"_blank",rel:"noopener noreferrer"},Me("WordPress","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-wordpress-simple"}))),this.props.attributes.email&&!!this.props.attributes.email.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.email,target:"_blank",rel:"noopener noreferrer"},Me("Email","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"far fa-envelope"}))))}}]),n}(wp.element.Component);function Le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ye=function(e){m()(n,e);var t=Le(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{className:"gb-profile-column gb-profile-avatar-wrap"},React.createElement("div",{className:"gb-profile-image-wrap"},this.props.children))}}]),n}(wp.element.Component);function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?we(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function De(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Re=wp.i18n.__,Se=wp.element,xe=Se.Component,Ee=Se.Fragment,Ce=wp.blockEditor,je=Ce.RichText,Pe=Ce.AlignmentToolbar,He=Ce.BlockControls,Oe=Ce.MediaUpload,Ae=wp.components,ze=Ae.Button,Ne=Ae.Dashicon,Be=["image"],Fe=function(e){m()(n,e);var t=De(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.profileName,r=t.profileTitle,o=t.profileContent,i=t.profileAlignment,s=t.profileImgURL,l=t.profileImgID,c=t.profileImgAlt,u=t.profileTextColor,d=e.setAttributes;return[React.createElement(He,{key:"controls"},React.createElement(Pe,{value:i,onChange:function(e){return d({profileAlignment:e})}})),React.createElement(fe,a()({key:"gb-author-profile-inspector-"+this.props.clientId},Te({setAttributes:d},this.props))),React.createElement(ye,a()({key:"gb-author-profile-"+this.props.clientId},this.props),React.createElement(Ye,this.props,React.createElement("figure",{className:"gb-profile-image-square"},React.createElement(Oe,{buttonProps:{className:"change-image"},onSelect:function(e){return d({profileImgID:e.id,profileImgURL:e.url,profileImgAlt:e.alt})},allowed:Be,type:"image",value:l,render:function(e){var t=e.open;return React.createElement(Ee,null,React.createElement(ze,{onClick:t},l?React.createElement("img",{className:b()("gb-profile-avatar","gb-change-image","wp-image-"+l),src:s,alt:c}):A.upload),l&&React.createElement(ze,{className:"gb-remove-image",onClick:function(){d({profileImgID:null,profileImgURL:null,profileImgAlt:null})}},React.createElement(Ne,{icon:"dismiss"})))}}))),React.createElement("div",{className:b()("gb-profile-column gb-profile-content-wrap")},React.createElement(je,{tagName:"h2",placeholder:Re("Add name","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,className:"gb-profile-name",style:{color:u},onChange:function(e){return d({profileName:e})}}),React.createElement(je,{tagName:"p",placeholder:Re("Add title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,className:"gb-profile-title",style:{color:u},onChange:function(e){return d({profileTitle:e})}}),React.createElement(je,{tagName:"div",className:"gb-profile-text",multiline:"p",placeholder:Re("Add profile text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:o,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],onChange:function(e){return d({profileContent:e})}}),React.createElement(ve,this.props)))]}}]),n}(xe);function We(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ie=wp.element.Component,Ue=wp.blockEditor.RichText,Je=function(e){m()(n,e);var t=We(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileName,n=e.profileTitle,r=e.profileContent,a=e.profileImgURL,o=e.profileImgAlt,i=e.profileImgID,s=e.profileTextColor;return React.createElement(ye,this.props,a&&React.createElement(Ye,this.props,React.createElement("figure",{className:"gb-profile-image-square"},React.createElement("img",{className:b()("gb-profile-avatar","wp-image-"+i),src:a,alt:o}))),React.createElement("div",{className:b()("gb-profile-column gb-profile-content-wrap")},t&&React.createElement(Ue.Content,{tagName:"h2",className:"gb-profile-name",style:{color:s},value:t}),n&&React.createElement(Ue.Content,{tagName:"p",className:"gb-profile-title",style:{color:s},value:n}),r&&React.createElement(Ue.Content,{tagName:"div",className:"gb-profile-text",value:r}),React.createElement(ve,this.props)))}}]),n}(Ie);n(329),n(330);function Ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ge=wp.element.Component,qe=wp.blockEditor.RichText,$e=function(e){m()(n,e);var t=Ve(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileName,n=e.profileTitle,r=e.profileContent,a=e.profileImgURL,o=e.profileTextColor;return React.createElement(ye,this.props,a&&React.createElement(Ye,this.props,React.createElement("div",{className:"gb-profile-image-square"},React.createElement("img",{className:"gb-profile-avatar",src:a,alt:"avatar"}))),React.createElement("div",{className:b()("gb-profile-column gb-profile-content-wrap")},t&&React.createElement(qe.Content,{tagName:"h2",className:"gb-profile-name",style:{color:o},value:t}),n&&React.createElement(qe.Content,{tagName:"p",className:"gb-profile-title",style:{color:o},value:n}),r&&React.createElement(qe.Content,{tagName:"div",className:"gb-profile-text",value:r}),React.createElement(ve,this.props)))}}]),n}(Ge),Ke=[{attributes:{profileName:{type:"array",source:"children",selector:".gb-profile-name"},profileTitle:{type:"array",source:"children",selector:".gb-profile-title"},profileContent:{type:"array",selector:".gb-profile-text",source:"children"},profileAlignment:{type:"string"},profileImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},profileImgID:{type:"number"},profileBackgroundColor:{type:"string",default:"#f2f2f2"},profileTextColor:{type:"string",default:"#32373c"},profileLinkColor:{type:"string",default:"#392f43"},profileFontSize:{type:"number",default:18},profileAvatarShape:{type:"string",default:"square"},twitter:{type:"url"},facebook:{type:"url"},instagram:{type:"url"},pinterest:{type:"url"},google:{type:"url"},youtube:{type:"url"},github:{type:"url"},linkedin:{type:"url"},email:{type:"url"},website:{type:"url"}},save:function(e){return React.createElement($e,e)}}],Ze=wp.i18n.__;function Qe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-profile-box",{title:Ze("Profile Box","genesis-blocks"),description:Ze("Add a profile box with bio info and social media links.","genesis-blocks"),icon:"admin-users",category:"genesis-blocks",keywords:[Ze("author","genesis-blocks"),Ze("profile","genesis-blocks"),Ze("atomic","genesis-blocks"),Ze("genesis","genesis-blocks")],attributes:{profileName:{type:"array",source:"children",selector:".gb-profile-name"},profileTitle:{type:"array",source:"children",selector:".gb-profile-title"},profileContent:{type:"array",selector:".gb-profile-text",source:"children"},profileAlignment:{type:"string"},profileImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},profileImgAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},profileImgID:{type:"number"},profileBackgroundColor:{type:"string",default:"#f2f2f2"},profileTextColor:{type:"string",default:"#32373c"},profileLinkColor:{type:"string",default:"#392f43"},profileFontSize:{type:"number",default:18},profileAvatarShape:{type:"string",default:"square"},twitter:{type:"url"},facebook:{type:"url"},instagram:{type:"url"},pinterest:{type:"url"},google:{type:"url"},youtube:{type:"url"},github:{type:"url"},linkedin:{type:"url"},email:{type:"url"},wordpress:{type:"url"},website:{type:"url"}},gb_settings_data:{gb_author_profile_profileFontSize:{title:Ze("Font Size","genesis-blocks")},gb_author_profile_profileAvatarShape:{title:Ze("Avatar Shape","genesis-blocks")},gb_author_profile_profileBackgroundColor:{title:Ze("Background Color","genesis-blocks")},gb_author_profile_profileTextColor:{title:Ze("Text Color","genesis-blocks")},gb_author_profile_profileLinkColor:{title:Ze("Social Link Color","genesis-blocks")},gb_author_profile_socialLinks:{title:Ze("Social Links","genesis-blocks")}},edit:function(e){return React.createElement(Fe,e)},save:function(e){return React.createElement(Je,e)},deprecated:Ke});var Xe=wp.i18n.__,et=wp.element.Component,tt=wp.blockEditor,nt=tt.PanelColorSettings,rt=tt.InspectorControls,at=wp.components,ot=at.PanelBody,it=at.RangeControl,st=at.SelectControl,lt=function(e){m()(n,e);var t=Qe(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=[{value:null,label:Xe("Always Show","genesis-blocks")},{value:"gb-dismissable",label:Xe("Dismissible","genesis-blocks")}],n=this.props.attributes,r=n.noticeBackgroundColor,a=n.noticeTextColor,o=n.noticeTitleColor,i=n.noticeFontSize,s=n.noticeDismiss,l=this.props.setAttributes;return React.createElement(rt,{key:"inspector"},React.createElement(ot,null,React.createElement(v,{id:"gb_notice_noticeFontSize"},React.createElement(it,{label:Xe("Font Size","genesis-blocks"),value:i,onChange:function(t){return e.props.setAttributes({noticeFontSize:t})},min:14,max:24,step:1})),React.createElement(v,{id:"gb_notice_noticeDismiss"},React.createElement(st,{label:Xe("Notice Display","genesis-blocks"),description:Xe("Do you want the message to always show or dismissible?","genesis-blocks"),options:t,value:s,onChange:function(t){return e.props.setAttributes({noticeDismiss:t})}}))),React.createElement(v,{id:"gb_notice_colorSettings"},React.createElement(nt,{title:Xe("Notice Color","genesis-blocks"),colorValue:r,initialOpen:!1,colorSettings:[{value:r,onChange:function(e){return l({noticeBackgroundColor:e})},colors:[{color:"#00d1b2",name:"teal"},{color:"#3373dc",name:"royal blue"},{color:"#209cef",name:"sky blue"},{color:"#22d25f",name:"green"},{color:"#ffdd57",name:"yellow"},{color:"#ff3860",name:"pink"},{color:"#7941b6",name:"purple"},{color:"#392F43",name:"black"}],label:Xe("Notice Color","genesis-blocks")}]}),React.createElement(nt,{title:Xe("Title Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:function(e){return l({noticeTitleColor:e})},label:Xe("Title Color","genesis-blocks")}]}),React.createElement(nt,{title:Xe("Text Color","genesis-blocks"),colorValue:a,initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return l({noticeTextColor:e})},label:Xe("Text Color","genesis-blocks")}]})))}}]),n}(et),ct=n(195),ut=n.n(ct);function dt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var mt=function(e){m()(n,e);var t=dt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.noticeTitle,r=t.noticeAlignment,a=t.noticeBackgroundColor,o=t.noticeTextColor,i=t.noticeFontSize,s=t.noticeDismiss,l=(e=s+n,ut()(e).substr(0,6));return React.createElement("div",{style:{color:o,textAlign:r,backgroundColor:a},className:b()(this.props.className,s,"gb-font-size-"+i,"gb-block-notice"),"data-id":l},this.props.children)}}]),n}(wp.element.Component);function pt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var _t=function(e){m()(n,e);var t=pt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes.noticeTitleColor;return React.createElement("div",{className:"gb-notice-dismiss",style:{fill:e,color:e}},this.props.children)}}]),n}(wp.element.Component),ht={};ht.upload=React.createElement("svg",{width:"20px",height:"20px",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m77.945 91.453h-72.371c-3.3711 0-5.5742-2.3633-5.5742-5.2422v-55.719c0-3.457 2.1172-6.0703 5.5742-6.0703h44.453v11.051l-38.98-0.003906v45.008h60.977v-17.133l11.988-0.007812v22.875c0 2.8789-2.7812 5.2422-6.0664 5.2422z"}),React.createElement("path",{d:"m16.543 75.48l23.25-22.324 10.441 9.7773 11.234-14.766 5.5039 10.539 0.039063 16.773z"}),React.createElement("path",{d:"m28.047 52.992c-3.168 0-5.7422-2.5742-5.7422-5.7461 0-3.1758 2.5742-5.75 5.7422-5.75 3.1797 0 5.7539 2.5742 5.7539 5.75 0 3.1719-2.5742 5.7461-5.7539 5.7461z"}),React.createElement("path",{d:"m84.043 30.492v22.02h-12.059l-0.015625-22.02h-15.852l21.941-21.945 21.941 21.945z"})),ht.dismiss=React.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},React.createElement("path",{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zM15 13l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z"}));var gt=ht;n(331),n(332);function ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ft(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var kt=wp.i18n.__,Mt=wp.element.Component,vt=wp.blocks.registerBlockType,Lt=wp.blockEditor,Yt=Lt.RichText,wt=Lt.AlignmentToolbar,Tt=Lt.BlockControls,Dt=function(e){m()(n,e);var t=yt(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.noticeTitle,r=t.noticeContent,o=t.noticeAlignment,i=t.noticeBackgroundColor,s=t.noticeTitleColor,l=t.noticeDismiss,c=e.setAttributes;return[React.createElement(Tt,{key:"controls"},React.createElement(wt,{value:o,onChange:function(e){return c({noticeAlignment:e})}})),React.createElement(lt,a()({key:"gb-notice-inspector-"+this.props.clientId},bt({setAttributes:c},this.props))),React.createElement(mt,a()({key:"gb-notice-noticebox-"+this.props.clientId},this.props),l&&"gb-dismissable"===l&&React.createElement(_t,this.props,gt.dismiss),React.createElement(Yt,{tagName:"p",placeholder:kt("Notice Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,className:b()("gb-notice-title"),style:{color:s},onChange:function(e){return c({noticeTitle:e})}}),React.createElement(Yt,{tagName:"div",multiline:"p",placeholder:kt("Add notice text…","genesis-blocks"),value:r,className:b()("gb-notice-text"),style:{borderColor:i},onChange:function(e){return c({noticeContent:e})}}))]}}]),n}(Mt);function Rt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}vt("genesis-blocks/gb-notice",{title:kt("Notice","genesis-blocks"),description:kt("Add a stylized text notice.","genesis-blocks"),icon:"format-aside",category:"genesis-blocks",keywords:[kt("notice","genesis-blocks"),kt("message","genesis-blocks"),kt("atomic","genesis-blocks")],attributes:{noticeTitle:{type:"string",selector:".gb-notice-title"},noticeContent:{type:"array",selector:".gb-notice-text",source:"children"},noticeAlignment:{type:"string"},noticeBackgroundColor:{type:"string",default:"#00d1b2"},noticeTextColor:{type:"string",default:"#32373c"},noticeTitleColor:{type:"string",default:"#fff"},noticeFontSize:{type:"number",default:18},noticeDismiss:{type:"string",default:""}},gb_settings_data:{gb_notice_noticeFontSize:{title:kt("Font Size","genesis-blocks")},gb_notice_noticeDismiss:{title:kt("Notice Display","genesis-blocks")},gb_notice_colorSettings:{title:kt("Notice Color","genesis-blocks")}},edit:Dt,save:function(e){var t=e.attributes,n=t.noticeTitle,r=t.noticeContent,a=t.noticeBackgroundColor,o=t.noticeTitleColor,i=t.noticeDismiss;return React.createElement(mt,e,i&&"gb-dismissable"===i&&React.createElement(_t,e,gt.dismiss),n&&React.createElement("div",{className:"gb-notice-title",style:{color:o}},React.createElement(Yt.Content,{tagName:"p",value:n})),r&&React.createElement(Yt.Content,{tagName:"div",className:"gb-notice-text",style:{borderColor:a},value:r}))}});var St=wp.i18n.__,xt=wp.element.Component,Et=wp.blockEditor.InspectorControls,Ct=wp.components,jt=Ct.RangeControl,Pt=Ct.SelectControl,Ht=Ct.PanelBody,Ot=function(e){m()(n,e);var t=Rt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.dropCapFontSize,r=t.dropCapStyle,a=[{value:"gb-drop-cap-letter",label:St("Letter","genesis-blocks")},{value:"gb-drop-cap-square",label:St("Square","genesis-blocks")},{value:"gb-drop-cap-border",label:St("Border","genesis-blocks")}];return React.createElement(Et,{key:"inspector"},React.createElement(Ht,null,React.createElement(v,{id:"gb_dropcap_dropCapFontSize"},React.createElement(jt,{label:St("Drop Cap Size","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({dropCapFontSize:t})},min:1,max:6,step:1})),React.createElement(v,{id:"gb_dropcap_dropCapStyle"},React.createElement(Pt,{label:St("Drop Cap Style","genesis-blocks"),description:St("Choose the style of the drop cap in your paragraph","genesis-blocks"),options:a,value:r,onChange:function(t){return e.props.setAttributes({dropCapStyle:t})}}))))}}]),n}(xt);function At(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var zt=function(e){m()(n,e);var t=At(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.dropCapAlignment,n=e.dropCapTextColor,r=e.dropCapFontSize,a=e.dropCapStyle;return React.createElement("div",{style:{color:n,textAlign:t},className:b()(this.props.className,a,"gb-font-size-"+r,"gb-block-drop-cap")},this.props.children)}}]),n}(wp.element.Component);n(333),n(334);function Nt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Bt=wp.i18n.__,Ft=wp.element.Component,Wt=wp.blocks.registerBlockType,It=wp.blockEditor,Ut=It.RichText,Jt=It.AlignmentToolbar,Vt=It.BlockControls,Gt=function(e){m()(n,e);var t=Nt(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.dropCapContent,r=t.dropCapAlignment,o=t.dropCapFontSize;return[React.createElement(Vt,{key:"controls"},React.createElement(Jt,{value:r,onChange:function(t){return e.props.setAttributes({dropCapAlignment:t})}})),React.createElement(Ot,a()({key:"gb-drop-cap-inspector-"+this.props.clientId},this.props)),React.createElement(zt,a()({key:"gb-drop-cap-"+this.props.clientId},this.props),React.createElement(Ut,{tagName:"div",multiline:"p",placeholder:Bt("Add paragraph text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],className:b()("gb-drop-cap-text","gb-font-size-"+o),onChange:function(t){return e.props.setAttributes({dropCapContent:t})}}))]}}]),n}(Ft);Wt("genesis-blocks/gb-drop-cap",{title:Bt("Drop Cap","genesis-blocks"),description:Bt("Add a styled drop cap to the beginning of your paragraph.","genesis-blocks"),icon:"format-quote",category:"genesis-blocks",keywords:[Bt("drop cap","genesis-blocks"),Bt("quote","genesis-blocks"),Bt("genesis","genesis-blocks")],attributes:{dropCapContent:{type:"array",selector:".gb-drop-cap-text",source:"children"},dropCapAlignment:{type:"string"},dropCapBackgroundColor:{type:"string",default:"#f2f2f2"},dropCapTextColor:{type:"string",default:"#32373c"},dropCapFontSize:{type:"number",default:3},dropCapStyle:{type:"string",default:"drop-cap-letter"}},gb_settings_data:{gb_dropcap_dropCapFontSize:{title:Bt("Drop Cap Size","genesis-blocks")},gb_dropcap_dropCapStyle:{title:Bt("Drop Cap Style","genesis-blocks")}},edit:Gt,save:function(e){var t=e.attributes.dropCapContent;return React.createElement(zt,e,t&&React.createElement(Ut.Content,{tagName:"div",className:"gb-drop-cap-text",value:t}))}});var qt=wp.i18n.__,$t=wp.element.Fragment,Kt=wp.components,Zt=Kt.SelectControl,Qt=Kt.ToggleControl,Xt=wp.blockEditor.PanelColorSettings;function en(e){var t=e.enableButtonBackgroundColor,n=e.buttonBackgroundColor,r=e.onChangeButtonColor,a=void 0===r?function(){}:r,o=e.enableButtonTextColor,i=e.buttonTextColor,s=e.onChangeButtonTextColor,l=void 0===s?function(){}:s,c=e.enableButtonSize,u=e.buttonSize,d=e.onChangeButtonSize,m=void 0===d?function(){}:d,p=e.enableButtonShape,_=e.buttonShape,h=e.onChangeButtonShape,g=void 0===h?function(){}:h,f=e.enableButtonTarget,b=e.buttonTarget,y=e.onChangeButtonTarget,k=void 0===y?function(){}:y,M=[{value:"gb-button-size-small",label:qt("Small","genesis-blocks")},{value:"gb-button-size-medium",label:qt("Medium","genesis-blocks")},{value:"gb-button-size-large",label:qt("Large","genesis-blocks")},{value:"gb-button-size-extralarge",label:qt("Extra Large","genesis-blocks")}],L=[{value:"gb-button-shape-square",label:qt("Square","genesis-blocks")},{value:"gb-button-shape-rounded",label:qt("Rounded Square","genesis-blocks")},{value:"gb-button-shape-circular",label:qt("Circular","genesis-blocks")}];return React.createElement($t,null,React.createElement(v,{id:"gb_button_buttonOptions"},!1!==f&&React.createElement(Qt,{label:qt("Open link in new window","genesis-blocks"),checked:b,onChange:k}),!1!==c&&React.createElement(Zt,{selected:u,label:qt("Button Size","genesis-blocks"),value:u,options:M.map((function(e){return{value:e.value,label:e.label}})),onChange:m}),!1!==p&&React.createElement(Zt,{label:qt("Button Shape","genesis-blocks"),value:_,options:L.map((function(e){return{value:e.value,label:e.label}})),onChange:g}),!1!==t&&React.createElement(Xt,{title:qt("Button Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n,onChange:a,label:qt("Button Color","genesis-blocks")}]}),!1!==o&&React.createElement(Xt,{title:qt("Button Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:i,onChange:l,label:qt("Button Text Color","genesis-blocks")}]})))}function tn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}wp.i18n.__;var nn=wp.element.Component,rn=wp.blockEditor.InspectorControls,an=wp.components.PanelBody,on=function(e){m()(n,e);var t=tn(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonBackgroundColor,n=e.buttonTextColor,r=e.buttonSize,a=e.buttonShape,o=e.buttonTarget,i=this.props.setAttributes;return React.createElement(rn,{key:"inspector"},React.createElement(an,null,React.createElement(en,{buttonTarget:o,onChangeButtonTarget:function(e){return i({buttonTarget:!o})},buttonSize:r,onChangeButtonSize:function(e){return i({buttonSize:e})},buttonShape:a,onChangeButtonShape:function(e){return i({buttonShape:e})},buttonBackgroundColor:t,onChangeButtonColor:function(e){return i({buttonBackgroundColor:e})},buttonTextColor:n,onChangeButtonTextColor:function(e){return i({buttonTextColor:e})}})))}}]),n}(nn);function sn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ln=function(e){m()(n,e);var t=sn(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{style:{textAlign:this.props.attributes.buttonAlignment},className:b()(this.props.className,"gb-block-button")},this.props.children)}}]),n}(wp.element.Component);n(335),n(336);function cn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var un=wp.i18n.__,dn=wp.element.Component,mn=wp.blocks.registerBlockType,pn=wp.blockEditor,_n=pn.RichText,hn=pn.AlignmentToolbar,gn=pn.BlockControls,fn=pn.URLInput,bn=wp.components,yn=bn.Button,kn=bn.Dashicon,Mn=bn.Icon,vn=function(e){m()(n,e);var t=cn(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.buttonText,r=t.buttonUrl,o=t.buttonAlignment,i=t.buttonBackgroundColor,s=t.buttonTextColor,l=t.buttonSize,c=t.buttonShape,u=e.isSelected,d=e.setAttributes;return[React.createElement(gn,{key:"controls"},React.createElement(hn,{value:o,onChange:function(e){d({buttonAlignment:e})}})),React.createElement(on,a()({key:"gb-button-inspector-"+this.props.clientId},this.props)),React.createElement(ln,a()({key:"gb-button-custombutton-"+this.props.clientId},this.props),React.createElement(_n,{tagName:"span",placeholder:un("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,allowedFormats:[],className:b()("gb-button",c,l),style:{color:s||"#ffffff",backgroundColor:i||"#3373dc"},onChange:function(e){return d({buttonText:e})}})),u&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(o),onSubmit:function(e){return e.preventDefault()},style:{textAlign:o}},React.createElement(kn,{icon:"admin-links"}),React.createElement(fn,{className:"button-url",value:r,onChange:function(e){return d({buttonUrl:e})}}),React.createElement(yn,{label:un("Apply","genesis-blocks"),type:"submit"},React.createElement(Mn,{icon:"editor-break"})))]}}]),n}(dn);function Ln(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}mn("genesis-blocks/gb-button",{title:un("Button","genesis-blocks"),description:un("Add a customizable button.","genesis-blocks"),icon:"admin-links",category:"genesis-blocks",keywords:[un("button","genesis-blocks"),un("link","genesis-blocks"),un("genesis","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string"},buttonBackgroundColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1}},gb_settings_data:{gb_button_buttonOptions:{title:un("Button Options","genesis-blocks")}},edit:vn,save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=t.buttonBackgroundColor,o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget;return React.createElement(ln,e,n&&React.createElement("a",{href:r,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:b()("gb-button",s,i),style:{color:o||"#ffffff",backgroundColor:a||"#3373dc"}},React.createElement(_n.Content,{value:n})))}});var Yn=wp.i18n.__,wn=wp.element,Tn=wn.Component,Dn=wn.Fragment,Rn=wp.blockEditor,Sn=Rn.InspectorControls,xn=Rn.PanelColorSettings,En=wp.components,Cn=En.PanelBody,jn=En.RangeControl,Pn=En.ToggleControl,Hn=En.SelectControl,On=function(e){m()(n,e);var t=Ln(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.spacerHeight,a=n.spacerDivider,o=n.spacerDividerStyle,i=n.spacerDividerColor,s=n.spacerDividerHeight,l=t.setAttributes,c=[{value:"gb-divider-solid",label:Yn("Solid","genesis-blocks")},{value:"gb-divider-dashed",label:Yn("Dashed","genesis-blocks")},{value:"gb-divider-dotted",label:Yn("Dotted","genesis-blocks")}];return React.createElement(Sn,{key:"inspector"},React.createElement(Cn,null,React.createElement(v,{id:"gb_spacer_spacerHeight"},React.createElement(jn,{label:Yn("Spacer Height","genesis-blocks"),value:r||"",onChange:function(t){return e.props.setAttributes({spacerHeight:t})},min:30,max:600})),React.createElement(v,{id:"gb_spacer_spacerDivider"},React.createElement(Pn,{label:Yn("Add Divider","genesis-blocks"),checked:a,onChange:function(){return e.props.setAttributes({spacerDivider:!a})}}))),a?React.createElement(Dn,null,React.createElement(Cn,null,React.createElement(v,{id:"gb_spacer_spacerDividerStyle"},React.createElement(Hn,{label:Yn("Divider Style","genesis-blocks"),value:o,options:c.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({spacerDividerStyle:t})}})),React.createElement(v,{id:"gb_spacer_spacerDividerHeight"},React.createElement(jn,{label:Yn("Divider Height","genesis-blocks"),value:s||"",onChange:function(t){return e.props.setAttributes({spacerDividerHeight:t})},min:1,max:5}))),React.createElement(v,{id:"gb_spacer_dividerColor"},React.createElement(xn,{title:Yn("Divider Color","genesis-blocks"),initialOpen:!1,colorSettings:[{colors:[{color:"#ddd",name:"white"},{color:"#333",name:"black"},{color:"#3373dc",name:"royal blue"},{color:"#22d25f",name:"green"},{color:"#ffdd57",name:"yellow"},{color:"#ff3860",name:"pink"},{color:"#7941b6",name:"purple"}],value:i,onChange:function(e){return l({spacerDividerColor:e})},label:Yn("Divider Color","genesis-blocks")}]}))):null)}}]),n}(Tn);function An(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var zn,Nn=function(e){m()(n,e);var t=An(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.spacerDivider,n=e.spacerDividerStyle,r=e.spacerDividerColor,a=e.spacerDividerHeight;return React.createElement("div",{style:{color:r},className:b()(this.props.className,"gb-block-spacer",n,{"gb-spacer-divider":t},"gb-divider-size-"+a)},this.props.children)}}]),n}(wp.element.Component),Bn=n(10),Fn=n.n(Bn),Wn=(zn=function(e,t){return(zn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}zn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),In=function(){return(In=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},Un={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},Jn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return Wn(t,e),t.prototype.render=function(){return Bn.createElement("div",{className:this.props.className||"",style:In(In({position:"absolute",userSelect:"none"},Un[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(Bn.PureComponent),Vn=n(15),Gn=n.n(Vn),qn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),$n=function(){return($n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},Kn={width:"auto",height:"auto"},Zn=Gn()((function(e,t,n){return Math.max(Math.min(e,n),t)})),Qn=Gn()((function(e,t){return Math.round(e/t)*t})),Xn=Gn()((function(e,t){return new RegExp(e,"i").test(t)})),er=Gn()((function(e,t,n){void 0===n&&(n=0);var r=t.reduce((function(n,r,a){return Math.abs(r-e)<Math.abs(t[n]-e)?a:n}),0),a=Math.abs(t[r]-e);return 0===n||a<n?t[r]:e})),tr=Gn()((function(e,t){return e.substr(e.length-t.length,t.length)===t})),nr=Gn()((function(e){return"auto"===(e=e.toString())||tr(e,"px")||tr(e,"%")||tr(e,"vh")||tr(e,"vw")||tr(e,"vmax")||tr(e,"vmin")?e:e+"px"})),rr=function(e,t,n,r){if(e&&"string"==typeof e){if(tr(e,"%"))return t*(Number(e.replace("%",""))/100);if(tr(e,"vw"))return n*(Number(e.replace("vw",""))/100);if(tr(e,"vh"))return r*(Number(e.replace("vh",""))/100)}return e},ar=Gn()((function(e,t,n,r,a,o,i){return r=rr(r,e.width,t,n),a=rr(a,e.height,t,n),o=rr(o,e.width,t,n),i=rr(i,e.height,t,n),{maxWidth:void 0===r?void 0:Number(r),maxHeight:void 0===a?void 0:Number(a),minWidth:void 0===o?void 0:Number(o),minHeight:void 0===i?void 0:Number(i)}})),or=["as","style","className","grid","snap","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],ir=function(e){function t(t){var n=e.call(this,t)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableTop=0,n.targetLeft=0,n.targetTop=0,n.ref=function(e){e&&(n.resizable=e)},n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return qn(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||Kn},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"base",{get:function(){var e=this.parentNode;if(e)for(var t=0,n=[].slice.call(e.children);t<n.length;t++){var r=n[t];if(r.classList.contains("__resizable_base__"))return r}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,a=this.resizable.style.position;"relative"!==a&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=a}return{width:e,height:t}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&tr(e.propsSize[t].toString(),"%")){if(tr(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return nr(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?nr(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?nr(t.height):n("height")}},enumerable:!0,configurable:!0}),t.prototype.getParentSize=function(){if(!this.base||!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=!1,t=this.parentNode.style.flexWrap,n=this.base.style.minWidth;"wrap"!==t&&(e=!0,this.parentNode.style.flexWrap="wrap"),this.base.style.position="relative",this.base.style.minWidth="100%";var r={width:this.base.offsetWidth,height:this.base.offsetHeight};return this.base.style.position="absolute",e&&(this.parentNode.style.flexWrap=t),this.base.style.minWidth=n,r},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0});var t=this.parentNode;if(t&&!this.base){var n=this.window.document.createElement("div");n.style.width="100%",n.style.height="100%",n.style.position="absolute",n.style.transform="scale(0, 0)",n.style.left="0",n.style.flex="0",n.classList?n.classList.add("__resizable_base__"):n.className+="__resizable_base__",t.appendChild(n)}}},t.prototype.componentWillUnmount=function(){if(this.window){this.unbindEvents();var e=this.parentNode;if(!this.base||!e)return;if(!e||!this.base)return;e.removeChild(this.base)}},t.prototype.createSizeForCssProperty=function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){if("parent"===this.props.bounds){var n=this.parentNode;if(n){var r=n.offsetWidth+(this.parentLeft-this.resizableLeft),a=n.offsetHeight+(this.parentTop-this.resizableTop);e=e&&e<r?e:r,t=t&&t<a?t:a}}else if("window"===this.props.bounds){if(this.window){r=this.window.innerWidth-this.resizableLeft,a=this.window.innerHeight-this.resizableTop;e=e&&e<r?e:r,t=t&&t<a?t:a}}else if(this.props.bounds){r=this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),a=this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop);e=e&&e<r?e:r,t=t&&t<a?t:a}return{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var n=this.props.scale||1,r=this.props.resizeRatio||1,a=this.state,o=a.direction,i=a.original,s=this.props,l=s.lockAspectRatio,c=s.lockAspectRatioExtraHeight,u=s.lockAspectRatioExtraWidth,d=i.width,m=i.height,p=c||0,_=u||0;return Xn("right",o)&&(d=i.width+(e-i.x)*r/n,l&&(m=(d-_)/this.ratio+p)),Xn("left",o)&&(d=i.width-(e-i.x)*r/n,l&&(m=(d-_)/this.ratio+p)),Xn("bottom",o)&&(m=i.height+(t-i.y)*r/n,l&&(d=(m-p)*this.ratio+_)),Xn("top",o)&&(m=i.height-(t-i.y)*r/n,l&&(d=(m-p)*this.ratio+_)),{newWidth:d,newHeight:m}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var a=this.props,o=a.lockAspectRatio,i=a.lockAspectRatioExtraHeight,s=a.lockAspectRatioExtraWidth,l=void 0===r.width?10:r.width,c=void 0===n.width||n.width<0?e:n.width,u=void 0===r.height?10:r.height,d=void 0===n.height||n.height<0?t:n.height,m=i||0,p=s||0;if(o){var _=(u-m)*this.ratio+p,h=(d-m)*this.ratio+p,g=(l-p)/this.ratio+m,f=(c-p)/this.ratio+m,b=Math.max(l,_),y=Math.min(c,h),k=Math.max(u,g),M=Math.min(d,f);e=Zn(e,b,y),t=Zn(t,k,M)}else e=Zn(e,l,c),t=Zn(t,u,d);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var n=this.props.bounds.getBoundingClientRect();this.targetLeft=n.left,this.targetTop=n.top}if(this.resizable){var r=this.resizable.getBoundingClientRect(),a=r.left,o=r.top;this.resizableLeft=a,this.resizableTop=o}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var n,r=0,a=0;if(e.nativeEvent instanceof this.window.MouseEvent){if(r=e.nativeEvent.clientX,a=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent instanceof this.window.TouchEvent&&(r=e.nativeEvent.touches[0].clientX,a=e.nativeEvent.touches[0].clientY);if(this.props.onResizeStart)if(this.resizable)if(!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var o=this.window.getComputedStyle(this.resizable);if("auto"!==o.flexBasis){var i=this.parentNode;if(i){var s=this.window.getComputedStyle(i).flexDirection;this.flexDir=s.startsWith("row")?"row":"column",n=o.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var l={original:{x:r,y:a,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:$n($n({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:n};this.setState(l)}},t.prototype.onMouseMove=function(e){if(this.state.isResizing&&this.resizable&&this.window){var t=this.props,n=t.maxWidth,r=t.maxHeight,a=t.minWidth,o=t.minHeight,i=e instanceof this.window.MouseEvent?e.clientX:e.touches[0].clientX,s=e instanceof this.window.MouseEvent?e.clientY:e.touches[0].clientY,l=this.state,c=l.direction,u=l.original,d=l.width,m=l.height,p=this.getParentSize(),_=ar(p,this.window.innerWidth,this.window.innerHeight,n,r,a,o);n=_.maxWidth,r=_.maxHeight,a=_.minWidth,o=_.minHeight;var h=this.calculateNewSizeFromDirection(i,s),g=h.newHeight,f=h.newWidth,b=this.calculateNewMaxFromBoundary(n,r),y=this.calculateNewSizeFromAspectRatio(f,g,{width:b.maxWidth,height:b.maxHeight},{width:a,height:o});if(f=y.newWidth,g=y.newHeight,this.props.grid){var k=Qn(f,this.props.grid[0]),M=Qn(g,this.props.grid[1]),v=this.props.snapGap||0;f=0===v||Math.abs(k-f)<=v?k:f,g=0===v||Math.abs(M-g)<=v?M:g}this.props.snap&&this.props.snap.x&&(f=er(f,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(g=er(g,this.props.snap.y,this.props.snapGap));var L={width:f-u.width,height:g-u.height};if(d&&"string"==typeof d)if(tr(d,"%"))f=f/p.width*100+"%";else if(tr(d,"vw")){f=f/this.window.innerWidth*100+"vw"}else if(tr(d,"vh")){f=f/this.window.innerHeight*100+"vh"}if(m&&"string"==typeof m)if(tr(m,"%"))g=g/p.height*100+"%";else if(tr(m,"vw")){g=g/this.window.innerWidth*100+"vw"}else if(tr(m,"vh")){g=g/this.window.innerHeight*100+"vh"}var Y={width:this.createSizeForCssProperty(f,"width"),height:this.createSizeForCssProperty(g,"height")};"row"===this.flexDir?Y.flexBasis=Y.width:"column"===this.flexDir&&(Y.flexBasis=Y.height),this.setState(Y),this.props.onResize&&this.props.onResize(e,c,this.resizable,L)}},t.prototype.onMouseUp=function(e){var t=this.state,n=t.isResizing,r=t.direction,a=t.original;if(n&&this.resizable){var o={width:this.size.width-a.width,height:this.size.height-a.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,o),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:$n($n({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,a=t.handleClasses,o=t.handleWrapperStyle,i=t.handleWrapperClass,s=t.handleComponent;if(!n)return null;var l=Object.keys(n).map((function(t){return!1!==n[t]?Bn.createElement(Jn,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:a&&a[t]},s&&s[t]?s[t]:null):null}));return Bn.createElement("span",{className:i,style:o},l)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,n){return-1!==or.indexOf(n)||(t[n]=e.props[n]),t}),{}),n=$n($n($n({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(n.flexBasis=this.state.flexBasis);var r=this.props.as;return Bn.createElement(r,$n({ref:this.ref,style:n,className:this.props.className},t),this.state.isResizing&&Bn.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(Bn.PureComponent);n(337),n(338);function sr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var lr=wp.i18n.__,cr=wp.element.Component,ur=wp.blocks.registerBlockType,dr=function(e){m()(n,e);var t=sr(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.spacerHeight,r=t.spacerDividerColor,o=e.className,i=e.setAttributes,s=e.toggleSelection;return[React.createElement(On,a()({key:"gb-spacer-inspector-"+this.props.clientId},this.props)),React.createElement(Nn,a()({key:"gb-spacer-editor-"+this.props.clientId},this.props),React.createElement(ir,{className:b()(o,"gb-spacer-handle"),style:{color:r},size:{width:"100%",height:n},minWidth:"100%",maxWidth:"100%",minHeight:"100%",handleClasses:{bottomLeft:"gb-spacer-control__resize-handle"},enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!0,topLeft:!1},onResizeStart:function(){s(!1)},onResizeStop:function(e,t,r,a){i({spacerHeight:parseInt(n+a.height,10)}),s(!0)}}))]}}]),n}(cr);function mr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}ur("genesis-blocks/gb-spacer",{title:lr("Spacer","genesis-blocks"),description:lr("Add a spacer and divider between your blocks.","genesis-blocks"),icon:"image-flip-vertical",category:"genesis-blocks",keywords:[lr("spacer","genesis-blocks"),lr("divider","genesis-blocks"),lr("atomic","genesis-blocks")],attributes:{spacerHeight:{type:"number",default:30},spacerDivider:{type:"boolean",default:!1},spacerDividerStyle:{type:"string",default:"gb-divider-solid"},spacerDividerColor:{type:"string",default:"#ddd"},spacerDividerHeight:{type:"number",default:1}},gb_settings_data:{gb_spacer_spacerHeight:{title:lr("Spacer Height","genesis-blocks")},gb_spacer_spacerDivider:{title:lr("Add Divider","genesis-blocks")},gb_spacer_spacerDividerStyle:{title:lr("Divider Style","genesis-blocks")},gb_spacer_spacerDividerHeight:{title:lr("Divider Height","genesis-blocks")},gb_spacer_dividerColor:{title:lr("Divider Color","genesis-blocks")}},edit:dr,save:function(e){var t=e.attributes.spacerHeight;return React.createElement(Nn,e,React.createElement("hr",{style:{height:t?t+"px":void 0}}))}});var pr=wp.i18n.__,_r=wp.element.Component,hr=wp.blockEditor.InspectorControls,gr=wp.components,fr=gr.PanelBody,br=gr.RangeControl,yr=gr.ToggleControl,kr=function(e){m()(n,e);var t=mr(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this;return React.createElement(hr,{key:"inspector"},React.createElement(fr,null,React.createElement(v,{id:"gb_accordion_accordionFontSize"},React.createElement(br,{label:pr("Title Font Size","genesis-blocks"),value:this.props.attributes.accordionFontSize,onChange:function(t){return e.props.setAttributes({accordionFontSize:t})},min:14,max:24,step:1})),React.createElement(v,{id:"gb_accordion_accordionOpen"},React.createElement(yr,{label:pr("Open by default","genesis-blocks"),checked:this.props.attributes.accordionOpen,onChange:function(){return e.props.setAttributes({accordionOpen:!e.props.attributes.accordionOpen})}}))))}}]),n}(_r);function Mr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var vr=function(e){m()(n,e);var t=Mr(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{className:b()(this.props.className,this.props.attributes.accordionAlignment?"gb-align-"+this.props.attributes.accordionAlignment:void 0,"gb-block-accordion",this.props.attributes.accordionFontSize?"gb-font-size-"+this.props.attributes.accordionFontSize:null)},this.props.children)}}]),n}(wp.element.Component);function Lr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Yr=wp.i18n.__,wr=wp.element.Component,Tr=wp.blockEditor,Dr=Tr.RichText,Rr=Tr.AlignmentToolbar,Sr=Tr.BlockControls,xr=Tr.InnerBlocks,Er=function(e){m()(n,e);var t=Lr(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this;return[React.createElement(Sr,{key:"controls"},React.createElement(Rr,{value:this.props.attributes.accordionAlignment,onChange:function(t){return e.props.setAttributes({accordionAlignment:t})}})),React.createElement(kr,a()({key:"gb-accordion-inspector-"+this.props.clientId},this.props)),React.createElement(vr,a()({key:"gb-accordion-"+this.props.clientId},this.props),React.createElement(Dr,{tagName:"p",placeholder:Yr("Accordion Title","genesis-blocks"),value:this.props.attributes.accordionTitle,className:"gb-accordion-title",onChange:function(t){return e.props.setAttributes({accordionTitle:t})}}),React.createElement("div",{className:"gb-accordion-text"},React.createElement(xr,null)))]}}]),n}(wr);function Cr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var jr=wp.element.Component,Pr=wp.blockEditor,Hr=Pr.RichText,Or=Pr.InnerBlocks,Ar=function(e){m()(n,e);var t=Cr(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement(vr,this.props,React.createElement("details",{open:this.props.attributes.accordionOpen},React.createElement("summary",{className:"gb-accordion-title"},React.createElement(Hr.Content,{value:this.props.attributes.accordionTitle})),React.createElement("div",{className:"gb-accordion-text"},React.createElement(Or.Content,null))))}}]),n}(jr);function zr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Nr=function(e){m()(n,e);var t=zr(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.accordionAlignment,n=e.accordionFontSize;return React.createElement("div",{style:{},className:b()(this.props.className,t,"gb-block-accordion","gb-font-size-"+n)},this.props.children)}}]),n}(wp.element.Component);function Br(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Fr=wp.element.Component,Wr=wp.blockEditor,Ir=Wr.RichText,Ur=Wr.InnerBlocks,Jr=function(e){m()(n,e);var t=Br(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement(Nr,this.props,React.createElement("details",{open:this.props.attributes.accordionOpen},React.createElement("summary",{className:"gb-accordion-title"},React.createElement(Ir.Content,{value:this.props.attributes.accordionTitle})),React.createElement("div",{className:"gb-accordion-text"},React.createElement(Ur.Content,null))))}}]),n}(Fr),Vr=[{attributes:{accordionTitle:{type:"array",selector:".gb-accordion-title",source:"children"},accordionText:{type:"array",selector:".gb-accordion-text",source:"children"},accordionAlignment:{type:"string"},accordionFontSize:{type:"number",default:18},accordionOpen:{type:"boolean",default:!1}},save:function(e){return React.createElement(Jr,e)}}],Gr=(n(339),n(340),wp.i18n.__),qr=(wp.element.Component,{accordionTitle:{type:"array",selector:".gb-accordion-title",source:"children"},accordionText:{type:"array",selector:".gb-accordion-text",source:"children"},accordionAlignment:{type:"string"},accordionFontSize:{type:"number",default:void 0},accordionOpen:{type:"boolean",default:!1}});function $r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-accordion",{title:Gr("Accordion","genesis-blocks"),description:Gr("Add accordion block with a title and text.","genesis-blocks"),icon:"editor-ul",category:"genesis-blocks",keywords:[Gr("accordion","genesis-blocks"),Gr("list","genesis-blocks"),Gr("genesis","genesis-blocks")],attributes:qr,gb_settings_data:{gb_accordion_accordionFontSize:{title:Gr("Title Font Size","genesis-blocks")},gb_accordion_accordionOpen:{title:Gr("Open by default","genesis-blocks")}},edit:function(e){return React.createElement(Er,e)},save:function(e){return React.createElement(Ar,e)},deprecated:Vr});var Kr=wp.i18n.__,Zr=wp.element.Component,Qr=wp.blockEditor,Xr=Qr.InspectorControls,ea=Qr.PanelColorSettings,ta=Qr.MediaUpload,na=wp.components,ra=na.Button,aa=na.Icon,oa=na.PanelBody,ia=na.RangeControl,sa=na.SelectControl,la=na.ToggleControl,ca=function(e){m()(n,e);var t=$r(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.buttonBackgroundColor,r=t.buttonTextColor,a=t.buttonSize,o=t.buttonShape,i=t.buttonTarget,s=t.titleFontSize,l=t.ctaTextFontSize,c=t.ctaBackgroundColor,u=t.ctaTextColor,d=t.dimRatio,m=t.imgURL,p=t.imgID,_=this.props.setAttributes,h=[{value:"gb-button-size-small",label:Kr("Small")},{value:"gb-button-size-medium",label:Kr("Medium")},{value:"gb-button-size-large",label:Kr("Large")},{value:"gb-button-size-extralarge",label:Kr("Extra Large")}],g=[{value:"gb-button-shape-square",label:Kr("Square")},{value:"gb-button-shape-rounded",label:Kr("Rounded Square")},{value:"gb-button-shape-circular",label:Kr("Circular")}],f=function(){_({imgID:null,imgURL:null,imgAlt:null})};return React.createElement(Xr,{key:"inspector"},React.createElement(v,{id:"gb_cta_textOptions"},React.createElement(oa,{title:Kr("Text Options","genesis-blocks"),initialOpen:!0},React.createElement(ia,{label:Kr("Title Font Size","genesis-blocks"),value:s,onChange:function(t){return e.props.setAttributes({titleFontSize:t})},min:24,max:60,step:2}),React.createElement(ia,{label:Kr("Text Font Size","genesis-blocks"),value:l,onChange:function(t){return e.props.setAttributes({ctaTextFontSize:t})},min:14,max:24,step:2}),React.createElement(ea,{title:Kr("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:u,onChange:function(e){return _({ctaTextColor:e})},label:Kr("Text Color","genesis-blocks")}]}))),React.createElement(v,{id:"gb_cta_backgroundOptions"},React.createElement(oa,{title:Kr("Background Options","genesis-blocks"),initialOpen:!1},React.createElement("p",null,Kr("Select a background image:","genesis-blocks")),React.createElement(ta,{onSelect:function(e){_({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:p,render:function(e){var t=e.open;return React.createElement("div",null,React.createElement(ra,{className:"gb-cta-inspector-media",label:Kr("Edit image","genesis-blocks"),onClick:t},React.createElement(aa,{icon:"format-image"}),Kr("Select Image","genesis-blocks")),m&&!!m.length&&React.createElement(ra,{className:"gb-cta-inspector-media",label:Kr("Remove Image","genesis-blocks"),onClick:f},React.createElement(aa,{icon:"dismiss"}),Kr("Remove","genesis-blocks")))}}),m&&!!m.length&&React.createElement(ia,{label:Kr("Image Opacity","genesis-blocks"),value:d,onChange:function(t){return e.props.setAttributes({dimRatio:t})},min:0,max:100,step:10}),React.createElement(ea,{title:Kr("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:c,onChange:function(e){return _({ctaBackgroundColor:e})},label:Kr("Overlay Color","genesis-blocks")}]}))),React.createElement(v,{id:"gb_cta_buttonOptions"},React.createElement(oa,{title:Kr("Button Options","genesis-blocks"),initialOpen:!1},React.createElement(la,{label:Kr("Open link in new window","genesis-blocks"),checked:i,onChange:function(){return e.props.setAttributes({buttonTarget:!i})}}),React.createElement(sa,{label:Kr("Button Size","genesis-blocks"),value:a,options:h.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({buttonSize:t})}}),React.createElement(sa,{label:Kr("Button Shape","genesis-blocks"),value:o,options:g.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({buttonShape:t})}}),React.createElement(ea,{title:Kr("Button Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n,onChange:function(e){return _({buttonBackgroundColor:e})},label:Kr("Button Color","genesis-blocks")}]}),React.createElement(ea,{title:Kr("Button Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:r,onChange:function(e){return _({buttonTextColor:e})},label:Kr("Button Text Color","genesis-blocks")}]}))))}}]),n}(Zr);function ua(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var da=function(e){m()(n,e);var t=ua(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=(t.buttonText,t.buttonUrl,t.buttonAlignment),r=(t.buttonBackgroundColor,t.buttonTextColor,t.buttonSize,t.buttonShape,t.buttonTarget,t.ctaTitle,t.ctaText,t.ctaTitleFontSize,t.ctaTextFontSize),a=t.ctaWidth,o=t.ctaBackgroundColor,s=(t.ctaTextColor,b()([this.props.className,"gb-block-cta"],(e={},i()(e,"gb-font-size-"+r,r),i()(e,"align"+a,a),e))),l={backgroundColor:o||void 0,textAlign:n||void 0};return React.createElement("div",{style:l,className:s||void 0},this.props.children)}}]),n}(wp.element.Component);function ma(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var pa=function(e){m()(n,e);var t=ma(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=(t.buttonText,t.buttonUrl,t.buttonAlignment),r=(t.buttonBackgroundColor,t.buttonTextColor,t.buttonSize,t.buttonShape,t.buttonTarget,t.ctaTitle,t.ctaText,t.ctaTitleFontSize,t.ctaTextFontSize),a=t.ctaWidth,o=t.ctaBackgroundColor,s=(t.ctaTextColor,b()([this.props.className,"gb-block-cta"],(e={},i()(e,"gb-font-size-"+r,r),i()(e,"align"+a,a),e))),l={backgroundColor:o||void 0,textAlign:n||void 0};return React.createElement("div",{style:l,className:s||void 0},this.props.children)}}]),n}(wp.element.Component);function _a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ha=function(e){m()(n,e);var t=_a(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=(e.buttonText,e.buttonUrl,e.buttonAlignment),n=(e.buttonBackgroundColor,e.buttonTextColor,e.buttonSize,e.buttonShape,e.buttonTarget,e.ctaTitle,e.ctaText,e.ctaTitleFontSize,e.ctaTextFontSize),r=(e.ctaWidth,e.ctaBackgroundColor),a=(e.ctaTextColor,b()([this.props.className,"gb-block-cta"],i()({},"gb-font-size-"+n,n))),o={backgroundColor:r||void 0,textAlign:t||void 0};return React.createElement("div",{style:o,className:a||void 0},this.props.children)}}]),n}(wp.element.Component);function ga(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var fa=function(e){m()(n,e);var t=ga(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=(e.buttonText,e.buttonUrl,e.buttonAlignment),n=(e.buttonBackgroundColor,e.buttonTextColor,e.buttonSize,e.buttonShape,e.buttonTarget,e.ctaTitle,e.ctaText,e.ctaTitleFontSize,e.ctaTextFontSize),r=e.ctaWidth,a=e.ctaBackgroundColor;e.ctaTextColor;return React.createElement("div",{style:{backgroundColor:a,textAlign:t},className:b()(this.props.className,"align".concat(r),"gb-block-cta","gb-font-size-"+n)},this.props.children)}}]),n}(wp.element.Component);function ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ya=wp.blockEditor.RichText,ka=[{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=(t.buttonAlignment,t.buttonBackgroundColor),o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.titleFontSize,p=(t.ctaTextFontSize,t.ctaWidth,t.ctaBackgroundColor,t.ctaTextColor),_=t.imgURL,h=(t.imgID,t.imgAlt),g=t.dimRatio;return React.createElement(pa,e,_&&!!_.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Ma(g),{"has-background-dim":0!==g}),src:_,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(ya.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+m),style:{color:p},value:c}),u&&React.createElement(ya.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+d),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",rel:l?"noopener noreferrer":null,className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(ya.Content,{value:n}))))}},{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string",default:"center"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=(t.buttonAlignment,t.buttonBackgroundColor),o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.ctaTextFontSize,p=(t.ctaWidth,t.ctaBackgroundColor,t.ctaTextColor),_=t.imgURL,h=(t.imgID,t.imgAlt),g=t.dimRatio;return React.createElement(ha,e,_&&!!_.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Ma(g),{"has-background-dim":0!==g}),src:_,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(ya.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+d),style:{color:p},value:c}),u&&React.createElement(ya.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+m),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",rel:l?"noopener noreferrer":null,className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(ya.Content,{value:n}))))}},{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},ctaTitleFontSize:{type:"string",default:"32"},ctaTextFontSize:{type:"string",default:"20"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string",default:"center"},ctaBackgroundColor:{type:"string",default:"#f2f2f2"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50}},save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=(t.buttonAlignment,t.buttonBackgroundColor),o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.ctaTextFontSize,p=(t.ctaWidth,t.ctaBackgroundColor,t.ctaTextColor),_=t.imgURL,h=(t.imgID,t.imgAlt),g=t.dimRatio;return React.createElement(fa,e,_&&!!_.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Ma(g),{"has-background-dim":0!==g}),src:_,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(ya.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+d),style:{color:p},value:c}),u&&React.createElement(ya.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+m),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(ya.Content,{value:n}))))},migrate:function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ba(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ba(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({titleFontSize:e.ctaTitleFontSize},e)}}];function Ma(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}n(341),n(342);function va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function La(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?va(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):va(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ya(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var wa=wp.i18n.__,Ta=wp.element.Component,Da=wp.blocks.registerBlockType,Ra=wp.blockEditor,Sa=Ra.AlignmentToolbar,xa=Ra.URLInput,Ea=Ra.BlockControls,Ca=Ra.BlockAlignmentToolbar,ja=Ra.RichText,Pa=wp.components,Ha=Pa.Button,Oa=Pa.Dashicon,Aa=Pa.Icon,za=function(e){m()(n,e);var t=Ya(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.buttonText,r=t.buttonUrl,o=t.buttonAlignment,i=t.buttonBackgroundColor,s=t.buttonTextColor,l=t.buttonSize,c=t.buttonShape,u=t.ctaTitle,d=t.ctaText,m=t.titleFontSize,p=t.ctaTextFontSize,_=t.ctaWidth,h=t.ctaTextColor,g=t.imgURL,f=t.imgAlt,y=t.dimRatio,k=e.isSelected,M=e.setAttributes;return[React.createElement(Ea,{key:"gb-cta-block-controls-"+this.props.clientId},React.createElement(Ca,{value:_,onChange:function(e){return M({ctaWidth:e})},controls:["center","wide","full"]}),React.createElement(Sa,{value:o,onChange:function(e){M({buttonAlignment:e})}})),React.createElement(ca,a()({key:"gb-cta-inspector-"+this.props.clientId},La({setAttributes:M},this.props))),React.createElement(da,a()({key:"gb-cta-"+this.props.clientId},this.props),g&&!!g.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Na(y),{"has-background-dim":0!==y}),src:g,alt:f})),React.createElement("div",{className:"gb-cta-content"},React.createElement(ja,{tagName:"h2",placeholder:wa("Call-To-Action Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:u,className:b()("gb-cta-title","gb-font-size-"+m),style:{color:h},onChange:function(e){return M({ctaTitle:e})}}),React.createElement(ja,{tagName:"div",multiline:"p",placeholder:wa("Call To Action Text","genesis-blocks"),keepPlaceholderOnFocus:!0,value:d,className:b()("gb-cta-text","gb-font-size-"+p),style:{color:h},onChange:function(e){return M({ctaText:e})}})),React.createElement("div",{className:"gb-cta-button"},React.createElement(ja,{tagName:"span",placeholder:wa("Button text…","genesis-blocks"),value:n,allowedFormats:[],className:b()("gb-button",c,l),style:{color:s,backgroundColor:i},onChange:function(e){return M({buttonText:e})}}),k&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(o),onSubmit:function(e){return e.preventDefault()},style:{textAlign:o}},React.createElement(Oa,{icon:"admin-links"}),React.createElement(xa,{className:"button-url",value:r,onChange:function(e){return M({buttonUrl:e})}}),React.createElement(Ha,{label:wa("Apply","genesis-blocks"),type:"submit"},React.createElement(Aa,{icon:"editor-break"})))))]}}]),n}(Ta);function Na(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}function Ba(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}Da("genesis-blocks/gb-cta",{title:wa("Call To Action","genesis-blocks"),description:wa("Add a call to action section with a title, text, and a button.","genesis-blocks"),icon:"megaphone",category:"genesis-blocks",keywords:[wa("call to action","genesis-blocks"),wa("cta","genesis-blocks"),wa("atomic","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},gb_settings_data:{gb_cta_textOptions:{title:wa("Text Options","genesis-blocks")},gb_cta_backgroundOptions:{title:wa("Background Options","genesis-blocks")},gb_cta_buttonOptions:{title:wa("Button Options","genesis-blocks")}},getEditWrapperProps:function(e){var t=e.ctaWidth;if("left"===t||"right"===t||"full"===t)return{"data-align":t}},edit:za,save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=t.buttonBackgroundColor,o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.titleFontSize,p=t.ctaTextColor,_=t.imgURL,h=t.imgAlt,g=t.dimRatio;return React.createElement(da,e,_&&!!_.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Na(g),{"has-background-dim":0!==g}),src:_,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(ja.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+m),style:{color:p},value:c}),u&&React.createElement(ja.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+d),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",rel:"noopener noreferrer",className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(ja.Content,{value:n}))))},deprecated:ka});var Fa=wp.i18n.__,Wa=wp.element.Component,Ia=wp.blockEditor.InspectorControls,Ua=wp.components,Ja=Ua.PanelBody,Va=Ua.SelectControl,Ga=Ua.ToggleControl,qa=function(e){m()(n,e);var t=Ba(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=[{value:"gb-share-icon-text",label:Fa("Icon and Text","genesis-blocks")},{value:"gb-share-icon-only",label:Fa("Icon Only","genesis-blocks")},{value:"gb-share-text-only",label:Fa("Text Only","genesis-blocks")}],n=[{value:"gb-share-shape-square",label:Fa("Square","genesis-blocks")},{value:"gb-share-shape-rounded",label:Fa("Rounded Square","genesis-blocks")},{value:"gb-share-shape-circular",label:Fa("Circular","genesis-blocks")}],r=[{value:"gb-share-size-small",label:Fa("Small","genesis-blocks")},{value:"gb-share-size-medium",label:Fa("Medium","genesis-blocks")},{value:"gb-share-size-large",label:Fa("Large","genesis-blocks")}],a=[{value:"gb-share-color-standard",label:Fa("Standard","genesis-blocks")},{value:"gb-share-color-social",label:Fa("Social Colors","genesis-blocks")}];return React.createElement(Ia,{key:"inspector"},React.createElement(v,{id:"gb_sharing_links"},React.createElement(Ja,null,React.createElement("p",null,Fa("Enable or disable the sharing links you want to output.","genesis-blocks")),React.createElement(Ga,{label:Fa("Twitter","genesis-blocks"),checked:!!this.props.attributes.twitter,onChange:function(){return e.props.setAttributes({twitter:!e.props.attributes.twitter})}}),React.createElement(Ga,{label:Fa("Facebook","genesis-blocks"),checked:!!this.props.attributes.facebook,onChange:function(){return e.props.setAttributes({facebook:!e.props.attributes.facebook})}}),React.createElement(Ga,{label:Fa("Pinterest","genesis-blocks"),checked:!!this.props.attributes.pinterest,onChange:function(){return e.props.setAttributes({pinterest:!e.props.attributes.pinterest})}}),React.createElement(Ga,{label:Fa("LinkedIn","genesis-blocks"),checked:!!this.props.attributes.linkedin,onChange:function(){return e.props.setAttributes({linkedin:!e.props.attributes.linkedin})}}),React.createElement(Ga,{label:Fa("Reddit","genesis-blocks"),checked:!!this.props.attributes.reddit,onChange:function(){return e.props.setAttributes({reddit:!e.props.attributes.reddit})}}),React.createElement(Ga,{label:Fa("Email","genesis-blocks"),checked:!!this.props.attributes.email,onChange:function(){return e.props.setAttributes({email:!e.props.attributes.email})}}))),React.createElement(Ja,{title:Fa("Sharing Button Options","genesis-blocks"),initialOpen:!1},React.createElement(v,{id:"gb_sharing_shareButtonStyle"},React.createElement(Va,{label:Fa("Button Style","genesis-blocks"),value:this.props.attributes.shareButtonStyle,options:t.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonStyle:t})}})),React.createElement(v,{id:"gb_sharing_shareButtonShape"},React.createElement(Va,{label:Fa("Button Shape","genesis-blocks"),value:this.props.attributes.shareButtonShape,options:n.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonShape:t})}})),React.createElement(v,{id:"gb_sharing_shareButtonSize"},React.createElement(Va,{label:Fa("Button Size","genesis-blocks"),value:this.props.attributes.shareButtonSize,options:r.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonSize:t})}})),React.createElement(v,{id:"gb_sharing_shareButtonColor"},React.createElement(Va,{label:Fa("Button Color","genesis-blocks"),value:this.props.attributes.shareButtonColor,options:a.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonColor:t})}}))))}}]),n}(Wa);function $a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ka=function(e){m()(n,e);var t=$a(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{className:b()(this.props.className,this.props.attributes.shareButtonStyle,this.props.attributes.shareButtonShape,this.props.attributes.shareButtonSize,this.props.attributes.shareButtonColor,this.props.attributes.shareAlignment?"gb-align-"+this.props.attributes.shareAlignment:void 0,"gb-block-sharing")},this.props.children)}}]),n}(wp.element.Component);function Za(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Qa=wp.i18n.__,Xa=wp.element.Component,eo=wp.blockEditor,to=eo.AlignmentToolbar,no=eo.BlockControls,ro=function(e){m()(n,e);var t=Za(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this;return[React.createElement(no,{key:"controls"},React.createElement(to,{value:this.props.attributes.shareAlignment,onChange:function(t){return e.props.setAttributes({shareAlignment:t})}})),React.createElement(qa,a()({key:"gb-share-inspector-"+this.props.clientId},this.props)),React.createElement(Ka,a()({key:"gb-share-links-"+this.props.clientId},this.props),React.createElement("ul",{className:"gb-share-list"},this.props.attributes.twitter&&React.createElement("li",null,React.createElement("a",{className:"gb-share-twitter"},React.createElement("i",{className:"fab fa-twitter"}),React.createElement("span",{className:"gb-social-text"},Qa("Share on Twitter","genesis-blocks")))),this.props.attributes.facebook&&React.createElement("li",null,React.createElement("a",{className:"gb-share-facebook"},React.createElement("i",{className:"fab fa-facebook-f"}),React.createElement("span",{className:"gb-social-text"},Qa("Share on Facebook","genesis-blocks")))),this.props.attributes.pinterest&&React.createElement("li",null,React.createElement("a",{className:"gb-share-pinterest"},React.createElement("i",{className:"fab fa-pinterest-p"}),React.createElement("span",{className:"gb-social-text"},Qa("Share on Pinterest","genesis-blocks")))),this.props.attributes.linkedin&&React.createElement("li",null,React.createElement("a",{className:"gb-share-linkedin"},React.createElement("i",{className:"fab fa-linkedin"}),React.createElement("span",{className:"gb-social-text"},Qa("Share on LinkedIn","genesis-blocks")))),this.props.attributes.reddit&&React.createElement("li",null,React.createElement("a",{className:"gb-share-reddit"},React.createElement("i",{className:"fab fa-reddit-alien"}),React.createElement("span",{className:"gb-social-text"},Qa("Share on reddit","genesis-blocks")))),this.props.attributes.email&&React.createElement("li",null,React.createElement("a",{className:"gb-share-email"},React.createElement("i",{className:"fas fa-envelope"}),React.createElement("span",{className:"gb-social-text"},Qa("Share via Email","genesis-blocks"))))))]}}]),n}(Xa),ao=(n(343),n(344),wp.i18n.__);(0,wp.blocks.registerBlockType)("genesis-blocks/gb-sharing",{title:ao("Sharing","genesis-blocks"),description:ao("Add sharing buttons to your posts and pages.","genesis-blocks"),icon:"admin-links",category:"genesis-blocks",keywords:[ao("sharing","genesis-blocks"),ao("social","genesis-blocks"),ao("atomic","genesis-blocks")],gb_settings_data:{gb_sharing_links:{title:ao("Sharing Links","genesis-blocks")},gb_sharing_shareButtonStyle:{title:ao("Button Style","genesis-blocks")},gb_sharing_shareButtonShape:{title:ao("Button Shape","genesis-blocks")},gb_sharing_shareButtonSize:{title:ao("Button Size","genesis-blocks")},gb_sharing_shareButtonColor:{title:ao("Button Color","genesis-blocks")}},edit:function(e){return React.createElement(ro,e)},save:function(){return null}});var oo=n(14),io=n.n(oo),so=n(6),lo=n.n(so),co=n(32),uo=n.n(co),mo=n(11),po=n.n(mo);function _o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ho=wp.i18n.__,go=wp.element,fo=go.Component,bo=(go.Fragment,wp.blockEditor.InspectorControls),yo=wp.components,ko=yo.PanelBody,Mo=yo.QueryControls,vo=yo.RangeControl,Lo=yo.SelectControl,Yo=yo.TextControl,wo=yo.ToggleControl,To=yo.FormTokenField,Do=yo.Spinner,Ro=wp.url.addQueryArgs,So=wp.apiFetch,xo=[],Eo=function(e){m()(n,e);var t=_o(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).state={categoriesList:!1,categoriesTitleToIdRelationships:!1,categoriesIdToTitleRelationships:!1,pagesList:!1,pagesTitleToIdRelationships:!1,pagesIdToTitleRelationships:!1,waitingForApiResponse:!1},e}return u()(n,[{key:"componentDidMount",value:function(){this.stillMounted=!0}},{key:"componentDidUpdate",value:function(){if(this.props.isSelected&&!this.state.waitingForApiResponse&&this.props.attributes.categories&&!this.state.categoriesList&&"post"===this.props.attributes.postType&&this.getCategoriesFromServer(!!this.props.attributes.categories&&this.props.attributes.categories,!0),this.props.isSelected&&!this.state.waitingForApiResponse&&this.props.attributes.selectedPages.length>0&&!this.state.pagesList&&"page"===this.props.attributes.postType){var e=[];for(var t in this.props.attributes.selectedPages)e.push(this.props.attributes.selectedPages[t].value);this.getPagesFromServer(e||!1,!0)}}},{key:"componentWillUnmount",value:function(){this.stillMounted=!1}},{key:"getCategoriesFromServer",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(r){if(t.setState({waitingForApiResponse:!0,categoriesList:!1}),!e||0===e.length)return n||t.setState({waitingForApiResponse:!1}),void r();var a={per_page:99,search:e};n&&(a={per_page:99,include:e}),t.fetchRequest=So({path:Ro("/wp/v2/categories",a)}).then((function(e){var n=t.state.categoriesTitleToIdRelationships?t.state.categoriesTitleToIdRelationships:{},a=t.state.categoriesIdToTitleRelationships?t.state.categoriesIdToTitleRelationships:{};for(var o in e)n[e[o].name+" ("+e[o].slug+")"]=e[o].id,a[e[o].id]=e[o].name+" ("+e[o].slug+")";t.setState({categoriesList:e,categoriesTitleToIdRelationships:n,categoriesIdToTitleRelationships:a,waitingForApiResponse:!1}),r()})).catch((function(){console.log("category request failure: ".concat(error.message)),t.stillMounted&&(t.setState({categoriesList:[],waitingForApiResponse:!1}),r())}))}))}},{key:"getPagesFromServer",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(r){if(t.setState({waitingForApiResponse:!0,pagesList:!1}),!e||0===e.length)return n||t.setState({waitingForApiResponse:!1}),void r();var a={per_page:-1,search:e};n&&(a={per_page:-1,include:e}),t.fetchRequest=So({path:Ro("/wp/v2/pages",a)}).then((function(e){var n=t.state.pagesTitleToIdRelationships?t.state.pagesTitleToIdRelationships:{},a=t.state.pagesIdToTitleRelationships?t.state.pagesIdToTitleRelationships:{};for(var o in e)n[e[o].title.rendered+" ("+e[o].slug+")"]=e[o].id,a[e[o].id]=e[o].title.rendered+" ("+e[o].slug+")";t.setState({pagesList:e,pagesTitleToIdRelationships:n,pagesIdToTitleRelationships:a,waitingForApiResponse:!1}),r()})).catch((function(){t.stillMounted&&(t.setState({pagesList:[],waitingForApiResponse:!1}),r())}))}))}},{key:"imageSizeSelect",value:function(){var e=wp.data.select("core/editor").getEditorSettings();return uo()(po()(e.imageSizes,(function(e){var t=e.name;return{value:e.slug,label:t}})))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.latestPosts,i=n.order,s=n.orderBy,l=this.state,c=l.categoriesList,u=l.categoriesTitleToIdRelationships,d=l.categoriesIdToTitleRelationships,m=l.pagesList,p=l.pagesTitleToIdRelationships,_=l.pagesIdToTitleRelationships,h=[{value:"post",label:ho("Post","genesis-blocks")},{value:"page",label:ho("Page","genesis-blocks")}],g=[{value:"div",label:ho("div","genesis-blocks")},{value:"header",label:ho("header","genesis-blocks")},{value:"section",label:ho("section","genesis-blocks")},{value:"article",label:ho("article","genesis-blocks")},{value:"main",label:ho("main","genesis-blocks")},{value:"aside",label:ho("aside","genesis-blocks")},{value:"footer",label:ho("footer","genesis-blocks")}],f=[{value:"h2",label:ho("H2","genesis-blocks")},{value:"h3",label:ho("H3","genesis-blocks")},{value:"h4",label:ho("H4","genesis-blocks")},{value:"h5",label:ho("H5","genesis-blocks")},{value:"h6",label:ho("H6","genesis-blocks")}],b=Array.isArray(o)&&o.length,y="post"===n.postType,k={value:"selectimage",label:ho("Select image size","genesis-blocks")},M={value:"gb-block-post-grid-landscape",label:ho("GB Grid Landscape","genesis-blocks")},L={value:"gb-block-post-grid-square",label:ho("GB Grid Square","genesis-blocks")},Y=this.imageSizeSelect();Y.push(L,M),Y.unshift(k);return React.createElement(bo,null,React.createElement(ko,{title:ho("Post and Page Grid Settings","genesis-blocks"),className:y?null:"genesis-blocks-hide-query"},React.createElement(v,{id:"gb_postgrid_postType"},React.createElement(Lo,{label:ho("Content Type","genesis-blocks"),options:h,value:n.postType,onChange:function(t){return e.props.setAttributes({postType:t})}})),"page"===n.postType&&React.createElement(v,{id:"gb_postgrid_selectedPages"},React.createElement("div",{className:"components-base-control"},React.createElement("div",{className:"components-base-control__field",style:{position:"relative"}},React.createElement(To,{suggestions:uo()(po()(m,(function(e){var t=e.title,n=e.slug;return t.rendered+" ("+n+")"}))),label:React.createElement(React.Fragment,null,ho("Enter page names to display","genesis-blocks"),this.state.waitingForApiResponse?React.createElement("div",{style:{position:"absolute",bottom:"30px",right:"0px"}},React.createElement(Do,null)):null),placeholder:ho("Start typing page name…","genesis-blocks"),value:function(){if(!e.props.attributes.selectedPages)return[];var t=[];for(var n in e.props.attributes.selectedPages){var r=e.props.attributes.selectedPages[n].value;_[r]&&t.push(_[e.props.attributes.selectedPages[n].value])}return t}(),onInputChange:function(t){var n="getPagesFromServer";xo[n]&&(clearTimeout(xo[n]),xo[n]=null),xo[n]=setTimeout((function(){clearTimeout(xo[n]),e.getPagesFromServer(t)}),500)},onChange:function(e){var t=[];for(var n in e)t.push({value:p[e[n]]});t||(t=void 0),r({selectedPages:t})}})))),"post"===n.postType&&React.createElement(v,{id:"gb_postgrid_categories"},React.createElement("div",{className:"components-base-control"},React.createElement("div",{className:"components-base-control__field",style:{position:"relative"}},React.createElement(To,{suggestions:uo()(po()(c,(function(e){return e.name+" ("+e.slug+")"}))),label:React.createElement(React.Fragment,null,ho("Enter category names to display","genesis-blocks"),this.state.waitingForApiResponse?React.createElement("div",{style:{position:"absolute",bottom:"30px",right:"0px"}},React.createElement(Do,null)):null),placeholder:ho("Start typing category name…","genesis-blocks"),value:function(){if(!e.props.attributes.categories)return[];var t=e.props.attributes.categories.split(","),n=[];for(var r in t)d[t[r]]&&n.push(d[t[r]]);return n}(),onInputChange:function(t){var n="getCategoriesFromServer";xo[n]&&(clearTimeout(xo[n]),xo[n]=null),xo[n]=setTimeout((function(){clearTimeout(xo[n]),e.getCategoriesFromServer(t)}),500)},onChange:function(e){var t="";for(var n in e)u[e[n]]&&(t=t+u[e[n]]+",");(t=t.replace(/,\s*$/,""))||(t=void 0),r({categories:void 0!==t?t:""})}})))),"post"===n.postType&&React.createElement(React.Fragment,null,React.createElement(v,{id:"gb_postgrid_queryControls"},React.createElement(Mo,a()({order:i,orderBy:s},{numberOfItems:n.postsToShow,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onNumberOfItemsChange:function(e){return r({postsToShow:e})}}))),React.createElement(v,{id:"gb_postgrid_offset"},React.createElement(vo,{label:ho("Number of items to offset","genesis-blocks"),value:n.offset,onChange:function(e){return r({offset:e})},min:0,max:20}))),"grid"===n.postLayout&&React.createElement(v,{id:"gb_postgrid_columns"},React.createElement(vo,{label:ho("Columns","genesis-blocks"),value:n.columns,onChange:function(e){return r({columns:e})},min:1,max:b?Math.min(4,o.length):4}))),React.createElement(ko,{title:ho("Post and Page Grid Content","genesis-blocks"),initialOpen:!1},React.createElement(v,{id:"gb_postgrid_displaySectionTitle"},React.createElement(wo,{label:ho("Display Section Title","genesis-blocks"),checked:n.displaySectionTitle,onChange:function(){return e.props.setAttributes({displaySectionTitle:!n.displaySectionTitle})}})),n.displaySectionTitle&&React.createElement(v,{id:"gb_postgrid_sectionTitle"},React.createElement(Yo,{label:ho("Section Title","genesis-blocks"),type:"text",value:n.sectionTitle,onChange:function(t){return e.props.setAttributes({sectionTitle:t})}})),React.createElement(v,{id:"gb_postgrid_displayPostImage"},React.createElement(wo,{label:ho("Display Featured Image","genesis-blocks"),checked:n.displayPostImage,onChange:function(){return e.props.setAttributes({displayPostImage:!n.displayPostImage})}})),n.displayPostImage&&React.createElement(v,{id:"gb_postgrid_imageSizeValue"},React.createElement(Lo,{label:ho("Image Size","genesis-blocks"),value:function(){for(var e=0;e<Y.length;e++)if(Y[e].value===n.imageSize)return n.imageSize;return"full"}(),options:Y,onChange:function(t){return e.props.setAttributes({imageSize:t})}})),React.createElement(v,{id:"gb_postgrid_displayPostTitle"},React.createElement(wo,{label:ho("Display Title","genesis-blocks"),checked:n.displayPostTitle,onChange:function(){return e.props.setAttributes({displayPostTitle:!n.displayPostTitle})}})),y&&React.createElement(v,{id:"gb_postgrid_displayPostAuthor"},React.createElement(wo,{label:ho("Display Author","genesis-blocks"),checked:n.displayPostAuthor,onChange:function(){return e.props.setAttributes({displayPostAuthor:!n.displayPostAuthor})}})),y&&React.createElement(v,{id:"gb_postgrid_displayPostDate"},React.createElement(wo,{label:ho("Display Date","genesis-blocks"),checked:n.displayPostDate,onChange:function(){return e.props.setAttributes({displayPostDate:!n.displayPostDate})}})),React.createElement(v,{id:"gb_postgrid_displayPostExcerpt"},React.createElement(wo,{label:ho("Display Excerpt","genesis-blocks"),checked:n.displayPostExcerpt,onChange:function(){return e.props.setAttributes({displayPostExcerpt:!n.displayPostExcerpt})}})),n.displayPostExcerpt&&React.createElement(v,{id:"gb_postgrid_excerptLength"},React.createElement(vo,{label:ho("Excerpt Length","genesis-blocks"),value:n.excerptLength,onChange:function(e){return r({excerptLength:e})},min:0,max:150})),React.createElement(v,{id:"gb_postgrid_displayPostLink"},React.createElement(wo,{label:ho("Display Continue Reading Link","genesis-blocks"),checked:n.displayPostLink,onChange:function(){return e.props.setAttributes({displayPostLink:!n.displayPostLink})}})),n.displayPostLink&&React.createElement(v,{id:"gb_postgrid_readMoreText"},React.createElement(Yo,{label:ho("Customize Continue Reading Text","genesis-blocks"),type:"text",value:n.readMoreText,onChange:function(t){return e.props.setAttributes({readMoreText:t})}}))),React.createElement(ko,{title:ho("Post and Page Grid Markup","genesis-blocks"),initialOpen:!1,className:"gb-block-post-grid-markup-settings"},React.createElement(v,{id:"gb_postgrid_sectionTag"},React.createElement(Lo,{label:ho("Post Grid Section Tag","genesis-blocks"),options:g,value:n.sectionTag,onChange:function(t){return e.props.setAttributes({sectionTag:t})},help:ho("Change the post grid section tag to match your content hierarchy.","genesis-blocks")})),n.sectionTitle&&React.createElement(v,{id:"gb_postgrid_sectionTitleTag"},React.createElement(Lo,{label:ho("Section Title Heading Tag","genesis-blocks"),options:f,value:n.sectionTitleTag,onChange:function(t){return e.props.setAttributes({sectionTitleTag:t})},help:ho("Change the post/page section title tag to match your content hierarchy.","genesis-blocks")})),n.displayPostTitle&&React.createElement(v,{id:"gb_postgrid_postTitleTag"},React.createElement(Lo,{label:ho("Post Title Heading Tag","genesis-blocks"),options:f,value:n.postTitleTag,onChange:function(t){return e.props.setAttributes({postTitleTag:t})},help:ho("Change the post/page title tag to match your content hierarchy.","genesis-blocks")}))))}}]),n}(fo),Co=n(28),jo=n.n(Co);function Po(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ho=wp.i18n.__,Oo=wp.element,Ao=Oo.Fragment,zo=Oo.Component,No=wp.components,Bo=No.Placeholder,Fo=No.Dashicon,Wo=function(e){m()(n,e);var t=Po(n);function n(e){var r;return l()(this,n),(r=t.apply(this,arguments)).state={imageUrl:"",imageLoaded:!1,setImageUrlSubscription:!1},r}return u()(n,[{key:"componentDidUpdate",value:function(e){this.props.imgSize!==e.imgSize&&this.setImageUrl()}},{key:"componentDidMount",value:function(){var e=this;this.setState({setImageUrlSubscription:wp.data.subscribe((function(){e.setImageUrl()}))})}},{key:"componentWillUnmount",value:function(){this.state.setImageUrlSubscription()}},{key:"setImageUrl",value:function(){var e=this.getImageUrl();e||(e=this.getFullImageSize()),e&&this.setState({imageUrl:e,imageLoaded:!0})}},{key:"getImageUrl",value:function(){return jo()(wp.data.select("core").getMedia(this.props.imgID),["media_details","sizes",this.props.imgSize,"source_url"])}},{key:"getFullImageSize",value:function(){return jo()(wp.data.select("core").getMedia(this.props.imgID),["media_details","sizes","full","source_url"])}},{key:"render",value:function(){return React.createElement(Ao,null,React.createElement("div",{className:b()("gb-block-post-grid-image")},React.createElement("a",{href:this.props.imgLink,target:"_blank",rel:"bookmark noopener noreferrer"},React.createElement("img",{src:this.state.imageUrl?this.state.imageUrl:this.props.imgSizeLandscape,alt:this.props.imgAlt,className:this.props.imgClass})),!this.getImageUrl()&&this.state.imageLoaded&&"selectimage"!==this.props.imgSize&&React.createElement(Ao,null,React.createElement("div",{className:"gb-post-grid-no-image-icon"},React.createElement(Fo,{icon:"warning"})),React.createElement(Bo,{className:"gb-post-grid-no-image-placeholder"},React.createElement(Fo,{icon:"info"}),React.createElement("div",{className:"components-placeholder__label"},Ho("There is no image generated for the selected image size, so a fallback image size is being used.","genesis-blocks")),React.createElement("div",{className:"gb-post-grid-image-help"},React.createElement("a",{target:"_blank",rel:"noreferrer noopener","aria-label":Ho("Learn more about image sizes (opens in a new tab)","genesis-blocks"),href:"https://github.com/studiopress/genesis-blocks/wiki/Post-Grid-Block#featured-image-sizes"},Ho("Learn more ","genesis-blocks"),React.createElement("span",null,"→")))))))}}]),n}(zo);function Io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Io(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Io(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jo=wp.element,Vo=Jo.useState,Go=Jo.useEffect,qo=wp.i18n.__,$o=wp.htmlEntities.decodeEntities,Ko=wp.components,Zo=Ko.Placeholder,Qo=Ko.Spinner,Xo=Ko.ToolbarGroup,ei=wp.blockEditor,ti=ei.BlockAlignmentToolbar,ni=ei.BlockControls,ri=wp.apiFetch,ai=wp.url.addQueryArgs,oi=[];n(345),n(346);var ii=wp.i18n.__;function si(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-post-grid",{title:ii("Post and Page Grid","genesis-blocks"),description:ii("Add a grid or list of customizable posts or pages.","genesis-blocks"),icon:"grid-view",category:"genesis-blocks",keywords:[ii("post","genesis-blocks"),ii("page","genesis-blocks"),ii("grid","genesis-blocks"),ii("atomic","genesis-blocks")],edit:function(e){var t,n=Vo(),r=io()(n,2),o=r[0],s=r[1],l=Vo(e),c=io()(l,2),u=c[0],d=c[1],m=e.attributes,p=e.setAttributes;if(e.attributes.postType!==u.postType||e.attributes.selectedPages!==u.selectedPages||e.attributes.categories!==u.categories||e.attributes.order!==u.order||e.attributes.orderby!==u.orderby||e.attributes.offset!==u.offset||e.attributes.postsToShow!==u.postsToShow){var _="handleUpdateAttributes";oi[_]&&(clearTimeout(oi[_]),oi[_]=null),oi[_]=setTimeout((function(){clearTimeout(oi[_]),d(e.attributes)}),500)}Go((function(){s(null)}),[u]),Go((function(){o||("post"===e.attributes.postType&&new Promise((function(t){var n={order:e.attributes.order,orderby:e.attributes.orderBy,per_page:e.attributes.postsToShow,offset:e.attributes.offset,exclude:[wp.data.select("core/editor").getCurrentPostId()]};e.attributes.categories&&(n.categories=e.attributes.categories),ri({path:ai("/wp/v2/posts",n)}).then((function(e){s(e),t()})).catch((function(e){console.log(e)}))})),"page"===e.attributes.postType&&new Promise((function(t){var n=e.attributes.selectedPages&&e.attributes.selectedPages.length>0?e.attributes.selectedPages.map((function(e){return e.value})):null,r={per_page:6,exclude:[wp.data.select("core/editor").getCurrentPostId()]};n&&(delete r.per_page,r.include=n,r.orderby="include"),ri({path:ai("/wp/v2/pages",r)}).then((function(e){s(e),t()})).catch((function(e){console.log(e)}))})))}),[o]);var h=Array.isArray(o)&&o.length,g="post"===m.postType;if(!h)return React.createElement(React.Fragment,null,React.createElement(Eo,Uo({setAttributes:p},e)),React.createElement(Zo,{icon:"admin-post",label:qo("Genesis Blocks Post and Page Grid","genesis-blocks")},Array.isArray(o)?qo("No posts found.","genesis-blocks"):React.createElement(Qo,null)));var f=[{icon:"grid-view",title:qo("Grid View","genesis-blocks"),onClick:function(){return p({postLayout:"grid"})},isActive:"grid"===m.postLayout},{icon:"list-view",title:qo("List View","genesis-blocks"),onClick:function(){return p({postLayout:"list"})},isActive:"list"===m.postLayout}],y=m.sectionTag?m.sectionTag:"section",k=m.sectionTitleTag?m.sectionTitleTag:"h2",M=m.postTitleTag?m.postTitleTag:"h3";return React.createElement(React.Fragment,null,React.createElement(Eo,Uo({setAttributes:p},e)),React.createElement(ni,null,React.createElement(ti,{value:m.align,onChange:function(e){p({align:e})},controls:["center","wide","full"]}),React.createElement(Xo,{controls:f})),React.createElement(y,{className:b()(e.className,"gb-block-post-grid")},m.displaySectionTitle&&m.sectionTitle&&React.createElement(k,{className:"gb-post-grid-section-title"},m.sectionTitle),React.createElement("div",{className:b()((t={"is-grid":"grid"===m.postLayout,"is-list":"list"===m.postLayout},i()(t,"columns-".concat(m.columns),"grid"===m.postLayout),i()(t,"gb-post-grid-items","gb-post-grid-items"),t))},o.map((function(t,n){return React.createElement("article",{key:n,id:"post-"+t.id,className:b()("post-"+t.id,t.featured_image_src&&m.displayPostImage?"has-post-thumbnail":null)},m.displayPostImage&&t.featured_media?React.createElement(Wo,a()({},e,{imgAlt:$o(t.title.rendered.trim())||qo("(Untitled)","genesis-blocks"),imgClass:"wp-image-".concat(t.featured_media.toString()),imgID:t.featured_media.toString(),imgSize:m.imageSize,imgSizeLandscape:t.featured_image_src,imgSizeSquare:t.featured_image_src_square,imgLink:t.link})):null,React.createElement("div",{className:"gb-block-post-grid-text"},React.createElement("header",{className:"gb-block-post-grid-header"},m.displayPostTitle&&React.createElement(M,{className:"gb-block-post-grid-title"},React.createElement("a",{href:t.link,target:"_blank",rel:"bookmark noopener noreferrer"},$o(t.title.rendered.trim())||qo("(Untitled)","genesis-blocks"))),g&&t.author_info&&t.author_info.display_name&&React.createElement("div",{className:"gb-block-post-grid-byline"},m.displayPostAuthor&&t.author_info.display_name&&React.createElement("div",{className:"gb-block-post-grid-author"},React.createElement("a",{className:"gb-text-link",target:"_blank",rel:"noopener noreferrer",href:t.author_info.author_link},t.author_info.display_name)),m.displayPostDate&&t.date_gmt&&React.createElement("time",{dateTime:lo()(t.date_gmt).utc().format(),className:"gb-block-post-grid-date"},lo()(t.date_gmt).local().format("MMMM DD, Y","genesis-blocks")))),React.createElement("div",{className:"gb-block-post-grid-excerpt"},m.displayPostExcerpt&&t.excerpt&&React.createElement("div",{dangerouslySetInnerHTML:{__html:(r=t.excerpt.rendered,o=m.excerptLength,r.split(" ").splice(0,o).join(" "))}}),m.displayPostLink&&React.createElement("p",null,React.createElement("a",{className:"gb-block-post-grid-more-link gb-text-link",href:t.link,target:"_blank",rel:"bookmark noopener noreferrer"},m.readMoreText)))));var r,o})))))},gb_settings_data:{gb_postgrid_postType:{title:ii("Content Type","genesis-blocks")},gb_postgrid_queryControls:{title:ii("Query Controls","genesis-blocks")},gb_postgrid_offset:{title:ii("Post Offset","genesis-blocks")},gb_postgrid_columns:{title:ii("Columns","genesis-blocks")},gb_postgrid_displaySectionTitle:{title:ii("Display Section Title","genesis-blocks")},gb_postgrid_sectionTitle:{title:ii("Section Title","genesis-blocks")},gb_postgrid_displayPostImage:{title:ii("Display Featured Image","genesis-blocks")},gb_postgrid_imageSizeValue:{title:ii("Image Size","genesis-blocks")},gb_postgrid_displayPostTitle:{title:ii("Display Post Title","genesis-blocks")},gb_postgrid_displayPostAuthor:{title:ii("Display Post Author","genesis-blocks")},gb_postgrid_displayPostDate:{title:ii("Display Post Date","genesis-blocks")},gb_postgrid_displayPostExcerpt:{title:ii("Display Post Excerpt","genesis-blocks")},gb_postgrid_excerptLength:{title:ii("Excerpt Length","genesis-blocks")},gb_postgrid_displayPostLink:{title:ii("Display Continue Reading Link","genesis-blocks")},gb_postgrid_readMoreText:{title:ii("Read More Text","genesis-blocks")},gb_postgrid_sectionTag:{title:ii("Post Grid Section Tag","genesis-blocks")},gb_postgrid_sectionTitleTag:{title:ii("Section Title Heading Tag","genesis-blocks")},gb_postgrid_postTitleTag:{title:ii("Post Title Heading Tag","genesis-blocks")}},save:function(){return null}});var li=wp.i18n.__,ci=wp.element.Component,ui=wp.blockEditor,di=ui.InspectorControls,mi=ui.PanelColorSettings,pi=ui.MediaUpload,_i=wp.components,hi=_i.Button,gi=_i.Icon,fi=_i.PanelBody,bi=_i.RangeControl,yi=function(e){m()(n,e);var t=si(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.containerPaddingTop,r=t.containerPaddingRight,a=t.containerPaddingBottom,o=t.containerPaddingLeft,i=t.containerMarginTop,s=t.containerMarginBottom,l=t.containerMaxWidth,c=t.containerBackgroundColor,u=t.containerDimRatio,d=t.containerImgURL,m=t.containerImgID,p=this.props.setAttributes,_=function(){p({containerImgID:null,containerImgURL:null,containerImgAlt:null})};return React.createElement(di,{key:"inspector"},React.createElement(v,{id:"gb_container_containerOptions"},React.createElement(fi,{title:li("Container Options","genesis-blocks"),initialOpen:!0},React.createElement(bi,{label:li("Padding Top (%)","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({containerPaddingTop:t})},min:0,max:30,step:.5}),React.createElement(bi,{label:li("Padding Bottom (%)","genesis-blocks"),value:a,onChange:function(t){return e.props.setAttributes({containerPaddingBottom:t})},min:0,max:30,step:.5}),React.createElement(bi,{label:li("Padding Left (%)","genesis-blocks"),value:o,onChange:function(t){return e.props.setAttributes({containerPaddingLeft:t})},min:0,max:30,step:.5}),React.createElement(bi,{label:li("Padding Right (%)","genesis-blocks"),value:r,onChange:function(t){return e.props.setAttributes({containerPaddingRight:t})},min:0,max:30,step:.5}),React.createElement(bi,{label:li("Margin Top (%)","genesis-blocks"),value:i,onChange:function(t){return e.props.setAttributes({containerMarginTop:t})},min:0,max:30,step:1}),React.createElement(bi,{label:li("Margin Bottom (%)","genesis-blocks"),value:s,onChange:function(t){return e.props.setAttributes({containerMarginBottom:t})},min:0,max:30,step:.5}),React.createElement(bi,{label:li("Inside Container Max Width (px)","genesis-blocks"),value:l,onChange:function(t){return e.props.setAttributes({containerMaxWidth:t})},min:500,max:1600,step:1}))),React.createElement(v,{id:"gb_container_backgroundOptions"},React.createElement(fi,{title:li("Background Options","genesis-blocks"),initialOpen:!1},React.createElement("p",null,li("Select a background image:","genesis-blocks")),React.createElement(pi,{onSelect:function(e){p({containerImgID:e.id,containerImgURL:e.url,containerImgAlt:e.alt})},type:"image",value:m,render:function(e){var t=e.open;return React.createElement("div",null,React.createElement(hi,{className:"gb-container-inspector-media",label:li("Edit image","genesis-blocks"),onClick:t},React.createElement(gi,{icon:"format-image"}),li("Select Image","genesis-blocks")),d&&!!d.length&&React.createElement(hi,{className:"gb-container-inspector-media",label:li("Remove Image","genesis-blocks"),onClick:_},React.createElement(gi,{icon:"dismiss"}),li("Remove","genesis-blocks")))}}),d&&!!d.length&&React.createElement(bi,{label:li("Image Opacity","genesis-blocks"),value:u,onChange:function(t){return e.props.setAttributes({containerDimRatio:t})},min:0,max:100,step:10}),React.createElement(mi,{title:li("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:c,label:li("Background Color","genesis-blocks"),onChange:function(e){return p({containerBackgroundColor:e})}}]}))))}}]),n}(ci);function ki(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Mi=function(e){m()(n,e);var t=ki(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.containerBackgroundColor,r=t.containerAlignment,a=t.containerPaddingTop,o=t.containerPaddingRight,s=t.containerPaddingBottom,l=t.containerPaddingLeft,c=t.containerMarginTop,u=t.containerMarginBottom,d=t.containerWidth,m=t.containerMaxWidth,p=t.containerImgURL,_=t.containerImgAlt,h=t.containerDimRatio,g={backgroundColor:n||void 0,textAlign:r||void 0,paddingLeft:l?"".concat(l,"%"):void 0,paddingRight:o?"".concat(o,"%"):void 0,paddingBottom:s?"".concat(s,"%"):void 0,paddingTop:a?"".concat(a,"%"):void 0,marginTop:c?"".concat(c,"%"):void 0,marginBottom:u?"".concat(u,"%"):void 0},f=b()([this.props.className,"gb-block-container"],i()({},"align"+d,d));return React.createElement("div",{style:g,className:f||void 0},React.createElement("div",{className:"gb-container-inside"},p&&!!p.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:b()("gb-container-image",(e=h,0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)),{"has-background-dim":0!==h}),src:p,alt:_})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:m?"".concat(m,"px"):void 0}},this.props.children)))}}]),n}(wp.element.Component);function vi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Li=function(e){m()(n,e);var t=vi(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.containerBackgroundColor,n=e.containerAlignment,r=e.containerPaddingTop,a=e.containerPaddingRight,o=e.containerPaddingBottom,s=e.containerPaddingLeft,l=e.containerMarginTop,c=e.containerMarginBottom,u=e.containerWidth,d=(e.containerMaxWidth,b()([this.props.className,"gb-block-container"],i()({},"align"+u,u)));return React.createElement("div",{style:{backgroundColor:t,textAlign:n,paddingLeft:"".concat(s,"%"),paddingRight:"".concat(a,"%"),paddingBottom:"".concat(o,"%"),paddingTop:"".concat(r,"%"),marginTop:"".concat(l,"%"),marginBottom:"".concat(c,"%")},className:d||void 0},this.props.children)}}]),n}(wp.element.Component);function Yi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var wi=function(e){m()(n,e);var t=Yi(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.containerBackgroundColor,r=t.containerAlignment,a=t.containerPaddingTop,o=t.containerPaddingRight,s=t.containerPaddingBottom,l=t.containerPaddingLeft,c=t.containerMarginTop,u=t.containerMarginBottom,d=t.containerWidth,m=t.containerMaxWidth,p=t.containerImgURL,_=t.containerImgAlt,h=t.containerDimRatio,g={backgroundColor:n||void 0,textAlign:r||void 0,paddingLeft:l?"".concat(l,"%"):void 0,paddingRight:o?"".concat(o,"%"):void 0,paddingBottom:s?"".concat(s,"%"):void 0,paddingTop:a?"".concat(a,"%"):void 0,marginTop:c?"".concat(c,"%"):void 0,marginBottom:u?"".concat(u,"%"):void 0},f=b()([this.props.className,"gb-block-container"],i()({},"align"+d,d));return React.createElement("div",{style:g,className:f||void 0},React.createElement("div",{className:"gb-container-inside"},p&&!!p.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:b()("gb-container-image",(e=h,0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)),{"has-background-dim":0!==h}),src:p,alt:_})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:"".concat(m,"px")}},this.props.children)))}}]),n}(wp.element.Component);var Ti=wp.blockEditor.InnerBlocks;var Di=[{attributes:{containerPaddingTop:{type:"number"},containerPaddingRight:{type:"number"},containerPaddingBottom:{type:"number"},containerPaddingLeft:{type:"number"},containerMarginTop:{type:"number"},containerMarginBottom:{type:"number"},containerWidth:{type:"string"},containerMaxWidth:{type:"number",default:1600},containerBackgroundColor:{type:"string"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},save:function(e){return React.createElement(wi,e,React.createElement(Ti.Content,null))}},{attributes:{containerPaddingTop:{type:"number",default:0},containerPaddingRight:{type:"number",default:0},containerPaddingBottom:{type:"number",default:0},containerPaddingLeft:{type:"number",default:0},containerMarginTop:{type:"number",default:0},containerMarginBottom:{type:"number",default:0},containerWidth:{type:"string",default:"center"},containerMaxWidth:{type:"number",default:1600},containerBackgroundColor:{type:"string",default:"#fff"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},save:function(e){var t,n=e.attributes,r=n.containerMaxWidth,a=n.containerImgURL,o=n.containerImgAlt,i=n.containerDimRatio;return React.createElement(Li,e,React.createElement("div",{className:"gb-container-inside"},a&&!!a.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:b()("gb-container-image",(t=i,0===t||50===t?null:"has-background-dim-"+10*Math.round(t/10)),{"has-background-dim":0!==i}),src:a,alt:o})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:"".concat(r,"px")}},React.createElement(Ti.Content,null))))}}];n(347),n(348);function Ri(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Si(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ri(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ri(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ei=wp.i18n.__,Ci=wp.element.Component,ji=wp.blocks.registerBlockType,Pi=wp.blockEditor.InnerBlocks,Hi=function(e){m()(n,e);var t=xi(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.setAttributes;return[React.createElement(yi,a()({key:"gb-container-inspector-"+this.props.clientId},Si({setAttributes:e},this.props))),React.createElement(Mi,a()({key:"gb-container-"+this.props.clientId},this.props),React.createElement(Pi,null))]}}]),n}(Ci);function Oi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}ji("genesis-blocks/gb-container",{title:Ei("Container","genesis-blocks"),description:Ei("Add a container block to wrap several blocks in a parent container.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",keywords:[Ei("container","genesis-blocks"),Ei("section","genesis-blocks"),Ei("genesis","genesis-blocks")],supports:{align:["center","wide","full"]},attributes:{containerPaddingTop:{type:"number"},containerPaddingRight:{type:"number"},containerPaddingBottom:{type:"number"},containerPaddingLeft:{type:"number"},containerMarginTop:{type:"number"},containerMarginBottom:{type:"number"},containerWidth:{type:"string"},containerMaxWidth:{type:"number"},containerBackgroundColor:{type:"string"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},gb_settings_data:{gb_container_containerOptions:{title:Ei("Container Options","genesis-blocks")},gb_container_backgroundOptions:{title:Ei("Background Options","genesis-blocks")}},edit:Hi,save:function(e){return React.createElement(Mi,e,React.createElement(Pi.Content,null))},getEditWrapperProps:function(e){var t=e.containerWidth;if("center"===t||"wide"===t||"full"===t)return{"data-align":t}},deprecated:Di});var Ai=wp.i18n.__,zi=wp.element.Component,Ni=wp.blockEditor.InspectorControls,Bi=wp.components,Fi=Bi.PanelBody,Wi=Bi.RangeControl,Ii=function(e){m()(n,e);var t=Oi(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.columns,r=t.columnsGap;return React.createElement(Ni,{key:"inspector"},React.createElement(Fi,null,React.createElement(v,{id:"gb_pricing_columns"},React.createElement(Wi,{label:Ai("Pricing Columns","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({columns:t})},min:1,max:4})),React.createElement(v,{id:"gb_pricing_columnsGap"},React.createElement(Wi,{label:Ai("Pricing Columns Gap","genesis-blocks"),value:r,onChange:function(t){return e.props.setAttributes({columnsGap:t})},min:0,max:5,step:1}))))}}]),n}(zi);function Ui(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ji=function(e){m()(n,e);var t=Ui(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.columns,n=e.align,r=b()([this.props.className,"gb-pricing-columns-"+t],i()({},"align"+n,n));return React.createElement("div",{className:r||void 0},this.props.children)}}]),n}(wp.element.Component),Vi=n(29),Gi=n.n(Vi),qi=n(30),$i=n.n(qi);function Ki(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ki(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ki(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Xi=wp.i18n.__,es=wp.element.Component,ts=wp.blocks.registerBlockType,ns=wp.blockEditor,rs=ns.BlockControls,as=ns.BlockAlignmentToolbar,os=ns.InnerBlocks,is=wp.data.dispatch,ss=["genesis-blocks/gb-pricing-table"],ls=Gi()((function(e){return $i()(e,(function(){return["genesis-blocks/gb-pricing-table"]}))})),cs=function(e){m()(n,e);var t=Qi(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"componentDidUpdate",value:function(e){this.props.attributes.columns!==e.attributes.columns&&is("core/block-editor").synchronizeTemplate()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.columns,r=t.columnsGap,o=t.align,i=e.setAttributes;return[React.createElement(rs,{key:"controls"},React.createElement(as,{value:o,onChange:function(e){return i({align:e})},controls:["center","wide","full"]})),React.createElement(Ii,a()({key:"gb-pricing-table-inspector-"+this.props.clientId},Zi({setAttributes:i},this.props))),React.createElement(Ji,a()({key:"gb-pricing-table-"+this.props.clientId},this.props),React.createElement("div",{className:b()("gb-pricing-table-wrap-admin","gb-block-pricing-table-gap-"+r)},React.createElement(os,{template:ls(n),templateLock:"all",allowedBlocks:ss})))]}}]),n}(es);function us(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}ts("genesis-blocks/gb-pricing",{title:Xi("Pricing","genesis-blocks"),description:Xi("Add a pricing table.","genesis-blocks"),icon:"cart",category:"genesis-blocks",keywords:[Xi("pricing table","genesis-blocks"),Xi("shop","genesis-blocks"),Xi("purchase","genesis-blocks")],attributes:{columns:{type:"number",default:2},columnsGap:{type:"number",default:2},align:{type:"string"}},gb_settings_data:{gb_pricing_columns:{title:Xi("Pricing Columns","genesis-blocks")},gb_pricing_columnsGap:{title:Xi("Pricing Columns Gap","genesis-blocks")}},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"full"===t||"wide"===t)return{"data-align":t}},edit:cs,save:function(e){var t=e.attributes.columnsGap,n=b()(["gb-pricing-table-wrap","gb-block-pricing-table-gap-"+t]);return React.createElement(Ji,e,React.createElement("div",{className:n||void 0},React.createElement(os.Content,null)))}});var ds=wp.i18n.__,ms=wp.element.Component,ps=wp.blockEditor,_s=ps.InspectorControls,hs=ps.PanelColorSettings,gs=wp.components,fs=gs.PanelBody,bs=gs.RangeControl,ys=function(e){m()(n,e);var t=us(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.borderWidth,a=n.borderColor,o=n.borderRadius,i=n.backgroundColor,s=n.padding,l=t.setAttributes;return React.createElement(_s,{key:"inspector"},React.createElement(fs,null,React.createElement(v,{id:"gb_pricing_inner_padding"},React.createElement(bs,{label:ds("Pricing Column Padding","genesis-blocks"),value:s,onChange:function(t){return e.props.setAttributes({padding:t})},min:0,max:20,step:1})),React.createElement(v,{id:"gb_pricing_inner_borderWidth"},React.createElement(bs,{label:ds("Pricing Column Border","genesis-blocks"),value:r,onChange:function(t){return e.props.setAttributes({borderWidth:t})},min:0,max:10,step:1})),React.createElement(v,{id:"gb_pricing_inner_borderRadius"},React.createElement(bs,{label:ds("Pricing Column Border Radius","genesis-blocks"),value:o,onChange:function(t){return e.props.setAttributes({borderRadius:t})},min:0,max:20,step:1}))),0<r&&React.createElement(v,{id:"gb_pricing_inner_borderColor"},React.createElement(hs,{title:ds("Pricing Column Border Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return l({borderColor:e})},label:ds("Border Color","genesis-blocks")}]})),React.createElement(v,{id:"gb_pricing_inner_colorSettings"},React.createElement(hs,{title:ds("Pricing Column Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:i,onChange:function(e){return l({backgroundColor:e})},label:ds("Background Color","genesis-blocks")}]})))}}]),n}(ms);n(349),n(350);function ks(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ms(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ks(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ks(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vs(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ls=wp.i18n.__,Ys=wp.element.Component,ws=wp.blocks.registerBlockType,Ts=wp.blockEditor,Ds=Ts.InnerBlocks,Rs=Ts.AlignmentToolbar,Ss=Ts.BlockControls,xs=wp.element.Fragment,Es=["genesis-blocks/gb-pricing-table-description","genesis-blocks/gb-pricing-table-price","genesis-blocks/gb-pricing-table-subtitle","genesis-blocks/gb-pricing-table-title","genesis-blocks/gb-pricing-table-button","core/paragraph","core/image","core/html","core/shortcode"],Cs=function(e){m()(n,e);var t=vs(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.borderWidth,r=t.borderColor,o=t.borderRadius,i=t.backgroundColor,s=t.padding,l=t.alignment,c=e.setAttributes,u={borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:r||null,borderRadius:o||null,backgroundColor:i||null,padding:s?s+"%":null};return[React.createElement(Ss,{key:"controls"},React.createElement(Rs,{value:l,onChange:function(e){c({alignment:e})}})),React.createElement(ys,a()({key:"gb-pricing-table-inner-inspector-"+this.props.clientId},Ms({setAttributes:c},this.props))),React.createElement(xs,{key:"gb-pricing-table-inner-fragment-"+this.props.clientId},React.createElement("div",{className:b()(l?"gb-block-pricing-table-"+l:"gb-block-pricing-table-center","gb-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},React.createElement("div",{className:"gb-block-pricing-table-inside",style:u},React.createElement(Ds,{template:[["genesis-blocks/gb-pricing-table-title",{title:"<strong>Price Title</strong>",fontSize:"medium",paddingTop:30,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-subtitle",{subtitle:"Price Subtitle Description",customFontSize:20,paddingTop:10,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-price",{price:"49",currency:"$",customFontSize:60,term:"/mo",paddingTop:10,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-features",{features:"<li>Product Feature One</li><li>Product Feature Two</li><li>Product Feature Three</li>",multilineTag:"li",ordered:!1,customFontSize:20,paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}],["genesis-blocks/gb-pricing-table-button",{buttonText:"Buy Now",buttonBackgroundColor:"#272c30",paddingTop:15,paddingRight:20,paddingBottom:35,paddingLeft:20}]],templateLock:!1,allowedBlocks:Es,templateInsertUpdatesSelection:!1}))))]}}]),n}(Ys);ws("genesis-blocks/gb-pricing-table",{title:Ls("Pricing Column","genesis-blocks"),description:Ls("Add a pricing column.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing"],keywords:[Ls("pricing","genesis-blocks"),Ls("shop","genesis-blocks"),Ls("buy","genesis-blocks")],attributes:{borderWidth:{type:"number",default:2},borderColor:{type:"string"},borderRadius:{type:"number",default:0},backgroundColor:{type:"string"},alignment:{type:"string"},padding:{type:"number"}},gb_settings_data:{gb_pricing_inner_padding:{title:Ls("Pricing Column Padding","genesis-blocks")},gb_pricing_inner_borderWidth:{title:Ls("Pricing Column Border","genesis-blocks")},gb_pricing_inner_borderRadius:{title:Ls("Pricing Column Border Radius","genesis-blocks")},gb_pricing_inner_borderColor:{title:Ls("Pricing Column Border Color","genesis-blocks")},gb_pricing_inner_colorSettings:{title:Ls("Pricing Column Background Color","genesis-blocks")}},edit:Cs,save:function(e){var t=e.attributes,n=t.borderWidth,r=t.borderColor,a=t.borderRadius,o=t.backgroundColor,i=t.alignment,s=t.padding,l={borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:r||null,borderRadius:a||null,backgroundColor:o||null,padding:s?s+"%":null};return React.createElement("div",{className:b()(i?"gb-block-pricing-table-"+i:"gb-block-pricing-table-center","gb-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},React.createElement("div",{className:"gb-block-pricing-table-inside",style:l},React.createElement(Ds.Content,null)))}});var js=wp.i18n.__,Ps=wp.element.Fragment,Hs=wp.components.RangeControl;function Os(e){var t=e.padding,n=e.paddingTitle,r=e.paddingHelp,a=e.paddingMin,o=e.paddingMax,i=e.paddingEnable,s=e.onChangePadding,l=void 0===s?function(){}:s,c=e.paddingTop,u=e.paddingTopMin,d=e.paddingTopMax,m=e.paddingEnableTop,p=e.onChangePaddingTop,_=void 0===p?function(){}:p,h=e.paddingRight,g=e.paddingRightMin,f=e.paddingRightMax,b=e.paddingEnableRight,y=e.onChangePaddingRight,k=void 0===y?function(){}:y,M=e.paddingBottom,v=e.paddingBottomMin,L=e.paddingBottomMax,Y=e.paddingEnableBottom,w=e.onChangePaddingBottom,T=void 0===w?function(){}:w,D=e.paddingLeft,R=e.paddingLeftMin,S=e.paddingLeftMax,x=e.paddingEnableLeft,E=e.onChangePaddingLeft,C=void 0===E?function(){}:E,j=e.paddingVertical,P=e.paddingEnableVertical,H=e.paddingVerticalMin,O=e.paddingVerticalMax,A=e.onChangePaddingVertical,z=void 0===A?function(){}:A,N=e.paddingHorizontal,B=e.paddingEnableHorizontal,F=e.paddingHorizontalMin,W=e.paddingHorizontalMax,I=e.onChangePaddingHorizontal,U=void 0===I?function(){}:I;return React.createElement(Ps,null,i&&React.createElement(Hs,{label:n||js("Padding","genesis-blocks"),help:r||null,value:t,min:a,max:o,onChange:l}),m&&React.createElement(Hs,{label:js("Padding Top","genesis-blocks"),value:c,min:u,max:d,onChange:_}),b&&React.createElement(Hs,{label:js("Padding Right","genesis-blocks"),value:h,min:g,max:f,onChange:k}),Y&&React.createElement(Hs,{label:js("Padding Bottom","genesis-blocks"),value:M,min:v,max:L,onChange:T}),x&&React.createElement(Hs,{label:js("Padding Left","genesis-blocks"),value:D,min:R,max:S,onChange:C}),P&&React.createElement(Hs,{label:js("Padding Vertical","genesis-blocks"),value:j,min:H,max:O,onChange:z}),B&&React.createElement(Hs,{label:js("Padding Horizontal","genesis-blocks"),value:N,min:F,max:W,onChange:U}))}function As(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var zs=wp.i18n.__,Ns=wp.element.Component,Bs=wp.compose.compose,Fs=wp.blockEditor,Ws=Fs.InspectorControls,Is=Fs.FontSizePicker,Us=Fs.withFontSizes,Js=Fs.withColors,Vs=Fs.ContrastChecker,Gs=Fs.PanelColorSettings,qs=wp.components,$s=qs.withFallbackStyles,Ks=qs.PanelBody,Zs=qs.ToggleControl,Qs=qs.TextControl,Xs=(qs.RangeControl,$s((function(e,t){var n=t.attributes,r=n.textColor,a=n.backgroundColor,o=n.fontSize,i=n.customFontSize,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:a||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:o||i||!l?void 0:parseInt(l.fontSize)||void 0}}))),el=function(e){m()(n,e);var t=As(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.showTerm,o=n.showCurrency,i=n.term,s=n.currency,l=n.paddingTop,c=n.paddingRight,u=n.paddingBottom,d=n.paddingLeft,m=(t.isSelected,t.setAttributes),p=t.fallbackFontSize,_=t.fontSize,h=t.setFontSize,g=t.backgroundColor,f=t.textColor,b=t.setBackgroundColor,y=t.setTextColor,k=t.fallbackBackgroundColor,M=t.fallbackTextColor;return React.createElement(Ws,{key:"inspector"},React.createElement(Ks,{title:zs("Text Settings","genesis-blocks")},React.createElement(Is,{fallbackFontSize:p,value:_.size,onChange:h}),React.createElement(Zs,{label:zs("Show currency symbol","genesis-blocks"),checked:o,onChange:function(){return e.props.setAttributes({showCurrency:!o})}}),o&&React.createElement(Qs,{label:zs("Currency Symbol","genesis-blocks"),type:"text",value:s,onChange:function(t){return e.props.setAttributes({currency:t})}}),React.createElement(Zs,{label:zs("Show pricing duration","genesis-blocks"),checked:r,onChange:function(){return e.props.setAttributes({showTerm:!r})}}),r&&React.createElement(Qs,{label:zs("Pricing Duration","genesis-blocks"),type:"text",value:i,onChange:function(t){return e.props.setAttributes({term:t})}})),React.createElement(Ks,{title:zs("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Os,{paddingEnableTop:!0,paddingTop:l,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return m({paddingTop:e})},paddingEnableRight:!0,paddingRight:c,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return m({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:u,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return m({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:d,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return m({paddingLeft:e})}})),React.createElement(Gs,{title:zs("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:g.color,onChange:b,label:zs("Background Color","genesis-blocks")},{value:f.color,onChange:y,label:zs("Text Color","genesis-blocks")}]},React.createElement(Vs,a()({textColor:f.color,backgroundColor:g.color,fallbackTextColor:M,fallbackBackgroundColor:k},{fontSize:_.size}))))}}]),n}(Ns),tl=Bs([Xs,Us("fontSize"),Js("backgroundColor",{textColor:"color"})])(el);function nl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var rl=wp.i18n.__,al=(wp.blocks.registerBlockType,wp.compose.compose),ol=wp.element,il=ol.Component,sl=ol.Fragment,ll=wp.blockEditor,cl=ll.RichText,ul=ll.withFontSizes,dl=ll.withColors,ml=function(e){m()(n,e);var t=nl(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.price,a=n.currency,o=n.term,s=n.showTerm,l=n.showCurrency,c=n.paddingTop,u=n.paddingRight,d=n.paddingBottom,m=n.paddingLeft,p=(t.isSelected,t.className,t.setAttributes),_=(t.fallbackFontSize,t.fontSize),h=t.backgroundColor,g=t.textColor,f=b()((e={"gb-pricing-table-price-wrap":!0,"has-text-color":g.color,"has-background":h.color},i()(e,h.class,h.class),i()(e,g.class,g.class),i()(e,"gb-pricing-has-currency",l),e)),y=b()(i()({"gb-pricing-table-price":!0},_.class,_.class)),k={backgroundColor:h.color,color:g.color,paddingTop:c?c+"px":void 0,paddingRight:u?u+"px":void 0,paddingBottom:d?d+"px":void 0,paddingLeft:m?m+"px":void 0},M={fontSize:_.size?_.size+"px":void 0},v=Math.floor(_.size/2.5),L={fontSize:_.size?v+"px":void 0},Y=Math.floor(_.size/2.5),w={fontSize:_.size?Y+"px":void 0};return[React.createElement(sl,{key:"gb-pricing-table-inner-component-price-"+this.props.clientId},React.createElement(tl,this.props),React.createElement("div",{className:f||void 0,style:k},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},l&&React.createElement(cl,{tagName:"span",itemProp:"priceCurrency",placeholder:rl("$","genesis-blocks"),keepPlaceholderOnFocus:!0,value:a,onChange:function(e){return p({currency:e})},className:"gb-pricing-table-currency",style:L}),React.createElement(cl,{tagName:"div",itemProp:"price",placeholder:rl("49","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return p({price:e})},style:M,className:y||void 0}),s&&React.createElement(cl,{tagName:"span",value:o,placeholder:rl("/mo","genesis-blocks"),keepPlaceholderOnFocus:!0,onChange:function(e){return p({term:e})},className:"gb-pricing-table-term",style:w}))))]}}]),n}(il),pl=al([ul("fontSize"),dl("backgroundColor",{textColor:"color"})])(ml),_l=wp.i18n.__,hl=wp.blockEditor,gl=hl.RichText,fl=hl.getFontSizeClass,bl=hl.getColorClassName,yl=[{attributes:{price:{type:"string"},currency:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number",default:60},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},term:{type:"string"},showTerm:{type:"boolean",default:!0},showCurrency:{type:"boolean",default:!0},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},save:function(e){var t,n=e.attributes,r=n.price,a=n.currency,o=n.fontSize,s=n.customFontSize,l=n.backgroundColor,c=n.textColor,u=n.customBackgroundColor,d=n.customTextColor,m=n.term,p=n.showTerm,_=n.showCurrency,h=n.paddingTop,g=n.paddingRight,f=n.paddingBottom,y=n.paddingLeft,k=fl(o),M=bl("color",c),v=bl("background-color",l),L=b()((t={"has-background":l||u,"gb-pricing-table-price-wrap":!0},i()(t,M,M),i()(t,v,v),i()(t,"gb-pricing-has-currency",_&&a),t)),Y=b()(i()({"gb-pricing-table-price":!0},k,k)),w={backgroundColor:v?void 0:u,color:M?void 0:d,paddingTop:h?h+"px":void 0,paddingRight:g?g+"px":void 0,paddingBottom:f?f+"px":void 0,paddingLeft:y?y+"px":void 0},T={fontSize:k?void 0:s},D=k?void 0:s,R=Math.floor(D/2.5),S={fontSize:D?R+"px":void 0},x=Math.floor(D/2.5),E={fontSize:D?x+"px":void 0};return React.createElement("div",{className:L||void 0,style:w},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},a&&_&&React.createElement(gl.Content,{tagName:"span",itemProp:"priceCurrency",placeholder:_l("$","genesis-blocks"),value:a,className:"gb-pricing-table-currency",style:S}),React.createElement(gl.Content,{tagName:"div",itemProp:"price",value:r,className:Y||void 0,style:T}),m&&p&&React.createElement(gl.Content,{tagName:"span",value:m,className:"gb-pricing-table-term",style:E})))}}],kl=wp.i18n.__,Ml=wp.blocks.registerBlockType,vl=wp.element,Ll=(vl.Component,vl.Fragment,wp.blockEditor),Yl=Ll.RichText,wl=Ll.getFontSizeClass,Tl=(Ll.FontSizePicker,Ll.withFontSizes,Ll.getColorClassName);function Dl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}Ml("genesis-blocks/gb-pricing-table-price",{title:kl("Product Price","genesis-blocks"),description:kl("Adds a product price component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[kl("pricing table","genesis-blocks"),kl("price","genesis-blocks"),kl("shop","genesis-blocks")],attributes:{price:{type:"string"},currency:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number",default:60},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},term:{type:"string"},showTerm:{type:"boolean",default:!0},showCurrency:{type:"boolean",default:!0},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:pl,save:function(e){var t,n=e.attributes,r=n.price,a=n.currency,o=n.fontSize,s=n.customFontSize,l=n.backgroundColor,c=n.textColor,u=n.customBackgroundColor,d=n.customTextColor,m=n.term,p=n.showTerm,_=n.showCurrency,h=n.paddingTop,g=n.paddingRight,f=n.paddingBottom,y=n.paddingLeft,k=wl(o),M=Tl("color",c),v=Tl("background-color",l),L=b()((t={"has-background":l||u,"gb-pricing-table-price-wrap":!0},i()(t,M,M),i()(t,v,v),i()(t,"gb-pricing-has-currency",_&&a),t)),Y=b()(i()({"gb-pricing-table-price":!0},k,k)),w={backgroundColor:v?void 0:u,color:M?void 0:d,paddingTop:h?h+"px":void 0,paddingRight:g?g+"px":void 0,paddingBottom:f?f+"px":void 0,paddingLeft:y?y+"px":void 0},T={fontSize:k?void 0:s},D=k?void 0:s,R=Math.floor(D/2.5),S={fontSize:D?R+"px":void 0},x=Math.floor(D/2.5),E={fontSize:D?x+"px":void 0};return React.createElement("div",{className:L||void 0,style:w},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},a&&_&&React.createElement(Yl.Content,{tagName:"span",itemProp:"priceCurrency",value:a,className:"gb-pricing-table-currency",style:S}),React.createElement(Yl.Content,{tagName:"div",itemProp:"price",value:r,className:Y||void 0,style:T}),m&&p&&React.createElement(Yl.Content,{tagName:"span",value:m,className:"gb-pricing-table-term",style:E})))},deprecated:yl});var Rl=wp.i18n.__,Sl=wp.element.Component,xl=wp.compose.compose,El=wp.blockEditor,Cl=El.InspectorControls,jl=El.FontSizePicker,Pl=El.withFontSizes,Hl=El.withColors,Ol=El.ContrastChecker,Al=El.PanelColorSettings,zl=El.ColorPalette,Nl=wp.components,Bl=Nl.withFallbackStyles,Fl=Nl.PanelBody,Wl=Nl.PanelRow,Il=Nl.SelectControl,Ul=Nl.BaseControl,Jl=Nl.RangeControl,Vl=Bl((function(e,t){var n=t.attributes,r=n.textColor,a=n.backgroundColor,o=n.fontSize,i=n.customFontSize,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:a||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:o||i||!l?void 0:parseInt(l.fontSize)||void 0}})),Gl=function(e){m()(n,e);var t=Dl(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.borderStyle,o=n.borderColor,i=n.borderWidth,s=n.paddingTop,l=n.paddingRight,c=n.paddingBottom,u=n.paddingLeft,d=(t.isSelected,t.setAttributes),m=t.fallbackFontSize,p=t.fontSize,_=t.setFontSize,h=t.backgroundColor,g=t.textColor,f=t.setBackgroundColor,b=t.setTextColor,y=t.fallbackBackgroundColor,k=t.fallbackTextColor,M=[{value:"gb-list-border-none",label:Rl("None")},{value:"gb-list-border-solid",label:Rl("Solid")},{value:"gb-list-border-dotted",label:Rl("Dotted")},{value:"gb-list-border-dashed",label:Rl("Dashed")}];return React.createElement(Cl,{key:"inspector"},React.createElement(Fl,{title:Rl("Text Settings","genesis-blocks")},React.createElement(jl,{fallbackFontSize:m,value:p.size,onChange:_}),React.createElement(Il,{label:Rl("List Border Style","genesis-blocks"),value:r,options:M.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({borderStyle:t})}}),"gb-list-border-none"!==r&&React.createElement(Jl,{label:Rl("List Border Width","genesis-blocks"),value:i,onChange:function(t){return e.props.setAttributes({borderWidth:t})},min:1,max:5,step:1}),"gb-list-border-none"!==r&&React.createElement(Wl,null,React.createElement(Ul,{label:Rl("List Border Color","genesis-blocks"),id:"gb-list-border-color-"+this.props.clientId},React.createElement(zl,{initialOpen:!1,value:o,onChange:function(e){return d({borderColor:e})}})))),React.createElement(Fl,{title:Rl("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Os,{paddingEnableTop:!0,paddingTop:s,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return d({paddingTop:e})},paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return d({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:c,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return d({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:u,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return d({paddingLeft:e})}})),React.createElement(Al,{title:Rl("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:h.color,onChange:f,label:Rl("Background Color","genesis-blocks")},{value:g.color,onChange:b,label:Rl("Text Color","genesis-blocks")}]},React.createElement(Ol,a()({textColor:g.color,backgroundColor:h.color,fallbackTextColor:k,fallbackBackgroundColor:y},{fontSize:p.size}))))}}]),n}(Sl),ql=xl([Vl,Pl("fontSize"),Hl("backgroundColor",{textColor:"color"})])(Gl);function $l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Kl=wp.i18n.__,Zl=(wp.blocks.registerBlockType,wp.compose.compose),Ql=wp.element,Xl=Ql.Component,ec=Ql.Fragment,tc=wp.blockEditor,nc=tc.RichText,rc=tc.withFontSizes,ac=tc.withColors,oc=function(e){m()(n,e);var t=$l(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.features,a=n.borderStyle,o=n.borderColor,s=n.borderWidth,l=n.paddingTop,c=n.paddingRight,u=n.paddingBottom,d=n.paddingLeft,m=(t.isSelected,t.className,t.setAttributes),p=(t.fallbackFontSize,t.fontSize),_=t.backgroundColor,h=t.textColor,g=b()((e={"gb-pricing-table-features":!0},i()(e,p.class,p.class),i()(e,"has-text-color",h.color),i()(e,"has-background",_.color),i()(e,_.class,_.class),i()(e,h.class,h.class),i()(e,a,a),i()(e,"gb-list-border-width-"+s,s),e)),f={fontSize:p.size?p.size+"px":void 0,backgroundColor:_.color,color:h.color,borderColor:o||void 0,paddingTop:l?l+"px":void 0,paddingRight:c?c+"px":void 0,paddingBottom:u?u+"px":void 0,paddingLeft:d?d+"px":void 0};return[React.createElement(ec,{key:"gb-pricing-table-inner-component-description-"+this.props.clientId},React.createElement(ql,this.props),React.createElement(nc,{tagName:"ul",multiline:"li",itemProp:"description",placeholder:Kl("Add a product feature","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return m({features:e})},style:f,className:g||void 0}))]}}]),n}(Xl),ic=Zl([rc("fontSize"),ac("backgroundColor",{textColor:"color"})])(oc),sc=wp.i18n.__,lc=wp.blocks.registerBlockType,cc=(wp.element.Component,wp.blockEditor),uc=cc.RichText,dc=cc.getFontSizeClass,mc=(cc.FontSizePicker,cc.withFontSizes,cc.getColorClassName);function pc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}lc("genesis-blocks/gb-pricing-table-features",{title:sc("Product Features","genesis-blocks"),description:sc("Adds a product feature component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[sc("pricing table","genesis-blocks"),sc("features","genesis-blocks"),sc("shop","genesis-blocks")],attributes:{features:{type:"string",source:"html",selector:"ol,ul",multiline:"li"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},borderStyle:{type:"string",default:"gb-list-border-none"},borderColor:{type:"string"},borderWidth:{type:"number",default:1},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:ic,save:function(e){var t,n=e.attributes,r=n.features,a=n.fontSize,o=n.customFontSize,s=n.backgroundColor,l=n.textColor,c=n.customBackgroundColor,u=n.customTextColor,d=n.borderStyle,m=n.borderColor,p=n.borderWidth,_=n.paddingTop,h=n.paddingRight,g=n.paddingBottom,f=n.paddingLeft,y=dc(a),k=mc("color",l),M=mc("background-color",s),v=b()((t={"has-background":s||c,"gb-pricing-table-features":!0},i()(t,y,y),i()(t,k,k),i()(t,M,M),i()(t,d,d),i()(t,"gb-list-border-width-"+p,p),t)),L={fontSize:y?void 0:o,backgroundColor:M?void 0:c,color:k?void 0:u,borderColor:m||void 0,paddingTop:_?_+"px":void 0,paddingRight:h?h+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:f?f+"px":void 0};return React.createElement(uc.Content,{tagName:"ul",itemProp:"description",value:r,className:v||void 0,style:L})}});var _c=wp.i18n.__,hc=wp.element.Component,gc=wp.compose.compose,fc=wp.blockEditor,bc=fc.InspectorControls,yc=fc.FontSizePicker,kc=fc.withFontSizes,Mc=fc.withColors,vc=fc.ContrastChecker,Lc=fc.PanelColorSettings,Yc=(fc.RangeControl,wp.components),wc=Yc.withFallbackStyles,Tc=Yc.PanelBody,Dc=wc((function(e,t){var n=t.attributes,r=n.textColor,a=n.backgroundColor,o=n.fontSize,i=n.customFontSize,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:a||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:o||i||!l?void 0:parseInt(l.fontSize)||void 0}})),Rc=function(e){m()(n,e);var t=pc(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,s=(e.isSelected,e.setAttributes),l=e.fallbackFontSize,c=e.fontSize,u=e.setFontSize,d=e.backgroundColor,m=e.textColor,p=e.setBackgroundColor,_=e.setTextColor,h=e.fallbackBackgroundColor,g=e.fallbackTextColor;return React.createElement(bc,{key:"inspector"},React.createElement(Tc,{title:_c("Text Settings","genesis-blocks")},React.createElement(yc,{fallbackFontSize:l,value:c.size,onChange:u})),React.createElement(Tc,{title:_c("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Os,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return s({paddingTop:e})},paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return s({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:o,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return s({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:i,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return s({paddingLeft:e})}})),React.createElement(Lc,{title:_c("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:d.color,onChange:p,label:_c("Background Color","genesis-blocks")},{value:m.color,onChange:_,label:_c("Text Color","genesis-blocks")}]},React.createElement(vc,a()({textColor:m.color,backgroundColor:d.color,fallbackTextColor:g,fallbackBackgroundColor:h},{fontSize:c.size}))))}}]),n}(hc),Sc=gc([Dc,kc("fontSize"),Mc("backgroundColor",{textColor:"color"})])(Rc);function xc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ec=wp.i18n.__,Cc=(wp.blocks.registerBlockType,wp.compose.compose),jc=wp.element,Pc=jc.Component,Hc=jc.Fragment,Oc=wp.blockEditor,Ac=Oc.RichText,zc=Oc.withFontSizes,Nc=Oc.withColors,Bc=function(e){m()(n,e);var t=xc(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.title,a=n.paddingTop,o=n.paddingRight,s=n.paddingBottom,l=n.paddingLeft,c=(t.isSelected,t.className,t.setAttributes),u=(t.fallbackFontSize,t.fontSize),d=t.backgroundColor,m=t.textColor,p=b()((e={"gb-pricing-table-title":!0},i()(e,u.class,u.class),i()(e,"has-text-color",m.color),i()(e,"has-background",d.color),i()(e,d.class,d.class),i()(e,m.class,m.class),e)),_={fontSize:u.size?u.size+"px":void 0,backgroundColor:d.color,color:m.color,paddingTop:a?a+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:s?s+"px":void 0,paddingLeft:l?l+"px":void 0};return[React.createElement(Hc,{key:"gb-pricing-table-inner-component-title-"+this.props.clientId},React.createElement(Sc,this.props),React.createElement(Ac,{tagName:"div",itemProp:"name",placeholder:Ec("Price Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return c({title:e})},style:_,className:p||void 0}))]}}]),n}(Pc),Fc=Cc([zc("fontSize"),Nc("backgroundColor",{textColor:"color"})])(Bc),Wc=wp.i18n.__,Ic=wp.blocks.registerBlockType,Uc=(wp.element.Component,wp.blockEditor),Jc=Uc.RichText,Vc=Uc.getFontSizeClass,Gc=(Uc.FontSizePicker,Uc.withFontSizes,Uc.getColorClassName);function qc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}Ic("genesis-blocks/gb-pricing-table-title",{title:Wc("Product Title","genesis-blocks"),description:Wc("Adds a product title component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[Wc("pricing table","genesis-blocks"),Wc("title","genesis-blocks"),Wc("shop","genesis-blocks")],attributes:{title:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:Fc,save:function(e){var t,n=e.attributes,r=n.title,a=n.fontSize,o=n.customFontSize,s=n.backgroundColor,l=n.textColor,c=n.customBackgroundColor,u=n.customTextColor,d=n.paddingTop,m=n.paddingRight,p=n.paddingBottom,_=n.paddingLeft,h=Vc(a),g=Gc("color",l),f=Gc("background-color",s),y={fontSize:h?void 0:o,backgroundColor:f?void 0:c,color:g?void 0:u,paddingTop:d?d+"px":void 0,paddingRight:m?m+"px":void 0,paddingBottom:p?p+"px":void 0,paddingLeft:_?_+"px":void 0},k=b()((t={"has-background":s||c,"gb-pricing-table-title":!0},i()(t,h,h),i()(t,g,g),i()(t,f,f),t));return React.createElement(Jc.Content,{tagName:"div",itemProp:"name",value:r,style:y,className:k||void 0})}});var $c=wp.i18n.__,Kc=(wp.blocks.registerBlockType,wp.compose.compose),Zc=wp.element,Qc=Zc.Component,Xc=Zc.Fragment,eu=wp.blockEditor,tu=eu.RichText,nu=eu.withFontSizes,ru=eu.withColors,au=function(e){m()(n,e);var t=qc(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.subtitle,a=n.paddingTop,o=n.paddingRight,s=n.paddingBottom,l=n.paddingLeft,c=(t.isSelected,t.className,t.setAttributes),u=(t.fallbackFontSize,t.fontSize),d=t.backgroundColor,m=t.textColor,p=b()((e={"gb-pricing-table-subtitle":!0},i()(e,u.class,u.class),i()(e,"has-text-color",m.color),i()(e,"has-background",d.color),i()(e,d.class,d.class),i()(e,m.class,m.class),e)),_={fontSize:u.size?u.size+"px":void 0,backgroundColor:d.color,color:m.color,paddingTop:a?a+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:s?s+"px":void 0,paddingLeft:l?l+"px":void 0};return[React.createElement(Xc,{key:"gb-pricing-table-inner-component-subtitle-"+this.props.clientId},React.createElement(Sc,this.props),React.createElement(tu,{tagName:"div",placeholder:$c("Price Subtitle","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return c({subtitle:e})},style:_,className:p||void 0}))]}}]),n}(Qc),ou=Kc([nu("fontSize"),ru("backgroundColor",{textColor:"color"})])(au),iu=wp.i18n.__,su=wp.blocks.registerBlockType,lu=(wp.element.Component,wp.blockEditor),cu=lu.RichText,uu=lu.getFontSizeClass,du=(lu.FontSizePicker,lu.withFontSizes,lu.getColorClassName);function mu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}su("genesis-blocks/gb-pricing-table-subtitle",{title:iu("Product Subtitle","genesis-blocks"),description:iu("Adds a product subtitle component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[iu("pricing table","genesis-blocks"),iu("subtitle","genesis-blocks"),iu("shop","genesis-blocks")],attributes:{subtitle:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:ou,save:function(e){var t,n=e.attributes,r=n.subtitle,a=n.fontSize,o=n.customFontSize,s=n.backgroundColor,l=n.textColor,c=n.customBackgroundColor,u=n.customTextColor,d=n.paddingTop,m=n.paddingRight,p=n.paddingBottom,_=n.paddingLeft,h=uu(a),g=du("color",l),f=du("background-color",s),y=b()((t={"has-background":s||c,"gb-pricing-table-subtitle":!0},i()(t,h,h),i()(t,g,g),i()(t,f,f),t)),k={fontSize:h?void 0:o,backgroundColor:f?void 0:c,color:g?void 0:u,paddingTop:d?d+"px":void 0,paddingRight:m?m+"px":void 0,paddingBottom:p?p+"px":void 0,paddingLeft:_?_+"px":void 0};return React.createElement(cu.Content,{tagName:"div",value:r,className:y||void 0,style:k})}});var pu=wp.i18n.__,_u=wp.element.Component,hu=wp.compose.compose,gu=wp.blockEditor,fu=gu.InspectorControls,bu=(gu.FontSizePicker,gu.withFontSizes),yu=gu.withColors,ku=(gu.ContrastChecker,gu.PanelColorSettings),Mu=wp.components,vu=Mu.withFallbackStyles,Lu=Mu.PanelBody,Yu=(Mu.ToggleControl,Mu.TextControl,Mu.RangeControl,vu((function(e,t){var n=t.attributes.backgroundColor,r=e.querySelector('[contenteditable="true"]'),a=r?getComputedStyle(r):null;return{fallbackBackgroundColor:n||!a?void 0:a.backgroundColor}}))),wu=function(e){m()(n,e);var t=mu(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.paddingTop,r=t.paddingRight,a=t.paddingBottom,o=t.paddingLeft,i=(t.buttonText,t.buttonUrl,t.buttonAlignment,t.buttonBackgroundColor),s=t.buttonTextColor,l=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,d=(e.isSelected,e.setAttributes),m=e.backgroundColor,p=e.setBackgroundColor;e.fallbackBackgroundColor;return React.createElement(fu,{key:"inspector"},React.createElement(Lu,{title:pu("Button Settings","genesis-blocks")},React.createElement(en,{buttonTarget:u,onChangeButtonTarget:function(e){return d({buttonTarget:!u})},buttonSize:l,onChangeButtonSize:function(e){return d({buttonSize:e})},buttonShape:c,onChangeButtonShape:function(e){return d({buttonShape:e})},buttonBackgroundColor:i,onChangeButtonColor:function(e){return d({buttonBackgroundColor:e})},buttonTextColor:s,onChangeButtonTextColor:function(e){return d({buttonTextColor:e})}})),React.createElement(Lu,{title:pu("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Os,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return d({paddingTop:e})},paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return d({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:a,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return d({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:o,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return d({paddingLeft:e})}})),React.createElement(ku,{title:pu("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:m.color,onChange:p,label:pu("Background Color","genesis-blocks")}]}))}}]),n}(_u),Tu=hu([Yu,bu("fontSize"),yu("backgroundColor")])(wu);function Du(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ru=wp.i18n.__,Su=(wp.blocks.registerBlockType,wp.compose.compose),xu=wp.element,Eu=xu.Component,Cu=xu.Fragment,ju=wp.blockEditor,Pu=ju.RichText,Hu=ju.withFontSizes,Ou=ju.withColors,Au=(ju.InnerBlocks,ju.URLInput),zu=wp.components,Nu=zu.Button,Bu=zu.Dashicon,Fu=zu.Icon,Wu=function(e){m()(n,e);var t=Du(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=(t.subtitle,t.paddingTop),r=t.paddingRight,a=t.paddingBottom,o=t.paddingLeft,i=t.buttonText,s=t.buttonUrl,l=t.buttonAlignment,c=t.buttonBackgroundColor,u=t.buttonTextColor,d=t.buttonSize,m=t.buttonShape,p=(t.buttonTarget,e.isSelected),_=(e.className,e.setAttributes),h=e.backgroundColor,g=b()({"gb-pricing-table-button":!0}),f={backgroundColor:h.color,paddingTop:n?n+"px":void 0,paddingRight:r?r+"px":void 0,paddingBottom:a?a+"px":void 0,paddingLeft:o?o+"px":void 0};return[React.createElement(Cu,{key:"gb-pricing-table-inner-component-button-"+this.props.clientId},React.createElement(Tu,this.props),React.createElement("div",{className:g||void 0,style:f},React.createElement(ln,this.props,React.createElement(Pu,{tagName:"span",placeholder:Ru("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:i,allowedFormats:[],className:b()("gb-button",m,d),style:{color:u,backgroundColor:c},onChange:function(e){return _({buttonText:e})}})),p&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(l),onSubmit:function(e){return e.preventDefault()},style:{textAlign:l}},React.createElement(Bu,{icon:"admin-links"}),React.createElement(Au,{className:"button-url",value:s,onChange:function(e){return _({buttonUrl:e})}}),React.createElement(Nu,{label:Ru("Apply","genesis-blocks"),type:"submit"},React.createElement(Fu,{icon:"editor-break"})))))]}}]),n}(Eu),Iu=Su([Hu("fontSize"),Ou("backgroundColor",{textColor:"color"})])(Wu),Uu=wp.i18n.__,Ju=wp.blocks.registerBlockType,Vu=(wp.element.Component,wp.blockEditor),Gu=Vu.RichText,qu=(Vu.getFontSizeClass,Vu.FontSizePicker,Vu.withFontSizes,Vu.getColorClassName);Ju("genesis-blocks/gb-pricing-table-button",{title:Uu("Product Button","genesis-blocks"),description:Uu("Adds a product button component.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[Uu("pricing table","genesis-blocks"),Uu("subtitle","genesis-blocks"),Uu("shop","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:Iu,save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,a=t.paddingTop,o=t.paddingRight,s=t.paddingBottom,l=t.paddingLeft,c=t.buttonText,u=t.buttonUrl,d=(t.buttonAlignment,t.buttonBackgroundColor),m=t.buttonTextColor,p=t.buttonSize,_=t.buttonShape,h=t.buttonTarget,g=qu("background-color",n),f=b()(i()({"has-background":n||r,"gb-pricing-table-button":!0},g,g)),y={backgroundColor:g?void 0:r,paddingTop:a?a+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:s?s+"px":void 0,paddingLeft:l?l+"px":void 0};return React.createElement("div",{className:f||void 0,style:y},React.createElement(ln,e,c&&React.createElement("a",{href:u,target:h?"_blank":null,rel:h?"noopener noreferrer":null,className:b()("gb-button",_,p),style:{color:m,backgroundColor:d}},React.createElement(Gu.Content,{value:c}))))}});var $u=wp.i18n.__,Ku=wp.element.Fragment,Zu=wp.components.RangeControl;function Qu(e){var t=e.marginTop,n=e.marginTopLabel,r=e.marginTopMin,a=e.marginTopMax,o=e.marginEnableTop,i=e.onChangeMarginTop,s=void 0===i?function(){}:i,l=e.marginRight,c=e.marginRightLabel,u=e.marginRightMin,d=e.marginRightMax,m=e.marginEnableRight,p=e.onChangeMarginRight,_=void 0===p?function(){}:p,h=e.marginBottom,g=e.marginBottomLabel,f=e.marginBottomMin,b=e.marginBottomMax,y=e.marginEnableBottom,k=e.onChangeMarginBottom,M=void 0===k?function(){}:k,v=e.marginLeft,L=e.marginLeftLabel,Y=e.marginLeftMin,w=e.marginLeftMax,T=e.marginEnableLeft,D=e.onChangeMarginLeft,R=void 0===D?function(){}:D,S=e.marginVertical,x=e.marginVerticalLabel,E=e.marginEnableVertical,C=e.marginVerticalMin,j=e.marginVerticalMax,P=e.onChangeMarginVertical,H=void 0===P?function(){}:P,O=e.marginHorizontal,A=e.marginHorizontalLabel,z=e.marginEnableHorizontal,N=e.marginHorizontalMin,B=e.marginHorizontalMax,F=e.onChangeMarginHorizontal,W=void 0===F?function(){}:F;return React.createElement(Ku,null,o&&React.createElement(Zu,{label:n||$u("Margin Top","genesis-blocks"),value:t,min:r,max:a,onChange:s}),m&&React.createElement(Zu,{label:c||$u("Margin Right","genesis-blocks"),value:l,min:u,max:d,onChange:_}),y&&React.createElement(Zu,{label:g||$u("Margin Bottom","genesis-blocks"),value:h,min:f,max:b,onChange:M}),T&&React.createElement(Zu,{label:L||$u("Margin Left","genesis-blocks"),value:v,min:Y,max:w,onChange:R}),E&&React.createElement(Zu,{label:x||$u("Margin Vertical","genesis-blocks"),value:S,min:C,max:j,onChange:H}),z&&React.createElement(Zu,{label:A||$u("Margin Horizontal","genesis-blocks"),value:O,min:N,max:B,onChange:W}))}function Xu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ed=wp.i18n.__,td=wp.element.Component,nd=wp.compose.compose,rd=wp.blockEditor,ad=rd.InspectorControls,od=rd.withColors,id=rd.ContrastChecker,sd=rd.PanelColorSettings,ld=wp.components,cd=ld.PanelBody,ud=ld.SelectControl,dd=ld.TextControl,md=ld.FormToggle,pd=(0,ld.withFallbackStyles)((function(e,t){var n=t.attributes,r=n.backgroundColor,a=n.textColor,o=n.buttonBackgroundColor,i=n.buttonTextColor,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:r||!l?void 0:l.backgroundColor,fallbackTextColor:a||!l?void 0:l.color,fallbackButtonBackgroundColor:o||!l?void 0:l.buttonBackgroundColor,fallbackButtonTextColor:i||!l?void 0:l.buttonTextColor}})),_d=function(e){m()(n,e);var t=Xu(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"doubleOptInChange",value:function(e){this.props.doubleOptIn&&this.props.doubleOptIn(e.target.checked)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.backgroundColor,a=e.setBackgroundColor,o=e.fallbackBackgroundColor,i=e.textColor,s=e.fallbackTextColor,l=e.setTextColor,c=e.buttonBackgroundColor,u=e.fallbackButtonBackgroundColor,d=e.buttonTextColor,m=e.fallbackButtonTextColor,p=e.setButtonBackgroundColor,_=e.setButtonTextColor,h={mailchimp:{label:"Mailchimp",value:"mailchimp",lists:[{label:ed("Select a list","genesis-blocks"),value:""}]}};return genesis_blocks_newsletter_block_vars.mailingListProviders.mailchimp.lists.map((function(e){return h.mailchimp.lists.push({label:e.name,value:e.id})})),React.createElement(ad,null,React.createElement(cd,{title:ed("Newsletter","genesis-blocks"),initialOpen:!t.mailingList},React.createElement(v,{id:"gb_newsletter_mailingList"},React.createElement(ud,{label:ed("Mailing List","genesis-blocks"),help:ed("The list people will be subscribed to.","genesis-blocks"),options:h.mailchimp.lists,value:t.mailingList,onChange:function(e){return n({mailingList:e})}})),React.createElement(v,{id:"gb_newsletter_successMessage"},React.createElement(dd,{type:"string",label:ed("Success Message","genesis-blocks"),help:ed("The message shown when people successfully subscribe.","genesis-blocks"),value:t.successMessage,onChange:function(e){return n({successMessage:e})}})),React.createElement(v,{id:"gb_newsletter_doubleOptIn"},React.createElement("div",{className:"gb-newsletter-double-opt-in-setting-wrapper"},React.createElement(md,{id:"double-opt-in-toggle-"+this.props.instanceId,className:"gb-newsletter-double-opt-in-toggle",checked:t.doubleOptIn,onChange:function(e){return n({doubleOptIn:e.target.checked})}}),React.createElement("label",{className:"gb-newsletter-double-opt-in-setting-label",htmlFor:"double-opt-in-toggle-"+this.props.instanceId},ed("Enable Double Opt-In","genesis-blocks")),React.createElement("p",{className:"description"},ed("Send contacts an opt-in confirmation email when they subscribe to your list.","genesis-blocks"))))),React.createElement(cd,{title:ed("General","genesis-blocks"),initialOpen:!!t.mailingList},React.createElement(v,{id:"gb_newsletter_containerPadding"},React.createElement(Os,{paddingEnable:!0,paddingTitle:ed("Block Padding","genesis-blocks"),paddingHelp:ed("Adjust the padding applied to the inside of the block.","genesis-blocks"),padding:t.containerPadding,paddingMin:"0",paddingMax:"100",onChangePadding:function(e){return n({containerPadding:e})}})),React.createElement(v,{id:"gb_newsletter_containerMargin"},React.createElement(Qu,{marginEnableTop:!0,marginTopLabel:ed("Block Margin Top","genesis-blocks"),marginTop:t.containerMarginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:function(e){return n({containerMarginTop:e})},marginEnableBottom:!0,marginBottomLabel:ed("Block Margin Bottom","genesis-blocks"),marginBottom:t.containerMarginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:function(e){return n({containerMarginBottom:e})}})),React.createElement(en,{enableButtonTarget:!1,buttonSize:t.buttonSize,onChangeButtonSize:function(e){return n({buttonSize:e})},buttonShape:t.buttonShape,onChangeButtonShape:function(e){return n({buttonShape:e})},enableButtonBackgroundColor:!1,enableButtonTextColor:!1})),React.createElement(v,{id:"gb_newsletter_colorOptions"},React.createElement(sd,{title:ed("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:r.color,onChange:a,label:ed("Block Background Color","genesis-blocks")},{value:i.color,onChange:l,label:ed("Block Text Color","genesis-blocks")},{value:c.color,onChange:p,label:ed("Button Background Color","genesis-blocks")},{value:d.color,onChange:_,label:ed("Button Text Color","genesis-blocks")}]},React.createElement(id,{textColor:i.color,backgroundColor:r.color,fallbackTextColor:s,fallbackBackgroundColor:o}),React.createElement(id,{textColor:d.color,backgroundColor:c.color,fallbackButtonTextColor:m,fallbackButtonBackgroundColor:u}),React.createElement(id,{textColor:c.color,backgroundColor:r.color,fallbackButtonBackgroundColor:u,fallbackBackgroundColor:o}))))}}]),n}(td),hd=nd([pd,od("backgroundColor",{textColor:"color"},{buttonBackgroundColor:"background-color"},{buttonTextColor:"color"})])(_d);function gd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var fd=wp.element.Component,bd=(wp.blockEditor.getColorClassName,function(e){m()(n,e);var t=gd(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n,r=this.props,a=r.attributes,o=r.backgroundColor,s=r.textColor;return t=a.customBackgroundColor?"gb-has-custom-background-color":a.backgroundColor?"has-"+a.backgroundColor+"-background-color":null,n=a.customTextColor?"gb-has-custom-text-color":a.textColor?"has-"+a.textColor+"-color":null,React.createElement("div",{style:{backgroundColor:o.color,padding:a.containerPadding?a.containerPadding:void 0,marginTop:a.containerMarginTop?a.containerMarginTop:void 0,marginBottom:a.containerMarginBottom?a.containerMarginBottom:void 0,color:s.color},className:b()([this.props.className],(e={"gb-block-newsletter":!0,"gb-form-styles":!0,"has-background":a.backgroundColor||a.customBackgroundColor},i()(e,t,t),i()(e,n,n),e))},this.props.children)}}]),n}(fd));function yd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yd(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Md(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var vd=wp.i18n.__,Ld=wp.compose,Yd=Ld.compose,wd=Ld.withInstanceId,Td=wp.blockEditor,Dd=(Td.getColorClassName,Td.RichText),Rd=Td.withColors,Sd=wp.element,xd=Sd.Fragment,Ed=Sd.Component,Cd=wp.components,jd=Cd.TextControl,Pd=(0,Cd.withFallbackStyles)((function(e,t){var n=t.attributes,r=n.backgroundColor,a=n.textColor,o=n.buttonBackgroundColor,i=e.querySelector('[contenteditable="true"]'),s=i?getComputedStyle(i):null;return{fallbackBackgroundColor:r||!s?void 0:s.backgroundColor,fallbackTextColor:a||!s?void 0:s.color,fallbackButtonBackgroundColor:o||!s?void 0:s.buttonBackgroundColor}})),Hd=function(e){m()(n,e);var t=Md(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).props.setAttributes({instanceId:e.props.instanceId}),e}return u()(n,[{key:"render",value:function(){var e,t,n=this,r=this.props,o=r.attributes,i=r.isSelected,s=r.setAttributes,l=r.buttonBackgroundColor,c=r.buttonTextColor,u=genesis_blocks_newsletter_block_vars.mailingListProviders.mailchimp.api_key_defined;return e=o.customButtonBackgroundColor?"gb-has-custom-background-color":o.buttonBackgroundColor?"has-"+o.buttonBackgroundColor+"-background-color":null,t=o.customButtonTextColor?"gb-has-custom-text-color":o.buttonTextColor?"has-"+o.buttonTextColor+"-color":null,[React.createElement(hd,a()({key:"gb-newsletter-inspector-"+this.props.clientId},kd({setAttributes:s},this.props))),React.createElement(bd,a()({key:"gb-newsletter-container-"+this.props.clientId},this.props),!u&&React.createElement(xd,null,React.createElement("div",{className:"gb-newsletter-notice"},vd("You must define your newsletter provider API keys to use this block.","genesis-blocks"),React.createElement("p",null,React.createElement("a",{href:genesis_blocks_newsletter_block_vars.plugin_settings_page_url,target:"_blank",rel:"noopener noreferrer"},vd("Configure your settings","genesis-blocks"))))),u&&React.createElement(xd,null,React.createElement(Dd,{tagName:"span",className:"gb-block-newsletter-label",keepPlaceholderOnFocus:!0,allowedFormats:[],value:o.emailInputLabel,onChange:function(e){return n.props.setAttributes({emailInputLabel:e})}}),React.createElement(jd,{name:"gb-newsletter-email-address"}),React.createElement("div",{className:b()("gb-block-button")},React.createElement(ln,this.props,React.createElement(Dd,{tagName:"span",placeholder:vd("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:o.buttonText,allowedFormats:[],className:b()("gb-button",o.buttonClass,o.buttonShape,o.buttonSize,e,t,{"has-background":o.buttonBackgroundColor||o.customButtonBackgroundColor,"has-text-color":o.buttonTextColor||o.customButtonTextColor}),style:{backgroundColor:l.color,color:c.color},onChange:function(e){return n.props.setAttributes({buttonText:e})}})),i&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(o.buttonAlignment),onSubmit:function(e){return e.preventDefault()},style:{textAlign:o.buttonAlignment}}))))]}}]),n}(Ed),Od=Yd([Pd,Rd("backgroundColor",{textColor:"color"},{buttonBackgroundColor:"background-color"},{buttonTextColor:"color"})])(wd(Hd)),Ad=(n(351),n(352),wp.i18n.__);(0,wp.blocks.registerBlockType)("genesis-blocks/gb-newsletter",{title:Ad("Email newsletter","genesis-blocks"),description:Ad("Add an email newsletter sign-up form.","genesis-blocks"),category:"genesis-blocks",icon:"email-alt",keywords:[Ad("Mailchimp","genesis-blocks"),Ad("Subscribe","genesis-blocks"),Ad("Newsletter","genesis-blocks")],edit:Od,gb_settings_data:{gb_newsletter_mailingList:{title:Ad("Mailing List","genesis-blocks")},gb_newsletter_successMessage:{title:Ad("Success Message","genesis-blocks")},gb_newsletter_doubleOptIn:{title:Ad("Enable Double Opt-In","genesis-blocks")},gb_newsletter_containerPadding:{title:Ad("Form Padding","genesis-blocks")},gb_newsletter_containerMargin:{title:Ad("Form Margin","genesis-blocks")},gb_newsletter_colorOptions:{title:Ad("Color Options","genesis-blocks")}},save:function(){return null}});var zd=n(31),Nd=n.n(zd);var Bd=function(e){return[void 0!==e.backgroundDimRatio&&100!==e.backgroundDimRatio?"gb-has-background-dim":null,(t=e.backgroundDimRatio,100>t?"gb-has-background-dim-"+10*Math.round(t/10):null),e.backgroundImgURL&&e.backgroundSize&&"no-repeat"===e.backgroundRepeat?"gb-background-"+e.backgroundSize:null,e.backgroundImgURL&&e.backgroundRepeat?"gb-background-"+e.backgroundRepeat:null,e.hasParallax?"gb-has-parallax":null];var t},Fd=function(e){return{backgroundImage:e.backgroundImgURL?"url(".concat(e.backgroundImgURL,")"):void 0,backgroundPosition:e.focalPoint?"".concat(100*e.focalPoint.x,"% ").concat(100*e.focalPoint.y,"%"):void 0}};function Wd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Id(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ud=function(e){m()(n,e);var t=Id(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n=this.props.attributes;e=n.customBackgroundColor?"gb-has-custom-background-color":n.backgroundColor?"has-"+n.backgroundColor+"-background-color":null,t=n.customTextColor?"gb-has-custom-text-color":n.textColor?"has-"+n.textColor+"-color":null;var r,a,o=b()([this.props.className,"gb-layout-columns-"+n.columns,n.layout].concat(Nd()(Bd(n)),[e,t,n.columnMaxWidth&&n.centerColumns?"gb-columns-center":null]),i()({},"align"+n.align,n.align));r=n.marginSync?{marginTop:0<n.margin?n.margin+n.marginUnit:null,marginBottom:0<n.margin?n.margin+n.marginUnit:null}:{marginTop:0<n.marginTop?n.marginTop+n.marginUnit:null,marginBottom:0<n.marginBottom?n.marginBottom+n.marginUnit:null},a=n.paddingSync?{padding:0<n.padding?n.padding+n.paddingUnit:null}:{paddingTop:0<n.paddingTop?n.paddingTop+n.paddingUnit:null,paddingRight:0<n.paddingRight?n.paddingRight+n.paddingUnit:null,paddingBottom:0<n.paddingBottom?n.paddingBottom+n.paddingUnit:null,paddingLeft:0<n.paddingLeft?n.paddingLeft+n.paddingUnit:null};var s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wd(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null},Fd(n));return React.createElement("div",{className:o||void 0,style:Object.assign(r,a,s)},this.props.children)}}]),n}(wp.element.Component),Jd={};Jd.oneEqual=React.createElement("svg",{className:"dashicon",height:"26",viewBox:"0 0 60 30",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"60",height:"30",fill:"#6d6a6f"})),Jd.twoEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"33",y:"0",width:"29",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"29",height:"30",fill:"#6d6a6f"})),Jd.twoLeftWide=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"43",y:"0",width:"16",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"39",height:"30",fill:"#6d6a6f"})),Jd.twoRightWide=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"20",y:"0",width:"39",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"16",height:"30",fill:"#6d6a6f"})),Jd.threeEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"21.500",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"43",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"})),Jd.threeWideCenter=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"15",y:"0",width:"31",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"50",y:"0",width:"11",height:"30",fill:"#6d6a6f"})),Jd.threeWideLeft=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"30",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"34",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"49",y:"0",width:"11",height:"30",fill:"#6d6a6f"})),Jd.threeWideRight=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"15",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"30",y:"0",width:"30",height:"30",fill:"#6d6a6f"})),Jd.fourEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"16",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"32",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"48",y:"0",width:"12",height:"30",fill:"#6d6a6f"})),Jd.fourLeft=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"21",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"25",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"38",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"51",y:"0",width:"9",height:"30",fill:"#6d6a6f"})),Jd.fourRight=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"12.800",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"25.600",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"38.400",y:"0",width:"21",height:"30",fill:"#6d6a6f"})),Jd.fiveEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"12.400",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"24.800",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"37.200",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"49.600",y:"0",width:"9",height:"30",fill:"#6d6a6f"})),Jd.sixEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"10.330",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"20.660",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"30.990",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"41.320",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"51.650",y:"0",width:"7",height:"30",fill:"#6d6a6f"})),Jd.blockIcon=React.createElement("svg",{viewBox:"0 0 60 34",height:"34",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"38",y:"0",width:"12",height:"34",fill:"#6d6a6f"}),React.createElement("rect",{x:"22",y:"0",width:"12",height:"34",fill:"#6d6a6f"}),React.createElement("rect",{x:"6",y:"0",width:"12",height:"34",fill:"#6d6a6f"}));var Vd=Jd,Gd=wp.i18n.__,qd={1:[{name:Gd("1 Column","genesis-blocks"),key:"gb-1-col-equal",col:1,icon:Vd.oneEqual}],2:[{name:Gd("2 Columns - 50/50","genesis-blocks"),key:"gb-2-col-equal",col:2,icon:Vd.twoEqual},{name:Gd("2 Columns - 75/25","genesis-blocks"),key:"gb-2-col-wideleft",col:2,icon:Vd.twoLeftWide},{name:Gd("2 Columns - 25/75","genesis-blocks"),key:"gb-2-col-wideright",col:2,icon:Vd.twoRightWide}],3:[{name:Gd("3 Columns - 33/33/33","genesis-blocks"),key:"gb-3-col-equal",col:3,icon:Vd.threeEqual},{name:Gd("3 Columns - 25/50/25","genesis-blocks"),key:"gb-3-col-widecenter",col:3,icon:Vd.threeWideCenter},{name:Gd("3 Columns - 50/25/25","genesis-blocks"),key:"gb-3-col-wideleft",col:3,icon:Vd.threeWideLeft},{name:Gd("3 Columns - 25/25/50","genesis-blocks"),key:"gb-3-col-wideright",col:3,icon:Vd.threeWideRight}],4:[{name:Gd("4 Columns - 25/25/25/25","genesis-blocks"),key:"gb-4-col-equal",col:4,icon:Vd.fourEqual},{name:Gd("4 Columns - 40/20/20/20","genesis-blocks"),key:"gb-4-col-wideleft",col:4,icon:Vd.fourLeft},{name:Gd("4 Columns - 20/20/20/40","genesis-blocks"),key:"gb-4-col-wideright",col:4,icon:Vd.fourRight}],5:[{name:Gd("5 Columns","genesis-blocks"),key:"gb-5-col-equal",col:5,icon:Vd.fiveEqual}],6:[{name:Gd("6 Columns","genesis-blocks"),key:"gb-6-col-equal",col:6,icon:Vd.sixEqual}]};function $d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Zd=wp.i18n.__,Qd=wp.element,Xd=Qd.Fragment,em=Qd.Component,tm=wp.components,nm=tm.PanelBody,rm=tm.RangeControl,am=tm.Button,om=tm.ButtonGroup,im=tm.FocalPointPicker,sm=tm.Icon,lm=tm.ToggleControl,cm=tm.SelectControl,um=wp.blockEditor,dm=um.MediaUpload,mm=um.MediaUploadCheck,pm=function(e){m()(n,e);var t=Kd(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this,n=this.props,r=n.attributes,a=n.setAttributes,o=[{value:"no-repeat",label:Zd("No Repeat","genesis-blocks")},{value:"repeat",label:Zd("Repeat","genesis-blocks")},{value:"repeat-x",label:Zd("Repeat Horizontally","genesis-blocks")},{value:"repeat-y",label:Zd("Repeat Vertically","genesis-blocks")}],s=[{value:"auto",label:Zd("Auto","genesis-blocks")},{value:"cover",label:Zd("Cover","genesis-blocks")},{value:"contain",label:Zd("Contain","genesis-blocks")}];return"cover"===r.backgroundSize&&(e=Zd("Scales the image as large as possible without stretching the image. Cropped either vertically or horizontally so that no empty space remains.","genesis-blocks")),"contain"===r.backgroundSize&&(e=Zd("Scales the image as large as possible without cropping or stretching the image.","genesis-blocks")),"auto"===r.backgroundSize&&(e=Zd("Scales the background image in the corresponding direction such that its intrinsic proportions are maintained.","genesis-blocks")),React.createElement(Xd,null,React.createElement(nm,{title:Zd("Background Image","genesis-blocks"),initialOpen:!1},React.createElement(mm,null,React.createElement(dm,{onSelect:function(e){a({backgroundImgURL:e.url})},type:"image",value:r.backgroundImgURL,render:function(e){var t=e.open;return React.createElement("div",null,React.createElement(om,{className:"gb-background-button-group"},React.createElement(am,{className:"gb-inspector-icon-button gb-background-add-button is-button is-default",label:Zd("Edit image","genesis-blocks"),onClick:t},React.createElement(sm,{icon:"format-image"}),Zd("Select Image","genesis-blocks")),r.backgroundImgURL&&React.createElement(am,{className:"gb-inspector-icon-button gb-background-remove-button is-button is-default",label:Zd("Remove Image","genesis-blocks"),onClick:function(){return a({backgroundImgURL:null})}},React.createElement(sm,{icon:"dismiss"}),Zd("Remove","genesis-blocks"))))}})),r.backgroundImgURL&&React.createElement(Xd,null,React.createElement(im,{label:Zd("Focal Point","genesis-blocks"),url:r.backgroundImgURL,value:r.focalPoint,onChange:function(e){return a({focalPoint:e})}}),React.createElement(rm,{label:Zd("Image Opacity","genesis-blocks"),value:r.backgroundDimRatio,onChange:function(e){return t.props.setAttributes({backgroundDimRatio:e})},min:0,max:100,step:10}),React.createElement(lm,{label:Zd("Fixed Background","genesis-blocks"),checked:r.hasParallax,onChange:function(){a(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$d(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hasParallax:!r.hasParallax},r.hasParallax?{}:{focalPoint:void 0}))}}),React.createElement(cm,{className:"gb-inspector-help-text",label:Zd("Image Display","genesis-blocks"),value:r.backgroundSize,help:e,options:s,onChange:function(e){return t.props.setAttributes({backgroundSize:e})}}),"cover"!==r.backgroundSize&&React.createElement(cm,{label:Zd("Image Repeat","genesis-blocks"),value:r.backgroundRepeat,options:o,onChange:function(e){return t.props.setAttributes({backgroundRepeat:e})}}))))}}]),n}(em);function _m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var hm=wp.i18n.__,gm=wp.element,fm=gm.Component,bm=gm.Fragment,ym=wp.blockEditor,km=ym.InspectorControls,Mm=ym.PanelColorSettings,vm=ym.ContrastChecker,Lm=wp.components,Ym=Lm.PanelBody,wm=Lm.RangeControl,Tm=Lm.ButtonGroup,Dm=Lm.Button,Rm=Lm.Tooltip,Sm=Lm.ToggleControl,xm=Lm.SelectControl,Em=function(e){m()(n,e);var t=_m(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,a=t.backgroundColor,o=t.setBackgroundColor,i=t.textColor,s=t.setTextColor,l=1;n.columns&&(l=parseInt(n.columns.toString().split("-")));var c=[{value:"px",label:hm("Pixel (px)","genesis-blocks")},{value:"%",label:hm("Percent (%)","genesis-blocks")},{value:"em",label:hm("Em (em)","genesis-blocks")}];return React.createElement(km,{key:"inspector"},n.layout&&React.createElement(Ym,{title:hm("General","genesis-blocks"),initialOpen:!0,className:"gb-column-select-panel"},React.createElement(v,{id:"gb_column_columns"},React.createElement(wm,{label:hm("Column Count","genesis-blocks"),help:hm("Note: Changing the column count after you've added content to the column can cause loss of content.","genesis-blocks"),value:n.columns,onChange:function(t){return e.props.setAttributes({columns:t,layout:"gb-"+t+"-col-equal"})},min:1,max:6,step:1})),React.createElement("hr",null),(2===n.columns||3===n.columns||4===n.columns)&&React.createElement(bm,null,React.createElement(v,{id:"gb_column_columnLayouts"},React.createElement("p",null,hm("Column Layout","genesis-blocks")),React.createElement(Tm,{"aria-label":hm("Column Layout","genesis-blocks")},po()(qd[l],(function(t){var n=t.name,a=t.key,o=t.icon;t.col;return React.createElement(Rm,{text:n,key:a},React.createElement(Dm,{key:a,className:"gb-column-selector-button",isSmall:!0,onClick:function(){r({layout:a}),e.setState({selectLayout:!1})}},o))}))),React.createElement("p",null,React.createElement("i",null,hm("Change the layout of your columns.","genesis-blocks"))),React.createElement("hr",null))),React.createElement(v,{id:"gb_column_columnsGap"},React.createElement(wm,{label:hm("Column Gap","genesis-blocks"),help:hm("Adjust the spacing between columns.","genesis-blocks"),value:n.columnsGap,onChange:function(t){return e.props.setAttributes({columnsGap:t})},min:0,max:10,step:1})),React.createElement("hr",null),React.createElement(v,{id:"gb_column_columnMaxWidth"},React.createElement(wm,{label:hm("Column Inner Max Width (px)"),help:hm("Adjust the width of the content inside the container wrapper.","genesis-blocks"),value:n.columnMaxWidth,onChange:function(t){return e.props.setAttributes({columnMaxWidth:t})},min:0,max:2e3,step:1})),0<n.columnMaxWidth&&React.createElement(v,{id:"gb_column_centerColumns"},React.createElement(Sm,{label:hm("Center Columns In Container","genesis-blocks"),help:hm("Center the columns in the container when max-width is used.","genesis-blocks"),checked:n.centerColumns,onChange:function(){return e.props.setAttributes({centerColumns:!n.centerColumns})}})),React.createElement("hr",null),React.createElement(v,{id:"gb_column_responsiveToggle"},React.createElement(Sm,{label:hm("Responsive Columns","genesis-blocks"),help:hm("Columns will be adjusted to fit on tablets and mobile devices.","genesis-blocks"),checked:n.responsiveToggle,onChange:function(){return e.props.setAttributes({responsiveToggle:!n.responsiveToggle})}}))),React.createElement(v,{id:"gb_column_marginPadding"},React.createElement(Ym,{title:hm("Margin and Padding","genesis-blocks"),initialOpen:!1},React.createElement(xm,{label:hm("Margin Unit","genesis-blocks"),help:hm("Choose between pixel, percent, or em units.","genesis-blocks"),options:c,value:n.marginUnit,onChange:function(t){return e.props.setAttributes({marginUnit:t})}}),React.createElement(Sm,{label:hm("Sync Margin","genesis-blocks"),help:hm("Top and bottom margins will have the same value.","genesis-blocks"),checked:n.marginSync,onChange:function(){return e.props.setAttributes({marginSync:!n.marginSync})}}),n.marginSync?React.createElement(Qu,{marginEnableVertical:!0,marginVerticalLabel:hm("Margin Top/Bottom","genesis-blocks"),marginVertical:n.margin,marginVerticalMin:"0",marginVerticalMax:"200",onChangeMarginVertical:function(e){return r({margin:e})}}):React.createElement(Qu,{marginEnableTop:!0,marginTop:n.marginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:function(e){return r({marginTop:e})},marginEnableBottom:!0,marginBottom:n.marginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:function(e){return r({marginBottom:e})}}),React.createElement("hr",null),React.createElement(xm,{label:hm("Padding Unit","genesis-blocks"),help:hm("Choose between pixel, percent, or em units.","genesis-blocks"),options:c,value:n.paddingUnit,onChange:function(t){return e.props.setAttributes({paddingUnit:t})}}),React.createElement(Sm,{label:hm("Sync Padding","genesis-blocks"),help:hm("Padding on all sides will have the same value.","genesis-blocks"),checked:n.paddingSync,onChange:function(){return e.props.setAttributes({paddingSync:!n.paddingSync})}}),n.paddingSync?React.createElement(Os,{paddingEnable:!0,padding:n.padding,paddingMin:"0",paddingMax:"200",onChangePadding:function(e){return r({padding:e})}}):React.createElement(Os,{paddingEnableTop:!0,paddingTop:n.paddingTop,paddingTopMin:"0",paddingTopMax:"200",onChangePaddingTop:function(e){return r({paddingTop:e})},paddingEnableRight:!0,paddingRight:n.paddingRight,paddingRightMin:"0",paddingRightMax:"200",onChangePaddingRight:function(e){return r({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:n.paddingBottom,paddingBottomMin:"0",paddingBottomMax:"200",onChangePaddingBottom:function(e){return r({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:n.paddingLeft,paddingLeftMin:"0",paddingLeftMax:"200",onChangePaddingLeft:function(e){return r({paddingLeft:e})}}))),React.createElement(v,{id:"gb_column_colorSettings"},React.createElement(Mm,{title:hm("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a.color,onChange:o,label:hm("Background Color","genesis-blocks")},{value:i.color,onChange:s,label:hm("Text Color","genesis-blocks")}]},React.createElement(vm,{textColor:i.color,backgroundColor:a.color}))),React.createElement(v,{id:"gb_column_backgroundImagePanel"},React.createElement(pm,this.props)))}}]),n}(fm);function Cm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var jm=wp.i18n.__,Pm=wp.element,Hm=Pm.Component,Om=Pm.Fragment,Am=wp.compose.compose,zm=wp.data.dispatch,Nm=wp.blockEditor,Bm=Nm.BlockControls,Fm=Nm.BlockAlignmentToolbar,Wm=Nm.InnerBlocks,Im=Nm.withColors,Um=wp.components,Jm=Um.Placeholder,Vm=Um.ButtonGroup,Gm=Um.Tooltip,qm=Um.Button,$m=["genesis-blocks/gb-column"],Km=Gi()((function(e){return $i()(e,(function(){return["genesis-blocks/gb-column"]}))})),Zm=function(e){m()(n,e);var t=Cm(n);function n(e){var r;return l()(this,n),(r=t.apply(this,arguments)).state={selectLayout:!0},r}return u()(n,[{key:"componentDidUpdate",value:function(e){this.props.attributes.columns!==e.attributes.columns&&zm("core/block-editor").synchronizeTemplate()}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=1;n.columns&&(o=parseInt(n.columns.toString().split("-")));var i=[{name:jm("1 Column","genesis-blocks"),key:"one-column",columns:1,icon:Vd.oneEqual},{name:jm("2 Columns","genesis-blocks"),key:"two-column",columns:2,icon:Vd.twoEqual},{name:jm("3 Columns","genesis-blocks"),key:"three-column",columns:3,icon:Vd.threeEqual},{name:jm("4 Columns","genesis-blocks"),key:"four-column",columns:4,icon:Vd.fourEqual},{name:jm("5 Columns","genesis-blocks"),key:"five-column",columns:5,icon:Vd.fiveEqual},{name:jm("6 Columns","genesis-blocks"),key:"six-column",columns:6,icon:Vd.sixEqual}];return!n.layout&&this.state.selectLayout?[React.createElement(Jm,{key:"placeholder",icon:"editor-table",label:n.columns?jm("Column Layout","genesis-blocks"):jm("Column Number","genesis-blocks"),instructions:n.columns?jm("Select a layout for this column.","genesis-blocks"):jm("Select the number of columns for this layout.","genesis-blocks"),className:"gb-column-selector-placeholder"},n.columns?React.createElement(Om,null,React.createElement(Vm,{"aria-label":jm("Select Column Layout","genesis-blocks"),className:"gb-column-selector-group"},po()(qd[o],(function(t){var n=t.name,a=t.key,o=t.icon;return React.createElement(Gm,{text:n,key:a},React.createElement("div",{className:"gb-column-selector"},React.createElement(qm,{key:a,className:b()("gb-column-selector-button",a),isSmall:!0,onClick:function(){r({layout:a}),e.setState({selectLayout:!1})}},o)))}))),React.createElement(qm,{className:"gb-column-selector-button-back",onClick:function(){r({columns:null}),e.setState({selectLayout:!0})}},jm("Return to Column Selection","genesis-blocks"))):React.createElement(Vm,{"aria-label":jm("Select Row Columns","genesis-blocks"),className:"gb-column-selector-group"},po()(i,(function(t){var n=t.name,a=t.key,o=t.icon,i=t.columns;return React.createElement(Gm,{text:n,key:a},React.createElement("div",{className:"gb-column-selector"},React.createElement(qm,{className:b()("gb-column-selector-button","gb-select-"+a),isSmall:!0,onClick:function(){r({columns:i,layout:1===i||5===i||6===i?a:null}),1===i&&e.setState({selectLayout:!1})}},o)))}))))]:[React.createElement(Bm,{key:"controls"},React.createElement(Fm,{value:n.align,onChange:function(e){return r({align:e})},controls:["center","wide","full"]})),React.createElement(Em,a()({},this.props,{key:"inspector"})),React.createElement(Ud,a()({},this.props,{backgroundColorValue:this.props.backgroundColor.color,textColorValue:this.props.textColor.color,key:"columns"}),React.createElement("div",{className:b()("gb-layout-column-wrap-admin","gb-block-layout-column-gap-"+n.columnsGap,n.responsiveToggle?"gb-is-responsive-column":null),style:{maxWidth:n.columnMaxWidth?n.columnMaxWidth:null}},React.createElement(Wm,{template:Km(n.columns),templateLock:"all",allowedBlocks:$m})))]}}]),n}(Hm),Qm=Am([Im("backgroundColor",{textColor:"color"})])(Zm);function Xm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ep=wp.element.Component,tp=wp.blockEditor.InnerBlocks,np=function(e){m()(n,e);var t=Xm(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=b()(["gb-layout-column-wrap","gb-block-layout-column-gap-"+e.columnsGap,e.responsiveToggle?"gb-is-responsive-column":null]);return React.createElement(Ud,a()({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement("div",{className:t||void 0,style:{maxWidth:e.columnMaxWidth?e.columnMaxWidth:null}},React.createElement(tp.Content,null)))}}]),n}(ep),rp={backgroundImgURL:{type:"string"},backgroundDimRatio:{type:"number",default:100},backgroundRepeat:{type:"string",default:"no-repeat"},backgroundSize:{type:"string",default:"cover"},hasParallax:{type:"boolean",default:!1},focalPoint:{type:"object"}};function ap(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function op(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ap(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ap(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ip=wp.i18n.__;function sp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-columns",{title:ip("Advanced Columns","genesis-blocks"),description:ip("Add a pre-defined column layout.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",keywords:[ip("column","genesis-blocks"),ip("grid","genesis-blocks"),ip("row","genesis-blocks")],attributes:op(op({},rp),{},{columns:{type:"number"},layout:{type:"string"},columnsGap:{type:"number",default:2},align:{type:"string"},responsiveToggle:{type:"boolean",default:!0},marginSync:{type:"boolean",default:!1},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},marginUnit:{type:"string",default:"px"},paddingSync:{type:"boolean",default:!1},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingUnit:{type:"string",default:"px"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},columnMaxWidth:{type:"number"},centerColumns:{type:"boolean",default:!0}}),gb_settings_data:{gb_column_columns:{title:ip("Column Count","genesis-blocks")},gb_column_columnLayouts:{title:ip("Column Layout","genesis-blocks")},gb_column_columnsGap:{title:ip("Column Gap","genesis-blocks")},gb_column_columnMaxWidth:{title:ip("Column Inner Max Width","genesis-blocks")},gb_column_centerColumns:{title:ip("Center Columns In Container","genesis-blocks")},gb_column_responsiveToggle:{title:ip("Responsive Columns","genesis-blocks")},gb_column_marginPadding:{title:ip("Margin / Padding","genesis-blocks")},gb_column_colorSettings:{title:ip("Color Settings","genesis-blocks")},gb_column_backgroundImagePanel:{title:ip("Background Settings","genesis-blocks")}},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"full"===t||"wide"===t)return{"data-align":t}},edit:function(e){return React.createElement(Qm,e)},save:function(e){return React.createElement(np,e)}});var lp=wp.i18n.__,cp=wp.element.Component,up=wp.compose.compose,dp=wp.blockEditor,mp=dp.InspectorControls,pp=dp.PanelColorSettings,_p=dp.withColors,hp=dp.ContrastChecker,gp=wp.components,fp=gp.PanelBody,bp=gp.ToggleControl,yp=gp.SelectControl,kp=function(e){m()(n,e);var t=sp(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.backgroundColor,r=t.setBackgroundColor,a=t.textColor,o=t.setTextColor,i=t.attributes,s=t.setAttributes,l=[{value:"px",label:lp("Pixel (px)","genesis-blocks")},{value:"%",label:lp("Percent (%)","genesis-blocks")},{value:"em",label:lp("Em (em)","genesis-blocks")}];return React.createElement(mp,{key:"inspector"},React.createElement(v,{id:"gb_column_inner_marginPadding"},React.createElement(fp,{title:lp("Margin and Padding","genesis-blocks"),initialOpen:!1},React.createElement(yp,{label:lp("Margin Unit","genesis-blocks"),help:lp("Choose between pixel, percent, or em units.","genesis-blocks"),options:l,value:i.marginUnit,onChange:function(t){return e.props.setAttributes({marginUnit:t})}}),React.createElement(bp,{label:lp("Sync Margin","genesis-blocks"),help:lp("Top and bottom margins will have the same value.","genesis-blocks"),checked:i.marginSync,onChange:function(){return e.props.setAttributes({marginSync:!i.marginSync})}}),i.marginSync?React.createElement(Qu,{marginEnableVertical:!0,marginVerticalLabel:lp("Margin Top/Bottom","genesis-blocks"),marginVertical:i.margin,marginVerticalMin:"0",marginVerticalMax:"200",onChangeMarginVertical:function(e){return s({margin:e})}}):React.createElement(Qu,{marginEnableTop:!0,marginTop:i.marginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:function(e){return s({marginTop:e})},marginEnableBottom:!0,marginBottom:i.marginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:function(e){return s({marginBottom:e})}}),React.createElement("hr",null),React.createElement(yp,{label:lp("Padding Unit","genesis-blocks"),help:lp("Choose between pixel, percent, or em units.","genesis-blocks"),options:l,value:i.paddingUnit,onChange:function(t){return e.props.setAttributes({paddingUnit:t})}}),React.createElement(bp,{label:lp("Sync Padding","genesis-blocks"),help:lp("Padding on all sides will have the same value.","genesis-blocks"),checked:i.paddingSync,onChange:function(){return e.props.setAttributes({paddingSync:!i.paddingSync})}}),i.paddingSync?React.createElement(Os,{paddingEnable:!0,padding:i.padding,paddingMin:"0",paddingMax:"200",onChangePadding:function(e){return s({padding:e})}}):React.createElement(Os,{paddingEnableTop:!0,paddingTop:i.paddingTop,paddingTopMin:"0",paddingTopMax:"200",onChangePaddingTop:function(e){return s({paddingTop:e})},paddingEnableRight:!0,paddingRight:i.paddingRight,paddingRightMin:"0",paddingRightMax:"200",onChangePaddingRight:function(e){return s({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:i.paddingBottom,paddingBottomMin:"0",paddingBottomMax:"200",onChangePaddingBottom:function(e){return s({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:i.paddingLeft,paddingLeftMin:"0",paddingLeftMax:"200",onChangePaddingLeft:function(e){return s({paddingLeft:e})}}))),React.createElement(v,{id:"gb_column_inner_colorSettings"},React.createElement(pp,{title:lp("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n.color,onChange:r,label:lp("Background Color","genesis-blocks")},{value:a.color,onChange:o,label:lp("Text Color","genesis-blocks")}]},React.createElement(hp,{textColor:a.color,backgroundColor:n.color}))),React.createElement(v,{id:"gb_column_inner_backgroundImagePanel"},React.createElement(pm,this.props)))}}]),n}(cp),Mp=up([_p("backgroundColor",{textColor:"color"})])(kp);function vp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Yp=function(e){m()(n,e);var t=Lp(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n=this.props.attributes;e=n.marginSync?{marginTop:0<n.margin?n.margin+n.marginUnit:null,marginBottom:0<n.margin?n.margin+n.marginUnit:null}:{marginTop:0<n.marginTop?n.marginTop+n.marginUnit:null,marginBottom:0<n.marginBottom?n.marginBottom+n.marginUnit:null},t=n.paddingSync?{padding:0<n.padding?n.padding+n.paddingUnit:null}:{paddingTop:0<n.paddingTop?n.paddingTop+n.paddingUnit:null,paddingRight:0<n.paddingRight?n.paddingRight+n.paddingUnit:null,paddingBottom:0<n.paddingBottom?n.paddingBottom+n.paddingUnit:null,paddingLeft:0<n.paddingLeft?n.paddingLeft+n.paddingUnit:null};var r,a,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vp(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null,textAlign:n.textAlign?n.textAlign:null},Fd(n));return r=n.customBackgroundColor?"gb-has-custom-background-color":n.backgroundColor?"has-"+n.backgroundColor+"-background-color":null,a=n.customTextColor?"gb-has-custom-text-color":n.textColor?"has-"+n.textColor+"-color":null,React.createElement("div",{className:b()(this.props.className,"gb-block-layout-column",n.columnVerticalAlignment?"gb-is-vertically-aligned-"+n.columnVerticalAlignment:null)},React.createElement("div",{className:b.a.apply(void 0,["gb-block-layout-column-inner",r,a].concat(Nd()(Bd(n)))),style:Object.assign(e,t,o)},this.props.children))}}]),n}(wp.element.Component);function Tp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Dp=wp.i18n.__,Rp=wp.compose.compose,Sp=wp.element.Component,xp=wp.components.ToolbarGroup,Ep=wp.blockEditor,Cp=Ep.AlignmentToolbar,jp=Ep.BlockControls,Pp=Ep.InnerBlocks,Hp=Ep.withColors,Op=function(e){m()(n,e);var t=Tp(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=[{icon:"arrow-up-alt2",title:Dp("Vertical Align Top","genesis-blocks"),isActive:"top"===t.columnVerticalAlignment,onClick:function(){return n({columnVerticalAlignment:"top"})}},{icon:"minus",title:Dp("Vertical Align Middle","genesis-blocks"),isActive:"center"===t.columnVerticalAlignment,onClick:function(){return n({columnVerticalAlignment:"center"})}},{icon:"arrow-down-alt2",title:Dp("Vertical Align Bottom","genesis-blocks"),isActive:"bottom"===t.columnVerticalAlignment,onClick:function(){return n({columnVerticalAlignment:"bottom"})}}];return[React.createElement(jp,{key:"controls"},React.createElement(Cp,{value:t.textAlign,onChange:function(e){n({textAlign:e})}}),React.createElement(xp,{controls:r})),React.createElement(Mp,a()({},this.props,{key:"inspector"})),React.createElement(Yp,a()({backgroundColorValue:this.props.backgroundColor.color,textColorValue:this.props.textColor.color},this.props,{key:"column"}),React.createElement(Pp,{template:[["core/paragraph"]],templateLock:!1,templateInsertUpdatesSelection:!1}))]}}]),n}(Sp),Ap=Rp([Hp("backgroundColor",{textColor:"color"})])(Op);function zp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Np=wp.element.Component,Bp=wp.blockEditor.InnerBlocks,Fp=function(e){m()(n,e);var t=zp(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes;return React.createElement(Yp,a()({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement(Bp.Content,null))}}]),n}(Np);function Wp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ip=function(e){m()(n,e);var t=Wp(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n=this.props.attributes;e=n.marginSync?{marginTop:0<n.margin?n.margin+n.marginUnit:null,marginBottom:0<n.margin?n.margin+n.marginUnit:null}:{marginTop:0<n.marginTop?n.marginTop+n.marginUnit:null,marginBottom:0<n.marginBottom?n.marginBottom+n.marginUnit:null},t=n.paddingSync?{padding:0<n.padding?n.padding+n.paddingUnit:null}:{paddingTop:0<n.paddingTop?n.paddingTop+n.paddingUnit:null,paddingRight:0<n.paddingRight?n.paddingRight+n.paddingUnit:null,paddingBottom:0<n.paddingBottom?n.paddingBottom+n.paddingUnit:null,paddingLeft:0<n.paddingLeft?n.paddingLeft+n.paddingUnit:null};var r,a,o={backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null,textAlign:n.textAlign?n.textAlign:null};return r=n.customBackgroundColor?"gb-has-custom-background-color":n.backgroundColor?"has-"+n.backgroundColor+"-background-color":null,a=n.customTextColor?"gb-has-custom-text-color":n.textColor?"has-"+n.textColor+"-color":null,React.createElement("div",{className:b()("gb-block-layout-column",n.columnVerticalAlignment?"gb-is-vertically-aligned-"+n.columnVerticalAlignment:null)},React.createElement("div",{className:b()("gb-block-layout-column-inner",r,a),style:Object.assign(e,t,o)},this.props.children))}}]),n}(wp.element.Component);function Up(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Jp=wp.element.Component,Vp=wp.blockEditor.InnerBlocks,Gp=function(e){m()(n,e);var t=Up(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes;return React.createElement(Ip,a()({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement(Vp.Content,null))}}]),n}(Jp),qp=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},textAlign:{type:"string"},marginSync:{type:"boolean",default:!1},marginUnit:{type:"string",default:"px"},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingSync:{type:"boolean",default:!1},paddingUnit:{type:"string",default:"px"},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},columnVerticalAlignment:{type:"string"}},save:function(e){return React.createElement(Gp,e)}}];n(353),n(354);function $p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zp=wp.i18n.__;(0,wp.blocks.registerBlockType)("genesis-blocks/gb-column",{title:Zp("Column","genesis-blocks"),description:Zp("Add a pre-defined column layout.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",parent:["genesis-blocks/gb-columns"],keywords:[Zp("column","genesis-blocks"),Zp("layout","genesis-blocks"),Zp("row","genesis-blocks")],attributes:Kp(Kp({},rp),{},{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},textAlign:{type:"string"},marginSync:{type:"boolean",default:!1},marginUnit:{type:"string",default:"px"},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingSync:{type:"boolean",default:!1},paddingUnit:{type:"string",default:"px"},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},columnVerticalAlignment:{type:"string"}}),gb_settings_data:{gb_column_inner_marginPadding:{title:Zp("Margin and Padding","genesis-blocks")},gb_column_inner_colorSettings:{title:Zp("Color","genesis-blocks")},gb_column_inner_backgroundImagePanel:{title:Zp("Background Image","genesis-blocks")}},edit:function(e){return React.createElement(Ap,e)},save:function(e){return React.createElement(Fp,e)},deprecated:qp});var Qp=wp.compose.createHigherOrderComponent((function(e){return function(t){return"genesis-blocks/gb-column"===t.block.name&&t.block.attributes.columnVerticalAlignment?React.createElement(e,a()({},t,{className:"gb-is-vertically-aligned-"+t.block.attributes.columnVerticalAlignment})):React.createElement(e,t)}}),"withClientIdClassName");function Xp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}wp.hooks.addFilter("editor.BlockListBlock","genesis-blocks/add-vertical-align-class",Qp);var e_=wp.i18n.__,t_=wp.element,n_=t_.Component,r_=t_.Fragment,a_=wp.components,o_=a_.Button,i_=a_.Dashicon,s_=a_.Tooltip,l_=function(e){m()(n,e);var t=Xp(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"addDefaultSrc",value:function(e){e.target.src=genesis_blocks_globals.pattern_fallback_image}},{key:"render",value:function(){var e=this;return React.createElement(r_,null,React.createElement("div",{key:"gb-layout-design-"+this.props.itemKey,className:"gb-layout-design"},React.createElement("div",{className:"gb-layout-design-inside"},React.createElement("div",{className:"gb-layout-design-item"},React.createElement(o_,{key:this.props.itemKey,className:"gb-layout-insert-button",isSmall:!0,onClick:function(){e.props.import(e.props.content,e.props.clientId)}},React.createElement("img",{src:this.props.image?this.props.image:genesis_blocks_globals.pattern_fallback_image,alt:this.props.name,onError:this.addDefaultSrc})),React.createElement("div",{className:"gb-layout-design-info"},React.createElement("div",{className:"gb-layout-design-title"},this.props.name,React.createElement(s_,{text:this.props.context.favoriteKeys.includes(this.props.itemKey)?e_("Remove from Favorites","genesis-blocks"):e_("Add to Favorites","genesis-blocks")},React.createElement(o_,{key:"buttonFavorite",className:"gb-layout-favorite-button",isSmall:!0,onClick:function(){e.props.context.toggleFavorite(e.props.itemKey)}},React.createElement(i_,{icon:"heart",className:b()("gb-layout-icon-favorite",this.props.context.favoriteKeys.includes(this.props.itemKey)&&"gb-layout-icon-favorite-active")})))))))))}}]),n}(n_);function c_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var u_=wp.i18n.__,d_=wp.url.addQueryArgs,m_=wp.element,p_=m_.Component,__=m_.Fragment,h_=function(e){m()(n,e);var t=c_(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.itemKey.match(/\d+/g)[0];return React.createElement(__,null,React.createElement("div",{className:"gb-layout-reusable"},React.createElement("div",null,React.createElement("a",{role:"button",key:this.props.itemKey,className:"gb-layout-insert-button",onClick:function(){e.props.import(e.props.content)}},this.props.name)),React.createElement("div",{className:"gb-layout-reusable-actions"},React.createElement("span",null,React.createElement("a",{href:d_("post.php",{post:t,post_type:"wp_block",action:"edit"}),target:"_blank",rel:"noopener noreferrer"},u_("Edit","genesis-blocks"))))))}}]),n}(p_),g_=wp.blocks.rawHandler;function f_(e,t){wp.data.dispatch("core/block-editor").replaceBlocks(t,g_({HTML:e,mode:"BLOCKS"}))}var b_=wp.element.useState;wp.i18n.__;var y_=wp.components.Button;function k_(e){return React.createElement(React.Fragment,null,React.createElement("div",{className:"gb-layout-design"},React.createElement("div",{className:"gb-layout-design-inside"},React.createElement("div",{className:"gb-layout-design-item"},React.createElement(y_,{className:"gb-layout-insert-button gb-layout-collection-button",isSmall:!0,onClick:function(){e.collectionsView.setCurrentView("collection"),e.collectionsView.setCurrentCollection(e.collectionSlug)}},React.createElement("div",{className:"gb-layout-collection-cover"},React.createElement("img",{src:e.context.collections[e.collectionSlug].thumbnail?e.context.collections[e.collectionSlug].thumbnail:genesis_blocks_globals.pattern_fallback_image,alt:e.context.collections[e.collectionSlug].label,onError:function(e){e.target.src=genesis_blocks_globals.pattern_fallback_image}})),React.createElement("div",{className:"gb-layout-design-info"},React.createElement("div",{className:"gb-layout-design-title"},React.createElement("span",{className:"gb-layout-collection-label"},e.context.collections[e.collectionSlug].label))))))))}var M_=wp.i18n.__,v_=wp.components.ButtonGroup;function L_(e){var t,n,r,o,i,s,l,c=(n=b_((t={view:"collections",collection:null}).view),r=io()(n,2),o=r[0],i=r[1],s=b_(t.collection),l=io()(s,2),{currentView:o,setCurrentView:i,currentCollection:l[0],setCurrentCollection:l[1]});function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"layouts",n=[];for(var r in e.context[t]){var a=e.context[t][r];a.hasOwnProperty("collection")&&c.currentCollection===a.collection.slug&&n.push(React.createElement(l_,{key:a.key,itemKey:a.key,name:a.name,image:a.image,import:f_,content:a.content,context:e.context,clientId:e.clientId}))}return 0===n.length?"":React.createElement(React.Fragment,null,React.createElement("h3",{className:"gb-collection-type-title"},"layouts"===t?M_("Page Layouts","genesis-blocks"):"sections"===t?M_("Page Sections","genesis-blocks"):void 0),React.createElement(v_,{className:"gb-layout-choices","aria-label":M_("Layout Options in this Collection","genesis-blocks")},n))}return React.createElement("div",{className:"gb-collections"},React.createElement("div",{className:"gb-collections-header"},React.createElement("div",{className:"gb-collections-header-left"},"collection"!==c.currentView?"":React.createElement("div",{className:"gb-collections-view-all-container"},React.createElement("button",{className:"gb-collections-view-all-link",onClick:function(){c.setCurrentView("collections")}},React.createElement("span",{className:"dashicons dashicons-arrow-left-alt"}),M_("View All Collections ","genesis-blocks"))),"collections"===c.currentView?React.createElement("h2",{className:"gb-collection-title"},M_("Collections ","genesis-blocks")):"collection"===c.currentView?React.createElement("h2",{className:"gb-collection-title"},M_("Browsing ","genesis-blocks")+e.context.collections[c.currentCollection].label):void 0),React.createElement("a",{target:"_blank",rel:"noreferrer",href:"https://developer.wpengine.com/genesis-blocks/layouts-block/#collections",tabIndex:"0",className:"gb-collections-link"},React.createElement("span",{className:"dashicons dashicons-info"}),M_("Learn about Collections","genesis-blocks"))),React.createElement("div",{className:"gb-collections-body"},function(t){if("collections"!==c.currentView)return"";var n=[];for(var r in t)n.push(React.createElement(k_,a()({key:r,collectionSlug:r,collectionsView:c},e)));return React.createElement(v_,{className:"gb-layout-choices","aria-label":M_("Collections Available","genesis-blocks")},n)}(e.context.collections),"collection"!==c.currentView?"":React.createElement(React.Fragment,null,u("sections"),u("layouts"))))}function Y_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var w_=wp.compose.compose,T_=wp.blocks.rawHandler,D_=wp.data,R_=D_.withSelect,S_=D_.withDispatch,x_=wp.element,E_=x_.Component,C_=x_.Fragment,j_=function(e){m()(n,e);var t=Y_(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"layoutTabContent",value:function(){return"gb-layout-tab-reusable-blocks"===this.props.currentTab?React.createElement(h_,this.props):"gb-layout-tab-collections"===this.props.currentTab?React.createElement(L_,this.props):React.createElement(l_,this.props)}},{key:"render",value:function(){return React.createElement(C_,null,this.layoutTabContent())}}]),n}(E_),P_=w_(R_((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,a=e("core/editor").canUserUseUnfilteredHTML;return{block:r(n),canUserUseUnfilteredHTML:a()}})),S_((function(e,t){var n=t.block,r=t.canUserUseUnfilteredHTML;return{import:function(t){return e("core/block-editor").replaceBlocks(n.clientId,T_({HTML:t,mode:"BLOCKS",canUserUseUnfilteredHTML:r}))}}})))(j_),H_=n(16),O_=n.n(H_),A_=n(33),z_=n.n(A_),N_=n(41),B_=n.n(N_);function F_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var W_=wp.apiFetch,I_=Object(Bn.createContext)({favorites:"",favoriteKeys:"",layouts:"",sections:"",all:"",reusableBlocks:"",collections:""}),U_=function(e){m()(r,e);var t,n=F_(r);function r(){var e;l()(this,r);for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return e=n.call.apply(n,[this].concat(a)),i()(B_()(e),"state",{favorites:"",favoriteKeys:"",layouts:"",sections:"",all:"",reusableBlocks:"",collections:""}),e}return u()(r,[{key:"getFavoriteKeys",value:function(){return W_({path:"/genesisblocks/v1/layouts/favorites",method:"GET"}).then((function(e){return e})).catch((function(e){return console.error(e)}))}},{key:"getFavorites",value:function(){var e=this;return W_({path:"/genesisblocks/v1/layouts/favorites",method:"GET"}).then((function(t){var n=[];return Object.values(e.state.all).forEach((function(e){t.includes(e.key)&&n.push(e)})),n})).catch((function(e){return console.error(e)}))}},{key:"addFavorite",value:function(e){return W_({path:"/genesisblocks/v1/layouts/favorites",method:"PATCH",body:JSON.stringify({genesis_blocks_favorite_key:e}),_wpnonce:wpApiSettings.nonce}).then((function(e){return e})).catch((function(e){return console.error(e)}))}},{key:"removeFavorite",value:function(e){return W_({path:"/genesisblocks/v1/layouts/favorites",method:"DELETE",body:JSON.stringify({genesis_blocks_favorite_key:e}),_wpnonce:wpApiSettings.nonce}).then((function(e){return e})).catch((function(e){return console.error(e)}))}},{key:"componentDidMount",value:(t=z_()(O_.a.mark((function e(){var t,n=this;return O_.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getFavoriteKeys();case 2:t=e.sent,wp.apiFetch({method:"GET",path:"/genesisblocks/v1/layouts/all?filter=allowed"}).then(function(){var e=z_()(O_.a.mark((function e(r){var a,o,i,s,l;return O_.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=[],o=[],i=[],s=[],l=[],Object.values(r).forEach((function(e){"layout"===e.type&&a.push(e),"section"===e.type&&o.push(e),"wp_block"===e.type&&i.push(e),e.hasOwnProperty("collection")&&(l.hasOwnProperty(e.collection.slug)||(l[e.collection.slug]=[],e.collection.image=e.image,l[e.collection.slug]=e.collection)),t.includes(e.key)&&s.push(e)})),n.setState({all:r,layouts:a,sections:o,favorites:s,favoriteKeys:t,reusableBlocks:i,collections:l});case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"render",value:function(){var e,t=this;return this.state.all?Fn.a.createElement(I_.Provider,{value:{favorites:this.state.favorites,favoriteKeys:this.state.favoriteKeys,layouts:this.state.layouts,sections:this.state.sections,all:this.state.all,reusableBlocks:this.state.reusableBlocks,collections:this.state.collections,toggleFavorite:(e=z_()(O_.a.mark((function e(n){var r,a;return O_.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getFavoriteKeys();case 2:if(!(r=e.sent).includes(n)){e.next=9;break}return e.next=6,t.removeFavorite(n);case 6:r=e.sent,e.next=12;break;case 9:return e.next=11,t.addFavorite(n);case 11:r=e.sent;case 12:return e.next=14,t.getFavorites();case 14:return a=e.sent,t.setState({favorites:a,favoriteKeys:r}),e.abrupt("return",a);case 17:case"end":return e.stop()}}),e)}))),function(t){return e.apply(this,arguments)})}},this.props.children):null}}]),r}(Bn.Component);function J_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var V_=wp.i18n.__,G_=wp.url.addQueryArgs,q_=wp.element,$_=q_.Component,K_=q_.Fragment,Z_=wp.components,Q_=Z_.ButtonGroup,X_=Z_.TextControl,eh=Z_.SelectControl,th=function(e){m()(n,e);var t=J_(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).state={category:"all",search:void 0,activeView:"grid"},e}return u()(n,[{key:"getLayoutArray",value:function(){var e=[];switch(this.props.currentTab){case"gb-layout-tab-layouts":e=this.props.context.layouts;break;case"gb-layout-tab-sections":e=this.props.context.sections;break;case"gb-layout-tab-favorites":e=this.props.context.favorites;break;case"gb-layout-tab-reusable-blocks":e=this.props.context.reusableBlocks;break;case"gb-layout-tab-collections":e=this.props.context.collections}return e}},{key:"render",value:function(){var e=this,t=this.getLayoutArray(),n=["all"];if("gb-layout-tab-collections"!==this.props.currentTab)for(var r=0;r<t.length;r++)for(var o=0;o<t[r].category.length;o++)n.includes(t[r].category[o])||n.push(t[r].category[o]);var i=n.map((function(e){return{value:e,label:e.charAt(0).toUpperCase()+e.slice(1)}})),s=this.props.data;return"gb-layout-tab-collections"===this.props.currentTab?React.createElement(L_,a()({key:this.props.data.key},this.props)):React.createElement(K_,{key:"layout-library-fragment-"+this.props.clientId},"gb-layout-tab-reusable-blocks"!==this.props.currentTab?React.createElement(K_,null,React.createElement("div",{className:"gb-layout-modal-header"},React.createElement(eh,{key:"layout-library-select-categories-"+this.props.clientId,label:V_("Layout Categories","genesis-blocks"),value:this.state.category,options:i,onChange:function(t){return e.setState({category:t})}}),React.createElement(X_,{key:"layout-library-search-layouts-"+this.props.clientId,type:"text",value:this.state.search,placeholder:V_("Search Layouts","genesis-blocks"),onChange:function(t){return e.setState({search:t})}}))):React.createElement(K_,null,React.createElement("div",{className:"gb-layout-modal-header gb-layout-modal-header-reusable"},React.createElement("div",null,V_("Reusable Blocks","genesis-blocks")),React.createElement("div",{className:"gb-layout-modal-header-reusable-actions"},React.createElement("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:G_("edit.php",{post_type:"wp_block"}),target:"_blank",rel:"noopener noreferrer"},V_("Manage All Reusable Blocks","genesis-blocks"))))),React.createElement(I_.Consumer,null,(function(t){return React.createElement(Q_,{key:"layout-library-context-button-group-"+e.props.clientId,className:b()("gb-layout-choices","current-tab-"+e.props.currentTab,"full"===e.state.activeView?"gb-layout-view-full":null),"aria-label":V_("Layout Options","genesis-blocks")},po()(s,(function(n){var r=n.name,a=n.key,o=n.image,i=n.content,s=n.category,l=n.keywords;if(("all"===e.state.category||s.includes(e.state.category))&&(!e.state.search||l&&l.some((function(t){return t.toLowerCase().includes(e.state.search.toLowerCase())}))))return React.createElement(P_,{key:"layout-library-item-"+a,name:r,itemKey:a,image:o,content:i,context:t,clientId:e.props.clientId,currentTab:e.props.currentTab})})))})))}}]),n}($_),nh=wp.i18n.__,rh=wp.element,ah=rh.Fragment,oh=rh.useState,ih=wp.components,sh=ih.Button,lh=ih.Dashicon,ch=ih.Modal,uh=ih.TabPanel,dh=wp.data.useDispatch;var mh=function(e){var t=oh("gb-layout-tab-sections"),n=io()(t,2),r=n[0],a=n[1],o=oh(!0),i=io()(o,2),s=i[0],l=i[1],c=dh("core/block-editor").removeBlock,u=[];return e.context.sections.length>0&&u.push({name:"gb-layout-tab-sections",title:nh("Sections","genesis-blocks"),className:"gb-layout-tab-sections"}),e.context.layouts.length>0&&u.push({name:"gb-layout-tab-layouts",title:nh("Layouts","genesis-blocks"),className:"gb-layout-tab-layouts"}),Object.keys(e.context.collections).length>0&&u.push({name:"gb-layout-tab-collections",title:nh("Collections","genesis-blocks"),className:"gb-layout-tab-collections"}),u.push({name:"gb-layout-tab-favorites",title:nh("Favorites","genesis-blocks"),className:"gb-layout-tab-favorites"}),e.context.reusableBlocks.length&&u.push({name:"gb-layout-tab-reusable-blocks",title:nh("Reusable Blocks","genesis-blocks"),className:"gb-layout-tab-reusable-blocks"}),React.createElement(ah,{key:"layout-modal-fragment-"+e.clientId},React.createElement(sh,{key:"layout-modal-library-button-"+e.clientId,isPrimary:!0,className:"gb-layout-modal-button",onClick:function(){l(!0)}},nh("Layout Library","genesis-blocks")),s?React.createElement(ch,{key:"layout-modal-modal-component-"+e.clientId,className:"gb-layout-modal",title:nh("Layout Selector","genesis-blocks"),onRequestClose:function(){l(!1),a(null),c(e.clientId)}},genesis_blocks_globals.pro_activated&&React.createElement("div",{className:"gb-layout-modal-footer"},React.createElement(lh,{icon:"editor-help"}),React.createElement("a",{href:"https://developer.wpengine.com/genesis-pro/genesis-page-builder/layouts-block/",target:"_blank",rel:"noopener noreferrer"},nh("Add Custom Layouts","genesis-blocks")),React.createElement("span",null,"·"),React.createElement("a",{href:"https://developer.wpengine.com/genesis-pro/genesis-page-builder/reusable-blocks/",target:"_blank",rel:"noopener noreferrer"},nh("Reusable Blocks","genesis-blocks")),React.createElement("a",{href:"https://www.research.net/r/XFQYFPP",target:"_blank",rel:"noopener noreferrer",className:"gb-pro-feedback"},React.createElement(lh,{icon:"admin-comments"})," ",nh("Send Feedback","genesis-blocks"))),React.createElement(uh,{key:"layout-modal-tabpanel-"+e.clientId,className:"gb-layout-modal-panel",activeClass:"gb-layout-modal-active-tab",onSelect:function(e){return a(e)},tabs:u},(function(t){var n=nh("Default tab content","genesis-blocks");if(t.name){if("gb-layout-tab-sections"===t.name)return[React.createElement(th,{key:"layout-library-sections-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.sections,context:e.context})];if("gb-layout-tab-layouts"===t.name)return[React.createElement(th,{key:"layout-library-layouts-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.layouts,context:e.context})];if("gb-layout-tab-collections"===t.name)return[React.createElement(th,{key:"layout-library-collections-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.collections,context:e.context})];if("gb-layout-tab-favorites"===t.name)return[React.createElement(th,{key:"layout-library-favorites-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.favorites,context:e.context})];if("gb-layout-tab-reusable-blocks"===t.name)return[React.createElement(th,{key:"layout-library-reusable-blocks-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.reusableBlocks,context:e.context})]}return React.createElement("div",null,n)}))):null)};function ph(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var _h=wp.i18n.__,hh=wp.components.Placeholder,gh=wp.element,fh=gh.Component,bh=gh.Fragment,yh=wp.blockEditor,kh=yh.BlockControls,Mh=yh.BlockAlignmentToolbar,vh=function(e){m()(n,e);var t=ph(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.clientId;return[React.createElement(bh,{key:this.props.clientId},React.createElement(kh,{key:"controls"},React.createElement(Mh,{value:t.align,onChange:function(e){return n({align:e})},controls:[]})),React.createElement(hh,{key:"placeholder",label:_h("Layout Selector","genesis-blocks"),instructions:_h("Launch the layout library to browse pre-designed sections.","genesis-blocks"),className:"gb-layout-selector-placeholder",icon:"layout"},React.createElement(I_.Consumer,{key:"layouts-context-provider-"+this.props.clientId},(function(e){return React.createElement(mh,{clientId:r,context:e})}))))]}}]),n}(fh),Lh=(n(355),n(356),wp.i18n.__);(0,wp.blocks.registerBlockType)("genesis-blocks/gb-layouts",{title:Lh("Layouts","genesis-blocks"),description:Lh("Add a pre-defined section or layout to posts and pages.","genesis-blocks"),icon:"layout",category:"genesis-blocks",keywords:[Lh("layout","genesis-blocks"),Lh("column","genesis-blocks"),Lh("section","genesis-blocks")],edit:function(e){return React.createElement(U_,null,React.createElement(vh,e))},save:function(){return null}});var Yh=!1;function wh(){var e=wp.blocks.createBlock("genesis-blocks/gb-layouts");wp.data.dispatch("core/block-editor").insertBlocks(e)}wp.data.subscribe((function(){!function(){if(Yh)return;var e=document.querySelector(".edit-post-header__toolbar");if(!e)return;var t=document.createElement("div"),n='<div class="gb-toolbar-insert-layout">';n+='<button id="gbLayoutInsertButton" class="components-button components-icon-button" aria-label="'.concat(Lh("Insert Layout","genesis-blocks"),'"><i class="dashicons dashicons-layout gb-toolbar-insert-layout-button"></i> ').concat(Lh("Layouts","genesis-blocks"),"</button>"),n+="</div>",t.innerHTML=n,e.appendChild(t);var r=document.querySelector(".components-accessible-toolbar.edit-post-header-toolbar");r&&(r.style.flexGrow=0);document.getElementById("gbLayoutInsertButton").addEventListener("click",wh),Yh=!0}()}));n(357),n(358)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){},,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){}]);
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var i=a.apply(null,r);i&&e.push(i)}else if("object"===o)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function a(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function m(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function _(e,t,n,r){return Yt(e,t,n,r,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=h(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function f(e){var t=_(NaN);return null!=e?p(h(t),e):h(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=a.momentProperties=[],y=!1;function k(e,t){var n,r,a;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=h(t)),c(t._locale)||(e._locale=t._locale),b.length>0)for(n=0;n<b.length;n++)c(a=t[r=b[n]])||(e[r]=a);return e}function M(e){k(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,a.updateOffset(this),y=!1)}function v(e){return e instanceof M||null!=e&&null!=e._isAMomentObject}function L(e){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function w(e,t){var n=!0;return p((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var r,o,i,l=[];for(o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(i in r+="\n["+o+"] ",arguments[0])s(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[o];l.push(r)}L(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var Y,T={};function D(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),T[e]||(L(t),T[e]=!0)}function R(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e,t){var n,r=p({},e);for(n in t)s(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&i(e[n])&&(r[n]=p({},r[n]));return r}function x(e){null!=e&&this.set(e)}function E(e,t,n){var r=""+Math.abs(e),a=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,Y=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var C=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},H={};function O(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(H[e]=a),t&&(H[t[0]]=function(){return E(a.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function z(e,t){return e.isValid()?(t=A(t,e.localeData()),P[t]=P[t]||function(e){var t,n,r,a=e.match(C);for(t=0,n=a.length;t<n;t++)H[a[t]]?a[t]=H[a[t]]:a[t]=(r=a[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=R(a[r])?a[r].call(t,e):a[r];return o}}(t),P[t](e)):e.localeData().invalidDate()}function A(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(j.lastIndex=0;n>=0&&j.test(e);)e=e.replace(j,r),j.lastIndex=0,n-=1;return e}var B={};function N(e,t){var n=e.toLowerCase();B[n]=B[n+"s"]=B[t]=e}function F(e){return"string"==typeof e?B[e]||B[e.toLowerCase()]:void 0}function W(e){var t,n,r={};for(n in e)s(e,n)&&(t=F(n))&&(r[t]=e[n]);return r}var I={};function U(e,t){I[e]=t}function V(e){return e%4==0&&e%100!=0||e%400==0}function J(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=J(t)),n}function q(e,t){return function(n){return null!=n?(K(this,e,n),a.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&V(e.year())&&1===e.month()&&29===e.date()?(n=G(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ve(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z,Q=/\d/,X=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ae=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,me=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function _e(e,t,n){Z[e]=R(t)?t:function(e,r){return e&&n?n:t}}function he(e,t){return s(Z,e)?Z[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Z={};var fe,be={};function ye(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=G(e)}),n=0;n<e.length;n++)be[e[n]]=r}function ke(e,t){ye(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function Me(e,t,n){null!=t&&s(be,e)&&be[e](t,n._a,n,e)}function ve(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?V(e)?29:28:31-r%7%2}fe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},O("M",["MM",2],"Mo",(function(){return this.month()+1})),O("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),O("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),N("month","M"),U("month",8),_e("M",re),_e("MM",re,X),_e("MMM",(function(e,t){return t.monthsShortRegex(e)})),_e("MMMM",(function(e,t){return t.monthsRegex(e)})),ye(["M","MM"],(function(e,t){t[1]=G(e)-1})),ye(["MMM","MMMM"],(function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[1]=a:h(n).invalidMonth=e}));var Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),we="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ye=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Te=pe,De=pe;function Re(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=_([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=fe.call(this._shortMonthsParse,i))?a:null:-1!==(a=fe.call(this._longMonthsParse,i))?a:null:"MMM"===t?-1!==(a=fe.call(this._shortMonthsParse,i))||-1!==(a=fe.call(this._longMonthsParse,i))?a:null:-1!==(a=fe.call(this._longMonthsParse,i))||-1!==(a=fe.call(this._shortMonthsParse,i))?a:null}function Se(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=G(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),ve(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function xe(e){return null!=e?(Se(this,e),a.updateOffset(this,!0),this):$(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}var t,n,r=[],a=[],o=[];for(t=0;t<12;t++)n=_([2e3,t]),r.push(this.monthsShort(n,"")),a.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),a.sort(e),o.sort(e),t=0;t<12;t++)r[t]=ge(r[t]),a[t]=ge(a[t]);for(t=0;t<24;t++)o[t]=ge(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ce(e){return V(e)?366:365}O("Y",0,0,(function(){var e=this.year();return e<=9999?E(e,4):"+"+e})),O(0,["YY",2],0,(function(){return this.year()%100})),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),N("year","y"),U("year",1),_e("Y",ue),_e("YY",re,X),_e("YYYY",se,te),_e("YYYYY",le,ne),_e("YYYYYY",le,ne),ye(["YYYYY","YYYYYY"],0),ye("YYYY",(function(e,t){t[0]=2===e.length?a.parseTwoDigitYear(e):G(e)})),ye("YY",(function(e,t){t[0]=a.parseTwoDigitYear(e)})),ye("Y",(function(e,t){t[0]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return G(e)+(G(e)>68?1900:2e3)};var je=q("FullYear",!0);function Pe(e,t,n,r,a,o,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,o,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,o,i),s}function He(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Oe(e,t,n){var r=7+t-n;return-(7+He(e,0,r).getUTCDay()-t)%7+r-1}function ze(e,t,n,r,a){var o,i,s=1+7*(t-1)+(7+n-r)%7+Oe(e,r,a);return s<=0?i=Ce(o=e-1)+s:s>Ce(e)?(o=e+1,i=s-Ce(e)):(o=e,i=s),{year:o,dayOfYear:i}}function Ae(e,t,n){var r,a,o=Oe(e.year(),t,n),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?r=i+Be(a=e.year()-1,t,n):i>Be(e.year(),t,n)?(r=i-Be(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function Be(e,t,n){var r=Oe(e,t,n),a=Oe(e+1,t,n);return(Ce(e)-r+a)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),U("week",5),U("isoWeek",5),_e("w",re),_e("ww",re,X),_e("W",re),_e("WW",re,X),ke(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=G(e)})),O("d",0,"do","day"),O("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),O("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),O("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),_e("d",re),_e("e",re),_e("E",re),_e("dd",(function(e,t){return t.weekdaysMinRegex(e)})),_e("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),_e("dddd",(function(e,t){return t.weekdaysRegex(e)})),ke(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:h(n).invalidWeekday=e})),ke(["d","e","E"],(function(e,t,n,r){t[r]=G(e)}));var Fe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),We="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ie="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=pe,Ve=pe,Je=pe;function Ge(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=_([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=fe.call(this._weekdaysParse,i))?a:null:"ddd"===t?-1!==(a=fe.call(this._shortWeekdaysParse,i))?a:null:-1!==(a=fe.call(this._minWeekdaysParse,i))?a:null:"dddd"===t?-1!==(a=fe.call(this._weekdaysParse,i))||-1!==(a=fe.call(this._shortWeekdaysParse,i))||-1!==(a=fe.call(this._minWeekdaysParse,i))?a:null:"ddd"===t?-1!==(a=fe.call(this._shortWeekdaysParse,i))||-1!==(a=fe.call(this._weekdaysParse,i))||-1!==(a=fe.call(this._minWeekdaysParse,i))?a:null:-1!==(a=fe.call(this._minWeekdaysParse,i))||-1!==(a=fe.call(this._weekdaysParse,i))||-1!==(a=fe.call(this._shortWeekdaysParse,i))?a:null}function qe(){function e(e,t){return t.length-e.length}var t,n,r,a,o,i=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=_([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),a=ge(this.weekdaysShort(n,"")),o=ge(this.weekdays(n,"")),i.push(r),s.push(a),l.push(o),c.push(r),c.push(a),c.push(o);i.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function $e(){return this.hours()%12||12}function Ke(e,t){O(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}O("H",["HH",2],0,"hour"),O("h",["hh",2],0,$e),O("k",["kk",2],0,(function(){return this.hours()||24})),O("hmm",0,0,(function(){return""+$e.apply(this)+E(this.minutes(),2)})),O("hmmss",0,0,(function(){return""+$e.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)})),O("Hmm",0,0,(function(){return""+this.hours()+E(this.minutes(),2)})),O("Hmmss",0,0,(function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),N("hour","h"),U("hour",13),_e("a",Ze),_e("A",Ze),_e("H",re),_e("h",re),_e("k",re),_e("HH",re,X),_e("hh",re,X),_e("kk",re,X),_e("hmm",ae),_e("hmmss",oe),_e("Hmm",ae),_e("Hmmss",oe),ye(["H","HH"],3),ye(["k","kk"],(function(e,t,n){var r=G(e);t[3]=24===r?0:r})),ye(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ye(["h","hh"],(function(e,t,n){t[3]=G(e),h(n).bigHour=!0})),ye("hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r)),h(n).bigHour=!0})),ye("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(a)),h(n).bigHour=!0})),ye("Hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r))})),ye("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(a))}));var Qe,Xe=q("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Le,monthsShort:we,week:{dow:0,doy:6},weekdays:Fe,weekdaysMin:Ie,weekdaysShort:We,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function at(e){return e?e.toLowerCase().replace("_","-"):e}function ot(t){var r=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports)try{r=Qe._abbr,n(205)("./"+t),it(r)}catch(e){tt[t]=null}return tt[t]}function it(e,t){var n;return e&&((n=c(t)?lt(e):st(e,t))?Qe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Qe._abbr}function st(e,t){if(null!==t){var n,r=et;if(t.abbr=e,null!=tt[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])r=tt[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return tt[e]=new x(S(r,t)),nt[e]&&nt[e].forEach((function(e){st(e.name,e.config)})),it(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Qe;if(!o(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,r,a,o=0;o<e.length;){for(t=(a=at(e[o]).split("-")).length,n=(n=at(e[o+1]))?n.split("-"):null;t>0;){if(r=ot(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(a,n)>=t-1)break;t--}o++}return Qe}(e)}function ct(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ve(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ht=/^\/?Date\((-?\d+)/i,gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ft={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bt(e){var t,n,r,a,o,i,s=e._i,l=ut.exec(s)||dt.exec(s);if(l){for(h(e).iso=!0,t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[1])){a=pt[t][0],r=!1!==pt[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[3])){o=(l[2]||" ")+_t[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!mt.exec(l[4]))return void(e._isValid=!1);i="Z"}e._f=a+(o||"")+(i||""),Lt(e)}else e._isValid=!1}function yt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function kt(e){var t,n,r,a,o,i,s,l,c=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],r=c[3],a=c[2],o=c[5],i=c[6],s=c[7],l=[yt(n),we.indexOf(r),parseInt(a,10),parseInt(o,10),parseInt(i,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||We.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return ft[e];if(t)return 0;var r=parseInt(n,10),a=r%100;return(r-a)/100*60+a}(c[8],c[9],c[10]),e._d=He.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function vt(e){var t,n,r,o,i,s=[];if(!e._d){for(r=function(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,a,o,i,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,i=4,n=Mt(t.GG,e._a[0],Ae(Tt(),1,4).year),r=Mt(t.W,1),((a=Mt(t.E,1))<1||a>7)&&(l=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,c=Ae(Tt(),o,i),n=Mt(t.gg,e._a[0],c.year),r=Mt(t.w,c.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(l=!0)):a=o),r<1||r>Be(n,o,i)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=ze(n,r,a,o,i),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(i=Mt(e._a[0],r[0]),(e._dayOfYear>Ce(i)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=He(i,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?He:Pe).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(h(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],h(e).empty=!0;var t,n,r,o,i,s,l=""+e._i,c=l.length,u=0;for(r=A(e._f,e._locale).match(C)||[],t=0;t<r.length;t++)o=r[t],(n=(l.match(he(o,e))||[])[0])&&((i=l.substr(0,l.indexOf(n))).length>0&&h(e).unusedInput.push(i),l=l.slice(l.indexOf(n)+n.length),u+=n.length),H[o]?(n?h(e).empty=!1:h(e).unusedTokens.push(o),Me(o,n,e)):e._strict&&!n&&h(e).unusedTokens.push(o);h(e).charsLeftOver=c-u,l.length>0&&h(e).unusedInput.push(l),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=h(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),vt(e),ct(e)}else kt(e);else bt(e)}function wt(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new M(ct(t)):(d(t)?e._d=t:o(n)?function(e){var t,n,r,a,o,i,s=!1;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<e._f.length;a++)o=0,i=!1,t=k({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Lt(t),g(t)&&(i=!0),o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||i)&&(r=o,n=t,i&&(s=!0));p(e,n||t)}(e):n?Lt(e):function(e){var t=e._i;c(t)?e._d=new Date(a.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=ht.exec(e._i);null===t?(bt(e),!1===e._isValid&&(delete e._isValid,kt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=m(t.slice(0),(function(e){return parseInt(e,10)})),vt(e)):i(t)?function(e){if(!e._d){var t=W(e._i),n=void 0===t.day?t.date:t.day;e._a=m([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),vt(e)}}(e):u(t)?e._d=new Date(t):a.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function Yt(e,t,n,r,a){var s,c={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new M(ct(wt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Tt(e,t,n,r){return Yt(e,t,n,r,!1)}a.createFromInputFallback=w("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Dt=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()})),Rt=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()}));function St(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var xt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Et(e){var t=W(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,i=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(s(e,t)&&(-1===fe.call(xt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<xt.length;++n)if(e[xt[n]]){if(r)return!1;parseFloat(e[xt[n]])!==G(e[xt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+d+1e3*u+6e4*c+1e3*l*60*60,this._days=+i+7*o,this._months=+a+3*r+12*n,this._data={},this._locale=lt(),this._bubble()}function Ct(e){return e instanceof Et}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Pt(e,t){O(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+E(~~(e/60),2)+t+E(~~e%60,2)}))}Pt("Z",":"),Pt("ZZ",""),_e("Z",me),_e("ZZ",me),ye(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Ot(me,e)}));var Ht=/([\+\-]|\d\d)/gi;function Ot(e,t){var n,r,a=(t||"").match(e);return null===a?null:0===(r=60*(n=((a[a.length-1]||[])+"").match(Ht)||["-",0,0])[1]+G(n[2]))?0:"+"===n[0]?r:-r}function zt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(v(e)||d(e)?e.valueOf():Tt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),a.updateOffset(n,!1),n):Tt(e).local()}function At(e){return-Math.round(e._d.getTimezoneOffset())}function Bt(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Nt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ft=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wt(e,t){var n,r,a,o,i,l,c=e,d=null;return Ct(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(d=Nt.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:G(d[2])*n,h:G(d[3])*n,m:G(d[4])*n,s:G(d[5])*n,ms:G(jt(1e3*d[6]))*n}):(d=Ft.exec(e))?(n="-"===d[1]?-1:1,c={y:It(d[2],n),M:It(d[3],n),w:It(d[4],n),d:It(d[5],n),h:It(d[6],n),m:It(d[7],n),s:It(d[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=Tt(c.from),i=Tt(c.to),a=o.isValid()&&i.isValid()?(i=zt(i,o),o.isBefore(i)?l=Ut(o,i):((l=Ut(i,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=a.milliseconds,c.M=a.months),r=new Et(c),Ct(e)&&s(e,"_locale")&&(r._locale=e._locale),Ct(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function It(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(e,t){return function(n,r){var a;return null===r||isNaN(+r)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),Jt(this,Wt(n,r),e),this}}function Jt(e,t,n,r){var o=t._milliseconds,i=jt(t._days),s=jt(t._months);e.isValid()&&(r=null==r||r,s&&Se(e,$(e,"Month")+s*n),i&&K(e,"Date",$(e,"Date")+i*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&a.updateOffset(e,i||s))}Wt.fn=Et.prototype,Wt.invalid=function(){return Wt(NaN)};var Gt=Vt(1,"add"),qt=Vt(-1,"subtract");function $t(e){return"string"==typeof e||e instanceof String}function Kt(e){return v(e)||d(e)||$t(e)||u(e)||function(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&$t(e)})).length),t&&n}(e)||function(e){var t,n,r=i(e)&&!l(e),a=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)n=o[t],a=a||s(e,n);return r&&a}(e)||null==e}function Zt(e){var t,n=i(e)&&!l(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)r=r||s(e,a[t]);return n&&r}function Qt(e,t){if(e.date()<t.date())return-Qt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Xt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var en=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function tn(){return this._locale}function nn(e,t){return(e%t+t)%t}function rn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],r=[],a=[],o=[],i=this.eras();for(e=0,t=i.length;e<t;++e)r.push(ge(i[e].name)),n.push(ge(i[e].abbr)),a.push(ge(i[e].narrow)),o.push(ge(i[e].name)),o.push(ge(i[e].abbr)),o.push(ge(i[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function ln(e,t){O(0,[e,e.length],0,t)}function cn(e,t,n,r,a){var o;return null==e?Ae(this,r,a).year:(t>(o=Be(e,r,a))&&(t=o),un.call(this,e,t,n,r,a))}function un(e,t,n,r,a){var o=ze(e,t,n,r,a),i=He(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}O("N",0,0,"eraAbbr"),O("NN",0,0,"eraAbbr"),O("NNN",0,0,"eraAbbr"),O("NNNN",0,0,"eraName"),O("NNNNN",0,0,"eraNarrow"),O("y",["y",1],"yo","eraYear"),O("y",["yy",2],0,"eraYear"),O("y",["yyy",3],0,"eraYear"),O("y",["yyyy",4],0,"eraYear"),_e("N",on),_e("NN",on),_e("NNN",on),_e("NNNN",(function(e,t){return t.erasNameRegex(e)})),_e("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ye(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?h(n).era=a:h(n).invalidEra=e})),_e("y",ce),_e("yy",ce),_e("yyy",ce),_e("yyyy",ce),_e("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),ye(["y","yy","yyy","yyyy"],0),ye(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,a):t[0]=parseInt(e,10)})),O(0,["gg",2],0,(function(){return this.weekYear()%100})),O(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),_e("G",ue),_e("g",ue),_e("GG",re,X),_e("gg",re,X),_e("GGGG",se,te),_e("gggg",se,te),_e("GGGGG",le,ne),_e("ggggg",le,ne),ke(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=G(e)})),ke(["gg","GG"],(function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)})),O("Q",0,"Qo","quarter"),N("quarter","Q"),U("quarter",7),_e("Q",Q),ye("Q",(function(e,t){t[1]=3*(G(e)-1)})),O("D",["DD",2],"Do","date"),N("date","D"),U("date",9),_e("D",re),_e("DD",re,X),_e("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ye(["D","DD"],2),ye("Do",(function(e,t){t[2]=G(e.match(re)[0])}));var dn=q("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),U("dayOfYear",4),_e("DDD",ie),_e("DDDD",ee),ye(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=G(e)})),O("m",["mm",2],0,"minute"),N("minute","m"),U("minute",14),_e("m",re),_e("mm",re,X),ye(["m","mm"],4);var mn=q("Minutes",!1);O("s",["ss",2],0,"second"),N("second","s"),U("second",15),_e("s",re),_e("ss",re,X),ye(["s","ss"],5);var pn,_n,hn=q("Seconds",!1);for(O("S",0,0,(function(){return~~(this.millisecond()/100)})),O(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),O(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),O(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),O(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),O(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),O(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),N("millisecond","ms"),U("millisecond",16),_e("S",ie,Q),_e("SS",ie,X),_e("SSS",ie,ee),pn="SSSS";pn.length<=9;pn+="S")_e(pn,ce);function gn(e,t){t[6]=G(1e3*("0."+e))}for(pn="S";pn.length<=9;pn+="S")ye(pn,gn);_n=q("Milliseconds",!1),O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");var fn=M.prototype;function bn(e){return e}fn.add=Gt,fn.calendar=function(e,t){1===arguments.length&&(Kt(arguments[0])?(e=arguments[0],t=void 0):Zt(arguments[0])&&(t=arguments[0],e=void 0));var n=e||Tt(),r=zt(n,this).startOf("day"),o=a.calendarFormat(this,r)||"sameElse",i=t&&(R(t[o])?t[o].call(this,n):t[o]);return this.format(i||this.localeData().calendar(o,this,Tt(n)))},fn.clone=function(){return new M(this)},fn.diff=function(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(!(r=zt(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=F(t)){case"year":o=Qt(this,r)/12;break;case"month":o=Qt(this,r);break;case"quarter":o=Qt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:J(o)},fn.endOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),a.updateOffset(this,!0),this},fn.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=z(this,e);return this.localeData().postformat(t)},fn.from=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||Tt(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.fromNow=function(e){return this.from(Tt(),e)},fn.to=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||Tt(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.toNow=function(e){return this.to(Tt(),e)},fn.get=function(e){return R(this[e=F(e)])?this[e]():this},fn.invalidAt=function(){return h(this).overflow},fn.isAfter=function(e,t){var n=v(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},fn.isBefore=function(e,t){var n=v(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},fn.isBetween=function(e,t,n,r){var a=v(e)?e:Tt(e),o=v(t)?t:Tt(t);return!!(this.isValid()&&a.isValid()&&o.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))},fn.isSame=function(e,t){var n,r=v(e)?e:Tt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},fn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},fn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},fn.isValid=function(){return g(this)},fn.lang=en,fn.locale=Xt,fn.localeData=tn,fn.max=Rt,fn.min=Dt,fn.parsingFlags=function(){return p({},h(this))},fn.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:I[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=W(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(R(this[e=F(e)]))return this[e](t);return this},fn.startOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}return this._d.setTime(t),a.updateOffset(this,!0),this},fn.subtract=qt,fn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},fn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},fn.toDate=function(){return new Date(this.valueOf())},fn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?z(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):R(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",z(n,"Z")):z(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(fn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),fn.toJSON=function(){return this.isValid()?this.toISOString():null},fn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fn.unix=function(){return Math.floor(this.valueOf()/1e3)},fn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},fn.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},fn.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},fn.eraYear=function(){var e,t,n,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,r=this.startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-a(o[e].since).year())*n+o[e].offset;return this.year()},fn.year=je,fn.isLeapYear=function(){return V(this.year())},fn.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},fn.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},fn.quarter=fn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},fn.month=xe,fn.daysInMonth=function(){return ve(this.year(),this.month())},fn.week=fn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},fn.isoWeek=fn.isoWeeks=function(e){var t=Ae(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},fn.weeksInYear=function(){var e=this.localeData()._week;return Be(this.year(),e.dow,e.doy)},fn.weeksInWeekYear=function(){var e=this.localeData()._week;return Be(this.weekYear(),e.dow,e.doy)},fn.isoWeeksInYear=function(){return Be(this.year(),1,4)},fn.isoWeeksInISOWeekYear=function(){return Be(this.isoWeekYear(),1,4)},fn.date=dn,fn.day=fn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},fn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},fn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},fn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},fn.hour=fn.hours=Xe,fn.minute=fn.minutes=mn,fn.second=fn.seconds=hn,fn.millisecond=fn.milliseconds=_n,fn.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ot(me,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=At(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Jt(this,Wt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:At(this)},fn.utc=function(e){return this.utcOffset(0,e)},fn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(At(this),"m")),this},fn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ot(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},fn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},fn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fn.isLocal=function(){return!!this.isValid()&&!this._isUTC},fn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fn.isUtc=Bt,fn.isUTC=Bt,fn.zoneAbbr=function(){return this._isUTC?"UTC":""},fn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fn.dates=w("dates accessor is deprecated. Use date instead.",dn),fn.months=w("months accessor is deprecated. Use month instead",xe),fn.years=w("years accessor is deprecated. Use year instead",je),fn.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),fn.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return k(t,this),(t=wt(t))._a?(e=t._isUTC?_(t._a):Tt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),i=0;for(r=0;r<a;r++)(n&&e[r]!==t[r]||!n&&G(e[r])!==G(t[r]))&&i++;return i+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=x.prototype;function kn(e,t,n,r){var a=lt(),o=_().set(r,t);return a[n](o,e)}function Mn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return kn(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=kn(e,r,n,"month");return a}function vn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var a,o=lt(),i=e?o._week.dow:0,s=[];if(null!=n)return kn(t,(n+i)%7,r,"day");for(a=0;a<7;a++)s[a]=kn(t,(a+i)%7,r,"day");return s}yn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return R(r)?r.call(t,n):r},yn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(C).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(e){return this._ordinal.replace("%d",e)},yn.preparse=bn,yn.postformat=bn,yn.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return R(a)?a(e,t,n,r):a.replace(/%d/i,e)},yn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return R(n)?n(t):n.replace(/%s/i,t)},yn.set=function(e){var t,n;for(n in e)s(e,n)&&(R(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(e,t){var n,r,o,i=this._eras||lt("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":o=a(i[n].since).startOf("day"),i[n].since=o.valueOf()}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":o=a(i[n].until).startOf("day").valueOf(),i[n].until=o.valueOf()}}return i},yn.erasParse=function(e,t,n){var r,a,o,i,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(o=l[r].name.toUpperCase(),i=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(i===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([o,i,s].indexOf(e)>=0)return l[r]},yn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},yn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},yn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ye).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},yn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ye.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(e,t,n){var r,a,o;if(this._monthsParseExact)return Re.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=_([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},yn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=De),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Te),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(e){return Ae(e,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ne(n,this._week.dow):e?n[e.day()]:n},yn.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},yn.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},yn.weekdaysParse=function(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Ge.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=_([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},yn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ve),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},yn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=w("moment.lang is deprecated. Use moment.locale instead.",it),a.langData=w("moment.langData is deprecated. Use moment.localeData instead.",lt);var Ln=Math.abs;function wn(e,t,n,r){var a=Wt(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function Yn(e){return e<0?Math.floor(e):Math.ceil(e)}function Tn(e){return 4800*e/146097}function Dn(e){return 146097*e/4800}function Rn(e){return function(){return this.as(e)}}var Sn=Rn("ms"),xn=Rn("s"),En=Rn("m"),Cn=Rn("h"),jn=Rn("d"),Pn=Rn("w"),Hn=Rn("M"),On=Rn("Q"),zn=Rn("y");function An(e){return function(){return this.isValid()?this._data[e]:NaN}}var Bn=An("milliseconds"),Nn=An("seconds"),Fn=An("minutes"),Wn=An("hours"),In=An("days"),Un=An("months"),Vn=An("years"),Jn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qn(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}var $n=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Zn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,o,i,s,l=$n(this._milliseconds)/1e3,c=$n(this._days),u=$n(this._months),d=this.asSeconds();return d?(e=J(l/60),t=J(e/60),l%=60,e%=60,n=J(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",o=Kn(this._months)!==Kn(d)?"-":"",i=Kn(this._days)!==Kn(d)?"-":"",s=Kn(this._milliseconds)!==Kn(d)?"-":"",a+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?i+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var Qn=Et.prototype;return Qn.isValid=function(){return this._isValid},Qn.abs=function(){var e=this._data;return this._milliseconds=Ln(this._milliseconds),this._days=Ln(this._days),this._months=Ln(this._months),e.milliseconds=Ln(e.milliseconds),e.seconds=Ln(e.seconds),e.minutes=Ln(e.minutes),e.hours=Ln(e.hours),e.months=Ln(e.months),e.years=Ln(e.years),this},Qn.add=function(e,t){return wn(this,e,t,1)},Qn.subtract=function(e,t){return wn(this,e,t,-1)},Qn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=F(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Tn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Dn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Qn.asMilliseconds=Sn,Qn.asSeconds=xn,Qn.asMinutes=En,Qn.asHours=Cn,Qn.asDays=jn,Qn.asWeeks=Pn,Qn.asMonths=Hn,Qn.asQuarters=On,Qn.asYears=zn,Qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Qn._bubble=function(){var e,t,n,r,a,o=this._milliseconds,i=this._days,s=this._months,l=this._data;return o>=0&&i>=0&&s>=0||o<=0&&i<=0&&s<=0||(o+=864e5*Yn(Dn(s)+i),i=0,s=0),l.milliseconds=o%1e3,e=J(o/1e3),l.seconds=e%60,t=J(e/60),l.minutes=t%60,n=J(t/60),l.hours=n%24,i+=J(n/24),a=J(Tn(i)),s+=a,i-=Yn(Dn(a)),r=J(s/12),s%=12,l.days=i,l.months=s,l.years=r,this},Qn.clone=function(){return Wt(this)},Qn.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},Qn.milliseconds=Bn,Qn.seconds=Nn,Qn.minutes=Fn,Qn.hours=Wn,Qn.days=In,Qn.weeks=function(){return J(this.days()/7)},Qn.months=Un,Qn.years=Vn,Qn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,o=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(o=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var a=Wt(e).abs(),o=Jn(a.as("s")),i=Jn(a.as("m")),s=Jn(a.as("h")),l=Jn(a.as("d")),c=Jn(a.as("M")),u=Jn(a.as("w")),d=Jn(a.as("y")),m=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(m=m||u<=1&&["w"]||u<n.w&&["ww",u]),(m=m||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,m[3]=+e>0,m[4]=r,qn.apply(null,m)}(this,!a,o,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)},Qn.toISOString=Zn,Qn.toString=Zn,Qn.toJSON=Zn,Qn.locale=Xt,Qn.localeData=tn,Qn.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zn),Qn.lang=en,O("X",0,0,"unix"),O("x",0,0,"valueOf"),_e("x",ue),_e("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ye("x",(function(e,t,n){n._d=new Date(G(e))})),
7
  //! moment.js
8
+ a.version="2.26.0",t=Tt,a.fn=fn,a.min=function(){var e=[].slice.call(arguments,0);return St("isBefore",e)},a.max=function(){var e=[].slice.call(arguments,0);return St("isAfter",e)},a.now=function(){return Date.now?Date.now():+new Date},a.utc=_,a.unix=function(e){return Tt(1e3*e)},a.months=function(e,t){return Mn(e,t,"months")},a.isDate=d,a.locale=it,a.invalid=f,a.duration=Wt,a.isMoment=v,a.weekdays=function(e,t,n){return vn(e,t,n,"weekdays")},a.parseZone=function(){return Tt.apply(null,arguments).parseZone()},a.localeData=lt,a.isDuration=Ct,a.monthsShort=function(e,t){return Mn(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return vn(e,t,n,"weekdaysMin")},a.defineLocale=st,a.updateLocale=function(e,t){if(null!=t){var n,r,a=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(S(tt[e]._config,t)):(null!=(r=ot(e))&&(a=r._config),t=S(a,t),null==r&&(t.abbr=e),(n=new x(t)).parentLocale=tt[e],tt[e]=n),it(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===it()&&it(e)):null!=tt[e]&&delete tt[e]);return tt[e]},a.locales=function(){return Y(tt)},a.weekdaysShort=function(e,t,n){return vn(e,t,n,"weekdaysShort")},a.normalizeUnits=F,a.relativeTimeRounding=function(e){return void 0===e?Jn:"function"==typeof e&&(Jn=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},a.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=fn,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}).call(this,n(34)(e))},,function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";e.exports=n(200)},function(e,t,n){var r=n(177),a=n(206),o=n(283),i=n(13);e.exports=function(e,t){return(i(e)?r:o)(e,a(t,3))}},function(e,t,n){var r=n(181),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(202),a=n(203),o=n(43),i=n(204);e.exports=function(e,t){return r(e)||a(e,t)||o(e,t)||i()}},function(e,t){function n(e,t,n,r){var a,o=null==(a=r)||"number"==typeof a||"boolean"==typeof a?r:n(r),i=t.get(o);return void 0===i&&(i=e.call(this,r),t.set(o,i)),i}function r(e,t,n){var r=Array.prototype.slice.call(arguments,3),a=n(r),o=t.get(a);return void 0===o&&(o=e.apply(this,r),t.set(a,o)),o}function a(e,t,n,r,a){return n.bind(t,e,r,a)}function o(e,t){return a(e,this,1===e.length?n:r,t.cache.create(),t.serializer)}function i(){return JSON.stringify(arguments)}function s(){this.cache=Object.create(null)}s.prototype.has=function(e){return e in this.cache},s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new s}};e.exports=function(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:o)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){return a(e,this,r,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,n,t.cache.create(),t.serializer)}}},function(e,t,n){e.exports=n(296)},function(e,t,n){var r=n(219),a=n(225);e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(22),a=n(221),o=n(222),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?a(e):o(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(209),a=n(210),o=n(211),i=n(212),s=n(213);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(179);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(12).Symbol;e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(17)(Object,"create");e.exports=r},function(e,t,n){var r=n(234);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(18),a=n(19);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(26);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(192);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},function(e,t,n){e.exports=function(e,t){var n,r,a=0;function o(){var o,i,s=n,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(i=0;i<l;i++)if(s.args[i]!==arguments[i]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(o=new Array(l),i=0;i<l;i++)o[i]=arguments[i];return s={args:o,val:e.apply(null,o)},n?(n.prev=s,s.next=n):r=s,a===t.maxSize?(r=r.prev).next=null:a++,n=s,s.val}return t=t||{},o.clear=function(){n=null,r=null,a=0},o}},function(e,t,n){var r=n(185),a=n(289),o=n(290),i=Math.min;e.exports=function(e,t){if((e=o(e))<1||e>9007199254740991)return[];var n=4294967295,s=i(e,4294967295);t=a(t),e-=4294967295;for(var l=r(s,t);++n<e;)t(n);return l}},function(e,t,n){var r=n(293),a=n(294),o=n(43),i=n(295);e.exports=function(e){return r(e)||a(e)||o(e)||i()}},function(e,t){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r=0,a=[];++t<n;){var o=e[t];o&&(a[r++]=o)}return a}},function(e,t){function n(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var i=e.apply(t,r);function s(e){n(i,a,o,s,l,"next",e)}function l(e){n(i,a,o,s,l,"throw",e)}s(void 0)}))}}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(17)(n(12),"Map");e.exports=r},function(e,t,n){var r=n(226),a=n(233),o=n(235),i=n(236),s=n(237);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(255),a=n(261),o=n(39);e.exports=function(e){return o(e)?r(e):a(e)}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(180),a=n(38);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},function(e,t,n){var r=n(13),a=n(26),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||(i.test(e)||!o.test(e)||null!=t&&e in Object(t))}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){var r=n(44);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){!function(e){"use strict";
9
  //! moment.js locale configuration
10
  e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(6))},function(e,t,n){!function(e){"use strict";
11
  //! moment.js locale configuration
284
  *
285
  * This source code is licensed under the MIT license found in the
286
  * LICENSE file in the root directory of this source tree.
287
+ */var r=n(201),a="function"==typeof Symbol&&Symbol.for,o=a?Symbol.for("react.element"):60103,i=a?Symbol.for("react.portal"):60106,s=a?Symbol.for("react.fragment"):60107,l=a?Symbol.for("react.strict_mode"):60108,c=a?Symbol.for("react.profiler"):60114,u=a?Symbol.for("react.provider"):60109,d=a?Symbol.for("react.context"):60110,m=a?Symbol.for("react.forward_ref"):60112,p=a?Symbol.for("react.suspense"):60113,_=a?Symbol.for("react.memo"):60115,h=a?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function k(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}function M(){}function v(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}k.prototype.isReactComponent={},k.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},M.prototype=k.prototype;var L=v.prototype=new M;L.constructor=v,r(L,k.prototype),L.isPureReactComponent=!0;var w={current:null},Y=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function D(e,t,n){var r,a={},i=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)Y.call(t,r)&&!T.hasOwnProperty(r)&&(a[r]=t[r]);var l=arguments.length-2;if(1===l)a.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];a.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===a[r]&&(a[r]=l[r]);return{$$typeof:o,type:e,key:i,ref:s,props:a,_owner:w.current}}function R(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var S=/\/+/g,x=[];function E(e,t,n,r){if(x.length){var a=x.pop();return a.result=e,a.keyPrefix=t,a.func=n,a.context=r,a.count=0,a}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function C(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>x.length&&x.push(e)}function j(e,t,n){return null==e?0:function e(t,n,r,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case o:case i:l=!0}}if(l)return r(a,t,""===n?"."+P(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var u=n+P(s=t[c],c);l+=e(s,u,r,a)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=g&&t[g]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),c=0;!(s=t.next()).done;)l+=e(s=s.value,u=n+P(s,c++),r,a);else if("object"===s)throw r=""+t,Error(f(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return l}(e,"",t,n)}function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function H(e,t){e.func.call(e.context,t,e.count++)}function O(e,t,n){var r=e.result,a=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?z(e,r,n,(function(e){return e})):null!=e&&(R(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,a+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(S,"$&/")+"/")+n)),r.push(e))}function z(e,t,n,r,a){var o="";null!=n&&(o=(""+n).replace(S,"$&/")+"/"),j(e,O,t=E(t,o,r,a)),C(t)}var A={current:null};function B(){var e=A.current;if(null===e)throw Error(f(321));return e}var N={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return z(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;j(e,H,t=E(null,null,t,n)),C(t)},count:function(e){return j(e,(function(){return null}),null)},toArray:function(e){var t=[];return z(e,t,null,(function(e){return e})),t},only:function(e){if(!R(e))throw Error(f(143));return e}},t.Component=k,t.Fragment=s,t.Profiler=c,t.PureComponent=v,t.StrictMode=l,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,n){if(null==e)throw Error(f(267,e));var a=r({},e.props),i=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=w.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)Y.call(t,u)&&!T.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];a.children=c}return{$$typeof:o,type:e.type,key:i,ref:s,props:a,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=D,t.createFactory=function(e){var t=D.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:m,render:e}},t.isValidElement=R,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:_,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return B().useCallback(e,t)},t.useContext=function(e,t){return B().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return B().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return B().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return B().useLayoutEffect(e,t)},t.useMemo=function(e,t){return B().useMemo(e,t)},t.useReducer=function(e,t,n){return B().useReducer(e,t,n)},t.useRef=function(e){return B().useRef(e)},t.useState=function(e){return B().useState(e)},t.version="16.13.1"},function(e,t,n){"use strict";
288
  /*
289
  object-assign
290
  (c) Sindre Sorhus
291
  @license MIT
292
+ */var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=i(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))a.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)o.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){var r={"./af":45,"./af.js":45,"./ar":46,"./ar-dz":47,"./ar-dz.js":47,"./ar-kw":48,"./ar-kw.js":48,"./ar-ly":49,"./ar-ly.js":49,"./ar-ma":50,"./ar-ma.js":50,"./ar-sa":51,"./ar-sa.js":51,"./ar-tn":52,"./ar-tn.js":52,"./ar.js":46,"./az":53,"./az.js":53,"./be":54,"./be.js":54,"./bg":55,"./bg.js":55,"./bm":56,"./bm.js":56,"./bn":57,"./bn.js":57,"./bo":58,"./bo.js":58,"./br":59,"./br.js":59,"./bs":60,"./bs.js":60,"./ca":61,"./ca.js":61,"./cs":62,"./cs.js":62,"./cv":63,"./cv.js":63,"./cy":64,"./cy.js":64,"./da":65,"./da.js":65,"./de":66,"./de-at":67,"./de-at.js":67,"./de-ch":68,"./de-ch.js":68,"./de.js":66,"./dv":69,"./dv.js":69,"./el":70,"./el.js":70,"./en-au":71,"./en-au.js":71,"./en-ca":72,"./en-ca.js":72,"./en-gb":73,"./en-gb.js":73,"./en-ie":74,"./en-ie.js":74,"./en-il":75,"./en-il.js":75,"./en-in":76,"./en-in.js":76,"./en-nz":77,"./en-nz.js":77,"./en-sg":78,"./en-sg.js":78,"./eo":79,"./eo.js":79,"./es":80,"./es-do":81,"./es-do.js":81,"./es-us":82,"./es-us.js":82,"./es.js":80,"./et":83,"./et.js":83,"./eu":84,"./eu.js":84,"./fa":85,"./fa.js":85,"./fi":86,"./fi.js":86,"./fil":87,"./fil.js":87,"./fo":88,"./fo.js":88,"./fr":89,"./fr-ca":90,"./fr-ca.js":90,"./fr-ch":91,"./fr-ch.js":91,"./fr.js":89,"./fy":92,"./fy.js":92,"./ga":93,"./ga.js":93,"./gd":94,"./gd.js":94,"./gl":95,"./gl.js":95,"./gom-deva":96,"./gom-deva.js":96,"./gom-latn":97,"./gom-latn.js":97,"./gu":98,"./gu.js":98,"./he":99,"./he.js":99,"./hi":100,"./hi.js":100,"./hr":101,"./hr.js":101,"./hu":102,"./hu.js":102,"./hy-am":103,"./hy-am.js":103,"./id":104,"./id.js":104,"./is":105,"./is.js":105,"./it":106,"./it-ch":107,"./it-ch.js":107,"./it.js":106,"./ja":108,"./ja.js":108,"./jv":109,"./jv.js":109,"./ka":110,"./ka.js":110,"./kk":111,"./kk.js":111,"./km":112,"./km.js":112,"./kn":113,"./kn.js":113,"./ko":114,"./ko.js":114,"./ku":115,"./ku.js":115,"./ky":116,"./ky.js":116,"./lb":117,"./lb.js":117,"./lo":118,"./lo.js":118,"./lt":119,"./lt.js":119,"./lv":120,"./lv.js":120,"./me":121,"./me.js":121,"./mi":122,"./mi.js":122,"./mk":123,"./mk.js":123,"./ml":124,"./ml.js":124,"./mn":125,"./mn.js":125,"./mr":126,"./mr.js":126,"./ms":127,"./ms-my":128,"./ms-my.js":128,"./ms.js":127,"./mt":129,"./mt.js":129,"./my":130,"./my.js":130,"./nb":131,"./nb.js":131,"./ne":132,"./ne.js":132,"./nl":133,"./nl-be":134,"./nl-be.js":134,"./nl.js":133,"./nn":135,"./nn.js":135,"./oc-lnc":136,"./oc-lnc.js":136,"./pa-in":137,"./pa-in.js":137,"./pl":138,"./pl.js":138,"./pt":139,"./pt-br":140,"./pt-br.js":140,"./pt.js":139,"./ro":141,"./ro.js":141,"./ru":142,"./ru.js":142,"./sd":143,"./sd.js":143,"./se":144,"./se.js":144,"./si":145,"./si.js":145,"./sk":146,"./sk.js":146,"./sl":147,"./sl.js":147,"./sq":148,"./sq.js":148,"./sr":149,"./sr-cyrl":150,"./sr-cyrl.js":150,"./sr.js":149,"./ss":151,"./ss.js":151,"./sv":152,"./sv.js":152,"./sw":153,"./sw.js":153,"./ta":154,"./ta.js":154,"./te":155,"./te.js":155,"./tet":156,"./tet.js":156,"./tg":157,"./tg.js":157,"./th":158,"./th.js":158,"./tl-ph":159,"./tl-ph.js":159,"./tlh":160,"./tlh.js":160,"./tr":161,"./tr.js":161,"./tzl":162,"./tzl.js":162,"./tzm":163,"./tzm-latn":164,"./tzm-latn.js":164,"./tzm.js":163,"./ug-cn":165,"./ug-cn.js":165,"./uk":166,"./uk.js":166,"./ur":167,"./ur.js":167,"./uz":168,"./uz-latn":169,"./uz-latn.js":169,"./uz.js":168,"./vi":170,"./vi.js":170,"./x-pseudo":171,"./x-pseudo.js":171,"./yo":172,"./yo.js":172,"./zh-cn":173,"./zh-cn.js":173,"./zh-hk":174,"./zh-hk.js":174,"./zh-mo":175,"./zh-mo.js":175,"./zh-tw":176,"./zh-tw.js":176};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=205},function(e,t,n){var r=n(207),a=n(271),o=n(194),i=n(13),s=n(280);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):r(e):s(e)}},function(e,t,n){var r=n(208),a=n(270),o=n(191);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(178),a=n(183);e.exports=function(e,t,n,o){var i=n.length,s=i,l=!o;if(null==e)return!s;for(e=Object(e);i--;){var c=n[i];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<s;){var u=(c=n[i])[0],d=e[u],m=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var p=new r;if(o)var _=o(d,m,u,e,t,p);if(!(void 0===_?a(m,d,3,o,p):_))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(21),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(21);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(21);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(21);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},function(e,t,n){var r=n(20);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(20),a=n(35),o=n(36);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!a||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(i)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(180),a=n(223),o=n(23),i=n(182),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,m=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||a(e))&&(r(e)?m:s).test(i(e))}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(22),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var a=i.call(e);return r&&(t?e[s]=n:delete e[s]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,a=n(224),o=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(12)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(227),a=n(20),o=n(35);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||a),string:new r}}},function(e,t,n){var r=n(228),a=n(229),o=n(230),i=n(231),s=n(232);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(24);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(24),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(24),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},function(e,t,n){var r=n(24);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(25);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(25);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(25);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(25);e.exports=function(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}},function(e,t,n){var r=n(178),a=n(184),o=n(244),i=n(248),s=n(265),l=n(13),c=n(187),u=n(189),d="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,p,_,h){var g=l(e),f=l(t),b=g?"[object Array]":s(e),y=f?"[object Array]":s(t),k=(b="[object Arguments]"==b?d:b)==d,M=(y="[object Arguments]"==y?d:y)==d,v=b==y;if(v&&c(e)){if(!c(t))return!1;g=!0,k=!1}if(v&&!k)return h||(h=new r),g||u(e)?a(e,t,n,p,_,h):o(e,t,b,n,p,_,h);if(!(1&n)){var L=k&&m.call(e,"__wrapped__"),w=M&&m.call(t,"__wrapped__");if(L||w){var Y=L?e.value():e,T=w?t.value():t;return h||(h=new r),_(Y,T,n,p,h)}}return!!v&&(h||(h=new r),i(e,t,n,p,_,h))}},function(e,t,n){var r=n(36),a=n(240),o=n(241);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=a,i.prototype.has=o,e.exports=i},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(22),a=n(245),o=n(179),i=n(184),s=n(246),l=n(247),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,m){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new a(e),new a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var _=1&r;if(p||(p=l),e.size!=t.size&&!_)return!1;var h=m.get(e);if(h)return h==t;r|=2,m.set(e,t);var g=i(p(e),p(t),r,c,d,m);return m.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},function(e,t,n){var r=n(12).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(249),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,i,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var m=c[d];if(!(l?m in t:a.call(t,m)))return!1}var p=s.get(e);if(p&&s.get(t))return p==t;var _=!0;s.set(e,t),s.set(t,e);for(var h=l;++d<u;){var g=e[m=c[d]],f=t[m];if(o)var b=l?o(f,g,m,t,e,s):o(g,f,m,e,t,s);if(!(void 0===b?g===f||i(g,f,n,o,s):b)){_=!1;break}h||(h="constructor"==m)}if(_&&!h){var y=e.constructor,k=t.constructor;y==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof k&&k instanceof k||(_=!1)}return s.delete(e),s.delete(t),_}},function(e,t,n){var r=n(250),a=n(252),o=n(37);e.exports=function(e){return r(e,o,a)}},function(e,t,n){var r=n(251),a=n(13);e.exports=function(e,t,n){var o=t(e);return a(e)?o:r(o,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},function(e,t,n){var r=n(253),a=n(254),o=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return o.call(e,t)})))}:a;e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(185),a=n(186),o=n(13),i=n(187),s=n(188),l=n(189),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&a(e),d=!n&&!u&&i(e),m=!n&&!u&&!d&&l(e),p=n||u||d||m,_=p?r(e.length,String):[],h=_.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||m&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,h))||_.push(g);return _}},function(e,t,n){var r=n(18),a=n(19);e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(18),a=n(38),o=n(19),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&a(e.length)&&!!i[r(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(181),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===a&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s}).call(this,n(34)(e))},function(e,t,n){var r=n(262),a=n(263),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(264)(Object.keys,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(266),a=n(35),o=n(267),i=n(268),s=n(269),l=n(18),c=n(182),u=c(r),d=c(a),m=c(o),p=c(i),_=c(s),h=l;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||a&&"[object Map]"!=h(new a)||o&&"[object Promise]"!=h(o.resolve())||i&&"[object Set]"!=h(new i)||s&&"[object WeakMap]"!=h(new s))&&(h=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case d:return"[object Map]";case m:return"[object Promise]";case p:return"[object Set]";case _:return"[object WeakMap]"}return t}),e.exports=h},function(e,t,n){var r=n(17)(n(12),"DataView");e.exports=r},function(e,t,n){var r=n(17)(n(12),"Promise");e.exports=r},function(e,t,n){var r=n(17)(n(12),"Set");e.exports=r},function(e,t,n){var r=n(17)(n(12),"WeakMap");e.exports=r},function(e,t,n){var r=n(190),a=n(37);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,r(i)]}return t}},function(e,t,n){var r=n(183),a=n(28),o=n(277),i=n(40),s=n(190),l=n(191),c=n(27);e.exports=function(e,t){return i(e)&&s(t)?l(c(e),t):function(n){var i=a(n,e);return void 0===i&&i===t?o(n,e):r(t,i,3)}}},function(e,t,n){var r=n(273),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(o,"$1"):n||e)})),t}));e.exports=i},function(e,t,n){var r=n(274);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(36);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(a.Cache||r),n}a.Cache=r,e.exports=a},function(e,t,n){var r=n(276);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(22),a=n(177),o=n(13),i=n(26),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return a(t,e)+"";if(i(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(278),a=n(279);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(193),a=n(186),o=n(13),i=n(188),s=n(38),l=n(27);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var m=l(t[c]);if(!(d=null!=e&&n(e,m)))break;e=e[m]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&i(m,u)&&(o(e)||a(e))}},function(e,t,n){var r=n(281),a=n(282),o=n(40),i=n(27);e.exports=function(e){return o(e)?r(i(e)):a(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(192);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(284),a=n(39);e.exports=function(e,t){var n=-1,o=a(e)?Array(e.length):[];return r(e,(function(e,r,a){o[++n]=t(e,r,a)})),o}},function(e,t,n){var r=n(285),a=n(288)(r);e.exports=a},function(e,t,n){var r=n(286),a=n(37);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var r=n(287)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var a=-1,o=Object(t),i=r(t),s=i.length;s--;){var l=i[e?s:++a];if(!1===n(o[l],l,o))break}return t}}},function(e,t,n){var r=n(39);e.exports=function(e,t){return function(n,a){if(null==n)return n;if(!r(n))return e(n,a);for(var o=n.length,i=t?o:-1,s=Object(n);(t?i--:++i<o)&&!1!==a(s[i],i,s););return n}}},function(e,t,n){var r=n(194);e.exports=function(e){return"function"==typeof e?e:r}},function(e,t,n){var r=n(291);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(292);e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(23),a=n(26),o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}},function(e,t,n){var r=n(44);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var a=t&&t.prototype instanceof u?t:u,o=Object.create(a.prototype),i=new v(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return w()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=y(i,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,i),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function u(){}function d(){}function m(){}var p={};p[a]=function(){return this};var _=Object.getPrototypeOf,h=_&&_(_(L([])));h&&h!==t&&n.call(h,a)&&(p=h);var g=m.prototype=u.prototype=Object.create(p);function f(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function b(e,t){var r;this._invoke=function(a,o){function i(){return new t((function(r,i){!function r(a,o,i,s){var c=l(e[a],e,o);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,s)}))}s(c.arg)}(a,o,r,i)}))}return r=r?r.then(i,i):i()}}function y(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function v(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:w}}function w(){return{value:void 0,done:!0}}return d.prototype=g.constructor=m,m.constructor=d,m[i]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,i in e||(e[i]="GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},f(b.prototype),b.prototype[o]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new b(s(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},f(g),g[i]="Generator",g[a]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=L,v.prototype={constructor:v,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(M),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;M(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";n.r(t);var r=n(9),a=n.n(r),o=n(8),i=n.n(o),s=n(1),l=n.n(s),c=n(2),u=n.n(c),d=n(3),m=n.n(d),p=n(4),_=n.n(p),h=n(0),g=n.n(h),f=n(5),b=n.n(f);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var k=wp.element.Component,M=wp.hooks.applyFilters,v=function(e){m()(n,e);var t=y(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){if(void 0===this.props.children)return null;var e=!1;if(void 0!==this.props.children.props&&void 0!==this.props.children.props.name||(e=!0),e&&(void 0===this.props.children._owner||void 0===this.props.children._owner.memoizedProps||void 0===this.props.children._owner.memoizedProps.name))return this.props.children;var t=e?this.props.children._owner.memoizedProps.name:this.props.children.props.name;return M("gb_should_render_block_setting",!0,t,this.props.id,genesis_blocks_globals.user_data)?this.props.children:null}}]),n}(k);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var w=wp.i18n.__,Y=wp.element.Component,T=wp.blockEditor,D=T.InspectorControls,R=T.PanelColorSettings,S=wp.components,x=S.PanelBody,E=S.RangeControl,C=S.SelectControl,j=function(e){m()(n,e);var t=L(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=[{value:"left-aligned",label:w("Left Aligned","genesis-blocks")},{value:"right-aligned",label:w("Right Aligned","genesis-blocks")}],n=this.props,r=n.attributes,a=r.testimonialBackgroundColor,o=r.testimonialTextColor,i=r.testimonialFontSize,s=r.testimonialCiteAlign,l=n.setAttributes;return React.createElement(D,{key:"inspector"},React.createElement(x,null,React.createElement(v,{id:"gb_testimonial_testimonialFontSize"},React.createElement(E,{label:w("Font Size","genesis-blocks"),value:i,onChange:function(t){return e.props.setAttributes({testimonialFontSize:t})},min:14,max:24,step:1})),React.createElement(v,{id:"gb_testimonial_testimonialCiteAlign"},React.createElement(C,{label:w("Cite Alignment","genesis-blocks"),description:w("Left or right align the cite name and title.","genesis-blocks"),options:t,value:s,onChange:function(t){return e.props.setAttributes({testimonialCiteAlign:t})}}))),React.createElement(v,{id:"gb_testimonial_testimonialBackgroundColor"},React.createElement(R,{title:w("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return l({testimonialBackgroundColor:e})},label:w("Background Color","genesis-blocks")}]})),React.createElement(v,{id:"gb_testimonial_testimonialTextColor"},React.createElement(R,{title:w("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:function(e){return l({testimonialTextColor:e})},label:w("Text Color","genesis-blocks")}]})))}}]),n}(Y);function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var H=function(e){m()(n,e);var t=P(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.testimonialImgURL,n=e.testimonialBackgroundColor,r=e.testimonialTextColor,a=e.testimonialFontSize,o=e.testimonialCiteAlign;return React.createElement("div",{style:{backgroundColor:n||"#f2f2f2",color:r||"#32373c"},className:b()(this.props.className,o,{"gb-has-avatar":t},"gb-font-size-"+a,"gb-block-testimonial")},this.props.children)}}]),n}(wp.element.Component),O={};O.upload=React.createElement("svg",{width:"32px",height:"32px",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m77.945 91.453h-72.371c-3.3711 0-5.5742-2.3633-5.5742-5.2422v-55.719c0-3.457 2.1172-6.0703 5.5742-6.0703h44.453v11.051l-38.98-0.003906v45.008h60.977v-17.133l11.988-0.007812v22.875c0 2.8789-2.7812 5.2422-6.0664 5.2422z"}),React.createElement("path",{d:"m16.543 75.48l23.25-22.324 10.441 9.7773 11.234-14.766 5.5039 10.539 0.039063 16.773z"}),React.createElement("path",{d:"m28.047 52.992c-3.168 0-5.7422-2.5742-5.7422-5.7461 0-3.1758 2.5742-5.75 5.7422-5.75 3.1797 0 5.7539 2.5742 5.7539 5.75 0 3.1719-2.5742 5.7461-5.7539 5.7461z"}),React.createElement("path",{d:"m84.043 30.492v22.02h-12.059l-0.015625-22.02h-15.852l21.941-21.945 21.941 21.945z"}));var z=O;function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var F=wp.i18n.__,W=wp.element,I=W.Component,U=W.Fragment,V=wp.blockEditor,J=V.RichText,G=V.AlignmentToolbar,q=V.BlockControls,$=V.MediaUpload,K=wp.components,Z=K.Button,Q=K.Dashicon,X=["image"],ee=function(e){m()(n,e);var t=N(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.testimonialName,o=n.testimonialTitle,i=n.testimonialContent,s=n.testimonialAlignment,l=n.testimonialImgURL,c=n.testimonialImgID,u=n.testimonialImgAlt,d=n.testimonialTextColor,m=t.setAttributes,p=function(){m({testimonialImgURL:null,testimonialImgID:null,testimonialImgAlt:null})};return[React.createElement(q,{key:"controls"},React.createElement(G,{value:s,onChange:function(e){return m({testimonialAlignment:e})}})),React.createElement(j,a()({key:"gb-testimonial-inspector-"+this.props.clientId},B({setAttributes:m},this.props))),React.createElement(H,a()({key:"gb-testimonial-editor-"+this.props.clientId},this.props),React.createElement(J,{tagName:"div",multiline:"p",placeholder:F("Add testimonial text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:i,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],className:b()("gb-testimonial-text"),style:{textAlign:s},onChange:function(e){return m({testimonialContent:e})}}),React.createElement("div",{className:"gb-testimonial-info"},React.createElement("div",{className:"gb-testimonial-avatar-wrap"},React.createElement("div",{className:"gb-testimonial-image-wrap"},React.createElement($,{buttonProps:{className:"change-image"},onSelect:function(e){return m({testimonialImgID:e.id,testimonialImgURL:e.sizes.thumbnail.url,testimonialImgAlt:e.alt})},allowed:X,type:"image",value:c,render:function(e){var t=e.open;return React.createElement(U,null,React.createElement(Z,{className:c?"gb-change-image":"gb-add-image",onClick:t},c?React.createElement("img",{className:"gb-testimonial-avatar",src:l,alt:u||null}):z.upload),c&&React.createElement(Z,{className:"gb-remove-image",onClick:p},React.createElement(Q,{icon:"dismiss"})))}}))),React.createElement(J,{tagName:"h2",placeholder:F("Add name","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,className:"gb-testimonial-name",style:{color:d},onChange:function(t){return e.props.setAttributes({testimonialName:t})}}),React.createElement(J,{tagName:"small",placeholder:F("Add title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:o,className:"gb-testimonial-title",style:{color:d},onChange:function(t){return e.props.setAttributes({testimonialTitle:t})}})))]}}]),n}(I);function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ne=wp.element.Component,re=wp.blockEditor.RichText,ae=function(e){m()(n,e);var t=te(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.testimonialName,n=e.testimonialTitle,r=e.testimonialContent,a=e.testimonialAlignment,o=e.testimonialImgURL,i=e.testimonialImgAlt,s=e.testimonialTextColor;return React.createElement(H,this.props,React.createElement(re.Content,{tagName:"div",className:"gb-testimonial-text",style:{textAlign:a},value:r}),React.createElement("div",{className:"gb-testimonial-info"},o&&React.createElement("div",{className:"gb-testimonial-avatar-wrap"},React.createElement("div",{className:"gb-testimonial-image-wrap"},React.createElement("img",{className:"gb-testimonial-avatar",src:o,alt:i||null}))),t&&React.createElement(re.Content,{tagName:"h2",className:"gb-testimonial-name",style:{color:s||"#32373c"},value:t}),n&&React.createElement(re.Content,{tagName:"small",className:"gb-testimonial-title",style:{color:s||"#32373c"},value:n})))}}]),n}(ne),oe=(n(326),n(328),wp.i18n.__);function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-testimonial",{title:oe("Testimonial","genesis-blocks"),description:oe("Add a user testimonial with a name and title.","genesis-blocks"),icon:"format-quote",category:"genesis-blocks",keywords:[oe("testimonial","genesis-blocks"),oe("quote","genesis-blocks"),oe("atomic","genesis-blocks")],attributes:{testimonialName:{type:"array",selector:".gb-testimonial-name",source:"children"},testimonialTitle:{type:"array",selector:".gb-testimonial-title",source:"children"},testimonialContent:{type:"array",selector:".gb-testimonial-text",source:"children"},testimonialAlignment:{type:"string"},testimonialImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},testimonialImgID:{type:"number"},testimonialImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},testimonialBackgroundColor:{type:"string",default:"#f2f2f2"},testimonialTextColor:{type:"string",default:"#32373c"},testimonialFontSize:{type:"number",default:18},testimonialCiteAlign:{type:"string",default:"left-aligned"}},gb_settings_data:{gb_testimonial_testimonialFontSize:{title:oe("Font Size","genesis-blocks")},gb_testimonial_testimonialCiteAlign:{title:oe("Cite Alignment","genesis-blocks")},gb_testimonial_testimonialBackgroundColor:{title:oe("Background Color","genesis-blocks")},gb_testimonial_testimonialTextColor:{title:oe("Text Color","genesis-blocks")}},edit:function(e){return React.createElement(ee,e)},save:function(e){return React.createElement(ae,e)}});var se=wp.i18n.__,le=wp.element.Component,ce=wp.blockEditor,ue=ce.InspectorControls,de=ce.PanelColorSettings,me=wp.components,pe=me.PanelBody,_e=me.RangeControl,he=me.SelectControl,ge=me.TextControl,fe=function(e){m()(n,e);var t=ie(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.profileFontSize,r=t.profileBackgroundColor,a=t.profileTextColor,o=t.profileLinkColor,i=t.twitter,s=t.facebook,l=t.instagram,c=t.pinterest,u=t.google,d=t.youtube,m=t.github,p=t.linkedin,_=t.wordpress,h=t.email,g=t.website,f=t.profileAvatarShape,b=this.props.setAttributes,y=[{value:"square",label:se("Square","genesis-blocks")},{value:"round",label:se("Round","genesis-blocks")}];return React.createElement(ue,{key:"inspector"},React.createElement(pe,null,React.createElement(v,{id:"gb_author_profile_profileFontSize"},React.createElement(_e,{label:se("Font Size","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({profileFontSize:t})},min:14,max:24,step:1})),React.createElement(v,{id:"gb_author_profile_profileAvatarShape"},React.createElement(he,{label:se("Avatar Shape","genesis-blocks"),description:se("Choose between a round or square avatar shape.","genesis-blocks"),options:y,value:f,onChange:function(t){return e.props.setAttributes({profileAvatarShape:t})}})),React.createElement(v,{id:"gb_author_profile_profileBackgroundColor"},React.createElement(de,{title:se("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:r,onChange:function(e){return b({profileBackgroundColor:e})},label:se("Background Color","genesis-blocks")}]})),React.createElement(v,{id:"gb_author_profile_profileTextColor"},React.createElement(de,{title:se("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return b({profileTextColor:e})},label:se("Text Color","genesis-blocks")}]})),React.createElement(v,{id:"gb_author_profile_profileLinkColor"},React.createElement(de,{title:se("Social Link Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:function(e){return b({profileLinkColor:e})},label:se("Social Link Color","genesis-blocks")}]}))),React.createElement(v,{id:"gb_author_profile_socialLinks"},React.createElement(pe,{title:se("Social Links","genesis-blocks"),initialOpen:!1},React.createElement("p",null,se("Add links to your social media site and they will appear in the bottom of the profile box.","genesis-blocks")),React.createElement(ge,{label:se("Twitter URL","genesis-blocks"),type:"url",value:i,onChange:function(t){return e.props.setAttributes({twitter:t})}}),React.createElement(ge,{label:se("Facebook URL","genesis-blocks"),type:"url",value:s,onChange:function(t){return e.props.setAttributes({facebook:t})}}),React.createElement(ge,{label:se("Instagram URL","genesis-blocks"),type:"url",value:l,onChange:function(t){return e.props.setAttributes({instagram:t})}}),React.createElement(ge,{label:se("Pinterest URL","genesis-blocks"),type:"url",value:c,onChange:function(t){return e.props.setAttributes({pinterest:t})}}),React.createElement(ge,{label:se("Google URL","genesis-blocks"),type:"url",value:u,onChange:function(t){return e.props.setAttributes({google:t})}}),React.createElement(ge,{label:se("YouTube URL","genesis-blocks"),type:"url",value:d,onChange:function(t){return e.props.setAttributes({youtube:t})}}),React.createElement(ge,{label:se("Github URL","genesis-blocks"),type:"url",value:m,onChange:function(t){return e.props.setAttributes({github:t})}}),React.createElement(ge,{label:se("LinkedIn URL","genesis-blocks"),type:"url",value:p,onChange:function(t){return e.props.setAttributes({linkedin:t})}}),React.createElement(ge,{label:se("WordPress Profile URL","genesis-blocks"),type:"url",value:_,onChange:function(t){return e.props.setAttributes({wordpress:t})}}),React.createElement(ge,{label:se("Email URL","genesis-blocks"),help:se('Supports a URL or an email link. Email links must be prefixed with "mailto:". Example: mailto:test@example.com',"genesis-blocks"),type:"url",value:h,onChange:function(t){return e.props.setAttributes({email:t})}}),React.createElement(ge,{label:se("Website URL","genesis-blocks"),type:"url",value:g,onChange:function(t){return e.props.setAttributes({website:t})}}))))}}]),n}(le);function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ye=function(e){m()(n,e);var t=be(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileAlignment,n=e.profileImgURL,r=e.profileFontSize,a=e.profileBackgroundColor,o=e.profileTextColor,i=e.profileAvatarShape;return React.createElement("div",{style:{backgroundColor:a,color:o},className:b()(this.props.className,t,i,{"gb-has-avatar":n},"gb-font-size-"+r,"gb-block-profile","gb-profile-columns")},this.props.children)}}]),n}(wp.element.Component);function ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Me=wp.i18n.__,ve=function(e){m()(n,e);var t=ke(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("ul",{className:"gb-social-links"},this.props.attributes.website&&!!this.props.attributes.website.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.website,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":Me("Website","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-website-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("title",{id:"gb-link-website-"+this.props.clientId},Me("Visit Website (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"})))),this.props.attributes.twitter&&!!this.props.attributes.twitter.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.twitter,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":Me("Twitter","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-twitter-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-twitter-"+this.props.clientId},Me("Visit Twitter account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})))),this.props.attributes.facebook&&!!this.props.attributes.facebook.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.facebook,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":Me("Facebook","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-facebook-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-facebook-"+this.props.clientId},Me("Visit Facebook account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})))),this.props.attributes.instagram&&!!this.props.attributes.instagram.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.instagram,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":Me("Instagram","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-instagram-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-instagram-"+this.props.clientId},Me("Visit Instagram account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"})))),this.props.attributes.pinterest&&!!this.props.attributes.pinterest.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.pinterest,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":Me("Pinterest","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-pinterest-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-pinterest-"+this.props.clientId},Me("Visit Pinterest account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"})))),this.props.attributes.google&&!!this.props.attributes.google.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.google,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":Me("Google","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-google-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-google-"+this.props.clientId},Me("Visit Google account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"})))),this.props.attributes.youtube&&!!this.props.attributes.youtube.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.youtube,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":Me("YouTube","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-youtube-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-youtube-"+this.props.clientId},Me("Visit YouTube account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})))),this.props.attributes.linkedin&&!!this.props.attributes.linkedin.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.linkedin,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":Me("LinkedIn","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-linkedin-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-linkedin-"+this.props.clientId},Me("Visit LinkedIn account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})))),this.props.attributes.github&&!!this.props.attributes.github.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.github,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":Me("Github","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-github-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-github-"+this.props.clientId},Me("Visit GitHub account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})))),this.props.attributes.wordpress&&!!this.props.attributes.wordpress.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.wordpress,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":Me("WordPress","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-wordpress-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-wordpress-"+this.props.clientId},Me("Visit WordPress account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M21.469 6.825c.84 1.537 1.318 3.3 1.318 5.175 0 3.979-2.156 7.456-5.363 9.325l3.295-9.527c.615-1.54.82-2.771.82-3.864 0-.405-.026-.78-.07-1.11m-7.981.105c.647-.03 1.232-.105 1.232-.105.582-.075.514-.93-.067-.899 0 0-1.755.135-2.88.135-1.064 0-2.85-.15-2.85-.15-.585-.03-.661.855-.075.885 0 0 .54.061 1.125.09l1.68 4.605-2.37 7.08L5.354 6.9c.649-.03 1.234-.1 1.234-.1.585-.075.516-.93-.065-.896 0 0-1.746.138-2.874.138-.2 0-.438-.008-.69-.015C4.911 3.15 8.235 1.215 12 1.215c2.809 0 5.365 1.072 7.286 2.833-.046-.003-.091-.009-.141-.009-1.06 0-1.812.923-1.812 1.914 0 .89.513 1.643 1.06 2.531.411.72.89 1.643.89 2.977 0 .915-.354 1.994-.821 3.479l-1.075 3.585-3.9-11.61.001.014zM12 22.784c-1.059 0-2.081-.153-3.048-.437l3.237-9.406 3.315 9.087c.024.053.05.101.078.149-1.12.393-2.325.609-3.582.609M1.211 12c0-1.564.336-3.05.935-4.39L7.29 21.709C3.694 19.96 1.212 16.271 1.211 12M12 0C5.385 0 0 5.385 0 12s5.385 12 12 12 12-5.385 12-12S18.615 0 12 0"})))),this.props.attributes.email&&!!this.props.attributes.email.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.email,target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:this.props.attributes.profileLinkColor},"aria-label":Me("Email","genesis-blocks")},React.createElement("svg",{"aria-labelledby":"gb-link-email-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("title",{id:"gb-link-email-"+this.props.clientId},Me("Email","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"})))))}}]),n}(wp.element.Component);function Le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var we=function(e){m()(n,e);var t=Le(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{className:"gb-profile-column gb-profile-avatar-wrap"},React.createElement("div",{className:"gb-profile-image-wrap"},this.props.children))}}]),n}(wp.element.Component);function Ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function De(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Re=wp.i18n.__,Se=wp.element,xe=Se.Component,Ee=Se.Fragment,Ce=wp.blockEditor,je=Ce.RichText,Pe=Ce.AlignmentToolbar,He=Ce.BlockControls,Oe=Ce.MediaUpload,ze=wp.components,Ae=ze.Button,Be=ze.Dashicon,Ne=["image"],Fe=function(e){m()(n,e);var t=De(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).props.attributes.clientId&&e.props.attributes.clientId===e.props.clientId||e.props.setAttributes({clientId:e.props.clientId}),e}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.profileName,r=t.profileTitle,o=t.profileContent,i=t.profileAlignment,s=t.profileImgURL,l=t.profileImgID,c=t.profileImgAlt,u=t.profileTextColor,d=e.setAttributes;return[React.createElement(He,{key:"controls"},React.createElement(Pe,{value:i,onChange:function(e){return d({profileAlignment:e})}})),React.createElement(fe,a()({key:"gb-author-profile-inspector-"+this.props.clientId},Te({setAttributes:d},this.props))),React.createElement(ye,a()({key:"gb-author-profile-"+this.props.clientId},this.props),React.createElement(we,this.props,React.createElement("figure",{className:"gb-profile-image-square"},React.createElement(Oe,{buttonProps:{className:"change-image"},onSelect:function(e){return d({profileImgID:e.id,profileImgURL:e.url,profileImgAlt:e.alt})},allowed:Ne,type:"image",value:l,render:function(e){var t=e.open;return React.createElement(Ee,null,React.createElement(Ae,{onClick:t},l?React.createElement("img",{className:b()("gb-profile-avatar","gb-change-image","wp-image-"+l),src:s,alt:c}):z.upload),l&&React.createElement(Ae,{className:"gb-remove-image",onClick:function(){d({profileImgID:null,profileImgURL:null,profileImgAlt:null})}},React.createElement(Be,{icon:"dismiss"})))}}))),React.createElement("div",{className:b()("gb-profile-column gb-profile-content-wrap")},React.createElement(je,{tagName:"h2",placeholder:Re("Add name","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,className:"gb-profile-name",style:{color:u},onChange:function(e){return d({profileName:e})}}),React.createElement(je,{tagName:"p",placeholder:Re("Add title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,className:"gb-profile-title",style:{color:u},onChange:function(e){return d({profileTitle:e})}}),React.createElement(je,{tagName:"div",className:"gb-profile-text",multiline:"p",placeholder:Re("Add profile text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:o,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],onChange:function(e){return d({profileContent:e})}}),React.createElement(ve,this.props)))]}}]),n}(xe);function We(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ie=wp.element.Component,Ue=wp.blockEditor.RichText,Ve=function(e){m()(n,e);var t=We(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileName,n=e.profileTitle,r=e.profileContent,a=e.profileImgURL,o=e.profileImgAlt,i=e.profileImgID,s=e.profileTextColor;return React.createElement(ye,this.props,a&&i&&React.createElement(we,this.props,React.createElement("figure",{className:"gb-profile-image-square"},React.createElement("img",{className:b()("gb-profile-avatar","wp-image-"+i),src:a,alt:o}))),React.createElement("div",{className:b()("gb-profile-column gb-profile-content-wrap")},t&&React.createElement(Ue.Content,{tagName:"h2",className:"gb-profile-name",style:{color:s},value:t}),n&&React.createElement(Ue.Content,{tagName:"p",className:"gb-profile-title",style:{color:s},value:n}),r&&React.createElement(Ue.Content,{tagName:"div",className:"gb-profile-text",value:r}),React.createElement(ve,this.props)))}}]),n}(Ie);n(329),n(330);function Je(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ge=function(e){m()(n,e);var t=Je(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileAlignment,n=e.profileImgURL,r=e.profileFontSize,a=e.profileBackgroundColor,o=e.profileTextColor,i=e.profileAvatarShape;return React.createElement("div",{style:{backgroundColor:a,color:o},className:b()(this.props.className,t,i,{"gb-has-avatar":n},"gb-font-size-"+r,"gb-block-profile","gb-profile-columns")},this.props.children)}}]),n}(wp.element.Component);function qe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var $e=wp.i18n.__,Ke=function(e){m()(n,e);var t=qe(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("ul",{className:"gb-social-links"},this.props.attributes.website&&!!this.props.attributes.website.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.website,target:"_blank",rel:"noopener noreferrer"},$e("Website","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fas fa-link"}))),this.props.attributes.twitter&&!!this.props.attributes.twitter.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.twitter,target:"_blank",rel:"noopener noreferrer"},$e("Twitter","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-twitter"}))),this.props.attributes.facebook&&!!this.props.attributes.facebook.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.facebook,target:"_blank",rel:"noopener noreferrer"},$e("Facebook","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-facebook-f"}))),this.props.attributes.instagram&&!!this.props.attributes.instagram.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.instagram,target:"_blank",rel:"noopener noreferrer"},$e("Instagram","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-instagram"}))),this.props.attributes.pinterest&&!!this.props.attributes.pinterest.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.pinterest,target:"_blank",rel:"noopener noreferrer"},$e("Pinterest","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-pinterest"}))),this.props.attributes.google&&!!this.props.attributes.google.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.google,target:"_blank",rel:"noopener noreferrer"},$e("Google","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-google"}))),this.props.attributes.youtube&&!!this.props.attributes.youtube.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.youtube,target:"_blank",rel:"noopener noreferrer"},$e("YouTube","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-youtube"}))),this.props.attributes.linkedin&&!!this.props.attributes.linkedin.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.linkedin,target:"_blank",rel:"noopener noreferrer"},$e("LinkedIn","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-linkedin"}))),this.props.attributes.github&&!!this.props.attributes.github.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.github,target:"_blank",rel:"noopener noreferrer"},$e("Github","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-github"}))),this.props.attributes.wordpress&&!!this.props.attributes.wordpress.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.wordpress,target:"_blank",rel:"noopener noreferrer"},$e("WordPress","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"fab fa-wordpress-simple"}))),this.props.attributes.email&&!!this.props.attributes.email.length&&React.createElement("li",null,React.createElement("a",{href:this.props.attributes.email,target:"_blank",rel:"noopener noreferrer"},$e("Email","genesis-blocks")," ",React.createElement("i",{style:{backgroundColor:this.props.attributes.profileLinkColor},className:"far fa-envelope"}))))}}]),n}(wp.element.Component);function Ze(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Qe=function(e){m()(n,e);var t=Ze(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{className:"gb-profile-column gb-profile-avatar-wrap"},React.createElement("div",{className:"gb-profile-image-wrap"},this.props.children))}}]),n}(wp.element.Component);function Xe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var et=wp.element.Component,tt=wp.blockEditor.RichText,nt={attributes:{profileName:{type:"array",source:"children",selector:".gb-profile-name"},profileTitle:{type:"array",source:"children",selector:".gb-profile-title"},profileContent:{type:"array",selector:".gb-profile-text",source:"children"},profileAlignment:{type:"string"},profileImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},profileImgAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},profileImgID:{type:"number"},profileBackgroundColor:{type:"string",default:"#f2f2f2"},profileTextColor:{type:"string",default:"#32373c"},profileLinkColor:{type:"string",default:"#392f43"},profileFontSize:{type:"number",default:18},profileAvatarShape:{type:"string",default:"square"},twitter:{type:"url"},facebook:{type:"url"},instagram:{type:"url"},pinterest:{type:"url"},google:{type:"url"},youtube:{type:"url"},github:{type:"url"},linkedin:{type:"url"},email:{type:"url"},wordpress:{type:"url"},website:{type:"url"}},save:function(e){m()(n,e);var t=Xe(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileName,n=e.profileTitle,r=e.profileContent,a=e.profileImgURL,o=e.profileImgAlt,i=e.profileImgID,s=e.profileTextColor;return React.createElement(Ge,this.props,a&&React.createElement(Qe,this.props,React.createElement("figure",{className:"gb-profile-image-square"},React.createElement("img",{className:b()("gb-profile-avatar","wp-image-"+i),src:a,alt:o}))),React.createElement("div",{className:b()("gb-profile-column gb-profile-content-wrap")},t&&React.createElement(tt.Content,{tagName:"h2",className:"gb-profile-name",style:{color:s},value:t}),n&&React.createElement(tt.Content,{tagName:"p",className:"gb-profile-title",style:{color:s},value:n}),r&&React.createElement(tt.Content,{tagName:"div",className:"gb-profile-text",value:r}),React.createElement(Ke,this.props)))}}]),n}(et)};function rt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var at=wp.element.Component,ot=wp.blockEditor.RichText,it=[nt,{attributes:{profileName:{type:"array",source:"children",selector:".gb-profile-name"},profileTitle:{type:"array",source:"children",selector:".gb-profile-title"},profileContent:{type:"array",selector:".gb-profile-text",source:"children"},profileAlignment:{type:"string"},profileImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},profileImgID:{type:"number"},profileBackgroundColor:{type:"string",default:"#f2f2f2"},profileTextColor:{type:"string",default:"#32373c"},profileLinkColor:{type:"string",default:"#392f43"},profileFontSize:{type:"number",default:18},profileAvatarShape:{type:"string",default:"square"},twitter:{type:"url"},facebook:{type:"url"},instagram:{type:"url"},pinterest:{type:"url"},google:{type:"url"},youtube:{type:"url"},github:{type:"url"},linkedin:{type:"url"},email:{type:"url"},website:{type:"url"}},save:function(e){m()(n,e);var t=rt(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.profileName,n=e.profileTitle,r=e.profileContent,a=e.profileImgURL,o=e.profileTextColor;return React.createElement(ye,this.props,a&&React.createElement(we,this.props,React.createElement("div",{className:"gb-profile-image-square"},React.createElement("img",{className:"gb-profile-avatar",src:a,alt:"avatar"}))),React.createElement("div",{className:b()("gb-profile-column gb-profile-content-wrap")},t&&React.createElement(ot.Content,{tagName:"h2",className:"gb-profile-name",style:{color:o},value:t}),n&&React.createElement(ot.Content,{tagName:"p",className:"gb-profile-title",style:{color:o},value:n}),r&&React.createElement(ot.Content,{tagName:"div",className:"gb-profile-text",value:r}),React.createElement(ve,this.props)))}}]),n}(at)}],st=wp.i18n.__;function lt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-profile-box",{title:st("Profile Box","genesis-blocks"),description:st("Add a profile box with bio info and social media links.","genesis-blocks"),icon:"admin-users",category:"genesis-blocks",keywords:[st("author","genesis-blocks"),st("profile","genesis-blocks"),st("atomic","genesis-blocks"),st("genesis","genesis-blocks")],attributes:{clientId:{type:"string",default:""},profileName:{type:"array",source:"children",selector:".gb-profile-name"},profileTitle:{type:"array",source:"children",selector:".gb-profile-title"},profileContent:{type:"array",selector:".gb-profile-text",source:"children"},profileAlignment:{type:"string"},profileImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},profileImgAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},profileImgID:{type:"number"},profileBackgroundColor:{type:"string",default:"#f2f2f2"},profileTextColor:{type:"string",default:"#32373c"},profileLinkColor:{type:"string",default:"#392f43"},profileFontSize:{type:"number",default:18},profileAvatarShape:{type:"string",default:"square"},twitter:{type:"url"},facebook:{type:"url"},instagram:{type:"url"},pinterest:{type:"url"},google:{type:"url"},youtube:{type:"url"},github:{type:"url"},linkedin:{type:"url"},email:{type:"url"},wordpress:{type:"url"},website:{type:"url"}},gb_settings_data:{gb_author_profile_profileFontSize:{title:st("Font Size","genesis-blocks")},gb_author_profile_profileAvatarShape:{title:st("Avatar Shape","genesis-blocks")},gb_author_profile_profileBackgroundColor:{title:st("Background Color","genesis-blocks")},gb_author_profile_profileTextColor:{title:st("Text Color","genesis-blocks")},gb_author_profile_profileLinkColor:{title:st("Social Link Color","genesis-blocks")},gb_author_profile_socialLinks:{title:st("Social Links","genesis-blocks")}},edit:function(e){return React.createElement(Fe,a()({},e,{clientId:e.clientId}))},save:function(e){return React.createElement(Ve,a()({},e,{clientId:e.attributes.clientId}))},deprecated:it});var ct=wp.i18n.__,ut=wp.element.Component,dt=wp.blockEditor,mt=dt.PanelColorSettings,pt=dt.InspectorControls,_t=wp.components,ht=_t.PanelBody,gt=_t.RangeControl,ft=_t.SelectControl,bt=function(e){m()(n,e);var t=lt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=[{value:null,label:ct("Always Show","genesis-blocks")},{value:"gb-dismissable",label:ct("Dismissible","genesis-blocks")}],n=this.props.attributes,r=n.noticeBackgroundColor,a=n.noticeTextColor,o=n.noticeTitleColor,i=n.noticeFontSize,s=n.noticeDismiss,l=this.props.setAttributes;return React.createElement(pt,{key:"inspector"},React.createElement(ht,null,React.createElement(v,{id:"gb_notice_noticeFontSize"},React.createElement(gt,{label:ct("Font Size","genesis-blocks"),value:i,onChange:function(t){return e.props.setAttributes({noticeFontSize:t})},min:14,max:24,step:1})),React.createElement(v,{id:"gb_notice_noticeDismiss"},React.createElement(ft,{label:ct("Notice Display","genesis-blocks"),description:ct("Do you want the message to always show or dismissible?","genesis-blocks"),options:t,value:s,onChange:function(t){return e.props.setAttributes({noticeDismiss:t})}}))),React.createElement(v,{id:"gb_notice_colorSettings"},React.createElement(mt,{title:ct("Notice Color","genesis-blocks"),colorValue:r,initialOpen:!1,colorSettings:[{value:r,onChange:function(e){return l({noticeBackgroundColor:e})},colors:[{color:"#00d1b2",name:"teal"},{color:"#3373dc",name:"royal blue"},{color:"#209cef",name:"sky blue"},{color:"#22d25f",name:"green"},{color:"#ffdd57",name:"yellow"},{color:"#ff3860",name:"pink"},{color:"#7941b6",name:"purple"},{color:"#392F43",name:"black"}],label:ct("Notice Color","genesis-blocks")}]}),React.createElement(mt,{title:ct("Title Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:o,onChange:function(e){return l({noticeTitleColor:e})},label:ct("Title Color","genesis-blocks")}]}),React.createElement(mt,{title:ct("Text Color","genesis-blocks"),colorValue:a,initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return l({noticeTextColor:e})},label:ct("Text Color","genesis-blocks")}]})))}}]),n}(ut),yt=n(195),kt=n.n(yt);function Mt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var vt=function(e){m()(n,e);var t=Mt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.noticeTitle,r=t.noticeAlignment,a=t.noticeBackgroundColor,o=t.noticeTextColor,i=t.noticeFontSize,s=t.noticeDismiss,l=(e=s+n,kt()(e).substr(0,6));return React.createElement("div",{style:{color:o,textAlign:r,backgroundColor:a},className:b()(this.props.className,s,"gb-font-size-"+i,"gb-block-notice"),"data-id":l},this.props.children)}}]),n}(wp.element.Component);function Lt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var wt=function(e){m()(n,e);var t=Lt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes.noticeTitleColor;return React.createElement("div",{className:"gb-notice-dismiss",style:{fill:e,color:e}},this.props.children)}}]),n}(wp.element.Component),Yt={};Yt.upload=React.createElement("svg",{width:"20px",height:"20px",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m77.945 91.453h-72.371c-3.3711 0-5.5742-2.3633-5.5742-5.2422v-55.719c0-3.457 2.1172-6.0703 5.5742-6.0703h44.453v11.051l-38.98-0.003906v45.008h60.977v-17.133l11.988-0.007812v22.875c0 2.8789-2.7812 5.2422-6.0664 5.2422z"}),React.createElement("path",{d:"m16.543 75.48l23.25-22.324 10.441 9.7773 11.234-14.766 5.5039 10.539 0.039063 16.773z"}),React.createElement("path",{d:"m28.047 52.992c-3.168 0-5.7422-2.5742-5.7422-5.7461 0-3.1758 2.5742-5.75 5.7422-5.75 3.1797 0 5.7539 2.5742 5.7539 5.75 0 3.1719-2.5742 5.7461-5.7539 5.7461z"}),React.createElement("path",{d:"m84.043 30.492v22.02h-12.059l-0.015625-22.02h-15.852l21.941-21.945 21.941 21.945z"})),Yt.dismiss=React.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},React.createElement("path",{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zM15 13l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z"}));var Tt=Yt;n(331),n(332);function Dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function St(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var xt=wp.i18n.__,Et=wp.element.Component,Ct=wp.blocks.registerBlockType,jt=wp.blockEditor,Pt=jt.RichText,Ht=jt.AlignmentToolbar,Ot=jt.BlockControls,zt=function(e){m()(n,e);var t=St(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.noticeTitle,r=t.noticeContent,o=t.noticeAlignment,i=t.noticeBackgroundColor,s=t.noticeTitleColor,l=t.noticeDismiss,c=e.setAttributes;return[React.createElement(Ot,{key:"controls"},React.createElement(Ht,{value:o,onChange:function(e){return c({noticeAlignment:e})}})),React.createElement(bt,a()({key:"gb-notice-inspector-"+this.props.clientId},Rt({setAttributes:c},this.props))),React.createElement(vt,a()({key:"gb-notice-noticebox-"+this.props.clientId},this.props),l&&"gb-dismissable"===l&&React.createElement(wt,this.props,Tt.dismiss),React.createElement(Pt,{tagName:"p",placeholder:xt("Notice Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,className:b()("gb-notice-title"),style:{color:s},onChange:function(e){return c({noticeTitle:e})}}),React.createElement(Pt,{tagName:"div",multiline:"p",placeholder:xt("Add notice text…","genesis-blocks"),value:r,className:b()("gb-notice-text"),style:{borderColor:i},onChange:function(e){return c({noticeContent:e})}}))]}}]),n}(Et);function At(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}Ct("genesis-blocks/gb-notice",{title:xt("Notice","genesis-blocks"),description:xt("Add a stylized text notice.","genesis-blocks"),icon:"format-aside",category:"genesis-blocks",keywords:[xt("notice","genesis-blocks"),xt("message","genesis-blocks"),xt("atomic","genesis-blocks")],attributes:{noticeTitle:{type:"string",selector:".gb-notice-title"},noticeContent:{type:"array",selector:".gb-notice-text",source:"children"},noticeAlignment:{type:"string"},noticeBackgroundColor:{type:"string",default:"#00d1b2"},noticeTextColor:{type:"string",default:"#32373c"},noticeTitleColor:{type:"string",default:"#fff"},noticeFontSize:{type:"number",default:18},noticeDismiss:{type:"string",default:""}},gb_settings_data:{gb_notice_noticeFontSize:{title:xt("Font Size","genesis-blocks")},gb_notice_noticeDismiss:{title:xt("Notice Display","genesis-blocks")},gb_notice_colorSettings:{title:xt("Notice Color","genesis-blocks")}},edit:zt,save:function(e){var t=e.attributes,n=t.noticeTitle,r=t.noticeContent,a=t.noticeBackgroundColor,o=t.noticeTitleColor,i=t.noticeDismiss;return React.createElement(vt,e,i&&"gb-dismissable"===i&&React.createElement(wt,e,Tt.dismiss),n&&React.createElement("div",{className:"gb-notice-title",style:{color:o}},React.createElement(Pt.Content,{tagName:"p",value:n})),r&&React.createElement(Pt.Content,{tagName:"div",className:"gb-notice-text",style:{borderColor:a},value:r}))}});var Bt=wp.i18n.__,Nt=wp.element.Component,Ft=wp.blockEditor.InspectorControls,Wt=wp.components,It=Wt.RangeControl,Ut=Wt.SelectControl,Vt=Wt.PanelBody,Jt=function(e){m()(n,e);var t=At(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.dropCapFontSize,r=t.dropCapStyle,a=[{value:"gb-drop-cap-letter",label:Bt("Letter","genesis-blocks")},{value:"gb-drop-cap-square",label:Bt("Square","genesis-blocks")},{value:"gb-drop-cap-border",label:Bt("Border","genesis-blocks")}];return React.createElement(Ft,{key:"inspector"},React.createElement(Vt,null,React.createElement(v,{id:"gb_dropcap_dropCapFontSize"},React.createElement(It,{label:Bt("Drop Cap Size","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({dropCapFontSize:t})},min:1,max:6,step:1})),React.createElement(v,{id:"gb_dropcap_dropCapStyle"},React.createElement(Ut,{label:Bt("Drop Cap Style","genesis-blocks"),description:Bt("Choose the style of the drop cap in your paragraph","genesis-blocks"),options:a,value:r,onChange:function(t){return e.props.setAttributes({dropCapStyle:t})}}))))}}]),n}(Nt);function Gt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var qt=function(e){m()(n,e);var t=Gt(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.dropCapAlignment,n=e.dropCapTextColor,r=e.dropCapFontSize,a=e.dropCapStyle;return React.createElement("div",{style:{color:n,textAlign:t},className:b()(this.props.className,a,"gb-font-size-"+r,"gb-block-drop-cap")},this.props.children)}}]),n}(wp.element.Component);n(333),n(334);function $t(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Kt=wp.i18n.__,Zt=wp.element.Component,Qt=wp.blocks.registerBlockType,Xt=wp.blockEditor,en=Xt.RichText,tn=Xt.AlignmentToolbar,nn=Xt.BlockControls,rn=function(e){m()(n,e);var t=$t(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.dropCapContent,r=t.dropCapAlignment,o=t.dropCapFontSize;return[React.createElement(nn,{key:"controls"},React.createElement(tn,{value:r,onChange:function(t){return e.props.setAttributes({dropCapAlignment:t})}})),React.createElement(Jt,a()({key:"gb-drop-cap-inspector-"+this.props.clientId},this.props)),React.createElement(qt,a()({key:"gb-drop-cap-"+this.props.clientId},this.props),React.createElement(en,{tagName:"div",multiline:"p",placeholder:Kt("Add paragraph text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,allowedFormats:["core/bold","core/italic","core/strikethrough","core/link"],className:b()("gb-drop-cap-text","gb-font-size-"+o),onChange:function(t){return e.props.setAttributes({dropCapContent:t})}}))]}}]),n}(Zt);Qt("genesis-blocks/gb-drop-cap",{title:Kt("Drop Cap","genesis-blocks"),description:Kt("Add a styled drop cap to the beginning of your paragraph.","genesis-blocks"),icon:"format-quote",category:"genesis-blocks",keywords:[Kt("drop cap","genesis-blocks"),Kt("quote","genesis-blocks"),Kt("genesis","genesis-blocks")],attributes:{dropCapContent:{type:"array",selector:".gb-drop-cap-text",source:"children"},dropCapAlignment:{type:"string"},dropCapBackgroundColor:{type:"string",default:"#f2f2f2"},dropCapTextColor:{type:"string",default:"#32373c"},dropCapFontSize:{type:"number",default:3},dropCapStyle:{type:"string",default:"drop-cap-letter"}},gb_settings_data:{gb_dropcap_dropCapFontSize:{title:Kt("Drop Cap Size","genesis-blocks")},gb_dropcap_dropCapStyle:{title:Kt("Drop Cap Style","genesis-blocks")}},edit:rn,save:function(e){var t=e.attributes.dropCapContent;return React.createElement(qt,e,t&&React.createElement(en.Content,{tagName:"div",className:"gb-drop-cap-text",value:t}))}});var an=wp.i18n.__,on=wp.element.Fragment,sn=wp.components,ln=sn.SelectControl,cn=sn.ToggleControl,un=wp.blockEditor.PanelColorSettings;function dn(e){var t=e.enableButtonBackgroundColor,n=e.buttonBackgroundColor,r=e.onChangeButtonColor,a=void 0===r?function(){}:r,o=e.enableButtonTextColor,i=e.buttonTextColor,s=e.onChangeButtonTextColor,l=void 0===s?function(){}:s,c=e.enableButtonSize,u=e.buttonSize,d=e.onChangeButtonSize,m=void 0===d?function(){}:d,p=e.enableButtonShape,_=e.buttonShape,h=e.onChangeButtonShape,g=void 0===h?function(){}:h,f=e.enableButtonTarget,b=e.buttonTarget,y=e.onChangeButtonTarget,k=void 0===y?function(){}:y,M=[{value:"gb-button-size-small",label:an("Small","genesis-blocks")},{value:"gb-button-size-medium",label:an("Medium","genesis-blocks")},{value:"gb-button-size-large",label:an("Large","genesis-blocks")},{value:"gb-button-size-extralarge",label:an("Extra Large","genesis-blocks")}],L=[{value:"gb-button-shape-square",label:an("Square","genesis-blocks")},{value:"gb-button-shape-rounded",label:an("Rounded Square","genesis-blocks")},{value:"gb-button-shape-circular",label:an("Circular","genesis-blocks")}];return React.createElement(on,null,React.createElement(v,{id:"gb_button_buttonOptions"},!1!==f&&React.createElement(cn,{label:an("Open link in new window","genesis-blocks"),checked:b,onChange:k}),!1!==c&&React.createElement(ln,{selected:u,label:an("Button Size","genesis-blocks"),value:u,options:M.map((function(e){return{value:e.value,label:e.label}})),onChange:m}),!1!==p&&React.createElement(ln,{label:an("Button Shape","genesis-blocks"),value:_,options:L.map((function(e){return{value:e.value,label:e.label}})),onChange:g}),!1!==t&&React.createElement(un,{title:an("Button Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n,onChange:a,label:an("Button Color","genesis-blocks")}]}),!1!==o&&React.createElement(un,{title:an("Button Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:i,onChange:l,label:an("Button Text Color","genesis-blocks")}]})))}function mn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}wp.i18n.__;var pn=wp.element.Component,_n=wp.blockEditor.InspectorControls,hn=wp.components.PanelBody,gn=function(e){m()(n,e);var t=mn(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonBackgroundColor,n=e.buttonTextColor,r=e.buttonSize,a=e.buttonShape,o=e.buttonTarget,i=this.props.setAttributes;return React.createElement(_n,{key:"inspector"},React.createElement(hn,null,React.createElement(dn,{buttonTarget:o,onChangeButtonTarget:function(e){return i({buttonTarget:!o})},buttonSize:r,onChangeButtonSize:function(e){return i({buttonSize:e})},buttonShape:a,onChangeButtonShape:function(e){return i({buttonShape:e})},buttonBackgroundColor:t,onChangeButtonColor:function(e){return i({buttonBackgroundColor:e})},buttonTextColor:n,onChangeButtonTextColor:function(e){return i({buttonTextColor:e})}})))}}]),n}(pn);function fn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var bn=function(e){m()(n,e);var t=fn(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{style:{textAlign:this.props.attributes.buttonAlignment},className:b()(this.props.className,"gb-block-button")},this.props.children)}}]),n}(wp.element.Component);n(335),n(336);function yn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var kn=wp.i18n.__,Mn=wp.element.Component,vn=wp.blocks.registerBlockType,Ln=wp.blockEditor,wn=Ln.RichText,Yn=Ln.AlignmentToolbar,Tn=Ln.BlockControls,Dn=Ln.URLInput,Rn=wp.components,Sn=Rn.Button,xn=Rn.Dashicon,En=Rn.Icon,Cn=function(e){m()(n,e);var t=yn(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.buttonText,r=t.buttonUrl,o=t.buttonAlignment,i=t.buttonBackgroundColor,s=t.buttonTextColor,l=t.buttonSize,c=t.buttonShape,u=e.isSelected,d=e.setAttributes;return[React.createElement(Tn,{key:"controls"},React.createElement(Yn,{value:o,onChange:function(e){d({buttonAlignment:e})}})),React.createElement(gn,a()({key:"gb-button-inspector-"+this.props.clientId},this.props)),React.createElement(bn,a()({key:"gb-button-custombutton-"+this.props.clientId},this.props),React.createElement(wn,{tagName:"span",placeholder:kn("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:n,allowedFormats:[],className:b()("gb-button",c,l),style:{color:s||"#ffffff",backgroundColor:i||"#3373dc"},onChange:function(e){return d({buttonText:e})}})),u&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(o),onSubmit:function(e){return e.preventDefault()},style:{textAlign:o}},React.createElement(xn,{icon:"admin-links"}),React.createElement(Dn,{className:"button-url",value:r,onChange:function(e){return d({buttonUrl:e})}}),React.createElement(Sn,{label:kn("Apply","genesis-blocks"),type:"submit"},React.createElement(En,{icon:"editor-break"})))]}}]),n}(Mn);function jn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}vn("genesis-blocks/gb-button",{title:kn("Button","genesis-blocks"),description:kn("Add a customizable button.","genesis-blocks"),icon:"admin-links",category:"genesis-blocks",keywords:[kn("button","genesis-blocks"),kn("link","genesis-blocks"),kn("genesis","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string"},buttonBackgroundColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1}},gb_settings_data:{gb_button_buttonOptions:{title:kn("Button Options","genesis-blocks")}},edit:Cn,save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=t.buttonBackgroundColor,o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget;return React.createElement(bn,e,n&&React.createElement("a",{href:r,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:b()("gb-button",s,i),style:{color:o||"#ffffff",backgroundColor:a||"#3373dc"}},React.createElement(wn.Content,{value:n})))}});var Pn=wp.i18n.__,Hn=wp.element,On=Hn.Component,zn=Hn.Fragment,An=wp.blockEditor,Bn=An.InspectorControls,Nn=An.PanelColorSettings,Fn=wp.components,Wn=Fn.PanelBody,In=Fn.RangeControl,Un=Fn.ToggleControl,Vn=Fn.SelectControl,Jn=function(e){m()(n,e);var t=jn(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.spacerHeight,a=n.spacerDivider,o=n.spacerDividerStyle,i=n.spacerDividerColor,s=n.spacerDividerHeight,l=t.setAttributes,c=[{value:"gb-divider-solid",label:Pn("Solid","genesis-blocks")},{value:"gb-divider-dashed",label:Pn("Dashed","genesis-blocks")},{value:"gb-divider-dotted",label:Pn("Dotted","genesis-blocks")}];return React.createElement(Bn,{key:"inspector"},React.createElement(Wn,null,React.createElement(v,{id:"gb_spacer_spacerHeight"},React.createElement(In,{label:Pn("Spacer Height","genesis-blocks"),value:r||"",onChange:function(t){return e.props.setAttributes({spacerHeight:t})},min:30,max:600})),React.createElement(v,{id:"gb_spacer_spacerDivider"},React.createElement(Un,{label:Pn("Add Divider","genesis-blocks"),checked:a,onChange:function(){return e.props.setAttributes({spacerDivider:!a})}}))),a?React.createElement(zn,null,React.createElement(Wn,null,React.createElement(v,{id:"gb_spacer_spacerDividerStyle"},React.createElement(Vn,{label:Pn("Divider Style","genesis-blocks"),value:o,options:c.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({spacerDividerStyle:t})}})),React.createElement(v,{id:"gb_spacer_spacerDividerHeight"},React.createElement(In,{label:Pn("Divider Height","genesis-blocks"),value:s||"",onChange:function(t){return e.props.setAttributes({spacerDividerHeight:t})},min:1,max:5}))),React.createElement(v,{id:"gb_spacer_dividerColor"},React.createElement(Nn,{title:Pn("Divider Color","genesis-blocks"),initialOpen:!1,colorSettings:[{colors:[{color:"#ddd",name:"white"},{color:"#333",name:"black"},{color:"#3373dc",name:"royal blue"},{color:"#22d25f",name:"green"},{color:"#ffdd57",name:"yellow"},{color:"#ff3860",name:"pink"},{color:"#7941b6",name:"purple"}],value:i,onChange:function(e){return l({spacerDividerColor:e})},label:Pn("Divider Color","genesis-blocks")}]}))):null)}}]),n}(On);function Gn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var qn,$n=function(e){m()(n,e);var t=Gn(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.spacerDivider,n=e.spacerDividerStyle,r=e.spacerDividerColor,a=e.spacerDividerHeight;return React.createElement("div",{style:{color:r},className:b()(this.props.className,"gb-block-spacer",n,{"gb-spacer-divider":t},"gb-divider-size-"+a)},this.props.children)}}]),n}(wp.element.Component),Kn=n(10),Zn=n.n(Kn),Qn=(qn=function(e,t){return(qn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}qn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Xn=function(){return(Xn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},er={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},tr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return Qn(t,e),t.prototype.render=function(){return Kn.createElement("div",{className:this.props.className||"",style:Xn(Xn({position:"absolute",userSelect:"none"},er[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(Kn.PureComponent),nr=n(15),rr=n.n(nr),ar=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),or=function(){return(or=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},ir={width:"auto",height:"auto"},sr=rr()((function(e,t,n){return Math.max(Math.min(e,n),t)})),lr=rr()((function(e,t){return Math.round(e/t)*t})),cr=rr()((function(e,t){return new RegExp(e,"i").test(t)})),ur=rr()((function(e,t,n){void 0===n&&(n=0);var r=t.reduce((function(n,r,a){return Math.abs(r-e)<Math.abs(t[n]-e)?a:n}),0),a=Math.abs(t[r]-e);return 0===n||a<n?t[r]:e})),dr=rr()((function(e,t){return e.substr(e.length-t.length,t.length)===t})),mr=rr()((function(e){return"auto"===(e=e.toString())||dr(e,"px")||dr(e,"%")||dr(e,"vh")||dr(e,"vw")||dr(e,"vmax")||dr(e,"vmin")?e:e+"px"})),pr=function(e,t,n,r){if(e&&"string"==typeof e){if(dr(e,"%"))return t*(Number(e.replace("%",""))/100);if(dr(e,"vw"))return n*(Number(e.replace("vw",""))/100);if(dr(e,"vh"))return r*(Number(e.replace("vh",""))/100)}return e},_r=rr()((function(e,t,n,r,a,o,i){return r=pr(r,e.width,t,n),a=pr(a,e.height,t,n),o=pr(o,e.width,t,n),i=pr(i,e.height,t,n),{maxWidth:void 0===r?void 0:Number(r),maxHeight:void 0===a?void 0:Number(a),minWidth:void 0===o?void 0:Number(o),minHeight:void 0===i?void 0:Number(i)}})),hr=["as","style","className","grid","snap","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],gr=function(e){function t(t){var n=e.call(this,t)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableTop=0,n.targetLeft=0,n.targetTop=0,n.ref=function(e){e&&(n.resizable=e)},n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return ar(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||ir},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"base",{get:function(){var e=this.parentNode;if(e)for(var t=0,n=[].slice.call(e.children);t<n.length;t++){var r=n[t];if(r.classList.contains("__resizable_base__"))return r}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,a=this.resizable.style.position;"relative"!==a&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=a}return{width:e,height:t}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&dr(e.propsSize[t].toString(),"%")){if(dr(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return mr(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?mr(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?mr(t.height):n("height")}},enumerable:!0,configurable:!0}),t.prototype.getParentSize=function(){if(!this.base||!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=!1,t=this.parentNode.style.flexWrap,n=this.base.style.minWidth;"wrap"!==t&&(e=!0,this.parentNode.style.flexWrap="wrap"),this.base.style.position="relative",this.base.style.minWidth="100%";var r={width:this.base.offsetWidth,height:this.base.offsetHeight};return this.base.style.position="absolute",e&&(this.parentNode.style.flexWrap=t),this.base.style.minWidth=n,r},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0});var t=this.parentNode;if(t&&!this.base){var n=this.window.document.createElement("div");n.style.width="100%",n.style.height="100%",n.style.position="absolute",n.style.transform="scale(0, 0)",n.style.left="0",n.style.flex="0",n.classList?n.classList.add("__resizable_base__"):n.className+="__resizable_base__",t.appendChild(n)}}},t.prototype.componentWillUnmount=function(){if(this.window){this.unbindEvents();var e=this.parentNode;if(!this.base||!e)return;if(!e||!this.base)return;e.removeChild(this.base)}},t.prototype.createSizeForCssProperty=function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){if("parent"===this.props.bounds){var n=this.parentNode;if(n){var r=n.offsetWidth+(this.parentLeft-this.resizableLeft),a=n.offsetHeight+(this.parentTop-this.resizableTop);e=e&&e<r?e:r,t=t&&t<a?t:a}}else if("window"===this.props.bounds){if(this.window){r=this.window.innerWidth-this.resizableLeft,a=this.window.innerHeight-this.resizableTop;e=e&&e<r?e:r,t=t&&t<a?t:a}}else if(this.props.bounds){r=this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),a=this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop);e=e&&e<r?e:r,t=t&&t<a?t:a}return{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var n=this.props.scale||1,r=this.props.resizeRatio||1,a=this.state,o=a.direction,i=a.original,s=this.props,l=s.lockAspectRatio,c=s.lockAspectRatioExtraHeight,u=s.lockAspectRatioExtraWidth,d=i.width,m=i.height,p=c||0,_=u||0;return cr("right",o)&&(d=i.width+(e-i.x)*r/n,l&&(m=(d-_)/this.ratio+p)),cr("left",o)&&(d=i.width-(e-i.x)*r/n,l&&(m=(d-_)/this.ratio+p)),cr("bottom",o)&&(m=i.height+(t-i.y)*r/n,l&&(d=(m-p)*this.ratio+_)),cr("top",o)&&(m=i.height-(t-i.y)*r/n,l&&(d=(m-p)*this.ratio+_)),{newWidth:d,newHeight:m}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var a=this.props,o=a.lockAspectRatio,i=a.lockAspectRatioExtraHeight,s=a.lockAspectRatioExtraWidth,l=void 0===r.width?10:r.width,c=void 0===n.width||n.width<0?e:n.width,u=void 0===r.height?10:r.height,d=void 0===n.height||n.height<0?t:n.height,m=i||0,p=s||0;if(o){var _=(u-m)*this.ratio+p,h=(d-m)*this.ratio+p,g=(l-p)/this.ratio+m,f=(c-p)/this.ratio+m,b=Math.max(l,_),y=Math.min(c,h),k=Math.max(u,g),M=Math.min(d,f);e=sr(e,b,y),t=sr(t,k,M)}else e=sr(e,l,c),t=sr(t,u,d);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var n=this.props.bounds.getBoundingClientRect();this.targetLeft=n.left,this.targetTop=n.top}if(this.resizable){var r=this.resizable.getBoundingClientRect(),a=r.left,o=r.top;this.resizableLeft=a,this.resizableTop=o}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var n,r=0,a=0;if(e.nativeEvent instanceof this.window.MouseEvent){if(r=e.nativeEvent.clientX,a=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent instanceof this.window.TouchEvent&&(r=e.nativeEvent.touches[0].clientX,a=e.nativeEvent.touches[0].clientY);if(this.props.onResizeStart)if(this.resizable)if(!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var o=this.window.getComputedStyle(this.resizable);if("auto"!==o.flexBasis){var i=this.parentNode;if(i){var s=this.window.getComputedStyle(i).flexDirection;this.flexDir=s.startsWith("row")?"row":"column",n=o.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var l={original:{x:r,y:a,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:or(or({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:n};this.setState(l)}},t.prototype.onMouseMove=function(e){if(this.state.isResizing&&this.resizable&&this.window){var t=this.props,n=t.maxWidth,r=t.maxHeight,a=t.minWidth,o=t.minHeight,i=e instanceof this.window.MouseEvent?e.clientX:e.touches[0].clientX,s=e instanceof this.window.MouseEvent?e.clientY:e.touches[0].clientY,l=this.state,c=l.direction,u=l.original,d=l.width,m=l.height,p=this.getParentSize(),_=_r(p,this.window.innerWidth,this.window.innerHeight,n,r,a,o);n=_.maxWidth,r=_.maxHeight,a=_.minWidth,o=_.minHeight;var h=this.calculateNewSizeFromDirection(i,s),g=h.newHeight,f=h.newWidth,b=this.calculateNewMaxFromBoundary(n,r),y=this.calculateNewSizeFromAspectRatio(f,g,{width:b.maxWidth,height:b.maxHeight},{width:a,height:o});if(f=y.newWidth,g=y.newHeight,this.props.grid){var k=lr(f,this.props.grid[0]),M=lr(g,this.props.grid[1]),v=this.props.snapGap||0;f=0===v||Math.abs(k-f)<=v?k:f,g=0===v||Math.abs(M-g)<=v?M:g}this.props.snap&&this.props.snap.x&&(f=ur(f,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(g=ur(g,this.props.snap.y,this.props.snapGap));var L={width:f-u.width,height:g-u.height};if(d&&"string"==typeof d)if(dr(d,"%"))f=f/p.width*100+"%";else if(dr(d,"vw")){f=f/this.window.innerWidth*100+"vw"}else if(dr(d,"vh")){f=f/this.window.innerHeight*100+"vh"}if(m&&"string"==typeof m)if(dr(m,"%"))g=g/p.height*100+"%";else if(dr(m,"vw")){g=g/this.window.innerWidth*100+"vw"}else if(dr(m,"vh")){g=g/this.window.innerHeight*100+"vh"}var w={width:this.createSizeForCssProperty(f,"width"),height:this.createSizeForCssProperty(g,"height")};"row"===this.flexDir?w.flexBasis=w.width:"column"===this.flexDir&&(w.flexBasis=w.height),this.setState(w),this.props.onResize&&this.props.onResize(e,c,this.resizable,L)}},t.prototype.onMouseUp=function(e){var t=this.state,n=t.isResizing,r=t.direction,a=t.original;if(n&&this.resizable){var o={width:this.size.width-a.width,height:this.size.height-a.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,o),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:or(or({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,a=t.handleClasses,o=t.handleWrapperStyle,i=t.handleWrapperClass,s=t.handleComponent;if(!n)return null;var l=Object.keys(n).map((function(t){return!1!==n[t]?Kn.createElement(tr,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:a&&a[t]},s&&s[t]?s[t]:null):null}));return Kn.createElement("span",{className:i,style:o},l)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,n){return-1!==hr.indexOf(n)||(t[n]=e.props[n]),t}),{}),n=or(or(or({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(n.flexBasis=this.state.flexBasis);var r=this.props.as;return Kn.createElement(r,or({ref:this.ref,style:n,className:this.props.className},t),this.state.isResizing&&Kn.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(Kn.PureComponent);n(337),n(338);function fr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var br=wp.i18n.__,yr=wp.element.Component,kr=wp.blocks.registerBlockType,Mr=function(e){m()(n,e);var t=fr(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.spacerHeight,r=t.spacerDividerColor,o=e.className,i=e.setAttributes,s=e.toggleSelection;return[React.createElement(Jn,a()({key:"gb-spacer-inspector-"+this.props.clientId},this.props)),React.createElement($n,a()({key:"gb-spacer-editor-"+this.props.clientId},this.props),React.createElement(gr,{className:b()(o,"gb-spacer-handle"),style:{color:r},size:{width:"100%",height:n},minWidth:"100%",maxWidth:"100%",minHeight:"100%",handleClasses:{bottomLeft:"gb-spacer-control__resize-handle"},enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!0,topLeft:!1},onResizeStart:function(){s(!1)},onResizeStop:function(e,t,r,a){i({spacerHeight:parseInt(n+a.height,10)}),s(!0)}}))]}}]),n}(yr);function vr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}kr("genesis-blocks/gb-spacer",{title:br("Spacer","genesis-blocks"),description:br("Add a spacer and divider between your blocks.","genesis-blocks"),icon:"image-flip-vertical",category:"genesis-blocks",keywords:[br("spacer","genesis-blocks"),br("divider","genesis-blocks"),br("atomic","genesis-blocks")],attributes:{spacerHeight:{type:"number",default:30},spacerDivider:{type:"boolean",default:!1},spacerDividerStyle:{type:"string",default:"gb-divider-solid"},spacerDividerColor:{type:"string",default:"#ddd"},spacerDividerHeight:{type:"number",default:1}},gb_settings_data:{gb_spacer_spacerHeight:{title:br("Spacer Height","genesis-blocks")},gb_spacer_spacerDivider:{title:br("Add Divider","genesis-blocks")},gb_spacer_spacerDividerStyle:{title:br("Divider Style","genesis-blocks")},gb_spacer_spacerDividerHeight:{title:br("Divider Height","genesis-blocks")},gb_spacer_dividerColor:{title:br("Divider Color","genesis-blocks")}},edit:Mr,save:function(e){var t=e.attributes.spacerHeight;return React.createElement($n,e,React.createElement("hr",{style:{height:t?t+"px":void 0}}))}});var Lr=wp.i18n.__,wr=wp.element.Component,Yr=wp.blockEditor.InspectorControls,Tr=wp.components,Dr=Tr.PanelBody,Rr=Tr.RangeControl,Sr=Tr.ToggleControl,xr=function(e){m()(n,e);var t=vr(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this;return React.createElement(Yr,{key:"inspector"},React.createElement(Dr,null,React.createElement(v,{id:"gb_accordion_accordionFontSize"},React.createElement(Rr,{label:Lr("Title Font Size","genesis-blocks"),value:this.props.attributes.accordionFontSize,onChange:function(t){return e.props.setAttributes({accordionFontSize:t})},min:14,max:24,step:1})),React.createElement(v,{id:"gb_accordion_accordionOpen"},React.createElement(Sr,{label:Lr("Open by default","genesis-blocks"),checked:this.props.attributes.accordionOpen,onChange:function(){return e.props.setAttributes({accordionOpen:!e.props.attributes.accordionOpen})}}))))}}]),n}(wr);function Er(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Cr=function(e){m()(n,e);var t=Er(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{className:b()(this.props.className,this.props.attributes.accordionAlignment?"gb-align-"+this.props.attributes.accordionAlignment:void 0,"gb-block-accordion",this.props.attributes.accordionFontSize?"gb-font-size-"+this.props.attributes.accordionFontSize:null)},this.props.children)}}]),n}(wp.element.Component);function jr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Pr=wp.i18n.__,Hr=wp.element.Component,Or=wp.blockEditor,zr=Or.RichText,Ar=Or.AlignmentToolbar,Br=Or.BlockControls,Nr=Or.InnerBlocks,Fr=function(e){m()(n,e);var t=jr(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this;return[React.createElement(Br,{key:"controls"},React.createElement(Ar,{value:this.props.attributes.accordionAlignment,onChange:function(t){return e.props.setAttributes({accordionAlignment:t})}})),React.createElement(xr,a()({key:"gb-accordion-inspector-"+this.props.clientId},this.props)),React.createElement(Cr,a()({key:"gb-accordion-"+this.props.clientId},this.props),React.createElement(zr,{tagName:"p",placeholder:Pr("Accordion Title","genesis-blocks"),value:this.props.attributes.accordionTitle,className:"gb-accordion-title",onChange:function(t){return e.props.setAttributes({accordionTitle:t})}}),React.createElement("div",{className:"gb-accordion-text"},React.createElement(Nr,null)))]}}]),n}(Hr);function Wr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ir=wp.element.Component,Ur=wp.blockEditor,Vr=Ur.RichText,Jr=Ur.InnerBlocks,Gr=function(e){m()(n,e);var t=Wr(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement(Cr,this.props,React.createElement("details",{open:this.props.attributes.accordionOpen},React.createElement("summary",{className:"gb-accordion-title"},React.createElement(Vr.Content,{value:this.props.attributes.accordionTitle})),React.createElement("div",{className:"gb-accordion-text"},React.createElement(Jr.Content,null))))}}]),n}(Ir);function qr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var $r=function(e){m()(n,e);var t=qr(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.accordionAlignment,n=e.accordionFontSize;return React.createElement("div",{style:{},className:b()(this.props.className,t,"gb-block-accordion","gb-font-size-"+n)},this.props.children)}}]),n}(wp.element.Component);function Kr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Zr=wp.element.Component,Qr=wp.blockEditor,Xr=Qr.RichText,ea=Qr.InnerBlocks,ta=function(e){m()(n,e);var t=Kr(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement($r,this.props,React.createElement("details",{open:this.props.attributes.accordionOpen},React.createElement("summary",{className:"gb-accordion-title"},React.createElement(Xr.Content,{value:this.props.attributes.accordionTitle})),React.createElement("div",{className:"gb-accordion-text"},React.createElement(ea.Content,null))))}}]),n}(Zr),na=[{attributes:{accordionTitle:{type:"array",selector:".gb-accordion-title",source:"children"},accordionText:{type:"array",selector:".gb-accordion-text",source:"children"},accordionAlignment:{type:"string"},accordionFontSize:{type:"number",default:18},accordionOpen:{type:"boolean",default:!1}},save:function(e){return React.createElement(ta,e)}}],ra=(n(339),n(340),wp.i18n.__),aa=(wp.element.Component,{accordionTitle:{type:"array",selector:".gb-accordion-title",source:"children"},accordionText:{type:"array",selector:".gb-accordion-text",source:"children"},accordionAlignment:{type:"string"},accordionFontSize:{type:"number",default:void 0},accordionOpen:{type:"boolean",default:!1}});function oa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-accordion",{title:ra("Accordion","genesis-blocks"),description:ra("Add accordion block with a title and text.","genesis-blocks"),icon:"editor-ul",category:"genesis-blocks",keywords:[ra("accordion","genesis-blocks"),ra("list","genesis-blocks"),ra("genesis","genesis-blocks")],attributes:aa,gb_settings_data:{gb_accordion_accordionFontSize:{title:ra("Title Font Size","genesis-blocks")},gb_accordion_accordionOpen:{title:ra("Open by default","genesis-blocks")}},edit:function(e){return React.createElement(Fr,e)},save:function(e){return React.createElement(Gr,e)},deprecated:na});var ia=wp.i18n.__,sa=wp.element.Component,la=wp.blockEditor,ca=la.InspectorControls,ua=la.PanelColorSettings,da=la.MediaUpload,ma=wp.components,pa=ma.Button,_a=ma.Icon,ha=ma.PanelBody,ga=ma.RangeControl,fa=ma.SelectControl,ba=ma.ToggleControl,ya=function(e){m()(n,e);var t=oa(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.buttonBackgroundColor,r=t.buttonTextColor,a=t.buttonSize,o=t.buttonShape,i=t.buttonTarget,s=t.titleFontSize,l=t.ctaTextFontSize,c=t.ctaBackgroundColor,u=t.ctaTextColor,d=t.dimRatio,m=t.imgURL,p=t.imgID,_=this.props.setAttributes,h=[{value:"gb-button-size-small",label:ia("Small")},{value:"gb-button-size-medium",label:ia("Medium")},{value:"gb-button-size-large",label:ia("Large")},{value:"gb-button-size-extralarge",label:ia("Extra Large")}],g=[{value:"gb-button-shape-square",label:ia("Square")},{value:"gb-button-shape-rounded",label:ia("Rounded Square")},{value:"gb-button-shape-circular",label:ia("Circular")}],f=function(){_({imgID:null,imgURL:null,imgAlt:null})};return React.createElement(ca,{key:"inspector"},React.createElement(v,{id:"gb_cta_textOptions"},React.createElement(ha,{title:ia("Text Options","genesis-blocks"),initialOpen:!0},React.createElement(ga,{label:ia("Title Font Size","genesis-blocks"),value:s,onChange:function(t){return e.props.setAttributes({titleFontSize:t})},min:24,max:60,step:2}),React.createElement(ga,{label:ia("Text Font Size","genesis-blocks"),value:l,onChange:function(t){return e.props.setAttributes({ctaTextFontSize:t})},min:14,max:24,step:2}),React.createElement(ua,{title:ia("Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:u,onChange:function(e){return _({ctaTextColor:e})},label:ia("Text Color","genesis-blocks")}]}))),React.createElement(v,{id:"gb_cta_backgroundOptions"},React.createElement(ha,{title:ia("Background Options","genesis-blocks"),initialOpen:!1},React.createElement("p",null,ia("Select a background image:","genesis-blocks")),React.createElement(da,{onSelect:function(e){_({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:p,render:function(e){var t=e.open;return React.createElement("div",null,React.createElement(pa,{className:"gb-cta-inspector-media",label:ia("Edit image","genesis-blocks"),onClick:t},React.createElement(_a,{icon:"format-image"}),ia("Select Image","genesis-blocks")),m&&!!m.length&&React.createElement(pa,{className:"gb-cta-inspector-media",label:ia("Remove Image","genesis-blocks"),onClick:f},React.createElement(_a,{icon:"dismiss"}),ia("Remove","genesis-blocks")))}}),m&&!!m.length&&React.createElement(ga,{label:ia("Image Opacity","genesis-blocks"),value:d,onChange:function(t){return e.props.setAttributes({dimRatio:t})},min:0,max:100,step:10}),React.createElement(ua,{title:ia("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:c,onChange:function(e){return _({ctaBackgroundColor:e})},label:ia("Overlay Color","genesis-blocks")}]}))),React.createElement(v,{id:"gb_cta_buttonOptions"},React.createElement(ha,{title:ia("Button Options","genesis-blocks"),initialOpen:!1},React.createElement(ba,{label:ia("Open link in new window","genesis-blocks"),checked:i,onChange:function(){return e.props.setAttributes({buttonTarget:!i})}}),React.createElement(fa,{label:ia("Button Size","genesis-blocks"),value:a,options:h.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({buttonSize:t})}}),React.createElement(fa,{label:ia("Button Shape","genesis-blocks"),value:o,options:g.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({buttonShape:t})}}),React.createElement(ua,{title:ia("Button Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n,onChange:function(e){return _({buttonBackgroundColor:e})},label:ia("Button Color","genesis-blocks")}]}),React.createElement(ua,{title:ia("Button Text Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:r,onChange:function(e){return _({buttonTextColor:e})},label:ia("Button Text Color","genesis-blocks")}]}))))}}]),n}(sa);function ka(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ma=function(e){m()(n,e);var t=ka(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=(t.buttonText,t.buttonUrl,t.buttonAlignment),r=(t.buttonBackgroundColor,t.buttonTextColor,t.buttonSize,t.buttonShape,t.buttonTarget,t.ctaTitle,t.ctaText,t.ctaTitleFontSize,t.ctaTextFontSize),a=t.ctaWidth,o=t.ctaBackgroundColor,s=(t.ctaTextColor,b()([this.props.className,"gb-block-cta"],(e={},i()(e,"gb-font-size-"+r,r),i()(e,"align"+a,a),e))),l={backgroundColor:o||void 0,textAlign:n||void 0};return React.createElement("div",{style:l,className:s||void 0},this.props.children)}}]),n}(wp.element.Component);function va(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var La=function(e){m()(n,e);var t=va(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=(t.buttonText,t.buttonUrl,t.buttonAlignment),r=(t.buttonBackgroundColor,t.buttonTextColor,t.buttonSize,t.buttonShape,t.buttonTarget,t.ctaTitle,t.ctaText,t.ctaTitleFontSize,t.ctaTextFontSize),a=t.ctaWidth,o=t.ctaBackgroundColor,s=(t.ctaTextColor,b()([this.props.className,"gb-block-cta"],(e={},i()(e,"gb-font-size-"+r,r),i()(e,"align"+a,a),e))),l={backgroundColor:o||void 0,textAlign:n||void 0};return React.createElement("div",{style:l,className:s||void 0},this.props.children)}}]),n}(wp.element.Component);function wa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ya=function(e){m()(n,e);var t=wa(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=(e.buttonText,e.buttonUrl,e.buttonAlignment),n=(e.buttonBackgroundColor,e.buttonTextColor,e.buttonSize,e.buttonShape,e.buttonTarget,e.ctaTitle,e.ctaText,e.ctaTitleFontSize,e.ctaTextFontSize),r=(e.ctaWidth,e.ctaBackgroundColor),a=(e.ctaTextColor,b()([this.props.className,"gb-block-cta"],i()({},"gb-font-size-"+n,n))),o={backgroundColor:r||void 0,textAlign:t||void 0};return React.createElement("div",{style:o,className:a||void 0},this.props.children)}}]),n}(wp.element.Component);function Ta(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Da=function(e){m()(n,e);var t=Ta(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=(e.buttonText,e.buttonUrl,e.buttonAlignment),n=(e.buttonBackgroundColor,e.buttonTextColor,e.buttonSize,e.buttonShape,e.buttonTarget,e.ctaTitle,e.ctaText,e.ctaTitleFontSize,e.ctaTextFontSize),r=e.ctaWidth,a=e.ctaBackgroundColor;e.ctaTextColor;return React.createElement("div",{style:{backgroundColor:a,textAlign:t},className:b()(this.props.className,"align".concat(r),"gb-block-cta","gb-font-size-"+n)},this.props.children)}}]),n}(wp.element.Component);function Ra(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Sa=wp.blockEditor.RichText,xa=[{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=(t.buttonAlignment,t.buttonBackgroundColor),o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.titleFontSize,p=(t.ctaTextFontSize,t.ctaWidth,t.ctaBackgroundColor,t.ctaTextColor),_=t.imgURL,h=(t.imgID,t.imgAlt),g=t.dimRatio;return React.createElement(La,e,_&&!!_.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Ea(g),{"has-background-dim":0!==g}),src:_,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(Sa.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+m),style:{color:p},value:c}),u&&React.createElement(Sa.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+d),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",rel:l?"noopener noreferrer":null,className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(Sa.Content,{value:n}))))}},{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string",default:"center"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=(t.buttonAlignment,t.buttonBackgroundColor),o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.ctaTextFontSize,p=(t.ctaWidth,t.ctaBackgroundColor,t.ctaTextColor),_=t.imgURL,h=(t.imgID,t.imgAlt),g=t.dimRatio;return React.createElement(Ya,e,_&&!!_.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Ea(g),{"has-background-dim":0!==g}),src:_,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(Sa.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+d),style:{color:p},value:c}),u&&React.createElement(Sa.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+m),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",rel:l?"noopener noreferrer":null,className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(Sa.Content,{value:n}))))}},{attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},ctaTitleFontSize:{type:"string",default:"32"},ctaTextFontSize:{type:"string",default:"20"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string",default:"center"},ctaBackgroundColor:{type:"string",default:"#f2f2f2"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50}},save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=(t.buttonAlignment,t.buttonBackgroundColor),o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.ctaTextFontSize,p=(t.ctaWidth,t.ctaBackgroundColor,t.ctaTextColor),_=t.imgURL,h=(t.imgID,t.imgAlt),g=t.dimRatio;return React.createElement(Da,e,_&&!!_.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",Ea(g),{"has-background-dim":0!==g}),src:_,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(Sa.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+d),style:{color:p},value:c}),u&&React.createElement(Sa.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+m),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(Sa.Content,{value:n}))))},migrate:function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ra(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ra(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({titleFontSize:e.ctaTitleFontSize},e)}}];function Ea(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}n(341),n(342);function Ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ja(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ca(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ca(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ha=wp.i18n.__,Oa=wp.element.Component,za=wp.blocks.registerBlockType,Aa=wp.blockEditor,Ba=Aa.AlignmentToolbar,Na=Aa.URLInput,Fa=Aa.BlockControls,Wa=Aa.BlockAlignmentToolbar,Ia=Aa.RichText,Ua=wp.components,Va=Ua.Button,Ja=Ua.Dashicon,Ga=Ua.Icon,qa=function(e){m()(n,e);var t=Pa(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.buttonText,r=t.buttonUrl,o=t.buttonAlignment,i=t.buttonBackgroundColor,s=t.buttonTextColor,l=t.buttonSize,c=t.buttonShape,u=t.ctaTitle,d=t.ctaText,m=t.titleFontSize,p=t.ctaTextFontSize,_=t.ctaWidth,h=t.ctaTextColor,g=t.imgURL,f=t.imgAlt,y=t.dimRatio,k=e.isSelected,M=e.setAttributes;return[React.createElement(Fa,{key:"gb-cta-block-controls-"+this.props.clientId},React.createElement(Wa,{value:_,onChange:function(e){return M({ctaWidth:e})},controls:["center","wide","full"]}),React.createElement(Ba,{value:o,onChange:function(e){M({buttonAlignment:e})}})),React.createElement(ya,a()({key:"gb-cta-inspector-"+this.props.clientId},ja({setAttributes:M},this.props))),React.createElement(Ma,a()({key:"gb-cta-"+this.props.clientId},this.props),g&&!!g.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",$a(y),{"has-background-dim":0!==y}),src:g,alt:f})),React.createElement("div",{className:"gb-cta-content"},React.createElement(Ia,{tagName:"h2",placeholder:Ha("Call-To-Action Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:u,className:b()("gb-cta-title","gb-font-size-"+m),style:{color:h},onChange:function(e){return M({ctaTitle:e})}}),React.createElement(Ia,{tagName:"div",multiline:"p",placeholder:Ha("Call To Action Text","genesis-blocks"),keepPlaceholderOnFocus:!0,value:d,className:b()("gb-cta-text","gb-font-size-"+p),style:{color:h},onChange:function(e){return M({ctaText:e})}})),React.createElement("div",{className:"gb-cta-button"},React.createElement(Ia,{tagName:"span",placeholder:Ha("Button text…","genesis-blocks"),value:n,allowedFormats:[],className:b()("gb-button",c,l),style:{color:s,backgroundColor:i},onChange:function(e){return M({buttonText:e})}}),k&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(o),onSubmit:function(e){return e.preventDefault()},style:{textAlign:o}},React.createElement(Ja,{icon:"admin-links"}),React.createElement(Na,{className:"button-url",value:r,onChange:function(e){return M({buttonUrl:e})}}),React.createElement(Va,{label:Ha("Apply","genesis-blocks"),type:"submit"},React.createElement(Ga,{icon:"editor-break"})))))]}}]),n}(Oa);function $a(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}function Ka(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}za("genesis-blocks/gb-cta",{title:Ha("Call To Action","genesis-blocks"),description:Ha("Add a call to action section with a title, text, and a button.","genesis-blocks"),icon:"megaphone",category:"genesis-blocks",keywords:[Ha("call to action","genesis-blocks"),Ha("cta","genesis-blocks"),Ha("atomic","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string",default:"center"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},ctaTitle:{type:"array",selector:".gb-cta-title",source:"children"},titleFontSize:{type:"number",default:"32"},ctaTextFontSize:{type:"number"},ctaText:{type:"array",selector:".gb-cta-text",source:"children"},ctaWidth:{type:"string"},ctaBackgroundColor:{type:"string"},ctaTextColor:{type:"string",default:"#32373c"},imgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},imgID:{type:"number"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},dimRatio:{type:"number",default:50},ctaTitleFontSize:{type:"string",default:"32"}},gb_settings_data:{gb_cta_textOptions:{title:Ha("Text Options","genesis-blocks")},gb_cta_backgroundOptions:{title:Ha("Background Options","genesis-blocks")},gb_cta_buttonOptions:{title:Ha("Button Options","genesis-blocks")}},getEditWrapperProps:function(e){var t=e.ctaWidth;if("left"===t||"right"===t||"full"===t)return{"data-align":t}},edit:qa,save:function(e){var t=e.attributes,n=t.buttonText,r=t.buttonUrl,a=t.buttonBackgroundColor,o=t.buttonTextColor,i=t.buttonSize,s=t.buttonShape,l=t.buttonTarget,c=t.ctaTitle,u=t.ctaText,d=t.ctaTitleFontSize,m=t.titleFontSize,p=t.ctaTextColor,_=t.imgURL,h=t.imgAlt,g=t.dimRatio;return React.createElement(Ma,e,_&&!!_.length&&React.createElement("div",{className:"gb-cta-image-wrap"},React.createElement("img",{className:b()("gb-cta-image",$a(g),{"has-background-dim":0!==g}),src:_,alt:h})),React.createElement("div",{className:"gb-cta-content"},c&&React.createElement(Ia.Content,{tagName:"h2",className:b()("gb-cta-title","gb-font-size-"+m),style:{color:p},value:c}),u&&React.createElement(Ia.Content,{tagName:"div",className:b()("gb-cta-text","gb-font-size-"+d),style:{color:p},value:u})),n&&React.createElement("div",{className:"gb-cta-button"},React.createElement("a",{href:r,target:l?"_blank":"_self",rel:"noopener noreferrer",className:b()("gb-button",s,i),style:{color:o,backgroundColor:a}},React.createElement(Ia.Content,{value:n}))))},deprecated:xa});var Za=wp.i18n.__,Qa=wp.element.Component,Xa=wp.blockEditor.InspectorControls,eo=wp.components,to=eo.PanelBody,no=eo.SelectControl,ro=eo.ToggleControl,ao=function(e){m()(n,e);var t=Ka(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=[{value:"gb-share-icon-text",label:Za("Icon and Text","genesis-blocks")},{value:"gb-share-icon-only",label:Za("Icon Only","genesis-blocks")},{value:"gb-share-text-only",label:Za("Text Only","genesis-blocks")}],n=[{value:"gb-share-shape-square",label:Za("Square","genesis-blocks")},{value:"gb-share-shape-rounded",label:Za("Rounded Square","genesis-blocks")},{value:"gb-share-shape-circular",label:Za("Circular","genesis-blocks")}],r=[{value:"gb-share-size-small",label:Za("Small","genesis-blocks")},{value:"gb-share-size-medium",label:Za("Medium","genesis-blocks")},{value:"gb-share-size-large",label:Za("Large","genesis-blocks")}],a=[{value:"gb-share-color-standard",label:Za("Standard","genesis-blocks")},{value:"gb-share-color-social",label:Za("Social Colors","genesis-blocks")}];return React.createElement(Xa,{key:"inspector"},React.createElement(v,{id:"gb_sharing_links"},React.createElement(to,null,React.createElement("p",null,Za("Enable or disable the sharing links you want to output.","genesis-blocks")),React.createElement(ro,{label:Za("Twitter","genesis-blocks"),checked:!!this.props.attributes.twitter,onChange:function(){return e.props.setAttributes({twitter:!e.props.attributes.twitter})}}),React.createElement(ro,{label:Za("Facebook","genesis-blocks"),checked:!!this.props.attributes.facebook,onChange:function(){return e.props.setAttributes({facebook:!e.props.attributes.facebook})}}),React.createElement(ro,{label:Za("Pinterest","genesis-blocks"),checked:!!this.props.attributes.pinterest,onChange:function(){return e.props.setAttributes({pinterest:!e.props.attributes.pinterest})}}),React.createElement(ro,{label:Za("LinkedIn","genesis-blocks"),checked:!!this.props.attributes.linkedin,onChange:function(){return e.props.setAttributes({linkedin:!e.props.attributes.linkedin})}}),React.createElement(ro,{label:Za("Reddit","genesis-blocks"),checked:!!this.props.attributes.reddit,onChange:function(){return e.props.setAttributes({reddit:!e.props.attributes.reddit})}}),React.createElement(ro,{label:Za("Email","genesis-blocks"),checked:!!this.props.attributes.email,onChange:function(){return e.props.setAttributes({email:!e.props.attributes.email})}}))),React.createElement(to,{title:Za("Sharing Button Options","genesis-blocks"),initialOpen:!1},React.createElement(v,{id:"gb_sharing_shareButtonStyle"},React.createElement(no,{label:Za("Button Style","genesis-blocks"),value:this.props.attributes.shareButtonStyle,options:t.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonStyle:t})}})),React.createElement(v,{id:"gb_sharing_shareButtonShape"},React.createElement(no,{label:Za("Button Shape","genesis-blocks"),value:this.props.attributes.shareButtonShape,options:n.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonShape:t})}})),React.createElement(v,{id:"gb_sharing_shareButtonSize"},React.createElement(no,{label:Za("Button Size","genesis-blocks"),value:this.props.attributes.shareButtonSize,options:r.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonSize:t})}})),React.createElement(v,{id:"gb_sharing_shareButtonColor"},React.createElement(no,{label:Za("Button Color","genesis-blocks"),value:this.props.attributes.shareButtonColor,options:a.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({shareButtonColor:t})}}))))}}]),n}(Qa);function oo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var io=function(e){m()(n,e);var t=oo(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){return React.createElement("div",{className:b()(this.props.className,this.props.attributes.shareButtonStyle,this.props.attributes.shareButtonShape,this.props.attributes.shareButtonSize,this.props.attributes.shareButtonColor,this.props.attributes.shareAlignment?"gb-align-"+this.props.attributes.shareAlignment:void 0,"gb-block-sharing")},this.props.children)}}]),n}(wp.element.Component);function so(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var lo=wp.i18n.__,co=wp.element.Component,uo=wp.blockEditor,mo=uo.AlignmentToolbar,po=uo.BlockControls,_o=function(e){m()(n,e);var t=so(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).props.attributes.clientId&&e.props.attributes.clientId===e.props.clientId||e.props.setAttributes({clientId:e.props.clientId}),e}return u()(n,[{key:"render",value:function(){var e=this;return[React.createElement(po,{key:"controls"},React.createElement(mo,{value:this.props.attributes.shareAlignment,onChange:function(t){return e.props.setAttributes({shareAlignment:t})}})),React.createElement(ao,a()({key:"gb-share-inspector-"+this.props.clientId},this.props)),React.createElement(io,a()({key:"gb-share-links-"+this.props.clientId},this.props),React.createElement("ul",{className:"gb-share-list"},this.props.attributes.twitter&&React.createElement("li",null,React.createElement("a",{className:"gb-share-twitter"},React.createElement("svg",{"aria-labelledby":"gb-link-twitter-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-twitter-"+this.props.clientId},lo("Visit Twitter account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})),React.createElement("span",{className:"gb-social-text"},lo("Share on Twitter","genesis-blocks")))),this.props.attributes.facebook&&React.createElement("li",null,React.createElement("a",{className:"gb-share-facebook"},React.createElement("svg",{"aria-labelledby":"gb-link-facebook-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("title",{id:"gb-link-facebook-"+this.props.clientId},lo("Visit Facebook account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})),React.createElement("span",{className:"gb-social-text"},lo("Share on Facebook","genesis-blocks")))),this.props.attributes.pinterest&&React.createElement("li",null,React.createElement("a",{className:"gb-share-pinterest"},React.createElement("svg",{"aria-labelledby":"gb-link-pinterest-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-pinterest-"+this.props.clientId},lo("Visit Pinterest account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"})),React.createElement("span",{className:"gb-social-text"},lo("Share on Pinterest","genesis-blocks")))),this.props.attributes.linkedin&&React.createElement("li",null,React.createElement("a",{className:"gb-share-linkedin"},React.createElement("svg",{"aria-labelledby":"gb-link-linkedin-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-linkedin-"+this.props.clientId},lo("Visit LinkedIn account (opens in a new tab)","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})),React.createElement("span",{className:"gb-social-text"},lo("Share on LinkedIn","genesis-blocks")))),this.props.attributes.reddit&&React.createElement("li",null,React.createElement("a",{className:"gb-share-reddit"},React.createElement("svg",{"aria-labelledby":"gb-link-reddit-"+this.props.clientId,role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",{id:"gb-link-reddit-"+this.props.clientId},lo("Share on Reddit","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z"})),React.createElement("span",{className:"gb-social-text"},lo("Share on reddit","genesis-blocks")))),this.props.attributes.email&&React.createElement("li",null,React.createElement("a",{className:"gb-share-email"},React.createElement("svg",{"aria-labelledby":"gb-link-email-"+this.props.clientId,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},React.createElement("title",{id:"gb-link-email-"+this.props.clientId},lo("Email","genesis-blocks")),React.createElement("path",{fill:"#fff",d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"})),React.createElement("span",{className:"gb-social-text"},lo("Share via Email","genesis-blocks"))))))]}}]),n}(co),ho=(n(343),n(344),wp.i18n.__);(0,wp.blocks.registerBlockType)("genesis-blocks/gb-sharing",{title:ho("Sharing","genesis-blocks"),description:ho("Add sharing buttons to your posts and pages.","genesis-blocks"),icon:"admin-links",category:"genesis-blocks",keywords:[ho("sharing","genesis-blocks"),ho("social","genesis-blocks"),ho("atomic","genesis-blocks")],gb_settings_data:{gb_sharing_links:{title:ho("Sharing Links","genesis-blocks")},gb_sharing_shareButtonStyle:{title:ho("Button Style","genesis-blocks")},gb_sharing_shareButtonShape:{title:ho("Button Shape","genesis-blocks")},gb_sharing_shareButtonSize:{title:ho("Button Size","genesis-blocks")},gb_sharing_shareButtonColor:{title:ho("Button Color","genesis-blocks")}},edit:function(e){return React.createElement(_o,a()({},e,{clientId:e.clientId}))},save:function(){return null}});var go=n(14),fo=n.n(go),bo=n(6),yo=n.n(bo),ko=n(32),Mo=n.n(ko),vo=n(11),Lo=n.n(vo);function wo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Yo=wp.i18n.__,To=wp.element,Do=To.Component,Ro=(To.Fragment,wp.blockEditor.InspectorControls),So=wp.components,xo=So.PanelBody,Eo=So.QueryControls,Co=So.RangeControl,jo=So.SelectControl,Po=So.TextControl,Ho=So.ToggleControl,Oo=So.FormTokenField,zo=So.Spinner,Ao=wp.url.addQueryArgs,Bo=wp.apiFetch,No=[],Fo=function(e){m()(n,e);var t=wo(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).state={categoriesList:!1,categoriesTitleToIdRelationships:!1,categoriesIdToTitleRelationships:!1,pagesList:!1,pagesTitleToIdRelationships:!1,pagesIdToTitleRelationships:!1,waitingForApiResponse:!1},e}return u()(n,[{key:"componentDidMount",value:function(){this.stillMounted=!0}},{key:"componentDidUpdate",value:function(){if(this.props.isSelected&&!this.state.waitingForApiResponse&&this.props.attributes.categories&&!this.state.categoriesList&&"post"===this.props.attributes.postType&&this.getCategoriesFromServer(!!this.props.attributes.categories&&this.props.attributes.categories,!0),this.props.isSelected&&!this.state.waitingForApiResponse&&this.props.attributes.selectedPages.length>0&&!this.state.pagesList&&"page"===this.props.attributes.postType){var e=[];for(var t in this.props.attributes.selectedPages)e.push(this.props.attributes.selectedPages[t].value);this.getPagesFromServer(e||!1,!0)}}},{key:"componentWillUnmount",value:function(){this.stillMounted=!1}},{key:"getCategoriesFromServer",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(r){if(t.setState({waitingForApiResponse:!0,categoriesList:!1}),!e||0===e.length)return n||t.setState({waitingForApiResponse:!1}),void r();var a={per_page:99,search:e};n&&(a={per_page:99,include:e}),t.fetchRequest=Bo({path:Ao("/wp/v2/categories",a)}).then((function(e){var n=t.state.categoriesTitleToIdRelationships?t.state.categoriesTitleToIdRelationships:{},a=t.state.categoriesIdToTitleRelationships?t.state.categoriesIdToTitleRelationships:{};for(var o in e)n[e[o].name+" ("+e[o].slug+")"]=e[o].id,a[e[o].id]=e[o].name+" ("+e[o].slug+")";t.setState({categoriesList:e,categoriesTitleToIdRelationships:n,categoriesIdToTitleRelationships:a,waitingForApiResponse:!1}),r()})).catch((function(){console.log("category request failure: ".concat(error.message)),t.stillMounted&&(t.setState({categoriesList:[],waitingForApiResponse:!1}),r())}))}))}},{key:"getPagesFromServer",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(r){if(t.setState({waitingForApiResponse:!0,pagesList:!1}),!e||0===e.length)return n||t.setState({waitingForApiResponse:!1}),void r();var a={per_page:-1,search:e};n&&(a={per_page:-1,include:e}),t.fetchRequest=Bo({path:Ao("/wp/v2/pages",a)}).then((function(e){var n=t.state.pagesTitleToIdRelationships?t.state.pagesTitleToIdRelationships:{},a=t.state.pagesIdToTitleRelationships?t.state.pagesIdToTitleRelationships:{};for(var o in e)n[e[o].title.rendered+" ("+e[o].slug+")"]=e[o].id,a[e[o].id]=e[o].title.rendered+" ("+e[o].slug+")";t.setState({pagesList:e,pagesTitleToIdRelationships:n,pagesIdToTitleRelationships:a,waitingForApiResponse:!1}),r()})).catch((function(){t.stillMounted&&(t.setState({pagesList:[],waitingForApiResponse:!1}),r())}))}))}},{key:"imageSizeSelect",value:function(){var e=wp.data.select("core/block-editor").getSettings();return Mo()(Lo()(e.imageSizes,(function(e){var t=e.name;return{value:e.slug,label:t}})))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.latestPosts,i=n.order,s=n.orderBy,l=this.state,c=l.categoriesList,u=l.categoriesTitleToIdRelationships,d=l.categoriesIdToTitleRelationships,m=l.pagesList,p=l.pagesTitleToIdRelationships,_=l.pagesIdToTitleRelationships,h=[{value:"post",label:Yo("Post","genesis-blocks")},{value:"page",label:Yo("Page","genesis-blocks")}],g=[{value:"div",label:Yo("div","genesis-blocks")},{value:"header",label:Yo("header","genesis-blocks")},{value:"section",label:Yo("section","genesis-blocks")},{value:"article",label:Yo("article","genesis-blocks")},{value:"main",label:Yo("main","genesis-blocks")},{value:"aside",label:Yo("aside","genesis-blocks")},{value:"footer",label:Yo("footer","genesis-blocks")}],f=[{value:"h2",label:Yo("H2","genesis-blocks")},{value:"h3",label:Yo("H3","genesis-blocks")},{value:"h4",label:Yo("H4","genesis-blocks")},{value:"h5",label:Yo("H5","genesis-blocks")},{value:"h6",label:Yo("H6","genesis-blocks")}],b=Array.isArray(o)&&o.length,y="post"===n.postType,k={value:"selectimage",label:Yo("Select image size","genesis-blocks")},M={value:"gb-block-post-grid-landscape",label:Yo("GB Grid Landscape","genesis-blocks")},L={value:"gb-block-post-grid-square",label:Yo("GB Grid Square","genesis-blocks")},w=this.imageSizeSelect();w.push(L,M),w.unshift(k);return React.createElement(Ro,null,React.createElement(xo,{title:Yo("Post and Page Grid Settings","genesis-blocks"),className:y?null:"genesis-blocks-hide-query"},React.createElement(v,{id:"gb_postgrid_postType"},React.createElement(jo,{label:Yo("Content Type","genesis-blocks"),options:h,value:n.postType,onChange:function(t){return e.props.setAttributes({postType:t})}})),"page"===n.postType&&React.createElement(v,{id:"gb_postgrid_selectedPages"},React.createElement("div",{className:"components-base-control"},React.createElement("div",{className:"components-base-control__field",style:{position:"relative"}},React.createElement(Oo,{suggestions:Mo()(Lo()(m,(function(e){var t=e.title,n=e.slug;return t.rendered+" ("+n+")"}))),label:React.createElement(React.Fragment,null,Yo("Enter page names to display","genesis-blocks"),this.state.waitingForApiResponse?React.createElement("div",{style:{position:"absolute",bottom:"30px",right:"0px"}},React.createElement(zo,null)):null),placeholder:Yo("Start typing page name…","genesis-blocks"),value:function(){if(!e.props.attributes.selectedPages)return[];var t=[];for(var n in e.props.attributes.selectedPages){var r=e.props.attributes.selectedPages[n].value;_[r]&&t.push(_[e.props.attributes.selectedPages[n].value])}return t}(),onInputChange:function(t){var n="getPagesFromServer";No[n]&&(clearTimeout(No[n]),No[n]=null),No[n]=setTimeout((function(){clearTimeout(No[n]),e.getPagesFromServer(t)}),500)},onChange:function(e){var t=[];for(var n in e)t.push({value:p[e[n]]});t||(t=void 0),r({selectedPages:t})}})))),"post"===n.postType&&React.createElement(v,{id:"gb_postgrid_categories"},React.createElement("div",{className:"components-base-control"},React.createElement("div",{className:"components-base-control__field",style:{position:"relative"}},React.createElement(Oo,{suggestions:Mo()(Lo()(c,(function(e){return e.name+" ("+e.slug+")"}))),label:React.createElement(React.Fragment,null,Yo("Enter category names to display","genesis-blocks"),this.state.waitingForApiResponse?React.createElement("div",{style:{position:"absolute",bottom:"30px",right:"0px"}},React.createElement(zo,null)):null),placeholder:Yo("Start typing category name…","genesis-blocks"),value:function(){if(!e.props.attributes.categories)return[];var t=e.props.attributes.categories.split(","),n=[];for(var r in t)d[t[r]]&&n.push(d[t[r]]);return n}(),onInputChange:function(t){var n="getCategoriesFromServer";No[n]&&(clearTimeout(No[n]),No[n]=null),No[n]=setTimeout((function(){clearTimeout(No[n]),e.getCategoriesFromServer(t)}),500)},onChange:function(e){var t="";for(var n in e)u[e[n]]&&(t=t+u[e[n]]+",");(t=t.replace(/,\s*$/,""))||(t=void 0),r({categories:void 0!==t?t:""})}})))),"post"===n.postType&&React.createElement(React.Fragment,null,React.createElement(v,{id:"gb_postgrid_queryControls"},React.createElement(Eo,a()({order:i,orderBy:s},{numberOfItems:n.postsToShow,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onNumberOfItemsChange:function(e){return r({postsToShow:e})}}))),React.createElement(v,{id:"gb_postgrid_offset"},React.createElement(Co,{label:Yo("Number of items to offset","genesis-blocks"),value:n.offset,onChange:function(e){return r({offset:e})},min:0,max:20}))),"grid"===n.postLayout&&React.createElement(v,{id:"gb_postgrid_columns"},React.createElement(Co,{label:Yo("Columns","genesis-blocks"),value:n.columns,onChange:function(e){return r({columns:e})},min:1,max:b?Math.min(4,o.length):4}))),React.createElement(xo,{title:Yo("Post and Page Grid Content","genesis-blocks"),initialOpen:!1},React.createElement(v,{id:"gb_postgrid_displaySectionTitle"},React.createElement(Ho,{label:Yo("Display Section Title","genesis-blocks"),checked:n.displaySectionTitle,onChange:function(){return e.props.setAttributes({displaySectionTitle:!n.displaySectionTitle})}})),n.displaySectionTitle&&React.createElement(v,{id:"gb_postgrid_sectionTitle"},React.createElement(Po,{label:Yo("Section Title","genesis-blocks"),type:"text",value:n.sectionTitle,onChange:function(t){return e.props.setAttributes({sectionTitle:t})}})),React.createElement(v,{id:"gb_postgrid_displayPostImage"},React.createElement(Ho,{label:Yo("Display Featured Image","genesis-blocks"),checked:n.displayPostImage,onChange:function(){return e.props.setAttributes({displayPostImage:!n.displayPostImage})}})),n.displayPostImage&&React.createElement(v,{id:"gb_postgrid_imageSizeValue"},React.createElement(jo,{label:Yo("Image Size","genesis-blocks"),value:function(){for(var e=0;e<w.length;e++)if(w[e].value===n.imageSize)return n.imageSize;return"full"}(),options:w,onChange:function(t){return e.props.setAttributes({imageSize:t})}})),React.createElement(v,{id:"gb_postgrid_displayPostTitle"},React.createElement(Ho,{label:Yo("Display Title","genesis-blocks"),checked:n.displayPostTitle,onChange:function(){return e.props.setAttributes({displayPostTitle:!n.displayPostTitle})}})),y&&React.createElement(v,{id:"gb_postgrid_displayPostAuthor"},React.createElement(Ho,{label:Yo("Display Author","genesis-blocks"),checked:n.displayPostAuthor,onChange:function(){return e.props.setAttributes({displayPostAuthor:!n.displayPostAuthor})}})),y&&React.createElement(v,{id:"gb_postgrid_displayPostDate"},React.createElement(Ho,{label:Yo("Display Date","genesis-blocks"),checked:n.displayPostDate,onChange:function(){return e.props.setAttributes({displayPostDate:!n.displayPostDate})}})),React.createElement(v,{id:"gb_postgrid_displayPostExcerpt"},React.createElement(Ho,{label:Yo("Display Excerpt","genesis-blocks"),checked:n.displayPostExcerpt,onChange:function(){return e.props.setAttributes({displayPostExcerpt:!n.displayPostExcerpt})}})),n.displayPostExcerpt&&React.createElement(v,{id:"gb_postgrid_excerptLength"},React.createElement(Co,{label:Yo("Excerpt Length","genesis-blocks"),value:n.excerptLength,onChange:function(e){return r({excerptLength:e})},min:0,max:150})),React.createElement(v,{id:"gb_postgrid_displayPostLink"},React.createElement(Ho,{label:Yo("Display Continue Reading Link","genesis-blocks"),checked:n.displayPostLink,onChange:function(){return e.props.setAttributes({displayPostLink:!n.displayPostLink})}})),n.displayPostLink&&React.createElement(v,{id:"gb_postgrid_readMoreText"},React.createElement(Po,{label:Yo("Customize Continue Reading Text","genesis-blocks"),type:"text",value:n.readMoreText,onChange:function(t){return e.props.setAttributes({readMoreText:t})}}))),React.createElement(xo,{title:Yo("Post and Page Grid Markup","genesis-blocks"),initialOpen:!1,className:"gb-block-post-grid-markup-settings"},React.createElement(v,{id:"gb_postgrid_sectionTag"},React.createElement(jo,{label:Yo("Post Grid Section Tag","genesis-blocks"),options:g,value:n.sectionTag,onChange:function(t){return e.props.setAttributes({sectionTag:t})},help:Yo("Change the post grid section tag to match your content hierarchy.","genesis-blocks")})),n.sectionTitle&&React.createElement(v,{id:"gb_postgrid_sectionTitleTag"},React.createElement(jo,{label:Yo("Section Title Heading Tag","genesis-blocks"),options:f,value:n.sectionTitleTag,onChange:function(t){return e.props.setAttributes({sectionTitleTag:t})},help:Yo("Change the post/page section title tag to match your content hierarchy.","genesis-blocks")})),n.displayPostTitle&&React.createElement(v,{id:"gb_postgrid_postTitleTag"},React.createElement(jo,{label:Yo("Post Title Heading Tag","genesis-blocks"),options:f,value:n.postTitleTag,onChange:function(t){return e.props.setAttributes({postTitleTag:t})},help:Yo("Change the post/page title tag to match your content hierarchy.","genesis-blocks")}))))}}]),n}(Do),Wo=n(28),Io=n.n(Wo);function Uo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Vo=wp.i18n.__,Jo=wp.element,Go=Jo.Fragment,qo=Jo.Component,$o=wp.components,Ko=$o.Placeholder,Zo=$o.Dashicon,Qo=function(e){m()(n,e);var t=Uo(n);function n(e){var r;return l()(this,n),(r=t.apply(this,arguments)).state={imageUrl:"",imageLoaded:!1,setImageUrlSubscription:!1},r}return u()(n,[{key:"componentDidUpdate",value:function(e){this.props.imgSize!==e.imgSize&&this.setImageUrl()}},{key:"componentDidMount",value:function(){var e=this;this.setState({setImageUrlSubscription:wp.data.subscribe((function(){e.setImageUrl()}))})}},{key:"componentWillUnmount",value:function(){this.state.setImageUrlSubscription()}},{key:"setImageUrl",value:function(){var e=this.getImageUrl();e||(e=this.getFullImageSize()),e&&this.setState({imageUrl:e,imageLoaded:!0})}},{key:"getImageUrl",value:function(){return Io()(wp.data.select("core").getMedia(this.props.imgID),["media_details","sizes",this.props.imgSize,"source_url"])}},{key:"getFullImageSize",value:function(){return Io()(wp.data.select("core").getMedia(this.props.imgID),["media_details","sizes","full","source_url"])}},{key:"render",value:function(){return React.createElement(Go,null,React.createElement("div",{className:b()("gb-block-post-grid-image")},React.createElement("a",{href:this.props.imgLink,target:"_blank",rel:"bookmark noopener noreferrer"},React.createElement("img",{src:this.state.imageUrl?this.state.imageUrl:this.props.imgSizeLandscape,alt:this.props.imgAlt,className:this.props.imgClass})),!this.getImageUrl()&&this.state.imageLoaded&&"selectimage"!==this.props.imgSize&&React.createElement(Go,null,React.createElement("div",{className:"gb-post-grid-no-image-icon"},React.createElement(Zo,{icon:"warning"})),React.createElement(Ko,{className:"gb-post-grid-no-image-placeholder"},React.createElement(Zo,{icon:"info"}),React.createElement("div",{className:"components-placeholder__label"},Vo("There is no image generated for the selected image size, so a fallback image size is being used.","genesis-blocks")),React.createElement("div",{className:"gb-post-grid-image-help"},React.createElement("a",{target:"_blank",rel:"noreferrer noopener","aria-label":Vo("Learn more about image sizes (opens in a new tab)","genesis-blocks"),href:"https://github.com/studiopress/genesis-blocks/wiki/Post-Grid-Block#featured-image-sizes"},Vo("Learn more ","genesis-blocks"),React.createElement("span",null,"→")))))))}}]),n}(qo);function Xo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ei(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xo(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ti=wp.element,ni=ti.useState,ri=ti.useEffect,ai=wp.i18n.__,oi=wp.htmlEntities.decodeEntities,ii=wp.components,si=ii.Placeholder,li=ii.Spinner,ci=ii.ToolbarGroup,ui=wp.blockEditor,di=ui.BlockAlignmentToolbar,mi=ui.BlockControls,pi=wp.apiFetch,_i=wp.url.addQueryArgs,hi=[];n(345),n(346);var gi=wp.i18n.__;function fi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-post-grid",{title:gi("Post and Page Grid","genesis-blocks"),description:gi("Add a grid or list of customizable posts or pages.","genesis-blocks"),icon:"grid-view",category:"genesis-blocks",keywords:[gi("post","genesis-blocks"),gi("page","genesis-blocks"),gi("grid","genesis-blocks"),gi("atomic","genesis-blocks")],edit:function(e){var t,n=ni(),r=fo()(n,2),o=r[0],s=r[1],l=ni(e),c=fo()(l,2),u=c[0],d=c[1],m=e.attributes,p=e.setAttributes;if(e.attributes.postType!==u.postType||e.attributes.selectedPages!==u.selectedPages||e.attributes.categories!==u.categories||e.attributes.order!==u.order||e.attributes.orderby!==u.orderby||e.attributes.offset!==u.offset||e.attributes.postsToShow!==u.postsToShow){var _="handleUpdateAttributes";hi[_]&&(clearTimeout(hi[_]),hi[_]=null),hi[_]=setTimeout((function(){clearTimeout(hi[_]),d(e.attributes)}),500)}ri((function(){s(null)}),[u]),ri((function(){o||("post"===e.attributes.postType&&new Promise((function(t){var n={order:e.attributes.order,orderby:e.attributes.orderBy,per_page:e.attributes.postsToShow,offset:e.attributes.offset};if(wp.data.select("core/editor")){var r=wp.data.select("core/editor").getCurrentPostId();r&&(n.exclude=[r])}e.attributes.categories&&(n.categories=e.attributes.categories),pi({path:_i("/wp/v2/posts",n)}).then((function(e){s(e),t()})).catch((function(e){console.log(e)}))})),"page"===e.attributes.postType&&new Promise((function(t){var n=e.attributes.selectedPages&&e.attributes.selectedPages.length>0?e.attributes.selectedPages.map((function(e){return e.value})):null,r={per_page:6},a=wp.data.select("core/editor").getCurrentPostId();a&&(r.exclude=[a]),n&&(delete r.per_page,r.include=n,r.orderby="include"),pi({path:_i("/wp/v2/pages",r)}).then((function(e){s(e),t()})).catch((function(e){console.log(e)}))})))}),[o]);var h=Array.isArray(o)&&o.length,g="post"===m.postType;if(!h)return React.createElement(React.Fragment,null,React.createElement(Fo,ei({setAttributes:p},e)),React.createElement(si,{icon:"admin-post",label:ai("Genesis Blocks Post and Page Grid","genesis-blocks")},Array.isArray(o)?ai("No posts found.","genesis-blocks"):React.createElement(li,null)));var f=[{icon:"grid-view",title:ai("Grid View","genesis-blocks"),onClick:function(){return p({postLayout:"grid"})},isActive:"grid"===m.postLayout},{icon:"list-view",title:ai("List View","genesis-blocks"),onClick:function(){return p({postLayout:"list"})},isActive:"list"===m.postLayout}],y=m.sectionTag?m.sectionTag:"section",k=m.sectionTitleTag?m.sectionTitleTag:"h2",M=m.postTitleTag?m.postTitleTag:"h3";return React.createElement(React.Fragment,null,React.createElement(Fo,ei({setAttributes:p},e)),React.createElement(mi,null,React.createElement(di,{value:m.align,onChange:function(e){p({align:e})},controls:["center","wide","full"]}),React.createElement(ci,{controls:f})),React.createElement(y,{className:b()(e.className,"gb-block-post-grid")},m.displaySectionTitle&&m.sectionTitle&&React.createElement(k,{className:"gb-post-grid-section-title"},m.sectionTitle),React.createElement("div",{className:b()((t={"is-grid":"grid"===m.postLayout,"is-list":"list"===m.postLayout},i()(t,"columns-".concat(m.columns),"grid"===m.postLayout),i()(t,"gb-post-grid-items","gb-post-grid-items"),t))},o.map((function(t,n){return React.createElement("article",{key:n,id:"post-"+t.id,className:b()("post-"+t.id,t.featured_image_src&&m.displayPostImage?"has-post-thumbnail":null)},m.displayPostImage&&t.featured_media?React.createElement(Qo,a()({},e,{imgAlt:oi(t.title.rendered.trim())||ai("(Untitled)","genesis-blocks"),imgClass:"wp-image-".concat(t.featured_media.toString()),imgID:t.featured_media.toString(),imgSize:m.imageSize,imgSizeLandscape:t.featured_image_src,imgSizeSquare:t.featured_image_src_square,imgLink:t.link})):null,React.createElement("div",{className:"gb-block-post-grid-text"},React.createElement("header",{className:"gb-block-post-grid-header"},m.displayPostTitle&&React.createElement(M,{className:"gb-block-post-grid-title"},React.createElement("a",{href:t.link,target:"_blank",rel:"bookmark noopener noreferrer"},oi(t.title.rendered.trim())||ai("(Untitled)","genesis-blocks"))),g&&t.author_info&&t.author_info.display_name&&React.createElement("div",{className:"gb-block-post-grid-byline"},m.displayPostAuthor&&t.author_info.display_name&&React.createElement("div",{className:"gb-block-post-grid-author"},React.createElement("a",{className:"gb-text-link",target:"_blank",rel:"noopener noreferrer",href:t.author_info.author_link},t.author_info.display_name)),m.displayPostDate&&t.date_gmt&&React.createElement("time",{dateTime:yo()(t.date_gmt).utc().format(),className:"gb-block-post-grid-date"},yo()(t.date_gmt).local().format("MMMM DD, Y","genesis-blocks")))),React.createElement("div",{className:"gb-block-post-grid-excerpt"},m.displayPostExcerpt&&t.excerpt&&React.createElement("div",{dangerouslySetInnerHTML:{__html:(r=t.excerpt.rendered,o=m.excerptLength,r.split(" ").splice(0,o).join(" "))}}),m.displayPostLink&&React.createElement("p",null,React.createElement("a",{className:"gb-block-post-grid-more-link gb-text-link",href:t.link,target:"_blank",rel:"bookmark noopener noreferrer"},m.readMoreText)))));var r,o})))))},gb_settings_data:{gb_postgrid_postType:{title:gi("Content Type","genesis-blocks")},gb_postgrid_queryControls:{title:gi("Query Controls","genesis-blocks")},gb_postgrid_offset:{title:gi("Post Offset","genesis-blocks")},gb_postgrid_columns:{title:gi("Columns","genesis-blocks")},gb_postgrid_displaySectionTitle:{title:gi("Display Section Title","genesis-blocks")},gb_postgrid_sectionTitle:{title:gi("Section Title","genesis-blocks")},gb_postgrid_displayPostImage:{title:gi("Display Featured Image","genesis-blocks")},gb_postgrid_imageSizeValue:{title:gi("Image Size","genesis-blocks")},gb_postgrid_displayPostTitle:{title:gi("Display Post Title","genesis-blocks")},gb_postgrid_displayPostAuthor:{title:gi("Display Post Author","genesis-blocks")},gb_postgrid_displayPostDate:{title:gi("Display Post Date","genesis-blocks")},gb_postgrid_displayPostExcerpt:{title:gi("Display Post Excerpt","genesis-blocks")},gb_postgrid_excerptLength:{title:gi("Excerpt Length","genesis-blocks")},gb_postgrid_displayPostLink:{title:gi("Display Continue Reading Link","genesis-blocks")},gb_postgrid_readMoreText:{title:gi("Read More Text","genesis-blocks")},gb_postgrid_sectionTag:{title:gi("Post Grid Section Tag","genesis-blocks")},gb_postgrid_sectionTitleTag:{title:gi("Section Title Heading Tag","genesis-blocks")},gb_postgrid_postTitleTag:{title:gi("Post Title Heading Tag","genesis-blocks")}},save:function(){return null}});var bi=wp.i18n.__,yi=wp.element.Component,ki=wp.blockEditor,Mi=ki.InspectorControls,vi=ki.PanelColorSettings,Li=ki.MediaUpload,wi=wp.components,Yi=wi.Button,Ti=wi.Icon,Di=wi.PanelBody,Ri=wi.RangeControl,Si=function(e){m()(n,e);var t=fi(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.containerPaddingTop,r=t.containerPaddingRight,a=t.containerPaddingBottom,o=t.containerPaddingLeft,i=t.containerMarginTop,s=t.containerMarginBottom,l=t.containerMaxWidth,c=t.containerBackgroundColor,u=t.containerDimRatio,d=t.containerImgURL,m=t.containerImgID,p=this.props.setAttributes,_=function(){p({containerImgID:null,containerImgURL:null,containerImgAlt:null})};return React.createElement(Mi,{key:"inspector"},React.createElement(v,{id:"gb_container_containerOptions"},React.createElement(Di,{title:bi("Container Options","genesis-blocks"),initialOpen:!0},React.createElement(Ri,{label:bi("Padding Top (%)","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({containerPaddingTop:t})},min:0,max:30,step:.5}),React.createElement(Ri,{label:bi("Padding Bottom (%)","genesis-blocks"),value:a,onChange:function(t){return e.props.setAttributes({containerPaddingBottom:t})},min:0,max:30,step:.5}),React.createElement(Ri,{label:bi("Padding Left (%)","genesis-blocks"),value:o,onChange:function(t){return e.props.setAttributes({containerPaddingLeft:t})},min:0,max:30,step:.5}),React.createElement(Ri,{label:bi("Padding Right (%)","genesis-blocks"),value:r,onChange:function(t){return e.props.setAttributes({containerPaddingRight:t})},min:0,max:30,step:.5}),React.createElement(Ri,{label:bi("Margin Top (%)","genesis-blocks"),value:i,onChange:function(t){return e.props.setAttributes({containerMarginTop:t})},min:0,max:30,step:1}),React.createElement(Ri,{label:bi("Margin Bottom (%)","genesis-blocks"),value:s,onChange:function(t){return e.props.setAttributes({containerMarginBottom:t})},min:0,max:30,step:.5}),React.createElement(Ri,{label:bi("Inside Container Max Width (px)","genesis-blocks"),value:l,onChange:function(t){return e.props.setAttributes({containerMaxWidth:t})},min:500,max:1600,step:1}))),React.createElement(v,{id:"gb_container_backgroundOptions"},React.createElement(Di,{title:bi("Background Options","genesis-blocks"),initialOpen:!1},React.createElement("p",null,bi("Select a background image:","genesis-blocks")),React.createElement(Li,{onSelect:function(e){p({containerImgID:e.id,containerImgURL:e.url,containerImgAlt:e.alt})},type:"image",value:m,render:function(e){var t=e.open;return React.createElement("div",null,React.createElement(Yi,{className:"gb-container-inspector-media",label:bi("Edit image","genesis-blocks"),onClick:t},React.createElement(Ti,{icon:"format-image"}),bi("Select Image","genesis-blocks")),d&&!!d.length&&React.createElement(Yi,{className:"gb-container-inspector-media",label:bi("Remove Image","genesis-blocks"),onClick:_},React.createElement(Ti,{icon:"dismiss"}),bi("Remove","genesis-blocks")))}}),d&&!!d.length&&React.createElement(Ri,{label:bi("Image Opacity","genesis-blocks"),value:u,onChange:function(t){return e.props.setAttributes({containerDimRatio:t})},min:0,max:100,step:10}),React.createElement(vi,{title:bi("Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:c,label:bi("Background Color","genesis-blocks"),onChange:function(e){return p({containerBackgroundColor:e})}}]}))))}}]),n}(yi);function xi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ei=function(e){m()(n,e);var t=xi(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.containerBackgroundColor,r=t.containerAlignment,a=t.containerPaddingTop,o=t.containerPaddingRight,s=t.containerPaddingBottom,l=t.containerPaddingLeft,c=t.containerMarginTop,u=t.containerMarginBottom,d=t.containerWidth,m=t.containerMaxWidth,p=t.containerImgURL,_=t.containerImgAlt,h=t.containerDimRatio,g={backgroundColor:n||void 0,textAlign:r||void 0,paddingLeft:l?"".concat(l,"%"):void 0,paddingRight:o?"".concat(o,"%"):void 0,paddingBottom:s?"".concat(s,"%"):void 0,paddingTop:a?"".concat(a,"%"):void 0,marginTop:c?"".concat(c,"%"):void 0,marginBottom:u?"".concat(u,"%"):void 0},f=b()([this.props.className,"gb-block-container"],i()({},"align"+d,d));return React.createElement("div",{style:g,className:f||void 0},React.createElement("div",{className:"gb-container-inside"},p&&!!p.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:b()("gb-container-image",(e=h,0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)),{"has-background-dim":0!==h}),src:p,alt:_})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:m?"".concat(m,"px"):void 0}},this.props.children)))}}]),n}(wp.element.Component);function Ci(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ji=function(e){m()(n,e);var t=Ci(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.containerBackgroundColor,n=e.containerAlignment,r=e.containerPaddingTop,a=e.containerPaddingRight,o=e.containerPaddingBottom,s=e.containerPaddingLeft,l=e.containerMarginTop,c=e.containerMarginBottom,u=e.containerWidth,d=(e.containerMaxWidth,b()([this.props.className,"gb-block-container"],i()({},"align"+u,u)));return React.createElement("div",{style:{backgroundColor:t,textAlign:n,paddingLeft:"".concat(s,"%"),paddingRight:"".concat(a,"%"),paddingBottom:"".concat(o,"%"),paddingTop:"".concat(r,"%"),marginTop:"".concat(l,"%"),marginBottom:"".concat(c,"%")},className:d||void 0},this.props.children)}}]),n}(wp.element.Component);function Pi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Hi=function(e){m()(n,e);var t=Pi(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.containerBackgroundColor,r=t.containerAlignment,a=t.containerPaddingTop,o=t.containerPaddingRight,s=t.containerPaddingBottom,l=t.containerPaddingLeft,c=t.containerMarginTop,u=t.containerMarginBottom,d=t.containerWidth,m=t.containerMaxWidth,p=t.containerImgURL,_=t.containerImgAlt,h=t.containerDimRatio,g={backgroundColor:n||void 0,textAlign:r||void 0,paddingLeft:l?"".concat(l,"%"):void 0,paddingRight:o?"".concat(o,"%"):void 0,paddingBottom:s?"".concat(s,"%"):void 0,paddingTop:a?"".concat(a,"%"):void 0,marginTop:c?"".concat(c,"%"):void 0,marginBottom:u?"".concat(u,"%"):void 0},f=b()([this.props.className,"gb-block-container"],i()({},"align"+d,d));return React.createElement("div",{style:g,className:f||void 0},React.createElement("div",{className:"gb-container-inside"},p&&!!p.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:b()("gb-container-image",(e=h,0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)),{"has-background-dim":0!==h}),src:p,alt:_})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:"".concat(m,"px")}},this.props.children)))}}]),n}(wp.element.Component);var Oi=wp.blockEditor.InnerBlocks;var zi=[{attributes:{containerPaddingTop:{type:"number"},containerPaddingRight:{type:"number"},containerPaddingBottom:{type:"number"},containerPaddingLeft:{type:"number"},containerMarginTop:{type:"number"},containerMarginBottom:{type:"number"},containerWidth:{type:"string"},containerMaxWidth:{type:"number",default:1600},containerBackgroundColor:{type:"string"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},save:function(e){return React.createElement(Hi,e,React.createElement(Oi.Content,null))}},{attributes:{containerPaddingTop:{type:"number",default:0},containerPaddingRight:{type:"number",default:0},containerPaddingBottom:{type:"number",default:0},containerPaddingLeft:{type:"number",default:0},containerMarginTop:{type:"number",default:0},containerMarginBottom:{type:"number",default:0},containerWidth:{type:"string",default:"center"},containerMaxWidth:{type:"number",default:1600},containerBackgroundColor:{type:"string",default:"#fff"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},save:function(e){var t,n=e.attributes,r=n.containerMaxWidth,a=n.containerImgURL,o=n.containerImgAlt,i=n.containerDimRatio;return React.createElement(ji,e,React.createElement("div",{className:"gb-container-inside"},a&&!!a.length&&React.createElement("div",{className:"gb-container-image-wrap"},React.createElement("img",{className:b()("gb-container-image",(t=i,0===t||50===t?null:"has-background-dim-"+10*Math.round(t/10)),{"has-background-dim":0!==i}),src:a,alt:o})),React.createElement("div",{className:"gb-container-content",style:{maxWidth:"".concat(r,"px")}},React.createElement(Oi.Content,null))))}}];n(347),n(348);function Ai(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ai(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ai(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ni(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Fi=wp.i18n.__,Wi=wp.element.Component,Ii=wp.blocks.registerBlockType,Ui=wp.blockEditor.InnerBlocks,Vi=function(e){m()(n,e);var t=Ni(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.setAttributes;return[React.createElement(Si,a()({key:"gb-container-inspector-"+this.props.clientId},Bi({setAttributes:e},this.props))),React.createElement(Ei,a()({key:"gb-container-"+this.props.clientId},this.props),React.createElement(Ui,null))]}}]),n}(Wi);function Ji(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}Ii("genesis-blocks/gb-container",{title:Fi("Container","genesis-blocks"),description:Fi("Add a container block to wrap several blocks in a parent container.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",keywords:[Fi("container","genesis-blocks"),Fi("section","genesis-blocks"),Fi("genesis","genesis-blocks")],supports:{align:["center","wide","full"]},attributes:{containerPaddingTop:{type:"number"},containerPaddingRight:{type:"number"},containerPaddingBottom:{type:"number"},containerPaddingLeft:{type:"number"},containerMarginTop:{type:"number"},containerMarginBottom:{type:"number"},containerWidth:{type:"string"},containerMaxWidth:{type:"number"},containerBackgroundColor:{type:"string"},containerImgURL:{type:"string",source:"attribute",attribute:"src",selector:"img"},containerImgID:{type:"number"},containerImgAlt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},containerDimRatio:{type:"number",default:50}},gb_settings_data:{gb_container_containerOptions:{title:Fi("Container Options","genesis-blocks")},gb_container_backgroundOptions:{title:Fi("Background Options","genesis-blocks")}},edit:Vi,save:function(e){return React.createElement(Ei,e,React.createElement(Ui.Content,null))},getEditWrapperProps:function(e){var t=e.containerWidth;if("center"===t||"wide"===t||"full"===t)return{"data-align":t}},deprecated:zi});var Gi=wp.i18n.__,qi=wp.element.Component,$i=wp.blockEditor.InspectorControls,Ki=wp.components,Zi=Ki.PanelBody,Qi=Ki.RangeControl,Xi=function(e){m()(n,e);var t=Ji(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.columns,r=t.columnsGap;return React.createElement($i,{key:"inspector"},React.createElement(Zi,null,React.createElement(v,{id:"gb_pricing_columns"},React.createElement(Qi,{label:Gi("Pricing Columns","genesis-blocks"),value:n,onChange:function(t){return e.props.setAttributes({columns:t})},min:1,max:4})),React.createElement(v,{id:"gb_pricing_columnsGap"},React.createElement(Qi,{label:Gi("Pricing Columns Gap","genesis-blocks"),value:r,onChange:function(t){return e.props.setAttributes({columnsGap:t})},min:0,max:5,step:1}))))}}]),n}(qi);function es(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ts=function(e){m()(n,e);var t=es(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.columns,n=e.align,r=b()([this.props.className,"gb-pricing-columns-"+t],i()({},"align"+n,n));return React.createElement("div",{className:r||void 0},this.props.children)}}]),n}(wp.element.Component),ns=n(29),rs=n.n(ns),as=n(30),os=n.n(as);function is(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ss(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?is(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):is(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ls(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var cs=wp.i18n.__,us=wp.element.Component,ds=wp.blocks.registerBlockType,ms=wp.blockEditor,ps=ms.BlockControls,_s=ms.BlockAlignmentToolbar,hs=ms.InnerBlocks,gs=wp.data.dispatch,fs=["genesis-blocks/gb-pricing-table"],bs=rs()((function(e){return os()(e,(function(){return["genesis-blocks/gb-pricing-table"]}))})),ys=function(e){m()(n,e);var t=ls(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"componentDidUpdate",value:function(e){this.props.attributes.columns!==e.attributes.columns&&gs("core/block-editor").synchronizeTemplate()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.columns,r=t.columnsGap,o=t.align,i=e.setAttributes;return[React.createElement(ps,{key:"controls"},React.createElement(_s,{value:o,onChange:function(e){return i({align:e})},controls:["center","wide","full"]})),React.createElement(Xi,a()({key:"gb-pricing-table-inspector-"+this.props.clientId},ss({setAttributes:i},this.props))),React.createElement(ts,a()({key:"gb-pricing-table-"+this.props.clientId},this.props),React.createElement("div",{className:b()("gb-pricing-table-wrap-admin","gb-block-pricing-table-gap-"+r)},React.createElement(hs,{template:bs(n),templateLock:"all",allowedBlocks:fs})))]}}]),n}(us);function ks(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}ds("genesis-blocks/gb-pricing",{title:cs("Pricing","genesis-blocks"),description:cs("Add a pricing table.","genesis-blocks"),icon:"cart",category:"genesis-blocks",keywords:[cs("pricing table","genesis-blocks"),cs("shop","genesis-blocks"),cs("purchase","genesis-blocks")],attributes:{columns:{type:"number",default:2},columnsGap:{type:"number",default:2},align:{type:"string"}},gb_settings_data:{gb_pricing_columns:{title:cs("Pricing Columns","genesis-blocks")},gb_pricing_columnsGap:{title:cs("Pricing Columns Gap","genesis-blocks")}},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"full"===t||"wide"===t)return{"data-align":t}},edit:ys,save:function(e){var t=e.attributes.columnsGap,n=b()(["gb-pricing-table-wrap","gb-block-pricing-table-gap-"+t]);return React.createElement(ts,e,React.createElement("div",{className:n||void 0},React.createElement(hs.Content,null)))}});var Ms=wp.i18n.__,vs=wp.element.Component,Ls=wp.blockEditor,ws=Ls.InspectorControls,Ys=Ls.PanelColorSettings,Ts=wp.components,Ds=Ts.PanelBody,Rs=Ts.RangeControl,Ss=function(e){m()(n,e);var t=ks(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.borderWidth,a=n.borderColor,o=n.borderRadius,i=n.backgroundColor,s=n.padding,l=t.setAttributes;return React.createElement(ws,{key:"inspector"},React.createElement(Ds,null,React.createElement(v,{id:"gb_pricing_inner_padding"},React.createElement(Rs,{label:Ms("Pricing Column Padding","genesis-blocks"),value:s,onChange:function(t){return e.props.setAttributes({padding:t})},min:0,max:20,step:1})),React.createElement(v,{id:"gb_pricing_inner_borderWidth"},React.createElement(Rs,{label:Ms("Pricing Column Border","genesis-blocks"),value:r,onChange:function(t){return e.props.setAttributes({borderWidth:t})},min:0,max:10,step:1})),React.createElement(v,{id:"gb_pricing_inner_borderRadius"},React.createElement(Rs,{label:Ms("Pricing Column Border Radius","genesis-blocks"),value:o,onChange:function(t){return e.props.setAttributes({borderRadius:t})},min:0,max:20,step:1}))),0<r&&React.createElement(v,{id:"gb_pricing_inner_borderColor"},React.createElement(Ys,{title:Ms("Pricing Column Border Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a,onChange:function(e){return l({borderColor:e})},label:Ms("Border Color","genesis-blocks")}]})),React.createElement(v,{id:"gb_pricing_inner_colorSettings"},React.createElement(Ys,{title:Ms("Pricing Column Background Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:i,onChange:function(e){return l({backgroundColor:e})},label:Ms("Background Color","genesis-blocks")}]})))}}]),n}(vs);n(349),n(350);function xs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Es(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xs(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cs(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var js=wp.i18n.__,Ps=wp.element.Component,Hs=wp.blocks.registerBlockType,Os=wp.blockEditor,zs=Os.InnerBlocks,As=Os.AlignmentToolbar,Bs=Os.BlockControls,Ns=wp.element.Fragment,Fs=["genesis-blocks/gb-pricing-table-description","genesis-blocks/gb-pricing-table-price","genesis-blocks/gb-pricing-table-subtitle","genesis-blocks/gb-pricing-table-title","genesis-blocks/gb-pricing-table-button","core/paragraph","core/image","core/html","core/shortcode"],Ws=function(e){m()(n,e);var t=Cs(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.borderWidth,r=t.borderColor,o=t.borderRadius,i=t.backgroundColor,s=t.padding,l=t.alignment,c=e.setAttributes,u={borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:r||null,borderRadius:o||null,backgroundColor:i||null,padding:s?s+"%":null};return[React.createElement(Bs,{key:"controls"},React.createElement(As,{value:l,onChange:function(e){c({alignment:e})}})),React.createElement(Ss,a()({key:"gb-pricing-table-inner-inspector-"+this.props.clientId},Es({setAttributes:c},this.props))),React.createElement(Ns,{key:"gb-pricing-table-inner-fragment-"+this.props.clientId},React.createElement("div",{className:b()(l?"gb-block-pricing-table-"+l:"gb-block-pricing-table-center","gb-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},React.createElement("div",{className:"gb-block-pricing-table-inside",style:u},React.createElement(zs,{template:[["genesis-blocks/gb-pricing-table-title",{title:"<strong>Price Title</strong>",fontSize:"medium",paddingTop:30,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-subtitle",{subtitle:"Price Subtitle Description",customFontSize:20,paddingTop:10,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-price",{price:"49",currency:"$",customFontSize:60,term:"/mo",paddingTop:10,paddingRight:20,paddingBottom:10,paddingLeft:20}],["genesis-blocks/gb-pricing-table-features",{features:"<li>Product Feature One</li><li>Product Feature Two</li><li>Product Feature Three</li>",multilineTag:"li",ordered:!1,customFontSize:20,paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}],["genesis-blocks/gb-pricing-table-button",{buttonText:"Buy Now",buttonBackgroundColor:"#272c30",paddingTop:15,paddingRight:20,paddingBottom:35,paddingLeft:20}]],templateLock:!1,allowedBlocks:Fs,templateInsertUpdatesSelection:!1}))))]}}]),n}(Ps);Hs("genesis-blocks/gb-pricing-table",{title:js("Pricing Column","genesis-blocks"),description:js("Add a pricing column.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing"],keywords:[js("pricing","genesis-blocks"),js("shop","genesis-blocks"),js("buy","genesis-blocks")],attributes:{borderWidth:{type:"number",default:2},borderColor:{type:"string"},borderRadius:{type:"number",default:0},backgroundColor:{type:"string"},alignment:{type:"string"},padding:{type:"number"}},gb_settings_data:{gb_pricing_inner_padding:{title:js("Pricing Column Padding","genesis-blocks")},gb_pricing_inner_borderWidth:{title:js("Pricing Column Border","genesis-blocks")},gb_pricing_inner_borderRadius:{title:js("Pricing Column Border Radius","genesis-blocks")},gb_pricing_inner_borderColor:{title:js("Pricing Column Border Color","genesis-blocks")},gb_pricing_inner_colorSettings:{title:js("Pricing Column Background Color","genesis-blocks")}},edit:Ws,save:function(e){var t=e.attributes,n=t.borderWidth,r=t.borderColor,a=t.borderRadius,o=t.backgroundColor,i=t.alignment,s=t.padding,l={borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:r||null,borderRadius:a||null,backgroundColor:o||null,padding:s?s+"%":null};return React.createElement("div",{className:b()(i?"gb-block-pricing-table-"+i:"gb-block-pricing-table-center","gb-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},React.createElement("div",{className:"gb-block-pricing-table-inside",style:l},React.createElement(zs.Content,null)))}});var Is=wp.i18n.__,Us=wp.element.Fragment,Vs=wp.components.RangeControl;function Js(e){var t=e.padding,n=e.paddingTitle,r=e.paddingHelp,a=e.paddingMin,o=e.paddingMax,i=e.paddingEnable,s=e.onChangePadding,l=void 0===s?function(){}:s,c=e.paddingTop,u=e.paddingTopMin,d=e.paddingTopMax,m=e.paddingEnableTop,p=e.onChangePaddingTop,_=void 0===p?function(){}:p,h=e.paddingRight,g=e.paddingRightMin,f=e.paddingRightMax,b=e.paddingEnableRight,y=e.onChangePaddingRight,k=void 0===y?function(){}:y,M=e.paddingBottom,v=e.paddingBottomMin,L=e.paddingBottomMax,w=e.paddingEnableBottom,Y=e.onChangePaddingBottom,T=void 0===Y?function(){}:Y,D=e.paddingLeft,R=e.paddingLeftMin,S=e.paddingLeftMax,x=e.paddingEnableLeft,E=e.onChangePaddingLeft,C=void 0===E?function(){}:E,j=e.paddingVertical,P=e.paddingEnableVertical,H=e.paddingVerticalMin,O=e.paddingVerticalMax,z=e.onChangePaddingVertical,A=void 0===z?function(){}:z,B=e.paddingHorizontal,N=e.paddingEnableHorizontal,F=e.paddingHorizontalMin,W=e.paddingHorizontalMax,I=e.onChangePaddingHorizontal,U=void 0===I?function(){}:I;return React.createElement(Us,null,i&&React.createElement(Vs,{label:n||Is("Padding","genesis-blocks"),help:r||null,value:t,min:a,max:o,onChange:l}),m&&React.createElement(Vs,{label:Is("Padding Top","genesis-blocks"),value:c,min:u,max:d,onChange:_}),b&&React.createElement(Vs,{label:Is("Padding Right","genesis-blocks"),value:h,min:g,max:f,onChange:k}),w&&React.createElement(Vs,{label:Is("Padding Bottom","genesis-blocks"),value:M,min:v,max:L,onChange:T}),x&&React.createElement(Vs,{label:Is("Padding Left","genesis-blocks"),value:D,min:R,max:S,onChange:C}),P&&React.createElement(Vs,{label:Is("Padding Vertical","genesis-blocks"),value:j,min:H,max:O,onChange:A}),N&&React.createElement(Vs,{label:Is("Padding Horizontal","genesis-blocks"),value:B,min:F,max:W,onChange:U}))}function Gs(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var qs=wp.i18n.__,$s=wp.element.Component,Ks=wp.compose.compose,Zs=wp.blockEditor,Qs=Zs.InspectorControls,Xs=Zs.FontSizePicker,el=Zs.withFontSizes,tl=Zs.withColors,nl=Zs.ContrastChecker,rl=Zs.PanelColorSettings,al=wp.components,ol=al.withFallbackStyles,il=al.PanelBody,sl=al.ToggleControl,ll=al.TextControl,cl=(al.RangeControl,ol((function(e,t){var n=t.attributes,r=n.textColor,a=n.backgroundColor,o=n.fontSize,i=n.customFontSize,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:a||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:o||i||!l?void 0:parseInt(l.fontSize)||void 0}}))),ul=function(e){m()(n,e);var t=Gs(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.showTerm,o=n.showCurrency,i=n.term,s=n.currency,l=n.paddingTop,c=n.paddingRight,u=n.paddingBottom,d=n.paddingLeft,m=(t.isSelected,t.setAttributes),p=t.fallbackFontSize,_=t.fontSize,h=t.setFontSize,g=t.backgroundColor,f=t.textColor,b=t.setBackgroundColor,y=t.setTextColor,k=t.fallbackBackgroundColor,M=t.fallbackTextColor;return React.createElement(Qs,{key:"inspector"},React.createElement(il,{title:qs("Text Settings","genesis-blocks")},React.createElement(Xs,{fallbackFontSize:p,value:_.size,onChange:h}),React.createElement(sl,{label:qs("Show currency symbol","genesis-blocks"),checked:o,onChange:function(){return e.props.setAttributes({showCurrency:!o})}}),o&&React.createElement(ll,{label:qs("Currency Symbol","genesis-blocks"),type:"text",value:s,onChange:function(t){return e.props.setAttributes({currency:t})}}),React.createElement(sl,{label:qs("Show pricing duration","genesis-blocks"),checked:r,onChange:function(){return e.props.setAttributes({showTerm:!r})}}),r&&React.createElement(ll,{label:qs("Pricing Duration","genesis-blocks"),type:"text",value:i,onChange:function(t){return e.props.setAttributes({term:t})}})),React.createElement(il,{title:qs("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Js,{paddingEnableTop:!0,paddingTop:l,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return m({paddingTop:e})},paddingEnableRight:!0,paddingRight:c,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return m({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:u,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return m({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:d,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return m({paddingLeft:e})}})),React.createElement(rl,{title:qs("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:g.color,onChange:b,label:qs("Background Color","genesis-blocks")},{value:f.color,onChange:y,label:qs("Text Color","genesis-blocks")}]},React.createElement(nl,a()({textColor:f.color,backgroundColor:g.color,fallbackTextColor:M,fallbackBackgroundColor:k},{fontSize:_.size}))))}}]),n}($s),dl=Ks([cl,el("fontSize"),tl("backgroundColor",{textColor:"color"})])(ul);function ml(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var pl=wp.i18n.__,_l=(wp.blocks.registerBlockType,wp.compose.compose),hl=wp.element,gl=hl.Component,fl=hl.Fragment,bl=wp.blockEditor,yl=bl.RichText,kl=bl.withFontSizes,Ml=bl.withColors,vl=function(e){m()(n,e);var t=ml(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.price,a=n.currency,o=n.term,s=n.showTerm,l=n.showCurrency,c=n.paddingTop,u=n.paddingRight,d=n.paddingBottom,m=n.paddingLeft,p=(t.isSelected,t.className,t.setAttributes),_=(t.fallbackFontSize,t.fontSize),h=t.backgroundColor,g=t.textColor,f=b()((e={"gb-pricing-table-price-wrap":!0,"has-text-color":g.color,"has-background":h.color},i()(e,h.class,h.class),i()(e,g.class,g.class),i()(e,"gb-pricing-has-currency",l),e)),y=b()(i()({"gb-pricing-table-price":!0},_.class,_.class)),k={backgroundColor:h.color,color:g.color,paddingTop:c?c+"px":void 0,paddingRight:u?u+"px":void 0,paddingBottom:d?d+"px":void 0,paddingLeft:m?m+"px":void 0},M={fontSize:_.size?_.size+"px":void 0},v=Math.floor(_.size/2.5),L={fontSize:_.size?v+"px":void 0},w=Math.floor(_.size/2.5),Y={fontSize:_.size?w+"px":void 0};return[React.createElement(fl,{key:"gb-pricing-table-inner-component-price-"+this.props.clientId},React.createElement(dl,this.props),React.createElement("div",{className:f||void 0,style:k},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},l&&React.createElement(yl,{tagName:"span",itemProp:"priceCurrency",placeholder:pl("$","genesis-blocks"),keepPlaceholderOnFocus:!0,value:a,onChange:function(e){return p({currency:e})},className:"gb-pricing-table-currency",style:L}),React.createElement(yl,{tagName:"div",itemProp:"price",placeholder:pl("49","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return p({price:e})},style:M,className:y||void 0}),s&&React.createElement(yl,{tagName:"span",value:o,placeholder:pl("/mo","genesis-blocks"),keepPlaceholderOnFocus:!0,onChange:function(e){return p({term:e})},className:"gb-pricing-table-term",style:Y}))))]}}]),n}(gl),Ll=_l([kl("fontSize"),Ml("backgroundColor",{textColor:"color"})])(vl),wl=wp.i18n.__,Yl=wp.blockEditor,Tl=Yl.RichText,Dl=Yl.getFontSizeClass,Rl=Yl.getColorClassName,Sl=[{attributes:{price:{type:"string"},currency:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number",default:60},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},term:{type:"string"},showTerm:{type:"boolean",default:!0},showCurrency:{type:"boolean",default:!0},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},save:function(e){var t,n=e.attributes,r=n.price,a=n.currency,o=n.fontSize,s=n.customFontSize,l=n.backgroundColor,c=n.textColor,u=n.customBackgroundColor,d=n.customTextColor,m=n.term,p=n.showTerm,_=n.showCurrency,h=n.paddingTop,g=n.paddingRight,f=n.paddingBottom,y=n.paddingLeft,k=Dl(o),M=Rl("color",c),v=Rl("background-color",l),L=b()((t={"has-background":l||u,"gb-pricing-table-price-wrap":!0},i()(t,M,M),i()(t,v,v),i()(t,"gb-pricing-has-currency",_&&a),t)),w=b()(i()({"gb-pricing-table-price":!0},k,k)),Y={backgroundColor:v?void 0:u,color:M?void 0:d,paddingTop:h?h+"px":void 0,paddingRight:g?g+"px":void 0,paddingBottom:f?f+"px":void 0,paddingLeft:y?y+"px":void 0},T={fontSize:k?void 0:s},D=k?void 0:s,R=Math.floor(D/2.5),S={fontSize:D?R+"px":void 0},x=Math.floor(D/2.5),E={fontSize:D?x+"px":void 0};return React.createElement("div",{className:L||void 0,style:Y},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},a&&_&&React.createElement(Tl.Content,{tagName:"span",itemProp:"priceCurrency",placeholder:wl("$","genesis-blocks"),value:a,className:"gb-pricing-table-currency",style:S}),React.createElement(Tl.Content,{tagName:"div",itemProp:"price",value:r,className:w||void 0,style:T}),m&&p&&React.createElement(Tl.Content,{tagName:"span",value:m,className:"gb-pricing-table-term",style:E})))}}],xl=wp.i18n.__,El=wp.blocks.registerBlockType,Cl=wp.element,jl=(Cl.Component,Cl.Fragment,wp.blockEditor),Pl=jl.RichText,Hl=jl.getFontSizeClass,Ol=(jl.FontSizePicker,jl.withFontSizes,jl.getColorClassName);function zl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}El("genesis-blocks/gb-pricing-table-price",{title:xl("Product Price","genesis-blocks"),description:xl("Adds a product price component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[xl("pricing table","genesis-blocks"),xl("price","genesis-blocks"),xl("shop","genesis-blocks")],attributes:{price:{type:"string"},currency:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number",default:60},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},term:{type:"string"},showTerm:{type:"boolean",default:!0},showCurrency:{type:"boolean",default:!0},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:Ll,save:function(e){var t,n=e.attributes,r=n.price,a=n.currency,o=n.fontSize,s=n.customFontSize,l=n.backgroundColor,c=n.textColor,u=n.customBackgroundColor,d=n.customTextColor,m=n.term,p=n.showTerm,_=n.showCurrency,h=n.paddingTop,g=n.paddingRight,f=n.paddingBottom,y=n.paddingLeft,k=Hl(o),M=Ol("color",c),v=Ol("background-color",l),L=b()((t={"has-background":l||u,"gb-pricing-table-price-wrap":!0},i()(t,M,M),i()(t,v,v),i()(t,"gb-pricing-has-currency",_&&a),t)),w=b()(i()({"gb-pricing-table-price":!0},k,k)),Y={backgroundColor:v?void 0:u,color:M?void 0:d,paddingTop:h?h+"px":void 0,paddingRight:g?g+"px":void 0,paddingBottom:f?f+"px":void 0,paddingLeft:y?y+"px":void 0},T={fontSize:k?void 0:s},D=k?void 0:s,R=Math.floor(D/2.5),S={fontSize:D?R+"px":void 0},x=Math.floor(D/2.5),E={fontSize:D?x+"px":void 0};return React.createElement("div",{className:L||void 0,style:Y},React.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},a&&_&&React.createElement(Pl.Content,{tagName:"span",itemProp:"priceCurrency",value:a,className:"gb-pricing-table-currency",style:S}),React.createElement(Pl.Content,{tagName:"div",itemProp:"price",value:r,className:w||void 0,style:T}),m&&p&&React.createElement(Pl.Content,{tagName:"span",value:m,className:"gb-pricing-table-term",style:E})))},deprecated:Sl});var Al=wp.i18n.__,Bl=wp.element.Component,Nl=wp.compose.compose,Fl=wp.blockEditor,Wl=Fl.InspectorControls,Il=Fl.FontSizePicker,Ul=Fl.withFontSizes,Vl=Fl.withColors,Jl=Fl.ContrastChecker,Gl=Fl.PanelColorSettings,ql=Fl.ColorPalette,$l=wp.components,Kl=$l.withFallbackStyles,Zl=$l.PanelBody,Ql=$l.PanelRow,Xl=$l.SelectControl,ec=$l.BaseControl,tc=$l.RangeControl,nc=Kl((function(e,t){var n=t.attributes,r=n.textColor,a=n.backgroundColor,o=n.fontSize,i=n.customFontSize,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:a||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:o||i||!l?void 0:parseInt(l.fontSize)||void 0}})),rc=function(e){m()(n,e);var t=zl(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.borderStyle,o=n.borderColor,i=n.borderWidth,s=n.paddingTop,l=n.paddingRight,c=n.paddingBottom,u=n.paddingLeft,d=(t.isSelected,t.setAttributes),m=t.fallbackFontSize,p=t.fontSize,_=t.setFontSize,h=t.backgroundColor,g=t.textColor,f=t.setBackgroundColor,b=t.setTextColor,y=t.fallbackBackgroundColor,k=t.fallbackTextColor,M=[{value:"gb-list-border-none",label:Al("None")},{value:"gb-list-border-solid",label:Al("Solid")},{value:"gb-list-border-dotted",label:Al("Dotted")},{value:"gb-list-border-dashed",label:Al("Dashed")}];return React.createElement(Wl,{key:"inspector"},React.createElement(Zl,{title:Al("Text Settings","genesis-blocks")},React.createElement(Il,{fallbackFontSize:m,value:p.size,onChange:_}),React.createElement(Xl,{label:Al("List Border Style","genesis-blocks"),value:r,options:M.map((function(e){return{value:e.value,label:e.label}})),onChange:function(t){e.props.setAttributes({borderStyle:t})}}),"gb-list-border-none"!==r&&React.createElement(tc,{label:Al("List Border Width","genesis-blocks"),value:i,onChange:function(t){return e.props.setAttributes({borderWidth:t})},min:1,max:5,step:1}),"gb-list-border-none"!==r&&React.createElement(Ql,null,React.createElement(ec,{label:Al("List Border Color","genesis-blocks"),id:"gb-list-border-color-"+this.props.clientId},React.createElement(ql,{initialOpen:!1,value:o,onChange:function(e){return d({borderColor:e})}})))),React.createElement(Zl,{title:Al("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Js,{paddingEnableTop:!0,paddingTop:s,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return d({paddingTop:e})},paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return d({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:c,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return d({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:u,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return d({paddingLeft:e})}})),React.createElement(Gl,{title:Al("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:h.color,onChange:f,label:Al("Background Color","genesis-blocks")},{value:g.color,onChange:b,label:Al("Text Color","genesis-blocks")}]},React.createElement(Jl,a()({textColor:g.color,backgroundColor:h.color,fallbackTextColor:k,fallbackBackgroundColor:y},{fontSize:p.size}))))}}]),n}(Bl),ac=Nl([nc,Ul("fontSize"),Vl("backgroundColor",{textColor:"color"})])(rc);function oc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ic=wp.i18n.__,sc=(wp.blocks.registerBlockType,wp.compose.compose),lc=wp.element,cc=lc.Component,uc=lc.Fragment,dc=wp.blockEditor,mc=dc.RichText,pc=dc.withFontSizes,_c=dc.withColors,hc=function(e){m()(n,e);var t=oc(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.features,a=n.borderStyle,o=n.borderColor,s=n.borderWidth,l=n.paddingTop,c=n.paddingRight,u=n.paddingBottom,d=n.paddingLeft,m=(t.isSelected,t.className,t.setAttributes),p=(t.fallbackFontSize,t.fontSize),_=t.backgroundColor,h=t.textColor,g=b()((e={"gb-pricing-table-features":!0},i()(e,p.class,p.class),i()(e,"has-text-color",h.color),i()(e,"has-background",_.color),i()(e,_.class,_.class),i()(e,h.class,h.class),i()(e,a,a),i()(e,"gb-list-border-width-"+s,s),e)),f={fontSize:p.size?p.size+"px":void 0,backgroundColor:_.color,color:h.color,borderColor:o||void 0,paddingTop:l?l+"px":void 0,paddingRight:c?c+"px":void 0,paddingBottom:u?u+"px":void 0,paddingLeft:d?d+"px":void 0};return[React.createElement(uc,{key:"gb-pricing-table-inner-component-description-"+this.props.clientId},React.createElement(ac,this.props),React.createElement(mc,{tagName:"ul",multiline:"li",itemProp:"description",placeholder:ic("Add a product feature","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return m({features:e})},style:f,className:g||void 0}))]}}]),n}(cc),gc=sc([pc("fontSize"),_c("backgroundColor",{textColor:"color"})])(hc),fc=wp.i18n.__,bc=wp.blocks.registerBlockType,yc=(wp.element.Component,wp.blockEditor),kc=yc.RichText,Mc=yc.getFontSizeClass,vc=(yc.FontSizePicker,yc.withFontSizes,yc.getColorClassName);function Lc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}bc("genesis-blocks/gb-pricing-table-features",{title:fc("Product Features","genesis-blocks"),description:fc("Adds a product feature component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[fc("pricing table","genesis-blocks"),fc("features","genesis-blocks"),fc("shop","genesis-blocks")],attributes:{features:{type:"string",source:"html",selector:"ol,ul",multiline:"li"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},borderStyle:{type:"string",default:"gb-list-border-none"},borderColor:{type:"string"},borderWidth:{type:"number",default:1},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:gc,save:function(e){var t,n=e.attributes,r=n.features,a=n.fontSize,o=n.customFontSize,s=n.backgroundColor,l=n.textColor,c=n.customBackgroundColor,u=n.customTextColor,d=n.borderStyle,m=n.borderColor,p=n.borderWidth,_=n.paddingTop,h=n.paddingRight,g=n.paddingBottom,f=n.paddingLeft,y=Mc(a),k=vc("color",l),M=vc("background-color",s),v=b()((t={"has-background":s||c,"gb-pricing-table-features":!0},i()(t,y,y),i()(t,k,k),i()(t,M,M),i()(t,d,d),i()(t,"gb-list-border-width-"+p,p),t)),L={fontSize:y?void 0:o,backgroundColor:M?void 0:c,color:k?void 0:u,borderColor:m||void 0,paddingTop:_?_+"px":void 0,paddingRight:h?h+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:f?f+"px":void 0};return React.createElement(kc.Content,{tagName:"ul",itemProp:"description",value:r,className:v||void 0,style:L})}});var wc=wp.i18n.__,Yc=wp.element.Component,Tc=wp.compose.compose,Dc=wp.blockEditor,Rc=Dc.InspectorControls,Sc=Dc.FontSizePicker,xc=Dc.withFontSizes,Ec=Dc.withColors,Cc=Dc.ContrastChecker,jc=Dc.PanelColorSettings,Pc=(Dc.RangeControl,wp.components),Hc=Pc.withFallbackStyles,Oc=Pc.PanelBody,zc=Hc((function(e,t){var n=t.attributes,r=n.textColor,a=n.backgroundColor,o=n.fontSize,i=n.customFontSize,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:a||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:o||i||!l?void 0:parseInt(l.fontSize)||void 0}})),Ac=function(e){m()(n,e);var t=Lc(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,s=(e.isSelected,e.setAttributes),l=e.fallbackFontSize,c=e.fontSize,u=e.setFontSize,d=e.backgroundColor,m=e.textColor,p=e.setBackgroundColor,_=e.setTextColor,h=e.fallbackBackgroundColor,g=e.fallbackTextColor;return React.createElement(Rc,{key:"inspector"},React.createElement(Oc,{title:wc("Text Settings","genesis-blocks")},React.createElement(Sc,{fallbackFontSize:l,value:c.size,onChange:u})),React.createElement(Oc,{title:wc("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Js,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return s({paddingTop:e})},paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return s({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:o,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return s({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:i,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return s({paddingLeft:e})}})),React.createElement(jc,{title:wc("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:d.color,onChange:p,label:wc("Background Color","genesis-blocks")},{value:m.color,onChange:_,label:wc("Text Color","genesis-blocks")}]},React.createElement(Cc,a()({textColor:m.color,backgroundColor:d.color,fallbackTextColor:g,fallbackBackgroundColor:h},{fontSize:c.size}))))}}]),n}(Yc),Bc=Tc([zc,xc("fontSize"),Ec("backgroundColor",{textColor:"color"})])(Ac);function Nc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Fc=wp.i18n.__,Wc=(wp.blocks.registerBlockType,wp.compose.compose),Ic=wp.element,Uc=Ic.Component,Vc=Ic.Fragment,Jc=wp.blockEditor,Gc=Jc.RichText,qc=Jc.withFontSizes,$c=Jc.withColors,Kc=function(e){m()(n,e);var t=Nc(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.title,a=n.paddingTop,o=n.paddingRight,s=n.paddingBottom,l=n.paddingLeft,c=(t.isSelected,t.className,t.setAttributes),u=(t.fallbackFontSize,t.fontSize),d=t.backgroundColor,m=t.textColor,p=b()((e={"gb-pricing-table-title":!0},i()(e,u.class,u.class),i()(e,"has-text-color",m.color),i()(e,"has-background",d.color),i()(e,d.class,d.class),i()(e,m.class,m.class),e)),_={fontSize:u.size?u.size+"px":void 0,backgroundColor:d.color,color:m.color,paddingTop:a?a+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:s?s+"px":void 0,paddingLeft:l?l+"px":void 0};return[React.createElement(Vc,{key:"gb-pricing-table-inner-component-title-"+this.props.clientId},React.createElement(Bc,this.props),React.createElement(Gc,{tagName:"div",itemProp:"name",placeholder:Fc("Price Title","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return c({title:e})},style:_,className:p||void 0}))]}}]),n}(Uc),Zc=Wc([qc("fontSize"),$c("backgroundColor",{textColor:"color"})])(Kc),Qc=wp.i18n.__,Xc=wp.blocks.registerBlockType,eu=(wp.element.Component,wp.blockEditor),tu=eu.RichText,nu=eu.getFontSizeClass,ru=(eu.FontSizePicker,eu.withFontSizes,eu.getColorClassName);function au(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}Xc("genesis-blocks/gb-pricing-table-title",{title:Qc("Product Title","genesis-blocks"),description:Qc("Adds a product title component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[Qc("pricing table","genesis-blocks"),Qc("title","genesis-blocks"),Qc("shop","genesis-blocks")],attributes:{title:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:Zc,save:function(e){var t,n=e.attributes,r=n.title,a=n.fontSize,o=n.customFontSize,s=n.backgroundColor,l=n.textColor,c=n.customBackgroundColor,u=n.customTextColor,d=n.paddingTop,m=n.paddingRight,p=n.paddingBottom,_=n.paddingLeft,h=nu(a),g=ru("color",l),f=ru("background-color",s),y={fontSize:h?void 0:o,backgroundColor:f?void 0:c,color:g?void 0:u,paddingTop:d?d+"px":void 0,paddingRight:m?m+"px":void 0,paddingBottom:p?p+"px":void 0,paddingLeft:_?_+"px":void 0},k=b()((t={"has-background":s||c,"gb-pricing-table-title":!0},i()(t,h,h),i()(t,g,g),i()(t,f,f),t));return React.createElement(tu.Content,{tagName:"div",itemProp:"name",value:r,style:y,className:k||void 0})}});var ou=wp.i18n.__,iu=(wp.blocks.registerBlockType,wp.compose.compose),su=wp.element,lu=su.Component,cu=su.Fragment,uu=wp.blockEditor,du=uu.RichText,mu=uu.withFontSizes,pu=uu.withColors,_u=function(e){m()(n,e);var t=au(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=n.subtitle,a=n.paddingTop,o=n.paddingRight,s=n.paddingBottom,l=n.paddingLeft,c=(t.isSelected,t.className,t.setAttributes),u=(t.fallbackFontSize,t.fontSize),d=t.backgroundColor,m=t.textColor,p=b()((e={"gb-pricing-table-subtitle":!0},i()(e,u.class,u.class),i()(e,"has-text-color",m.color),i()(e,"has-background",d.color),i()(e,d.class,d.class),i()(e,m.class,m.class),e)),_={fontSize:u.size?u.size+"px":void 0,backgroundColor:d.color,color:m.color,paddingTop:a?a+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:s?s+"px":void 0,paddingLeft:l?l+"px":void 0};return[React.createElement(cu,{key:"gb-pricing-table-inner-component-subtitle-"+this.props.clientId},React.createElement(Bc,this.props),React.createElement(du,{tagName:"div",placeholder:ou("Price Subtitle","genesis-blocks"),keepPlaceholderOnFocus:!0,value:r,onChange:function(e){return c({subtitle:e})},style:_,className:p||void 0}))]}}]),n}(lu),hu=iu([mu("fontSize"),pu("backgroundColor",{textColor:"color"})])(_u),gu=wp.i18n.__,fu=wp.blocks.registerBlockType,bu=(wp.element.Component,wp.blockEditor),yu=bu.RichText,ku=bu.getFontSizeClass,Mu=(bu.FontSizePicker,bu.withFontSizes,bu.getColorClassName);function vu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}fu("genesis-blocks/gb-pricing-table-subtitle",{title:gu("Product Subtitle","genesis-blocks"),description:gu("Adds a product subtitle component with schema markup.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[gu("pricing table","genesis-blocks"),gu("subtitle","genesis-blocks"),gu("shop","genesis-blocks")],attributes:{subtitle:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:hu,save:function(e){var t,n=e.attributes,r=n.subtitle,a=n.fontSize,o=n.customFontSize,s=n.backgroundColor,l=n.textColor,c=n.customBackgroundColor,u=n.customTextColor,d=n.paddingTop,m=n.paddingRight,p=n.paddingBottom,_=n.paddingLeft,h=ku(a),g=Mu("color",l),f=Mu("background-color",s),y=b()((t={"has-background":s||c,"gb-pricing-table-subtitle":!0},i()(t,h,h),i()(t,g,g),i()(t,f,f),t)),k={fontSize:h?void 0:o,backgroundColor:f?void 0:c,color:g?void 0:u,paddingTop:d?d+"px":void 0,paddingRight:m?m+"px":void 0,paddingBottom:p?p+"px":void 0,paddingLeft:_?_+"px":void 0};return React.createElement(yu.Content,{tagName:"div",value:r,className:y||void 0,style:k})}});var Lu=wp.i18n.__,wu=wp.element.Component,Yu=wp.compose.compose,Tu=wp.blockEditor,Du=Tu.InspectorControls,Ru=(Tu.FontSizePicker,Tu.withFontSizes),Su=Tu.withColors,xu=(Tu.ContrastChecker,Tu.PanelColorSettings),Eu=wp.components,Cu=Eu.withFallbackStyles,ju=Eu.PanelBody,Pu=(Eu.ToggleControl,Eu.TextControl,Eu.RangeControl,Cu((function(e,t){var n=t.attributes.backgroundColor,r=e.querySelector('[contenteditable="true"]'),a=r?getComputedStyle(r):null;return{fallbackBackgroundColor:n||!a?void 0:a.backgroundColor}}))),Hu=function(e){m()(n,e);var t=vu(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.paddingTop,r=t.paddingRight,a=t.paddingBottom,o=t.paddingLeft,i=(t.buttonText,t.buttonUrl,t.buttonAlignment,t.buttonBackgroundColor),s=t.buttonTextColor,l=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,d=(e.isSelected,e.setAttributes),m=e.backgroundColor,p=e.setBackgroundColor;e.fallbackBackgroundColor;return React.createElement(Du,{key:"inspector"},React.createElement(ju,{title:Lu("Button Settings","genesis-blocks")},React.createElement(dn,{buttonTarget:u,onChangeButtonTarget:function(e){return d({buttonTarget:!u})},buttonSize:l,onChangeButtonSize:function(e){return d({buttonSize:e})},buttonShape:c,onChangeButtonShape:function(e){return d({buttonShape:e})},buttonBackgroundColor:i,onChangeButtonColor:function(e){return d({buttonBackgroundColor:e})},buttonTextColor:s,onChangeButtonTextColor:function(e){return d({buttonTextColor:e})}})),React.createElement(ju,{title:Lu("Padding Settings","genesis-blocks"),initialOpen:!1},React.createElement(Js,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:function(e){return d({paddingTop:e})},paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:function(e){return d({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:a,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:function(e){return d({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:o,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:function(e){return d({paddingLeft:e})}})),React.createElement(xu,{title:Lu("Color Settings","genesis-blocks"),initialOpen:!1,colorSettings:[{value:m.color,onChange:p,label:Lu("Background Color","genesis-blocks")}]}))}}]),n}(wu),Ou=Yu([Pu,Ru("fontSize"),Su("backgroundColor")])(Hu);function zu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Au=wp.i18n.__,Bu=(wp.blocks.registerBlockType,wp.compose.compose),Nu=wp.element,Fu=Nu.Component,Wu=Nu.Fragment,Iu=wp.blockEditor,Uu=Iu.RichText,Vu=Iu.withFontSizes,Ju=Iu.withColors,Gu=(Iu.InnerBlocks,Iu.URLInput),qu=wp.components,$u=qu.Button,Ku=qu.Dashicon,Zu=qu.Icon,Qu=function(e){m()(n,e);var t=zu(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=(t.subtitle,t.paddingTop),r=t.paddingRight,a=t.paddingBottom,o=t.paddingLeft,i=t.buttonText,s=t.buttonUrl,l=t.buttonAlignment,c=t.buttonBackgroundColor,u=t.buttonTextColor,d=t.buttonSize,m=t.buttonShape,p=(t.buttonTarget,e.isSelected),_=(e.className,e.setAttributes),h=e.backgroundColor,g=b()({"gb-pricing-table-button":!0}),f={backgroundColor:h.color,paddingTop:n?n+"px":void 0,paddingRight:r?r+"px":void 0,paddingBottom:a?a+"px":void 0,paddingLeft:o?o+"px":void 0};return[React.createElement(Wu,{key:"gb-pricing-table-inner-component-button-"+this.props.clientId},React.createElement(Ou,this.props),React.createElement("div",{className:g||void 0,style:f},React.createElement(bn,this.props,React.createElement(Uu,{tagName:"span",placeholder:Au("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:i,allowedFormats:[],className:b()("gb-button",m,d),style:{color:u,backgroundColor:c},onChange:function(e){return _({buttonText:e})}})),p&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(l),onSubmit:function(e){return e.preventDefault()},style:{textAlign:l}},React.createElement(Ku,{icon:"admin-links"}),React.createElement(Gu,{className:"button-url",value:s,onChange:function(e){return _({buttonUrl:e})}}),React.createElement($u,{label:Au("Apply","genesis-blocks"),type:"submit"},React.createElement(Zu,{icon:"editor-break"})))))]}}]),n}(Fu),Xu=Bu([Vu("fontSize"),Ju("backgroundColor",{textColor:"color"})])(Qu),ed=wp.i18n.__,td=wp.blocks.registerBlockType,nd=(wp.element.Component,wp.blockEditor),rd=nd.RichText,ad=(nd.getFontSizeClass,nd.FontSizePicker,nd.withFontSizes,nd.getColorClassName);td("genesis-blocks/gb-pricing-table-button",{title:ed("Product Button","genesis-blocks"),description:ed("Adds a product button component.","genesis-blocks"),icon:"cart",category:"genesis-blocks",parent:["genesis-blocks/gb-pricing-table"],keywords:[ed("pricing table","genesis-blocks"),ed("subtitle","genesis-blocks"),ed("shop","genesis-blocks")],attributes:{buttonText:{type:"string"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonAlignment:{type:"string"},buttonBackgroundColor:{type:"string",default:"#3373dc"},buttonTextColor:{type:"string",default:"#ffffff"},buttonSize:{type:"string",default:"gb-button-size-medium"},buttonShape:{type:"string",default:"gb-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},fontSize:{type:"string"},customFontSize:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},paddingTop:{type:"number",default:10},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:10},paddingLeft:{type:"number",default:20}},edit:Xu,save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,a=t.paddingTop,o=t.paddingRight,s=t.paddingBottom,l=t.paddingLeft,c=t.buttonText,u=t.buttonUrl,d=(t.buttonAlignment,t.buttonBackgroundColor),m=t.buttonTextColor,p=t.buttonSize,_=t.buttonShape,h=t.buttonTarget,g=ad("background-color",n),f=b()(i()({"has-background":n||r,"gb-pricing-table-button":!0},g,g)),y={backgroundColor:g?void 0:r,paddingTop:a?a+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:s?s+"px":void 0,paddingLeft:l?l+"px":void 0};return React.createElement("div",{className:f||void 0,style:y},React.createElement(bn,e,c&&React.createElement("a",{href:u,target:h?"_blank":null,rel:h?"noopener noreferrer":null,className:b()("gb-button",_,p),style:{color:m,backgroundColor:d}},React.createElement(rd.Content,{value:c}))))}});var od=wp.i18n.__,id=wp.element.Fragment,sd=wp.components.RangeControl;function ld(e){var t=e.marginTop,n=e.marginTopLabel,r=e.marginTopMin,a=e.marginTopMax,o=e.marginEnableTop,i=e.onChangeMarginTop,s=void 0===i?function(){}:i,l=e.marginRight,c=e.marginRightLabel,u=e.marginRightMin,d=e.marginRightMax,m=e.marginEnableRight,p=e.onChangeMarginRight,_=void 0===p?function(){}:p,h=e.marginBottom,g=e.marginBottomLabel,f=e.marginBottomMin,b=e.marginBottomMax,y=e.marginEnableBottom,k=e.onChangeMarginBottom,M=void 0===k?function(){}:k,v=e.marginLeft,L=e.marginLeftLabel,w=e.marginLeftMin,Y=e.marginLeftMax,T=e.marginEnableLeft,D=e.onChangeMarginLeft,R=void 0===D?function(){}:D,S=e.marginVertical,x=e.marginVerticalLabel,E=e.marginEnableVertical,C=e.marginVerticalMin,j=e.marginVerticalMax,P=e.onChangeMarginVertical,H=void 0===P?function(){}:P,O=e.marginHorizontal,z=e.marginHorizontalLabel,A=e.marginEnableHorizontal,B=e.marginHorizontalMin,N=e.marginHorizontalMax,F=e.onChangeMarginHorizontal,W=void 0===F?function(){}:F;return React.createElement(id,null,o&&React.createElement(sd,{label:n||od("Margin Top","genesis-blocks"),value:t,min:r,max:a,onChange:s}),m&&React.createElement(sd,{label:c||od("Margin Right","genesis-blocks"),value:l,min:u,max:d,onChange:_}),y&&React.createElement(sd,{label:g||od("Margin Bottom","genesis-blocks"),value:h,min:f,max:b,onChange:M}),T&&React.createElement(sd,{label:L||od("Margin Left","genesis-blocks"),value:v,min:w,max:Y,onChange:R}),E&&React.createElement(sd,{label:x||od("Margin Vertical","genesis-blocks"),value:S,min:C,max:j,onChange:H}),A&&React.createElement(sd,{label:z||od("Margin Horizontal","genesis-blocks"),value:O,min:B,max:N,onChange:W}))}function cd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var ud=wp.i18n.__,dd=wp.element.Component,md=wp.compose.compose,pd=wp.blockEditor,_d=pd.InspectorControls,hd=pd.withColors,gd=pd.ContrastChecker,fd=pd.PanelColorSettings,bd=wp.components,yd=bd.PanelBody,kd=bd.SelectControl,Md=bd.TextControl,vd=bd.FormToggle,Ld=(0,bd.withFallbackStyles)((function(e,t){var n=t.attributes,r=n.backgroundColor,a=n.textColor,o=n.buttonBackgroundColor,i=n.buttonTextColor,s=e.querySelector('[contenteditable="true"]'),l=s?getComputedStyle(s):null;return{fallbackBackgroundColor:r||!l?void 0:l.backgroundColor,fallbackTextColor:a||!l?void 0:l.color,fallbackButtonBackgroundColor:o||!l?void 0:l.buttonBackgroundColor,fallbackButtonTextColor:i||!l?void 0:l.buttonTextColor}})),wd=function(e){m()(n,e);var t=cd(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"doubleOptInChange",value:function(e){this.props.doubleOptIn&&this.props.doubleOptIn(e.target.checked)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.backgroundColor,a=e.setBackgroundColor,o=e.fallbackBackgroundColor,i=e.textColor,s=e.fallbackTextColor,l=e.setTextColor,c=e.buttonBackgroundColor,u=e.fallbackButtonBackgroundColor,d=e.buttonTextColor,m=e.fallbackButtonTextColor,p=e.setButtonBackgroundColor,_=e.setButtonTextColor,h={mailchimp:{label:"Mailchimp",value:"mailchimp",lists:[{label:ud("Select a list","genesis-blocks"),value:""}]}};return genesis_blocks_newsletter_block_vars.mailingListProviders.mailchimp.lists.map((function(e){return h.mailchimp.lists.push({label:e.name,value:e.id})})),React.createElement(_d,null,React.createElement(yd,{title:ud("Newsletter","genesis-blocks"),initialOpen:!t.mailingList},React.createElement(v,{id:"gb_newsletter_mailingList"},React.createElement(kd,{label:ud("Mailing List","genesis-blocks"),help:ud("The list people will be subscribed to.","genesis-blocks"),options:h.mailchimp.lists,value:t.mailingList,onChange:function(e){return n({mailingList:e})}})),React.createElement(v,{id:"gb_newsletter_successMessage"},React.createElement(Md,{type:"string",label:ud("Success Message","genesis-blocks"),help:ud("The message shown when people successfully subscribe.","genesis-blocks"),value:t.successMessage,onChange:function(e){return n({successMessage:e})}})),React.createElement(v,{id:"gb_newsletter_doubleOptIn"},React.createElement("div",{className:"gb-newsletter-double-opt-in-setting-wrapper"},React.createElement(vd,{id:"double-opt-in-toggle-"+this.props.instanceId,className:"gb-newsletter-double-opt-in-toggle",checked:t.doubleOptIn,onChange:function(e){return n({doubleOptIn:e.target.checked})}}),React.createElement("label",{className:"gb-newsletter-double-opt-in-setting-label",htmlFor:"double-opt-in-toggle-"+this.props.instanceId},ud("Enable Double Opt-In","genesis-blocks")),React.createElement("p",{className:"description"},ud("Send contacts an opt-in confirmation email when they subscribe to your list.","genesis-blocks"))))),React.createElement(yd,{title:ud("General","genesis-blocks"),initialOpen:!!t.mailingList},React.createElement(v,{id:"gb_newsletter_containerPadding"},React.createElement(Js,{paddingEnable:!0,paddingTitle:ud("Block Padding","genesis-blocks"),paddingHelp:ud("Adjust the padding applied to the inside of the block.","genesis-blocks"),padding:t.containerPadding,paddingMin:"0",paddingMax:"100",onChangePadding:function(e){return n({containerPadding:e})}})),React.createElement(v,{id:"gb_newsletter_containerMargin"},React.createElement(ld,{marginEnableTop:!0,marginTopLabel:ud("Block Margin Top","genesis-blocks"),marginTop:t.containerMarginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:function(e){return n({containerMarginTop:e})},marginEnableBottom:!0,marginBottomLabel:ud("Block Margin Bottom","genesis-blocks"),marginBottom:t.containerMarginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:function(e){return n({containerMarginBottom:e})}})),React.createElement(dn,{enableButtonTarget:!1,buttonSize:t.buttonSize,onChangeButtonSize:function(e){return n({buttonSize:e})},buttonShape:t.buttonShape,onChangeButtonShape:function(e){return n({buttonShape:e})},enableButtonBackgroundColor:!1,enableButtonTextColor:!1})),React.createElement(v,{id:"gb_newsletter_colorOptions"},React.createElement(fd,{title:ud("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:r.color,onChange:a,label:ud("Block Background Color","genesis-blocks")},{value:i.color,onChange:l,label:ud("Block Text Color","genesis-blocks")},{value:c.color,onChange:p,label:ud("Button Background Color","genesis-blocks")},{value:d.color,onChange:_,label:ud("Button Text Color","genesis-blocks")}]},React.createElement(gd,{textColor:i.color,backgroundColor:r.color,fallbackTextColor:s,fallbackBackgroundColor:o}),React.createElement(gd,{textColor:d.color,backgroundColor:c.color,fallbackButtonTextColor:m,fallbackButtonBackgroundColor:u}),React.createElement(gd,{textColor:c.color,backgroundColor:r.color,fallbackButtonBackgroundColor:u,fallbackBackgroundColor:o}))))}}]),n}(dd),Yd=md([Ld,hd("backgroundColor",{textColor:"color"},{buttonBackgroundColor:"background-color"},{buttonTextColor:"color"})])(wd);function Td(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Dd=wp.element.Component,Rd=(wp.blockEditor.getColorClassName,function(e){m()(n,e);var t=Td(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n,r=this.props,a=r.attributes,o=r.backgroundColor,s=r.textColor;return t=a.customBackgroundColor?"gb-has-custom-background-color":a.backgroundColor?"has-"+a.backgroundColor+"-background-color":null,n=a.customTextColor?"gb-has-custom-text-color":a.textColor?"has-"+a.textColor+"-color":null,React.createElement("div",{style:{backgroundColor:o.color,padding:a.containerPadding?a.containerPadding:void 0,marginTop:a.containerMarginTop?a.containerMarginTop:void 0,marginBottom:a.containerMarginBottom?a.containerMarginBottom:void 0,color:s.color},className:b()([this.props.className],(e={"gb-block-newsletter":!0,"gb-form-styles":!0,"has-background":a.backgroundColor||a.customBackgroundColor},i()(e,t,t),i()(e,n,n),e))},this.props.children)}}]),n}(Dd));function Sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sd(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ed(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Cd=wp.i18n.__,jd=wp.compose,Pd=jd.compose,Hd=jd.withInstanceId,Od=wp.blockEditor,zd=(Od.getColorClassName,Od.RichText),Ad=Od.withColors,Bd=wp.element,Nd=Bd.Fragment,Fd=Bd.Component,Wd=wp.components,Id=Wd.TextControl,Ud=(0,Wd.withFallbackStyles)((function(e,t){var n=t.attributes,r=n.backgroundColor,a=n.textColor,o=n.buttonBackgroundColor,i=e.querySelector('[contenteditable="true"]'),s=i?getComputedStyle(i):null;return{fallbackBackgroundColor:r||!s?void 0:s.backgroundColor,fallbackTextColor:a||!s?void 0:s.color,fallbackButtonBackgroundColor:o||!s?void 0:s.buttonBackgroundColor}})),Vd=function(e){m()(n,e);var t=Ed(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).props.setAttributes({instanceId:e.props.instanceId}),e}return u()(n,[{key:"render",value:function(){var e,t,n=this,r=this.props,o=r.attributes,i=r.isSelected,s=r.setAttributes,l=r.buttonBackgroundColor,c=r.buttonTextColor,u=genesis_blocks_newsletter_block_vars.mailingListProviders.mailchimp.api_key_defined;return e=o.customButtonBackgroundColor?"gb-has-custom-background-color":o.buttonBackgroundColor?"has-"+o.buttonBackgroundColor+"-background-color":null,t=o.customButtonTextColor?"gb-has-custom-text-color":o.buttonTextColor?"has-"+o.buttonTextColor+"-color":null,[React.createElement(Yd,a()({key:"gb-newsletter-inspector-"+this.props.clientId},xd({setAttributes:s},this.props))),React.createElement(Rd,a()({key:"gb-newsletter-container-"+this.props.clientId},this.props),!u&&React.createElement(Nd,null,React.createElement("div",{className:"gb-newsletter-notice"},Cd("You must define your newsletter provider API keys to use this block.","genesis-blocks"),React.createElement("p",null,React.createElement("a",{href:genesis_blocks_newsletter_block_vars.plugin_settings_page_url,target:"_blank",rel:"noopener noreferrer"},Cd("Configure your settings","genesis-blocks"))))),u&&React.createElement(Nd,null,React.createElement(zd,{tagName:"span",className:"gb-block-newsletter-label",keepPlaceholderOnFocus:!0,allowedFormats:[],value:o.emailInputLabel,onChange:function(e){return n.props.setAttributes({emailInputLabel:e})}}),React.createElement(Id,{name:"gb-newsletter-email-address"}),React.createElement("div",{className:b()("gb-block-button")},React.createElement(bn,this.props,React.createElement(zd,{tagName:"span",placeholder:Cd("Button text…","genesis-blocks"),keepPlaceholderOnFocus:!0,value:o.buttonText,allowedFormats:[],className:b()("gb-button",o.buttonClass,o.buttonShape,o.buttonSize,e,t,{"has-background":o.buttonBackgroundColor||o.customButtonBackgroundColor,"has-text-color":o.buttonTextColor||o.customButtonTextColor}),style:{backgroundColor:l.color,color:c.color},onChange:function(e){return n.props.setAttributes({buttonText:e})}})),i&&React.createElement("form",{key:"form-link",className:"blocks-button__inline-link gb-button-".concat(o.buttonAlignment),onSubmit:function(e){return e.preventDefault()},style:{textAlign:o.buttonAlignment}}))))]}}]),n}(Fd),Jd=Pd([Ud,Ad("backgroundColor",{textColor:"color"},{buttonBackgroundColor:"background-color"},{buttonTextColor:"color"})])(Hd(Vd)),Gd=(n(351),n(352),wp.i18n.__);(0,wp.blocks.registerBlockType)("genesis-blocks/gb-newsletter",{title:Gd("Email newsletter","genesis-blocks"),description:Gd("Add an email newsletter sign-up form.","genesis-blocks"),category:"genesis-blocks",icon:"email-alt",keywords:[Gd("Mailchimp","genesis-blocks"),Gd("Subscribe","genesis-blocks"),Gd("Newsletter","genesis-blocks")],edit:Jd,gb_settings_data:{gb_newsletter_mailingList:{title:Gd("Mailing List","genesis-blocks")},gb_newsletter_successMessage:{title:Gd("Success Message","genesis-blocks")},gb_newsletter_doubleOptIn:{title:Gd("Enable Double Opt-In","genesis-blocks")},gb_newsletter_containerPadding:{title:Gd("Form Padding","genesis-blocks")},gb_newsletter_containerMargin:{title:Gd("Form Margin","genesis-blocks")},gb_newsletter_colorOptions:{title:Gd("Color Options","genesis-blocks")}},save:function(){return null}});var qd=n(31),$d=n.n(qd);var Kd=function(e){return[void 0!==e.backgroundDimRatio&&100!==e.backgroundDimRatio?"gb-has-background-dim":null,(t=e.backgroundDimRatio,100>t?"gb-has-background-dim-"+10*Math.round(t/10):null),e.backgroundImgURL&&e.backgroundSize&&"no-repeat"===e.backgroundRepeat?"gb-background-"+e.backgroundSize:null,e.backgroundImgURL&&e.backgroundRepeat?"gb-background-"+e.backgroundRepeat:null,e.hasParallax?"gb-has-parallax":null];var t},Zd=function(e){return{backgroundImage:e.backgroundImgURL?"url(".concat(e.backgroundImgURL,")"):void 0,backgroundPosition:e.focalPoint?"".concat(100*e.focalPoint.x,"% ").concat(100*e.focalPoint.y,"%"):void 0}};function Qd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var em=function(e){m()(n,e);var t=Xd(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n=this.props.attributes;e=n.customBackgroundColor?"gb-has-custom-background-color":n.backgroundColor?"has-"+n.backgroundColor+"-background-color":null,t=n.customTextColor?"gb-has-custom-text-color":n.textColor?"has-"+n.textColor+"-color":null;var r,a,o=b()([this.props.className,"gb-layout-columns-"+n.columns,n.layout].concat($d()(Kd(n)),[e,t,n.columnMaxWidth&&n.centerColumns?"gb-columns-center":null]),i()({},"align"+n.align,n.align));r=n.marginSync?{marginTop:0<n.margin?n.margin+n.marginUnit:null,marginBottom:0<n.margin?n.margin+n.marginUnit:null}:{marginTop:0<n.marginTop?n.marginTop+n.marginUnit:null,marginBottom:0<n.marginBottom?n.marginBottom+n.marginUnit:null},a=n.paddingSync?{padding:0<n.padding?n.padding+n.paddingUnit:null}:{paddingTop:0<n.paddingTop?n.paddingTop+n.paddingUnit:null,paddingRight:0<n.paddingRight?n.paddingRight+n.paddingUnit:null,paddingBottom:0<n.paddingBottom?n.paddingBottom+n.paddingUnit:null,paddingLeft:0<n.paddingLeft?n.paddingLeft+n.paddingUnit:null};var s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qd(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null},Zd(n));return React.createElement("div",{className:o||void 0,style:Object.assign(r,a,s)},this.props.children)}}]),n}(wp.element.Component),tm={};tm.oneEqual=React.createElement("svg",{className:"dashicon",height:"26",viewBox:"0 0 60 30",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"60",height:"30",fill:"#6d6a6f"})),tm.twoEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"33",y:"0",width:"29",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"29",height:"30",fill:"#6d6a6f"})),tm.twoLeftWide=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"43",y:"0",width:"16",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"39",height:"30",fill:"#6d6a6f"})),tm.twoRightWide=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"20",y:"0",width:"39",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"0",y:"0",width:"16",height:"30",fill:"#6d6a6f"})),tm.threeEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"21.500",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"43",y:"0",width:"17.500",height:"30",fill:"#6d6a6f"})),tm.threeWideCenter=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"15",y:"0",width:"31",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"50",y:"0",width:"11",height:"30",fill:"#6d6a6f"})),tm.threeWideLeft=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"30",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"34",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"49",y:"0",width:"11",height:"30",fill:"#6d6a6f"})),tm.threeWideRight=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"15",y:"0",width:"11",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"30",y:"0",width:"30",height:"30",fill:"#6d6a6f"})),tm.fourEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"16",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"32",y:"0",width:"12",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"48",y:"0",width:"12",height:"30",fill:"#6d6a6f"})),tm.fourLeft=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"21",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"25",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"38",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"51",y:"0",width:"9",height:"30",fill:"#6d6a6f"})),tm.fourRight=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"12.800",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"25.600",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"38.400",y:"0",width:"21",height:"30",fill:"#6d6a6f"})),tm.fiveEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"12.400",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"24.800",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"37.200",y:"0",width:"9",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"49.600",y:"0",width:"9",height:"30",fill:"#6d6a6f"})),tm.sixEqual=React.createElement("svg",{viewBox:"0 0 60 30",height:"26",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"0",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"10.330",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"20.660",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"30.990",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"41.320",y:"0",width:"7",height:"30",fill:"#6d6a6f"}),React.createElement("rect",{x:"51.650",y:"0",width:"7",height:"30",fill:"#6d6a6f"})),tm.blockIcon=React.createElement("svg",{viewBox:"0 0 60 34",height:"34",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},React.createElement("rect",{x:"38",y:"0",width:"12",height:"34",fill:"#6d6a6f"}),React.createElement("rect",{x:"22",y:"0",width:"12",height:"34",fill:"#6d6a6f"}),React.createElement("rect",{x:"6",y:"0",width:"12",height:"34",fill:"#6d6a6f"}));var nm=tm,rm=wp.i18n.__,am={1:[{name:rm("1 Column","genesis-blocks"),key:"gb-1-col-equal",col:1,icon:nm.oneEqual}],2:[{name:rm("2 Columns - 50/50","genesis-blocks"),key:"gb-2-col-equal",col:2,icon:nm.twoEqual},{name:rm("2 Columns - 75/25","genesis-blocks"),key:"gb-2-col-wideleft",col:2,icon:nm.twoLeftWide},{name:rm("2 Columns - 25/75","genesis-blocks"),key:"gb-2-col-wideright",col:2,icon:nm.twoRightWide}],3:[{name:rm("3 Columns - 33/33/33","genesis-blocks"),key:"gb-3-col-equal",col:3,icon:nm.threeEqual},{name:rm("3 Columns - 25/50/25","genesis-blocks"),key:"gb-3-col-widecenter",col:3,icon:nm.threeWideCenter},{name:rm("3 Columns - 50/25/25","genesis-blocks"),key:"gb-3-col-wideleft",col:3,icon:nm.threeWideLeft},{name:rm("3 Columns - 25/25/50","genesis-blocks"),key:"gb-3-col-wideright",col:3,icon:nm.threeWideRight}],4:[{name:rm("4 Columns - 25/25/25/25","genesis-blocks"),key:"gb-4-col-equal",col:4,icon:nm.fourEqual},{name:rm("4 Columns - 40/20/20/20","genesis-blocks"),key:"gb-4-col-wideleft",col:4,icon:nm.fourLeft},{name:rm("4 Columns - 20/20/20/40","genesis-blocks"),key:"gb-4-col-wideright",col:4,icon:nm.fourRight}],5:[{name:rm("5 Columns","genesis-blocks"),key:"gb-5-col-equal",col:5,icon:nm.fiveEqual}],6:[{name:rm("6 Columns","genesis-blocks"),key:"gb-6-col-equal",col:6,icon:nm.sixEqual}]};function om(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function im(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var sm=wp.i18n.__,lm=wp.element,cm=lm.Fragment,um=lm.Component,dm=wp.components,mm=dm.PanelBody,pm=dm.RangeControl,_m=dm.Button,hm=dm.ButtonGroup,gm=dm.FocalPointPicker,fm=dm.Icon,bm=dm.ToggleControl,ym=dm.SelectControl,km=wp.blockEditor,Mm=km.MediaUpload,vm=km.MediaUploadCheck,Lm=function(e){m()(n,e);var t=im(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t=this,n=this.props,r=n.attributes,a=n.setAttributes,o=[{value:"no-repeat",label:sm("No Repeat","genesis-blocks")},{value:"repeat",label:sm("Repeat","genesis-blocks")},{value:"repeat-x",label:sm("Repeat Horizontally","genesis-blocks")},{value:"repeat-y",label:sm("Repeat Vertically","genesis-blocks")}],s=[{value:"auto",label:sm("Auto","genesis-blocks")},{value:"cover",label:sm("Cover","genesis-blocks")},{value:"contain",label:sm("Contain","genesis-blocks")}];return"cover"===r.backgroundSize&&(e=sm("Scales the image as large as possible without stretching the image. Cropped either vertically or horizontally so that no empty space remains.","genesis-blocks")),"contain"===r.backgroundSize&&(e=sm("Scales the image as large as possible without cropping or stretching the image.","genesis-blocks")),"auto"===r.backgroundSize&&(e=sm("Scales the background image in the corresponding direction such that its intrinsic proportions are maintained.","genesis-blocks")),React.createElement(cm,null,React.createElement(mm,{title:sm("Background Image","genesis-blocks"),initialOpen:!1},React.createElement(vm,null,React.createElement(Mm,{onSelect:function(e){a({backgroundImgURL:e.url})},type:"image",value:r.backgroundImgURL,render:function(e){var t=e.open;return React.createElement("div",null,React.createElement(hm,{className:"gb-background-button-group"},React.createElement(_m,{className:"gb-inspector-icon-button gb-background-add-button is-button is-default",label:sm("Edit image","genesis-blocks"),onClick:t},React.createElement(fm,{icon:"format-image"}),sm("Select Image","genesis-blocks")),r.backgroundImgURL&&React.createElement(_m,{className:"gb-inspector-icon-button gb-background-remove-button is-button is-default",label:sm("Remove Image","genesis-blocks"),onClick:function(){return a({backgroundImgURL:null})}},React.createElement(fm,{icon:"dismiss"}),sm("Remove","genesis-blocks"))))}})),r.backgroundImgURL&&React.createElement(cm,null,React.createElement(gm,{label:sm("Focal Point","genesis-blocks"),url:r.backgroundImgURL,value:r.focalPoint,onChange:function(e){return a({focalPoint:e})}}),React.createElement(pm,{label:sm("Image Opacity","genesis-blocks"),value:r.backgroundDimRatio,onChange:function(e){return t.props.setAttributes({backgroundDimRatio:e})},min:0,max:100,step:10}),React.createElement(bm,{label:sm("Fixed Background","genesis-blocks"),checked:r.hasParallax,onChange:function(){a(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?om(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):om(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hasParallax:!r.hasParallax},r.hasParallax?{}:{focalPoint:void 0}))}}),React.createElement(ym,{className:"gb-inspector-help-text",label:sm("Image Display","genesis-blocks"),value:r.backgroundSize,help:e,options:s,onChange:function(e){return t.props.setAttributes({backgroundSize:e})}}),"cover"!==r.backgroundSize&&React.createElement(ym,{label:sm("Image Repeat","genesis-blocks"),value:r.backgroundRepeat,options:o,onChange:function(e){return t.props.setAttributes({backgroundRepeat:e})}}))))}}]),n}(um);function wm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Ym=wp.i18n.__,Tm=wp.element,Dm=Tm.Component,Rm=Tm.Fragment,Sm=wp.blockEditor,xm=Sm.InspectorControls,Em=Sm.PanelColorSettings,Cm=Sm.ContrastChecker,jm=wp.components,Pm=jm.PanelBody,Hm=jm.RangeControl,Om=jm.ButtonGroup,zm=jm.Button,Am=jm.Tooltip,Bm=jm.ToggleControl,Nm=jm.SelectControl,Fm=function(e){m()(n,e);var t=wm(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,a=t.backgroundColor,o=t.setBackgroundColor,i=t.textColor,s=t.setTextColor,l=1;n.columns&&(l=parseInt(n.columns.toString().split("-")));var c=[{value:"px",label:Ym("Pixel (px)","genesis-blocks")},{value:"%",label:Ym("Percent (%)","genesis-blocks")},{value:"em",label:Ym("Em (em)","genesis-blocks")}];return React.createElement(xm,{key:"inspector"},n.layout&&React.createElement(Pm,{title:Ym("General","genesis-blocks"),initialOpen:!0,className:"gb-column-select-panel"},React.createElement(v,{id:"gb_column_columns"},React.createElement(Hm,{label:Ym("Column Count","genesis-blocks"),help:Ym("Note: Changing the column count after you've added content to the column can cause loss of content.","genesis-blocks"),value:n.columns,onChange:function(t){return e.props.setAttributes({columns:t,layout:"gb-"+t+"-col-equal"})},min:1,max:6,step:1})),React.createElement("hr",null),(2===n.columns||3===n.columns||4===n.columns)&&React.createElement(Rm,null,React.createElement(v,{id:"gb_column_columnLayouts"},React.createElement("p",null,Ym("Column Layout","genesis-blocks")),React.createElement(Om,{"aria-label":Ym("Column Layout","genesis-blocks")},Lo()(am[l],(function(t){var n=t.name,a=t.key,o=t.icon;t.col;return React.createElement(Am,{text:n,key:a},React.createElement(zm,{key:a,className:"gb-column-selector-button",isSmall:!0,onClick:function(){r({layout:a}),e.setState({selectLayout:!1})}},o))}))),React.createElement("p",null,React.createElement("i",null,Ym("Change the layout of your columns.","genesis-blocks"))),React.createElement("hr",null))),React.createElement(v,{id:"gb_column_columnsGap"},React.createElement(Hm,{label:Ym("Column Gap","genesis-blocks"),help:Ym("Adjust the spacing between columns.","genesis-blocks"),value:n.columnsGap,onChange:function(t){return e.props.setAttributes({columnsGap:t})},min:0,max:10,step:1})),React.createElement("hr",null),React.createElement(v,{id:"gb_column_columnMaxWidth"},React.createElement(Hm,{label:Ym("Column Inner Max Width (px)"),help:Ym("Adjust the width of the content inside the container wrapper.","genesis-blocks"),value:n.columnMaxWidth,onChange:function(t){return e.props.setAttributes({columnMaxWidth:t})},min:0,max:2e3,step:1})),0<n.columnMaxWidth&&React.createElement(v,{id:"gb_column_centerColumns"},React.createElement(Bm,{label:Ym("Center Columns In Container","genesis-blocks"),help:Ym("Center the columns in the container when max-width is used.","genesis-blocks"),checked:n.centerColumns,onChange:function(){return e.props.setAttributes({centerColumns:!n.centerColumns})}})),React.createElement("hr",null),React.createElement(v,{id:"gb_column_responsiveToggle"},React.createElement(Bm,{label:Ym("Responsive Columns","genesis-blocks"),help:Ym("Columns will be adjusted to fit on tablets and mobile devices.","genesis-blocks"),checked:n.responsiveToggle,onChange:function(){return e.props.setAttributes({responsiveToggle:!n.responsiveToggle})}}))),React.createElement(v,{id:"gb_column_marginPadding"},React.createElement(Pm,{title:Ym("Margin and Padding","genesis-blocks"),initialOpen:!1},React.createElement(Nm,{label:Ym("Margin Unit","genesis-blocks"),help:Ym("Choose between pixel, percent, or em units.","genesis-blocks"),options:c,value:n.marginUnit,onChange:function(t){return e.props.setAttributes({marginUnit:t})}}),React.createElement(Bm,{label:Ym("Sync Margin","genesis-blocks"),help:Ym("Top and bottom margins will have the same value.","genesis-blocks"),checked:n.marginSync,onChange:function(){return e.props.setAttributes({marginSync:!n.marginSync})}}),n.marginSync?React.createElement(ld,{marginEnableVertical:!0,marginVerticalLabel:Ym("Margin Top/Bottom","genesis-blocks"),marginVertical:n.margin,marginVerticalMin:"0",marginVerticalMax:"200",onChangeMarginVertical:function(e){return r({margin:e})}}):React.createElement(ld,{marginEnableTop:!0,marginTop:n.marginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:function(e){return r({marginTop:e})},marginEnableBottom:!0,marginBottom:n.marginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:function(e){return r({marginBottom:e})}}),React.createElement("hr",null),React.createElement(Nm,{label:Ym("Padding Unit","genesis-blocks"),help:Ym("Choose between pixel, percent, or em units.","genesis-blocks"),options:c,value:n.paddingUnit,onChange:function(t){return e.props.setAttributes({paddingUnit:t})}}),React.createElement(Bm,{label:Ym("Sync Padding","genesis-blocks"),help:Ym("Padding on all sides will have the same value.","genesis-blocks"),checked:n.paddingSync,onChange:function(){return e.props.setAttributes({paddingSync:!n.paddingSync})}}),n.paddingSync?React.createElement(Js,{paddingEnable:!0,padding:n.padding,paddingMin:"0",paddingMax:"200",onChangePadding:function(e){return r({padding:e})}}):React.createElement(Js,{paddingEnableTop:!0,paddingTop:n.paddingTop,paddingTopMin:"0",paddingTopMax:"200",onChangePaddingTop:function(e){return r({paddingTop:e})},paddingEnableRight:!0,paddingRight:n.paddingRight,paddingRightMin:"0",paddingRightMax:"200",onChangePaddingRight:function(e){return r({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:n.paddingBottom,paddingBottomMin:"0",paddingBottomMax:"200",onChangePaddingBottom:function(e){return r({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:n.paddingLeft,paddingLeftMin:"0",paddingLeftMax:"200",onChangePaddingLeft:function(e){return r({paddingLeft:e})}}))),React.createElement(v,{id:"gb_column_colorSettings"},React.createElement(Em,{title:Ym("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:a.color,onChange:o,label:Ym("Background Color","genesis-blocks")},{value:i.color,onChange:s,label:Ym("Text Color","genesis-blocks")}]},React.createElement(Cm,{textColor:i.color,backgroundColor:a.color}))),React.createElement(v,{id:"gb_column_backgroundImagePanel"},React.createElement(Lm,this.props)))}}]),n}(Dm);function Wm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Im=wp.i18n.__,Um=wp.element,Vm=Um.Component,Jm=Um.Fragment,Gm=wp.compose.compose,qm=wp.data.dispatch,$m=wp.blockEditor,Km=$m.BlockControls,Zm=$m.BlockAlignmentToolbar,Qm=$m.InnerBlocks,Xm=$m.withColors,ep=wp.components,tp=ep.Placeholder,np=ep.ButtonGroup,rp=ep.Tooltip,ap=ep.Button,op=["genesis-blocks/gb-column"],ip=rs()((function(e){return os()(e,(function(){return["genesis-blocks/gb-column"]}))})),sp=function(e){m()(n,e);var t=Wm(n);function n(e){var r;return l()(this,n),(r=t.apply(this,arguments)).state={selectLayout:!0},r}return u()(n,[{key:"componentDidUpdate",value:function(e){this.props.attributes.columns!==e.attributes.columns&&qm("core/block-editor").synchronizeTemplate()}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=1;n.columns&&(o=parseInt(n.columns.toString().split("-")));var i=[{name:Im("1 Column","genesis-blocks"),key:"one-column",columns:1,icon:nm.oneEqual},{name:Im("2 Columns","genesis-blocks"),key:"two-column",columns:2,icon:nm.twoEqual},{name:Im("3 Columns","genesis-blocks"),key:"three-column",columns:3,icon:nm.threeEqual},{name:Im("4 Columns","genesis-blocks"),key:"four-column",columns:4,icon:nm.fourEqual},{name:Im("5 Columns","genesis-blocks"),key:"five-column",columns:5,icon:nm.fiveEqual},{name:Im("6 Columns","genesis-blocks"),key:"six-column",columns:6,icon:nm.sixEqual}];return!n.layout&&this.state.selectLayout?[React.createElement(tp,{key:"placeholder",icon:"editor-table",label:n.columns?Im("Column Layout","genesis-blocks"):Im("Column Number","genesis-blocks"),instructions:n.columns?Im("Select a layout for this column.","genesis-blocks"):Im("Select the number of columns for this layout.","genesis-blocks"),className:"gb-column-selector-placeholder"},n.columns?React.createElement(Jm,null,React.createElement(np,{"aria-label":Im("Select Column Layout","genesis-blocks"),className:"gb-column-selector-group"},Lo()(am[o],(function(t){var n=t.name,a=t.key,o=t.icon;return React.createElement(rp,{text:n,key:a},React.createElement("div",{className:"gb-column-selector"},React.createElement(ap,{key:a,className:b()("gb-column-selector-button",a),isSmall:!0,onClick:function(){r({layout:a}),e.setState({selectLayout:!1})}},o)))}))),React.createElement(ap,{className:"gb-column-selector-button-back",onClick:function(){r({columns:null}),e.setState({selectLayout:!0})}},Im("Return to Column Selection","genesis-blocks"))):React.createElement(np,{"aria-label":Im("Select Row Columns","genesis-blocks"),className:"gb-column-selector-group"},Lo()(i,(function(t){var n=t.name,a=t.key,o=t.icon,i=t.columns;return React.createElement(rp,{text:n,key:a},React.createElement("div",{className:"gb-column-selector"},React.createElement(ap,{className:b()("gb-column-selector-button","gb-select-"+a),isSmall:!0,onClick:function(){r({columns:i,layout:1===i||5===i||6===i?a:null}),1===i&&e.setState({selectLayout:!1})}},o)))}))))]:[React.createElement(Km,{key:"controls"},React.createElement(Zm,{value:n.align,onChange:function(e){return r({align:e})},controls:["center","wide","full"]})),React.createElement(Fm,a()({},this.props,{key:"inspector"})),React.createElement(em,a()({},this.props,{backgroundColorValue:this.props.backgroundColor.color,textColorValue:this.props.textColor.color,key:"columns"}),React.createElement("div",{className:b()("gb-layout-column-wrap-admin","gb-block-layout-column-gap-"+n.columnsGap,n.responsiveToggle?"gb-is-responsive-column":null),style:{maxWidth:n.columnMaxWidth?n.columnMaxWidth:null}},React.createElement(Qm,{template:ip(n.columns),templateLock:"all",allowedBlocks:op})))]}}]),n}(Vm),lp=Gm([Xm("backgroundColor",{textColor:"color"})])(sp);function cp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var up=wp.element.Component,dp=wp.blockEditor.InnerBlocks,mp=function(e){m()(n,e);var t=cp(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes,t=b()(["gb-layout-column-wrap","gb-block-layout-column-gap-"+e.columnsGap,e.responsiveToggle?"gb-is-responsive-column":null]);return React.createElement(em,a()({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement("div",{className:t||void 0,style:{maxWidth:e.columnMaxWidth?e.columnMaxWidth:null}},React.createElement(dp.Content,null)))}}]),n}(up),pp={backgroundImgURL:{type:"string"},backgroundDimRatio:{type:"number",default:100},backgroundRepeat:{type:"string",default:"no-repeat"},backgroundSize:{type:"string",default:"cover"},hasParallax:{type:"boolean",default:!1},focalPoint:{type:"object"}};function _p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var gp=wp.i18n.__;function fp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}(0,wp.blocks.registerBlockType)("genesis-blocks/gb-columns",{title:gp("Advanced Columns","genesis-blocks"),description:gp("Add a pre-defined column layout.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",keywords:[gp("column","genesis-blocks"),gp("grid","genesis-blocks"),gp("row","genesis-blocks")],attributes:hp(hp({},pp),{},{columns:{type:"number"},layout:{type:"string"},columnsGap:{type:"number",default:2},align:{type:"string"},responsiveToggle:{type:"boolean",default:!0},marginSync:{type:"boolean",default:!1},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},marginUnit:{type:"string",default:"px"},paddingSync:{type:"boolean",default:!1},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingUnit:{type:"string",default:"px"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},columnMaxWidth:{type:"number"},centerColumns:{type:"boolean",default:!0}}),gb_settings_data:{gb_column_columns:{title:gp("Column Count","genesis-blocks")},gb_column_columnLayouts:{title:gp("Column Layout","genesis-blocks")},gb_column_columnsGap:{title:gp("Column Gap","genesis-blocks")},gb_column_columnMaxWidth:{title:gp("Column Inner Max Width","genesis-blocks")},gb_column_centerColumns:{title:gp("Center Columns In Container","genesis-blocks")},gb_column_responsiveToggle:{title:gp("Responsive Columns","genesis-blocks")},gb_column_marginPadding:{title:gp("Margin / Padding","genesis-blocks")},gb_column_colorSettings:{title:gp("Color Settings","genesis-blocks")},gb_column_backgroundImagePanel:{title:gp("Background Settings","genesis-blocks")}},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"full"===t||"wide"===t)return{"data-align":t}},edit:function(e){return React.createElement(lp,e)},save:function(e){return React.createElement(mp,e)}});var bp=wp.i18n.__,yp=wp.element.Component,kp=wp.compose.compose,Mp=wp.blockEditor,vp=Mp.InspectorControls,Lp=Mp.PanelColorSettings,Yp=Mp.withColors,Tp=Mp.ContrastChecker,Dp=wp.components,Rp=Dp.PanelBody,Sp=Dp.ToggleControl,xp=Dp.SelectControl,Ep=function(e){m()(n,e);var t=fp(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.backgroundColor,r=t.setBackgroundColor,a=t.textColor,o=t.setTextColor,i=t.attributes,s=t.setAttributes,l=[{value:"px",label:bp("Pixel (px)","genesis-blocks")},{value:"%",label:bp("Percent (%)","genesis-blocks")},{value:"em",label:bp("Em (em)","genesis-blocks")}];return React.createElement(vp,{key:"inspector"},React.createElement(v,{id:"gb_column_inner_marginPadding"},React.createElement(Rp,{title:bp("Margin and Padding","genesis-blocks"),initialOpen:!1},React.createElement(xp,{label:bp("Margin Unit","genesis-blocks"),help:bp("Choose between pixel, percent, or em units.","genesis-blocks"),options:l,value:i.marginUnit,onChange:function(t){return e.props.setAttributes({marginUnit:t})}}),React.createElement(Sp,{label:bp("Sync Margin","genesis-blocks"),help:bp("Top and bottom margins will have the same value.","genesis-blocks"),checked:i.marginSync,onChange:function(){return e.props.setAttributes({marginSync:!i.marginSync})}}),i.marginSync?React.createElement(ld,{marginEnableVertical:!0,marginVerticalLabel:bp("Margin Top/Bottom","genesis-blocks"),marginVertical:i.margin,marginVerticalMin:"0",marginVerticalMax:"200",onChangeMarginVertical:function(e){return s({margin:e})}}):React.createElement(ld,{marginEnableTop:!0,marginTop:i.marginTop,marginTopMin:"0",marginTopMax:"200",onChangeMarginTop:function(e){return s({marginTop:e})},marginEnableBottom:!0,marginBottom:i.marginBottom,marginBottomMin:"0",marginBottomMax:"200",onChangeMarginBottom:function(e){return s({marginBottom:e})}}),React.createElement("hr",null),React.createElement(xp,{label:bp("Padding Unit","genesis-blocks"),help:bp("Choose between pixel, percent, or em units.","genesis-blocks"),options:l,value:i.paddingUnit,onChange:function(t){return e.props.setAttributes({paddingUnit:t})}}),React.createElement(Sp,{label:bp("Sync Padding","genesis-blocks"),help:bp("Padding on all sides will have the same value.","genesis-blocks"),checked:i.paddingSync,onChange:function(){return e.props.setAttributes({paddingSync:!i.paddingSync})}}),i.paddingSync?React.createElement(Js,{paddingEnable:!0,padding:i.padding,paddingMin:"0",paddingMax:"200",onChangePadding:function(e){return s({padding:e})}}):React.createElement(Js,{paddingEnableTop:!0,paddingTop:i.paddingTop,paddingTopMin:"0",paddingTopMax:"200",onChangePaddingTop:function(e){return s({paddingTop:e})},paddingEnableRight:!0,paddingRight:i.paddingRight,paddingRightMin:"0",paddingRightMax:"200",onChangePaddingRight:function(e){return s({paddingRight:e})},paddingEnableBottom:!0,paddingBottom:i.paddingBottom,paddingBottomMin:"0",paddingBottomMax:"200",onChangePaddingBottom:function(e){return s({paddingBottom:e})},paddingEnableLeft:!0,paddingLeft:i.paddingLeft,paddingLeftMin:"0",paddingLeftMax:"200",onChangePaddingLeft:function(e){return s({paddingLeft:e})}}))),React.createElement(v,{id:"gb_column_inner_colorSettings"},React.createElement(Lp,{title:bp("Color","genesis-blocks"),initialOpen:!1,colorSettings:[{value:n.color,onChange:r,label:bp("Background Color","genesis-blocks")},{value:a.color,onChange:o,label:bp("Text Color","genesis-blocks")}]},React.createElement(Tp,{textColor:a.color,backgroundColor:n.color}))),React.createElement(v,{id:"gb_column_inner_backgroundImagePanel"},React.createElement(Lm,this.props)))}}]),n}(yp),Cp=kp([Yp("backgroundColor",{textColor:"color"})])(Ep);function jp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Hp=function(e){m()(n,e);var t=Pp(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n=this.props.attributes;e=n.marginSync?{marginTop:0<n.margin?n.margin+n.marginUnit:null,marginBottom:0<n.margin?n.margin+n.marginUnit:null}:{marginTop:0<n.marginTop?n.marginTop+n.marginUnit:null,marginBottom:0<n.marginBottom?n.marginBottom+n.marginUnit:null},t=n.paddingSync?{padding:0<n.padding?n.padding+n.paddingUnit:null}:{paddingTop:0<n.paddingTop?n.paddingTop+n.paddingUnit:null,paddingRight:0<n.paddingRight?n.paddingRight+n.paddingUnit:null,paddingBottom:0<n.paddingBottom?n.paddingBottom+n.paddingUnit:null,paddingLeft:0<n.paddingLeft?n.paddingLeft+n.paddingUnit:null};var r,a,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jp(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null,textAlign:n.textAlign?n.textAlign:null},Zd(n));return r=n.customBackgroundColor?"gb-has-custom-background-color":n.backgroundColor?"has-"+n.backgroundColor+"-background-color":null,a=n.customTextColor?"gb-has-custom-text-color":n.textColor?"has-"+n.textColor+"-color":null,React.createElement("div",{className:b()(this.props.className,"gb-block-layout-column",n.columnVerticalAlignment?"gb-is-vertically-aligned-"+n.columnVerticalAlignment:null)},React.createElement("div",{className:b.a.apply(void 0,["gb-block-layout-column-inner",r,a].concat($d()(Kd(n)))),style:Object.assign(e,t,o)},this.props.children))}}]),n}(wp.element.Component);function Op(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var zp=wp.i18n.__,Ap=wp.compose.compose,Bp=wp.element.Component,Np=wp.components.ToolbarGroup,Fp=wp.blockEditor,Wp=Fp.AlignmentToolbar,Ip=Fp.BlockControls,Up=Fp.InnerBlocks,Vp=Fp.withColors,Jp=function(e){m()(n,e);var t=Op(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=[{icon:"arrow-up-alt2",title:zp("Vertical Align Top","genesis-blocks"),isActive:"top"===t.columnVerticalAlignment,onClick:function(){return n({columnVerticalAlignment:"top"})}},{icon:"minus",title:zp("Vertical Align Middle","genesis-blocks"),isActive:"center"===t.columnVerticalAlignment,onClick:function(){return n({columnVerticalAlignment:"center"})}},{icon:"arrow-down-alt2",title:zp("Vertical Align Bottom","genesis-blocks"),isActive:"bottom"===t.columnVerticalAlignment,onClick:function(){return n({columnVerticalAlignment:"bottom"})}}];return[React.createElement(Ip,{key:"controls"},React.createElement(Wp,{value:t.textAlign,onChange:function(e){n({textAlign:e})}}),React.createElement(Np,{controls:r})),React.createElement(Cp,a()({},this.props,{key:"inspector"})),React.createElement(Hp,a()({backgroundColorValue:this.props.backgroundColor.color,textColorValue:this.props.textColor.color},this.props,{key:"column"}),React.createElement(Up,{template:[["core/paragraph"]],templateLock:!1,templateInsertUpdatesSelection:!1}))]}}]),n}(Bp),Gp=Ap([Vp("backgroundColor",{textColor:"color"})])(Jp);function qp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var $p=wp.element.Component,Kp=wp.blockEditor.InnerBlocks,Zp=function(e){m()(n,e);var t=qp(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes;return React.createElement(Hp,a()({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement(Kp.Content,null))}}]),n}($p);function Qp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Xp=function(e){m()(n,e);var t=Qp(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e,t,n=this.props.attributes;e=n.marginSync?{marginTop:0<n.margin?n.margin+n.marginUnit:null,marginBottom:0<n.margin?n.margin+n.marginUnit:null}:{marginTop:0<n.marginTop?n.marginTop+n.marginUnit:null,marginBottom:0<n.marginBottom?n.marginBottom+n.marginUnit:null},t=n.paddingSync?{padding:0<n.padding?n.padding+n.paddingUnit:null}:{paddingTop:0<n.paddingTop?n.paddingTop+n.paddingUnit:null,paddingRight:0<n.paddingRight?n.paddingRight+n.paddingUnit:null,paddingBottom:0<n.paddingBottom?n.paddingBottom+n.paddingUnit:null,paddingLeft:0<n.paddingLeft?n.paddingLeft+n.paddingUnit:null};var r,a,o={backgroundColor:this.props.backgroundColorValue?this.props.backgroundColorValue:null,color:this.props.textColorValue?this.props.textColorValue:null,textAlign:n.textAlign?n.textAlign:null};return r=n.customBackgroundColor?"gb-has-custom-background-color":n.backgroundColor?"has-"+n.backgroundColor+"-background-color":null,a=n.customTextColor?"gb-has-custom-text-color":n.textColor?"has-"+n.textColor+"-color":null,React.createElement("div",{className:b()("gb-block-layout-column",n.columnVerticalAlignment?"gb-is-vertically-aligned-"+n.columnVerticalAlignment:null)},React.createElement("div",{className:b()("gb-block-layout-column-inner",r,a),style:Object.assign(e,t,o)},this.props.children))}}]),n}(wp.element.Component);function e_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var t_=wp.element.Component,n_=wp.blockEditor.InnerBlocks,r_=function(e){m()(n,e);var t=e_(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props.attributes;return React.createElement(Xp,a()({},this.props,{backgroundColorValue:e.backgroundColor?null:e.customBackgroundColor,textColorValue:e.textColor?null:e.customTextColor}),React.createElement(n_.Content,null))}}]),n}(t_),a_=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},textAlign:{type:"string"},marginSync:{type:"boolean",default:!1},marginUnit:{type:"string",default:"px"},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingSync:{type:"boolean",default:!1},paddingUnit:{type:"string",default:"px"},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},columnVerticalAlignment:{type:"string"}},save:function(e){return React.createElement(r_,e)}}];n(353),n(354);function o_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o_(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s_=wp.i18n.__;(0,wp.blocks.registerBlockType)("genesis-blocks/gb-column",{title:s_("Column","genesis-blocks"),description:s_("Add a pre-defined column layout.","genesis-blocks"),icon:"editor-table",category:"genesis-blocks",parent:["genesis-blocks/gb-columns"],keywords:[s_("column","genesis-blocks"),s_("layout","genesis-blocks"),s_("row","genesis-blocks")],attributes:i_(i_({},pp),{},{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},textAlign:{type:"string"},marginSync:{type:"boolean",default:!1},marginUnit:{type:"string",default:"px"},margin:{type:"number",default:0},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingSync:{type:"boolean",default:!1},paddingUnit:{type:"string",default:"px"},padding:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingLeft:{type:"number",default:0},columnVerticalAlignment:{type:"string"}}),gb_settings_data:{gb_column_inner_marginPadding:{title:s_("Margin and Padding","genesis-blocks")},gb_column_inner_colorSettings:{title:s_("Color","genesis-blocks")},gb_column_inner_backgroundImagePanel:{title:s_("Background Image","genesis-blocks")}},edit:function(e){return React.createElement(Gp,e)},save:function(e){return React.createElement(Zp,e)},deprecated:a_});var l_=wp.compose.createHigherOrderComponent((function(e){return function(t){return"genesis-blocks/gb-column"===t.block.name&&t.block.attributes.columnVerticalAlignment?React.createElement(e,a()({},t,{className:"gb-is-vertically-aligned-"+t.block.attributes.columnVerticalAlignment})):React.createElement(e,t)}}),"withClientIdClassName");function c_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}wp.hooks.addFilter("editor.BlockListBlock","genesis-blocks/add-vertical-align-class",l_);var u_=wp.i18n.__,d_=wp.element,m_=d_.Component,p_=d_.Fragment,__=wp.components,h_=__.Button,g_=__.Dashicon,f_=__.Tooltip,b_=function(e){m()(n,e);var t=c_(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"addDefaultSrc",value:function(e){e.target.src=genesis_blocks_globals.pattern_fallback_image}},{key:"render",value:function(){var e=this;return React.createElement(p_,null,React.createElement("div",{key:"gb-layout-design-"+this.props.itemKey,className:"gb-layout-design"},React.createElement("div",{className:"gb-layout-design-inside"},React.createElement("div",{className:"gb-layout-design-item"},React.createElement(h_,{key:this.props.itemKey,className:"gb-layout-insert-button",isSmall:!0,onClick:function(){e.props.import(e.props.content,e.props.clientId)}},React.createElement("img",{src:this.props.image?this.props.image:genesis_blocks_globals.pattern_fallback_image,alt:this.props.name,onError:this.addDefaultSrc})),React.createElement("div",{className:"gb-layout-design-info"},React.createElement("div",{className:"gb-layout-design-title"},this.props.name,React.createElement(f_,{text:this.props.context.favoriteKeys.includes(this.props.itemKey)?u_("Remove from Favorites","genesis-blocks"):u_("Add to Favorites","genesis-blocks")},React.createElement(h_,{key:"buttonFavorite",className:"gb-layout-favorite-button",isSmall:!0,onClick:function(){e.props.context.toggleFavorite(e.props.itemKey)}},React.createElement(g_,{icon:"heart",className:b()("gb-layout-icon-favorite",this.props.context.favoriteKeys.includes(this.props.itemKey)&&"gb-layout-icon-favorite-active")})))))))))}}]),n}(m_);function y_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var k_=wp.i18n.__,M_=wp.url.addQueryArgs,v_=wp.element,L_=v_.Component,w_=v_.Fragment,Y_=function(e){m()(n,e);var t=y_(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this,t=this.props.itemKey.match(/\d+/g)[0];return React.createElement(w_,null,React.createElement("div",{className:"gb-layout-reusable"},React.createElement("div",null,React.createElement("a",{role:"button",key:this.props.itemKey,className:"gb-layout-insert-button",onClick:function(){e.props.import(e.props.content)}},this.props.name)),React.createElement("div",{className:"gb-layout-reusable-actions"},React.createElement("span",null,React.createElement("a",{href:M_("post.php",{post:t,post_type:"wp_block",action:"edit"}),target:"_blank",rel:"noopener noreferrer"},k_("Edit","genesis-blocks"))))))}}]),n}(L_),T_=wp.blocks.rawHandler;function D_(e,t){wp.data.dispatch("core/block-editor").replaceBlocks(t,T_({HTML:e,mode:"BLOCKS"}))}var R_=wp.element.useState;wp.i18n.__;var S_=wp.components.Button;function x_(e){return React.createElement(React.Fragment,null,React.createElement("div",{className:"gb-layout-design"},React.createElement("div",{className:"gb-layout-design-inside"},React.createElement("div",{className:"gb-layout-design-item"},React.createElement(S_,{className:"gb-layout-insert-button gb-layout-collection-button",isSmall:!0,onClick:function(){e.collectionsView.setCurrentView("collection"),e.collectionsView.setCurrentCollection(e.collectionSlug)}},React.createElement("div",{className:"gb-layout-collection-cover"},React.createElement("img",{src:e.context.collections[e.collectionSlug].thumbnail?e.context.collections[e.collectionSlug].thumbnail:genesis_blocks_globals.pattern_fallback_image,alt:e.context.collections[e.collectionSlug].label,onError:function(e){e.target.src=genesis_blocks_globals.pattern_fallback_image}})),React.createElement("div",{className:"gb-layout-design-info"},React.createElement("div",{className:"gb-layout-design-title"},React.createElement("span",{className:"gb-layout-collection-label"},e.context.collections[e.collectionSlug].label))))))))}var E_=wp.i18n.__,C_=wp.components.ButtonGroup;function j_(e){var t,n,r,o,i,s,l,c=(n=R_((t={view:"collections",collection:null}).view),r=fo()(n,2),o=r[0],i=r[1],s=R_(t.collection),l=fo()(s,2),{currentView:o,setCurrentView:i,currentCollection:l[0],setCurrentCollection:l[1]});function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"layouts",n=[];for(var r in e.context[t]){var a=e.context[t][r];a.hasOwnProperty("collection")&&c.currentCollection===a.collection.slug&&n.push(React.createElement(b_,{key:a.key,itemKey:a.key,name:a.name,image:a.image,import:D_,content:a.content,context:e.context,clientId:e.clientId}))}return 0===n.length?"":React.createElement(React.Fragment,null,React.createElement("h3",{className:"gb-collection-type-title"},"layouts"===t?E_("Page Layouts","genesis-blocks"):"sections"===t?E_("Page Sections","genesis-blocks"):void 0),React.createElement(C_,{className:"gb-layout-choices","aria-label":E_("Layout Options in this Collection","genesis-blocks")},n))}return React.createElement("div",{className:"gb-collections"},React.createElement("div",{className:"gb-collections-header"},React.createElement("div",{className:"gb-collections-header-left"},"collection"!==c.currentView?"":React.createElement("div",{className:"gb-collections-view-all-container"},React.createElement("button",{className:"gb-collections-view-all-link",onClick:function(){c.setCurrentView("collections")}},React.createElement("span",{className:"dashicons dashicons-arrow-left-alt"}),E_("View All Collections ","genesis-blocks"))),"collections"===c.currentView?React.createElement("h2",{className:"gb-collection-title"},E_("Collections ","genesis-blocks")):"collection"===c.currentView?React.createElement("h2",{className:"gb-collection-title"},E_("Browsing ","genesis-blocks")+e.context.collections[c.currentCollection].label):void 0),React.createElement("a",{target:"_blank",rel:"noreferrer",href:"https://developer.wpengine.com/genesis-blocks/layouts-block/#collections",tabIndex:"0",className:"gb-collections-link"},React.createElement("span",{className:"dashicons dashicons-info"}),E_("Learn about Collections","genesis-blocks"))),React.createElement("div",{className:"gb-collections-body"},function(t){if("collections"!==c.currentView)return"";var n=[];for(var r in t)n.push(React.createElement(x_,a()({key:r,collectionSlug:r,collectionsView:c},e)));return React.createElement(C_,{className:"gb-layout-choices","aria-label":E_("Collections Available","genesis-blocks")},n)}(e.context.collections),"collection"!==c.currentView?"":React.createElement(React.Fragment,null,u("sections"),u("layouts"))))}function P_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var H_=wp.compose.compose,O_=wp.blocks.rawHandler,z_=wp.data,A_=z_.withSelect,B_=z_.withDispatch,N_=wp.element,F_=N_.Component,W_=N_.Fragment,I_=function(e){m()(n,e);var t=P_(n);function n(){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"layoutTabContent",value:function(){return"gb-layout-tab-reusable-blocks"===this.props.currentTab?React.createElement(Y_,this.props):"gb-layout-tab-collections"===this.props.currentTab?React.createElement(j_,this.props):React.createElement(b_,this.props)}},{key:"render",value:function(){return React.createElement(W_,null,this.layoutTabContent())}}]),n}(F_),U_=H_(A_((function(e,t){var n,r=t.clientId,a=e("core/block-editor").getBlock;return n=!e("core/editor")||(n=e("core/editor").canUserUseUnfilteredHTML)(),{block:a(r),canUserUseUnfilteredHTML:n}})),B_((function(e,t){var n=t.block,r=t.canUserUseUnfilteredHTML;return{import:function(t){return e("core/block-editor").replaceBlocks(n.clientId,O_({HTML:t,mode:"BLOCKS",canUserUseUnfilteredHTML:r}))}}})))(I_),V_=n(16),J_=n.n(V_),G_=n(33),q_=n.n(G_),$_=n(41),K_=n.n($_);function Z_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var Q_=wp.apiFetch,X_=Object(Kn.createContext)({favorites:"",favoriteKeys:"",layouts:"",sections:"",all:"",reusableBlocks:"",collections:""}),eh=function(e){m()(r,e);var t,n=Z_(r);function r(){var e;l()(this,r);for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return e=n.call.apply(n,[this].concat(a)),i()(K_()(e),"state",{favorites:"",favoriteKeys:"",layouts:"",sections:"",all:"",reusableBlocks:"",collections:""}),e}return u()(r,[{key:"getFavoriteKeys",value:function(){return Q_({path:"/genesisblocks/v1/layouts/favorites",method:"GET"}).then((function(e){return e})).catch((function(e){return console.error(e)}))}},{key:"getFavorites",value:function(){var e=this;return Q_({path:"/genesisblocks/v1/layouts/favorites",method:"GET"}).then((function(t){var n=[];return Object.values(e.state.all).forEach((function(e){t.includes(e.key)&&n.push(e)})),n})).catch((function(e){return console.error(e)}))}},{key:"addFavorite",value:function(e){return Q_({path:"/genesisblocks/v1/layouts/favorites",method:"PATCH",body:JSON.stringify({genesis_blocks_favorite_key:e}),_wpnonce:wpApiSettings.nonce}).then((function(e){return e})).catch((function(e){return console.error(e)}))}},{key:"removeFavorite",value:function(e){return Q_({path:"/genesisblocks/v1/layouts/favorites",method:"DELETE",body:JSON.stringify({genesis_blocks_favorite_key:e}),_wpnonce:wpApiSettings.nonce}).then((function(e){return e})).catch((function(e){return console.error(e)}))}},{key:"componentDidMount",value:(t=q_()(J_.a.mark((function e(){var t,n=this;return J_.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getFavoriteKeys();case 2:t=e.sent,wp.apiFetch({method:"GET",path:"/genesisblocks/v1/layouts/all?filter=allowed"}).then(function(){var e=q_()(J_.a.mark((function e(r){var a,o,i,s,l;return J_.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=[],o=[],i=[],s=[],l=[],Object.values(r).forEach((function(e){"layout"===e.type&&a.push(e),"section"===e.type&&o.push(e),"wp_block"===e.type&&i.push(e),e.hasOwnProperty("collection")&&(l.hasOwnProperty(e.collection.slug)||(l[e.collection.slug]=[],e.collection.image=e.image,l[e.collection.slug]=e.collection)),t.includes(e.key)&&s.push(e)})),n.setState({all:r,layouts:a,sections:o,favorites:s,favoriteKeys:t,reusableBlocks:i,collections:l});case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"render",value:function(){var e,t=this;return this.state.all?Zn.a.createElement(X_.Provider,{value:{favorites:this.state.favorites,favoriteKeys:this.state.favoriteKeys,layouts:this.state.layouts,sections:this.state.sections,all:this.state.all,reusableBlocks:this.state.reusableBlocks,collections:this.state.collections,toggleFavorite:(e=q_()(J_.a.mark((function e(n){var r,a;return J_.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getFavoriteKeys();case 2:if(!(r=e.sent).includes(n)){e.next=9;break}return e.next=6,t.removeFavorite(n);case 6:r=e.sent,e.next=12;break;case 9:return e.next=11,t.addFavorite(n);case 11:r=e.sent;case 12:return e.next=14,t.getFavorites();case 14:return a=e.sent,t.setState({favorites:a,favoriteKeys:r}),e.abrupt("return",a);case 17:case"end":return e.stop()}}),e)}))),function(t){return e.apply(this,arguments)})}},this.props.children):null}}]),r}(Kn.Component);function th(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var nh=wp.i18n.__,rh=wp.url.addQueryArgs,ah=wp.element,oh=ah.Component,ih=ah.Fragment,sh=wp.components,lh=sh.ButtonGroup,ch=sh.TextControl,uh=sh.SelectControl,dh=function(e){m()(n,e);var t=th(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).state={category:"all",search:void 0,activeView:"grid"},e}return u()(n,[{key:"getLayoutArray",value:function(){var e=[];switch(this.props.currentTab){case"gb-layout-tab-layouts":e=this.props.context.layouts;break;case"gb-layout-tab-sections":e=this.props.context.sections;break;case"gb-layout-tab-favorites":e=this.props.context.favorites;break;case"gb-layout-tab-reusable-blocks":e=this.props.context.reusableBlocks;break;case"gb-layout-tab-collections":e=this.props.context.collections}return e}},{key:"render",value:function(){var e=this,t=this.getLayoutArray(),n=["all"];if("gb-layout-tab-collections"!==this.props.currentTab)for(var r=0;r<t.length;r++)for(var o=0;o<t[r].category.length;o++)n.includes(t[r].category[o])||n.push(t[r].category[o]);var i=n.map((function(e){return{value:e,label:e.charAt(0).toUpperCase()+e.slice(1)}})),s=this.props.data;return"gb-layout-tab-collections"===this.props.currentTab?React.createElement(j_,a()({key:this.props.data.key},this.props)):React.createElement(ih,{key:"layout-library-fragment-"+this.props.clientId},"gb-layout-tab-reusable-blocks"!==this.props.currentTab?React.createElement(ih,null,React.createElement("div",{className:"gb-layout-modal-header"},React.createElement(uh,{key:"layout-library-select-categories-"+this.props.clientId,label:nh("Layout Categories","genesis-blocks"),value:this.state.category,options:i,onChange:function(t){return e.setState({category:t})}}),React.createElement(ch,{key:"layout-library-search-layouts-"+this.props.clientId,type:"text",value:this.state.search,placeholder:nh("Search Layouts","genesis-blocks"),onChange:function(t){return e.setState({search:t})}}))):React.createElement(ih,null,React.createElement("div",{className:"gb-layout-modal-header gb-layout-modal-header-reusable"},React.createElement("div",null,nh("Reusable Blocks","genesis-blocks")),React.createElement("div",{className:"gb-layout-modal-header-reusable-actions"},React.createElement("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:rh("edit.php",{post_type:"wp_block"}),target:"_blank",rel:"noopener noreferrer"},nh("Manage All Reusable Blocks","genesis-blocks"))))),React.createElement(X_.Consumer,null,(function(t){return React.createElement(lh,{key:"layout-library-context-button-group-"+e.props.clientId,className:b()("gb-layout-choices","current-tab-"+e.props.currentTab,"full"===e.state.activeView?"gb-layout-view-full":null),"aria-label":nh("Layout Options","genesis-blocks")},Lo()(s,(function(n){var r=n.name,a=n.key,o=n.image,i=n.content,s=n.category,l=n.keywords;if(("all"===e.state.category||s.includes(e.state.category))&&(!e.state.search||l&&l.some((function(t){return t.toLowerCase().includes(e.state.search.toLowerCase())}))))return React.createElement(U_,{key:"layout-library-item-"+a,name:r,itemKey:a,image:o,content:i,context:t,clientId:e.props.clientId,currentTab:e.props.currentTab})})))})))}}]),n}(oh),mh=wp.i18n.__,ph=wp.element,_h=ph.Fragment,hh=ph.useState,gh=wp.components,fh=gh.Button,bh=gh.Dashicon,yh=gh.Modal,kh=gh.TabPanel,Mh=wp.data.useDispatch;var vh=function(e){var t=hh("gb-layout-tab-sections"),n=fo()(t,2),r=n[0],a=n[1],o=hh(!0),i=fo()(o,2),s=i[0],l=i[1],c=Mh("core/block-editor").removeBlock,u=[];return e.context.sections.length>0&&u.push({name:"gb-layout-tab-sections",title:mh("Sections","genesis-blocks"),className:"gb-layout-tab-sections"}),e.context.layouts.length>0&&u.push({name:"gb-layout-tab-layouts",title:mh("Layouts","genesis-blocks"),className:"gb-layout-tab-layouts"}),Object.keys(e.context.collections).length>0&&u.push({name:"gb-layout-tab-collections",title:mh("Collections","genesis-blocks"),className:"gb-layout-tab-collections"}),u.push({name:"gb-layout-tab-favorites",title:mh("Favorites","genesis-blocks"),className:"gb-layout-tab-favorites"}),e.context.reusableBlocks.length&&u.push({name:"gb-layout-tab-reusable-blocks",title:mh("Reusable Blocks","genesis-blocks"),className:"gb-layout-tab-reusable-blocks"}),React.createElement(_h,{key:"layout-modal-fragment-"+e.clientId},React.createElement(fh,{key:"layout-modal-library-button-"+e.clientId,isPrimary:!0,className:"gb-layout-modal-button",onClick:function(){l(!0)}},mh("Layout Library","genesis-blocks")),s?React.createElement(yh,{key:"layout-modal-modal-component-"+e.clientId,className:"gb-layout-modal",title:mh("Layout Selector","genesis-blocks"),onRequestClose:function(){l(!1),a(null),c(e.clientId)}},genesis_blocks_globals.pro_activated&&React.createElement("div",{className:"gb-layout-modal-footer"},React.createElement(bh,{icon:"editor-help"}),React.createElement("a",{href:"https://developer.wpengine.com/genesis-pro/genesis-page-builder/layouts-block/",target:"_blank",rel:"noopener noreferrer"},mh("Add Custom Layouts","genesis-blocks")),React.createElement("span",null,"·"),React.createElement("a",{href:"https://developer.wpengine.com/genesis-pro/genesis-page-builder/reusable-blocks/",target:"_blank",rel:"noopener noreferrer"},mh("Reusable Blocks","genesis-blocks")),React.createElement("a",{href:"https://www.research.net/r/XFQYFPP",target:"_blank",rel:"noopener noreferrer",className:"gb-pro-feedback"},React.createElement(bh,{icon:"admin-comments"})," ",mh("Send Feedback","genesis-blocks"))),React.createElement(kh,{key:"layout-modal-tabpanel-"+e.clientId,className:"gb-layout-modal-panel",activeClass:"gb-layout-modal-active-tab",onSelect:function(e){return a(e)},tabs:u},(function(t){var n=mh("Default tab content","genesis-blocks");if(t.name){if("gb-layout-tab-sections"===t.name)return[React.createElement(dh,{key:"layout-library-sections-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.sections,context:e.context})];if("gb-layout-tab-layouts"===t.name)return[React.createElement(dh,{key:"layout-library-layouts-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.layouts,context:e.context})];if("gb-layout-tab-collections"===t.name)return[React.createElement(dh,{key:"layout-library-collections-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.collections,context:e.context})];if("gb-layout-tab-favorites"===t.name)return[React.createElement(dh,{key:"layout-library-favorites-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.favorites,context:e.context})];if("gb-layout-tab-reusable-blocks"===t.name)return[React.createElement(dh,{key:"layout-library-reusable-blocks-"+e.clientId,clientId:e.clientId,currentTab:r,data:e.context.reusableBlocks,context:e.context})]}return React.createElement("div",null,n)}))):null)};function Lh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var a=g()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return _()(this,n)}}var wh=wp.i18n.__,Yh=wp.components.Placeholder,Th=wp.element,Dh=Th.Component,Rh=Th.Fragment,Sh=wp.blockEditor,xh=Sh.BlockControls,Eh=Sh.BlockAlignmentToolbar,Ch=function(e){m()(n,e);var t=Lh(n);function n(e){return l()(this,n),t.apply(this,arguments)}return u()(n,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.clientId;return[React.createElement(Rh,{key:this.props.clientId},React.createElement(xh,{key:"controls"},React.createElement(Eh,{value:t.align,onChange:function(e){return n({align:e})},controls:[]})),React.createElement(Yh,{key:"placeholder",label:wh("Layout Selector","genesis-blocks"),instructions:wh("Launch the layout library to browse pre-designed sections.","genesis-blocks"),className:"gb-layout-selector-placeholder",icon:"layout"},React.createElement(X_.Consumer,{key:"layouts-context-provider-"+this.props.clientId},(function(e){return React.createElement(vh,{clientId:r,context:e})}))))]}}]),n}(Dh),jh=(n(355),n(356),wp.i18n.__);(0,wp.blocks.registerBlockType)("genesis-blocks/gb-layouts",{title:jh("Layouts","genesis-blocks"),description:jh("Add a pre-defined section or layout to posts and pages.","genesis-blocks"),icon:"layout",category:"genesis-blocks",keywords:[jh("layout","genesis-blocks"),jh("column","genesis-blocks"),jh("section","genesis-blocks")],edit:function(e){return React.createElement(eh,null,React.createElement(Ch,e))},save:function(){return null}});var Ph=!1;function Hh(){var e=wp.blocks.createBlock("genesis-blocks/gb-layouts");wp.data.dispatch("core/block-editor").insertBlocks(e)}wp.data.subscribe((function(){!function(){if(Ph)return;var e=document.querySelector(".edit-post-header__toolbar");if(!e)return;var t=document.createElement("div"),n='<div class="gb-toolbar-insert-layout">';n+='<button id="gbLayoutInsertButton" class="components-button components-icon-button" aria-label="'.concat(jh("Insert Layout","genesis-blocks"),'"><i class="dashicons dashicons-layout gb-toolbar-insert-layout-button"></i> ').concat(jh("Layouts","genesis-blocks"),"</button>"),n+="</div>",t.innerHTML=n,e.appendChild(t);var r=document.querySelector(".components-accessible-toolbar.edit-post-header-toolbar");r&&(r.style.flexGrow=0);document.getElementById("gbLayoutInsertButton").addEventListener("click",Hh),Ph=!0}()}));n(357),n(358)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){},,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){}]);
dist/blocks.editor.build.css CHANGED
@@ -6,7 +6,7 @@
6
  .block-editor-block-list__layout [data-type="genesis-blocks/gb-spacer"]{margin-bottom:1.2em}.gb-block-spacer{border:dashed 1px #ddd;margin-bottom:0}.gb-block-spacer .gb-spacer-handle{margin-bottom:0}.gb-block-spacer.is-selected::before{outline:none}.gb-block-spacer .block-editor-block-list__block-edit{outline:1px dashed #ddd}.gb-block-spacer.is-selected .block-editor-block-list__block-edit,.gb-block-spacer.is-hovered .block-editor-block-list__block-edit{outline:1px dotted #ddd}.gb-block-spacer.is-selected .block-editor-block-list__block-edit{outline:1px solid #ddd}.gb-spacer-control__resize-handle{background:none;border-radius:0;bottom:-15px !important;cursor:row-resize !important;display:none;height:32px !important;left:0 !important;width:100% !important;z-index:999}.block-editor-block-list__block[data-type="genesis-blocks/gb-spacer"].is-selected .gb-spacer-control__resize-handle,.block-editor-block-list__block[data-type="genesis-blocks/gb-spacer"].is-hovered .gb-spacer-control__resize-handle{display:block}.gb-spacer-control__resize-handle::after{background-color:#32373c;border-radius:50px;border:2px solid #fff;content:"";display:block;height:12px;left:50%;margin-left:-8px;margin-top:-6px;position:absolute;top:50%;width:12px}
7
  .gb-block-accordion{margin-bottom:0}
8
  .gb-block-cta{margin-bottom:0}.block-editor-block-list__layout [data-type="genesis-blocks/gb-cta"]{margin-bottom:1.2em}.gb-cta-button .blocks-button__inline-link .editor-url-input{display:inline-block;width:auto}.gb-cta-button .blocks-button__inline-link .components-button{display:inline-block;padding:8px}.gb-cta-button .blocks-button__inline-link svg{vertical-align:middle;margin-right:8px}.gb-block-cta h2.editor-rich-text__tinymce.mce-content-body{line-height:1.2}.gb-cta-inspector-media.components-button{padding:8px}
9
- .gb-block-sharing{margin-bottom:0}
10
  .gb-block-post-grid .gb-block-post-grid-title a{text-decoration:none}.gb-block-post-grid-markup-settings .components-base-control__help{margin-top:8px}.block-editor__container .block-editor-block-list__block .gb-block-post-grid a{color:inherit}.gb-block-post-grid-image{position:relative}.gb-block-post-grid-image:hover .gb-post-grid-no-image-placeholder{opacity:1;z-index:1}.gb-post-grid-no-image-placeholder{padding:40px;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;background:#f3f3f4;transition:0.2s ease}.gb-post-grid-no-image-placeholder svg{margin-bottom:10px}.gb-post-grid-no-image-icon{position:absolute;top:10px;background:#ffe606;right:10px;padding:6px;line-height:1;height:32px;transition:0.2s ease;border-radius:5px;z-index:1}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help{display:inline-block;font-weight:bold}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help a{color:#0073aa;text-decoration:underline}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help a:hover{color:#00a0d2}[data-type="genesis-blocks/gb-post-grid"] .components-placeholder{align-items:center}[data-type="genesis-blocks/gb-post-grid"] .components-placeholder .components-placeholder__fieldset{width:auto}
11
  .gb-container-inspector-media{padding:8px}
12
  .edit-post-visual-editor .editor-block-list__block [data-type="genesis-blocks/gb-pricing-table"],.edit-post-visual-editor .block-editor-block-list__block [data-type="genesis-blocks/gb-pricing-table"]{margin-left:0;margin-right:0;overflow:hidden;min-width:0}.gb-pricing-table-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-pricing-table-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{display:-ms-grid;display:grid;grid-template-rows:1fr;grid-gap:0 2em;min-height:0}.gb-block-pricing-table-gap-0>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-0>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 0}.gb-block-pricing-table-gap-1>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-1>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 1em}.gb-block-pricing-table-gap-2>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-2>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 2em}.gb-block-pricing-table-gap-3>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-3>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 3em}.gb-block-pricing-table-gap-4>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-4>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 4em}.gb-block-pricing-table-gap-5>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-5>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 5em}.gb-pricing-columns-2 .editor-block-list__layout,.gb-pricing-columns-2 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}@media only screen and (max-width: 600px){.gb-pricing-columns-2 .editor-block-list__layout,.gb-pricing-columns-2 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-3 .editor-block-list__layout,.gb-pricing-columns-3 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr}@media only screen and (max-width: 600px){.gb-pricing-columns-3 .editor-block-list__layout,.gb-pricing-columns-3 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr}@media only screen and (max-width: 800px){.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}}@media only screen and (max-width: 600px){.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr 1fr}@media only screen and (max-width: 800px){.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}}@media only screen and (max-width: 600px){.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-block-pricing-table-inside .editor-block-list__block[data-align=full],.gb-block-pricing-table-inside .editor-block-list__block[data-align=wide],.gb-block-pricing-table-inside .block-editor-block-list__block[data-align=full],.gb-block-pricing-table-inside .block-editor-block-list__block[data-align=wide]{margin-left:auto;margin-right:auto}.gb-block-pricing-table-inside .editor-url-input input[type=text],.gb-block-pricing-table-inside .block-editor-block-list__block .block-editor-url-input input[type="text"]{width:100%}.gb-pricing-has-currency div .block-editor-rich-text:first-child{vertical-align:top;margin-top:0.7em;margin-right:3px;line-height:1}.gb-pricing-table-title.editor-rich-text__tinymce:focus strong[data-mce-selected]{background:transparent;color:inherit}div[data-type="genesis-blocks/gb-pricing-table-price"] .block-editor-block-list__block-edit div .editor-rich-text{display:inline-block}.gb-block-pricing-table .block-editor-block-list__layout div:first-child .block-editor-block-list__block-edit{margin-top:0}.gb-pricing-table-button .gb-block-button .components-button{padding:8px}
6
  .block-editor-block-list__layout [data-type="genesis-blocks/gb-spacer"]{margin-bottom:1.2em}.gb-block-spacer{border:dashed 1px #ddd;margin-bottom:0}.gb-block-spacer .gb-spacer-handle{margin-bottom:0}.gb-block-spacer.is-selected::before{outline:none}.gb-block-spacer .block-editor-block-list__block-edit{outline:1px dashed #ddd}.gb-block-spacer.is-selected .block-editor-block-list__block-edit,.gb-block-spacer.is-hovered .block-editor-block-list__block-edit{outline:1px dotted #ddd}.gb-block-spacer.is-selected .block-editor-block-list__block-edit{outline:1px solid #ddd}.gb-spacer-control__resize-handle{background:none;border-radius:0;bottom:-15px !important;cursor:row-resize !important;display:none;height:32px !important;left:0 !important;width:100% !important;z-index:999}.block-editor-block-list__block[data-type="genesis-blocks/gb-spacer"].is-selected .gb-spacer-control__resize-handle,.block-editor-block-list__block[data-type="genesis-blocks/gb-spacer"].is-hovered .gb-spacer-control__resize-handle{display:block}.gb-spacer-control__resize-handle::after{background-color:#32373c;border-radius:50px;border:2px solid #fff;content:"";display:block;height:12px;left:50%;margin-left:-8px;margin-top:-6px;position:absolute;top:50%;width:12px}
7
  .gb-block-accordion{margin-bottom:0}
8
  .gb-block-cta{margin-bottom:0}.block-editor-block-list__layout [data-type="genesis-blocks/gb-cta"]{margin-bottom:1.2em}.gb-cta-button .blocks-button__inline-link .editor-url-input{display:inline-block;width:auto}.gb-cta-button .blocks-button__inline-link .components-button{display:inline-block;padding:8px}.gb-cta-button .blocks-button__inline-link svg{vertical-align:middle;margin-right:8px}.gb-block-cta h2.editor-rich-text__tinymce.mce-content-body{line-height:1.2}.gb-cta-inspector-media.components-button{padding:8px}
9
+ .gb-block-sharing{margin-bottom:0}.gb-share-list>li>a>svg{margin-right:5px;vertical-align:text-top;width:16px;height:16px}.gb-share-text-only .gb-share-list>li>a>svg{display:none}.gb-share-size-small .gb-share-list>li>a>svg{width:13px;height:13px}.gb-share-size-medium .gb-share-list>li>a>svg{width:16px;height:16px}.gb-share-size-large .gb-share-list>li>a>svg{width:26px;height:26px}.gb-share-icon-only .gb-share-list>li>a>svg{margin-right:0}
10
  .gb-block-post-grid .gb-block-post-grid-title a{text-decoration:none}.gb-block-post-grid-markup-settings .components-base-control__help{margin-top:8px}.block-editor__container .block-editor-block-list__block .gb-block-post-grid a{color:inherit}.gb-block-post-grid-image{position:relative}.gb-block-post-grid-image:hover .gb-post-grid-no-image-placeholder{opacity:1;z-index:1}.gb-post-grid-no-image-placeholder{padding:40px;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;background:#f3f3f4;transition:0.2s ease}.gb-post-grid-no-image-placeholder svg{margin-bottom:10px}.gb-post-grid-no-image-icon{position:absolute;top:10px;background:#ffe606;right:10px;padding:6px;line-height:1;height:32px;transition:0.2s ease;border-radius:5px;z-index:1}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help{display:inline-block;font-weight:bold}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help a{color:#0073aa;text-decoration:underline}.block-editor__container .components-placeholder__fieldset .gb-post-grid-image-help a:hover{color:#00a0d2}[data-type="genesis-blocks/gb-post-grid"] .components-placeholder{align-items:center}[data-type="genesis-blocks/gb-post-grid"] .components-placeholder .components-placeholder__fieldset{width:auto}
11
  .gb-container-inspector-media{padding:8px}
12
  .edit-post-visual-editor .editor-block-list__block [data-type="genesis-blocks/gb-pricing-table"],.edit-post-visual-editor .block-editor-block-list__block [data-type="genesis-blocks/gb-pricing-table"]{margin-left:0;margin-right:0;overflow:hidden;min-width:0}.gb-pricing-table-wrap-admin>.editor-inner-blocks>.editor-block-list__layout,.gb-pricing-table-wrap-admin>.block-editor-inner-blocks>.block-editor-block-list__layout{display:-ms-grid;display:grid;grid-template-rows:1fr;grid-gap:0 2em;min-height:0}.gb-block-pricing-table-gap-0>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-0>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 0}.gb-block-pricing-table-gap-1>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-1>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 1em}.gb-block-pricing-table-gap-2>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-2>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 2em}.gb-block-pricing-table-gap-3>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-3>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 3em}.gb-block-pricing-table-gap-4>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-4>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 4em}.gb-block-pricing-table-gap-5>.editor-inner-blocks>.editor-block-list__layout,.gb-block-pricing-table-gap-5>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-gap:0 5em}.gb-pricing-columns-2 .editor-block-list__layout,.gb-pricing-columns-2 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}@media only screen and (max-width: 600px){.gb-pricing-columns-2 .editor-block-list__layout,.gb-pricing-columns-2 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-3 .editor-block-list__layout,.gb-pricing-columns-3 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr}@media only screen and (max-width: 600px){.gb-pricing-columns-3 .editor-block-list__layout,.gb-pricing-columns-3 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr}@media only screen and (max-width: 800px){.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}}@media only screen and (max-width: 600px){.gb-pricing-columns-4 .editor-block-list__layout,.gb-pricing-columns-4 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr 1fr}@media only screen and (max-width: 800px){.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}}@media only screen and (max-width: 600px){.gb-pricing-columns-5 .editor-block-list__layout,.gb-pricing-columns-5 .block-editor-block-list__layout{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-block-pricing-table-inside .editor-block-list__block[data-align=full],.gb-block-pricing-table-inside .editor-block-list__block[data-align=wide],.gb-block-pricing-table-inside .block-editor-block-list__block[data-align=full],.gb-block-pricing-table-inside .block-editor-block-list__block[data-align=wide]{margin-left:auto;margin-right:auto}.gb-block-pricing-table-inside .editor-url-input input[type=text],.gb-block-pricing-table-inside .block-editor-block-list__block .block-editor-url-input input[type="text"]{width:100%}.gb-pricing-has-currency div .block-editor-rich-text:first-child{vertical-align:top;margin-top:0.7em;margin-right:3px;line-height:1}.gb-pricing-table-title.editor-rich-text__tinymce:focus strong[data-mce-selected]{background:transparent;color:inherit}div[data-type="genesis-blocks/gb-pricing-table-price"] .block-editor-block-list__block-edit div .editor-rich-text{display:inline-block}.gb-block-pricing-table .block-editor-block-list__layout div:first-child .block-editor-block-list__block-edit{margin-top:0}.gb-pricing-table-button .gb-block-button .components-button{padding:8px}
dist/blocks.style.build.css CHANGED
@@ -1,12 +1,12 @@
1
  .gb-block-testimonial{background:#f2f2f2;color:#293038;margin:0 auto;padding:5%;border-radius:5px;margin-bottom:1.2em}.gb-block-testimonial .gb-testimonial-info{position:relative;display:inline-block;width:100%;margin-top:15px;min-height:55px;padding-top:5px;line-height:1.4}.gb-block-testimonial .gb-testimonial-info .blocks-editable{padding-left:0}.gb-block-testimonial .gb-testimonial-info .gb-testimonial-avatar-wrap{position:absolute;left:0;top:0}.gb-block-testimonial .gb-testimonial-avatar-wrap+.gb-testimonial-name,.gb-block-testimonial .gb-testimonial-avatar-wrap+.gb-testimonial-name+.gb-testimonial-title,.gb-block-testimonial .gb-testimonial-avatar-wrap+.gb-testimonial-title,.gb-block-testimonial .gb-testimonial-avatar-wrap+.editor-rich-text,.gb-block-testimonial .gb-testimonial-avatar-wrap+.editor-rich-text+.editor-rich-text{margin-left:70px;padding-left:0}.gb-block-testimonial .gb-testimonial-text p{line-height:1.6}.gb-block-testimonial .gb-testimonial-text a{color:inherit;box-shadow:0 -1px 0 inset;text-decoration:none}.gb-block-testimonial .gb-testimonial-text a:hover{color:inherit;box-shadow:0 -2px 0 inset}.gb-block-testimonial .gb-testimonial-name{font-size:1em;font-weight:bold;line-height:1.2;margin:0;padding:0}.gb-block-testimonial .gb-testimonial-title{opacity:0.8}.gb-block-testimonial .gb-testimonial-avatar{border-radius:200px;max-width:100px}.gb-block-testimonial .gb-testimonial-image-wrap{height:55px;width:55px;background:#ddd;border-radius:200px;position:relative}.gb-block-testimonial .gb-testimonial-image-wrap img{object-fit:cover;height:100%;width:100%;position:relative;z-index:10;border-radius:40px}.right-aligned .gb-testimonial-info{text-align:right}.right-aligned .gb-testimonial-info h2{left:0}.right-aligned .gb-testimonial-info .gb-testimonial-name,.right-aligned .gb-testimonial-info .gb-testimonial-title{margin-right:70px;margin-left:0}.right-aligned .gb-testimonial-info .gb-testimonial-avatar-wrap{left:auto;right:0}
2
- .gb-block-profile{background:#f2f2f2;color:#293038;margin:0 auto;padding:3%;border-radius:5px;margin-bottom:1.2em;display:flex;flex-flow:row wrap;justify-content:space-around;width:100%}.gb-block-profile .gb-profile-column{display:block;padding:15px;flex:3 0 0}@media only screen and (max-width: 600px){.gb-block-profile .gb-profile-column{flex:auto}}.gb-block-profile .gb-profile-avatar-wrap{position:relative;z-index:0;flex:1 0 0}@media only screen and (max-width: 600px){.gb-block-profile .gb-profile-avatar-wrap{flex:auto;max-width:210px;margin:0 auto}}@media only screen and (max-width: 600px){.gb-block-profile .gb-profile-content-wrap{text-align:center}}.gb-block-profile .gb-profile-text{font-size:18px;padding-top:1em}.gb-block-profile .gb-profile-text a{color:inherit;box-shadow:0 -1px 0 inset;text-decoration:none}.gb-block-profile .gb-profile-text a:hover{color:inherit;box-shadow:0 -2px 0 inset}.gb-block-profile .gb-profile-text p{line-height:1.6}.gb-block-profile .gb-profile-text p:last-child{margin-bottom:0}.gb-block-profile .gb-profile-name{font-size:1.4em;font-weight:bold;line-height:1.2;margin:0}.gb-block-profile .gb-profile-title{opacity:0.8;padding-top:5px;margin-bottom:0}.gb-block-profile .gb-profile-image-square{position:absolute;top:0;left:0;height:100%;width:100%;z-index:5;margin:0}.gb-block-profile .gb-profile-text:empty,.gb-block-profile .gb-profile-title:empty,.gb-block-profile .gb-profile-name:empty{display:none}.gb-block-profile .gb-profile-image-wrap{width:100%;background:#ddd;position:relative}.gb-block-profile .gb-profile-image-wrap::before{content:"";display:inline-block;padding-top:100%}.gb-block-profile .gb-profile-image-wrap button{position:absolute;left:0;z-index:50;padding:0;height:100%;width:100%}.gb-block-profile .gb-profile-image-wrap button:focus{background:none;border:none;outline:none;box-shadow:none}.gb-block-profile .gb-profile-image-wrap img{object-fit:cover;height:100%;width:100%;position:relative;z-index:5}.gb-block-profile .gb-social-links{list-style:none;margin:0 0 0 0;padding:5% 0 0 0;font-size:0}.gb-block-profile .gb-social-links:empty{display:none}.gb-block-profile .gb-social-links li{display:inline-block;margin:0 8px 0 0;padding:0}.gb-block-profile .gb-social-links li a{border:none}.gb-block-profile .gb-social-links li a:hover{opacity:0.9}.gb-block-profile .gb-social-links li i{font-size:18px;background:#0393e3;color:#fff;padding:10px;border-radius:100px;height:38px;width:38px;text-align:center}.right .gb-profile-avatar-wrap{order:2}.round .gb-profile-image-wrap{border-radius:500px}.round .gb-profile-image-wrap::before{content:"";display:inline-block;padding-top:92%}.round .gb-profile-image-wrap img{border-radius:500px}
3
  .gb-block-notice{border-radius:5px;position:relative;margin-bottom:1.2em}.gb-block-notice .gb-notice-dismiss{position:absolute;top:13px;right:13px;opacity:0.8;padding:0;background:none;transition:0.3s ease}.gb-block-notice .gb-notice-dismiss:hover{opacity:1;cursor:pointer;box-shadow:none}.gb-block-notice .gb-notice-title{font-weight:bold;padding:0.5em 1em;margin:0;color:#fff;border-top-right-radius:5px;border-top-left-radius:5px;width:100%;display:inline-block}.gb-block-notice .gb-notice-title p{margin-bottom:0}.gb-block-notice .gb-notice-title:empty{display:none}.gb-block-notice .gb-notice-text{padding:1em;border:solid 2px #333;border-radius:5px;background:#fff}.gb-block-notice .gb-notice-text p:last-child{margin-bottom:0}.gb-block-notice .gb-notice-title:not(:empty)+.notice-text,.gb-block-notice .blocks-rich-text+.blocks-rich-text .gb-notice-text{border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:5px;border-bottom-left-radius:5px}body:not(.wp-admin) .gb-block-notice.gb-dismissable{display:none}
4
  .entry-content .gb-block-drop-cap .gb-drop-cap-text p::first-letter{float:left;font-size:75px;line-height:0.7em;margin-top:0.15em;margin-right:25px;margin-bottom:25px;font-weight:bold;text-transform:uppercase}.entry-content .gb-block-drop-cap.gb-drop-cap-square .gb-drop-cap-text p::first-letter{background:#32373c;color:#fff;padding:0.2em}.entry-content .gb-block-drop-cap.gb-drop-cap-border .gb-drop-cap-text p::first-letter{color:#32373c;padding:0.2em;border:solid 4px}@media only screen and (min-width: 600px){.entry-content .gb-block-drop-cap.gb-font-size-1 .gb-drop-cap-text::first-letter{font-size:75px}.entry-content .gb-block-drop-cap.gb-font-size-2 .gb-drop-cap-text::first-letter{font-size:85px}.entry-content .gb-block-drop-cap.gb-font-size-3 .gb-drop-cap-text::first-letter{font-size:95px}.entry-content .gb-block-drop-cap.gb-font-size-4 .gb-drop-cap-text::first-letter{font-size:105px}.entry-content .gb-block-drop-cap.gb-font-size-5 .gb-drop-cap-text::first-letter{font-size:115px}.entry-content .gb-block-drop-cap.gb-font-size-6 .gb-drop-cap-text p::first-letter{font-size:125px}}.gb-block-drop-cap::before,.gb-block-drop-cap::after{content:"";display:table}.gb-block-drop-cap::after{clear:both}.gb-block-drop-cap a{color:inherit;box-shadow:0 -1px 0 inset;text-decoration:none}.gb-block-drop-cap a:hover{color:inherit;box-shadow:0 -2px 0 inset}
5
  .gb-block-button{margin:0 0 1.2em 0;position:relative}.gb-block-button .blocks-rich-text{display:inline-flex}.gb-block-button .components-autocomplete{display:inline-block;width:auto;margin:0 auto;position:relative}.gb-button{text-align:center;font-size:18px;line-height:1 !important;background-color:#32373c;border:none;border-radius:50px;box-shadow:none;color:#fff;cursor:pointer;padding:0.6em 1em;text-decoration:none;word-break:break-word;transition:0.3s ease;display:inline-block}.gb-button:hover{box-shadow:inset 0 0 200px rgba(255,255,255,0.15)}.gb-button-shape-square,input[type="submit"].gb-button-shape-square{border-radius:0}.gb-button-shape-rounded,input[type="submit"].gb-button-shape-rounded{border-radius:5px}.gb-button-shape-circular,input[type="submit"].gb-button-shape-circular{border-radius:100px}.gb-button-size-small,input[type="submit"].gb-button-size-small{font-size:14px}.gb-button-size-medium,input[type="submit"].gb-button-size-medium{font-size:20px}.gb-button-size-large,input[type="submit"].gb-button-size-large{font-size:26px;padding:0.8em 1.2em}.gb-button-size-extralarge,input[type="submit"].gb-button-size-extralarge{font-size:34px;padding:0.8em 1.2em}.gb-button-right{transform:translateX(-100%);left:100%;position:relative}.gb-button-center{margin:0 auto}
6
  .gb-block-spacer{margin:0 0 1.2em 0;position:relative}.gb-block-spacer hr{border:none;margin:0;background:none}.gb-block-spacer.gb-spacer-divider::after{content:" ";width:100%;height:1px;border-top:solid 1px;position:absolute;top:50%;left:0}.gb-block-spacer.gb-divider-solid.gb-spacer-divider::after{border-top-style:solid}.gb-block-spacer.gb-divider-dotted.gb-spacer-divider::after{border-top-style:dotted}.gb-block-spacer.gb-divider-dashed.gb-spacer-divider::after{border-top-style:dashed}.gb-block-spacer.gb-divider-size-1.gb-spacer-divider::after{border-top-width:1px}.gb-block-spacer.gb-divider-size-2.gb-spacer-divider::after{border-top-width:2px}.gb-block-spacer.gb-divider-size-3.gb-spacer-divider::after{border-top-width:3px}.gb-block-spacer.gb-divider-size-4.gb-spacer-divider::after{border-top-width:4px}.gb-block-spacer.gb-divider-size-5.gb-spacer-divider::after{border-top-width:5px}.entry-content .gb-block-spacer hr{border:none;margin:0;background:none}.entry-content .gb-block-spacer hr::before,.entry-content .gb-block-spacer hr::after{display:none}
7
  .gb-block-accordion{margin-bottom:1.2em}.gb-block-accordion .gb-accordion-title{background:#f2f2f2;padding:10px 15px}.gb-block-accordion .gb-accordion-title p{display:inline}.gb-block-accordion .gb-accordion-text{padding:10px 15px}.gb-block-accordion .editor-rich-text .editor-rich-text__inline-toolbar{display:block;left:40%}.gb-block-accordion+.gb-block-accordion{margin-top:-0.6em}@media only screen and (min-width: 600px){.gb-font-size-14 .gb-accordion-title{font-size:14px}.gb-font-size-15 .gb-accordion-title{font-size:15px}.gb-font-size-16 .gb-accordion-title{font-size:16px}.gb-font-size-17 .gb-accordion-title{font-size:17px}.gb-font-size-18 .gb-accordion-title{font-size:18px}.gb-font-size-19 .gb-accordion-title{font-size:19px}.gb-font-size-20 .gb-accordion-title{font-size:20px}.gb-font-size-21 .gb-accordion-title{font-size:21px}.gb-font-size-22 .gb-accordion-title{font-size:22px}.gb-font-size-23 .gb-accordion-title{font-size:23px}.gb-font-size-24 .gb-accordion-title{font-size:24px}}
8
  .gb-block-cta{margin:0 0 1.2em 0;position:relative;background:#f2f2f2;color:#293038;padding:5% 3%;border-radius:5px}.gb-block-cta .components-autocomplete{display:inline-block;width:auto;margin:0 auto;position:relative}.gb-block-cta *{z-index:10;position:relative}.gb-block-cta.alignfull{border-radius:0;padding:8% 3%}@media only screen and (max-width: 768px){.gb-block-cta{padding:8% 6%}}@media only screen and (min-width: 768px){.gb-block-cta.alignfull .gb-cta-content,.gb-block-cta.alignfull .gb-cta-button{max-width:60%;margin:0 auto}}@media only screen and (min-width: 768px){.gb-block-cta.alignwide .gb-cta-content,.gb-block-cta.alignwide .gb-cta-button{max-width:80%;margin:0 auto}}.gb-block-cta .gb-cta-image-wrap{position:absolute;top:0;right:0;left:0;height:100%;z-index:1}.gb-block-cta .gb-cta-image{object-fit:cover;height:100%;width:100%;transition:0.3s ease}.gb-block-cta .gb-cta-title{display:inline-block;width:100%;margin-bottom:0.3em;line-height:1.2}.gb-block-cta .gb-cta-text{line-height:1.4}.gb-block-cta .gb-cta-text p{color:inherit}.gb-block-cta .gb-cta-text a{color:inherit;box-shadow:0 -1px 0 inset;text-decoration:none}.gb-block-cta .gb-cta-text a:hover{color:inherit;box-shadow:0 -2px 0 inset}.gb-block-cta .gb-cta-button .blocks-rich-text{display:inline-flex}.gb-block-cta .gb-button{text-align:center;font-size:18px;line-height:1 !important;background-color:#32373c;border:none;border-radius:50px;box-shadow:none;color:#fff;cursor:pointer;padding:0.6em 1em;text-decoration:none;word-break:break-word;transition:0.3s ease;display:inline-block}.gb-block-cta .gb-button:hover{box-shadow:inset 0 0 200px rgba(255,255,255,0.15)}.gb-block-cta .gb-cta-title:empty,.gb-block-cta .gb-cta-text:empty,.gb-block-cta .gb-cta-button:empty,.gb-block-cta .gb-button:empty{display:none}.gb-block-cta .gb-button-shape-square{border-radius:0}.gb-block-cta .gb-button-shape-rounded{border-radius:5px}.gb-block-cta .gb-button-shape-circular{border-radius:100px}.gb-block-cta .gb-button-size-small{font-size:14px}.gb-block-cta .gb-button-size-medium{font-size:20px}.gb-block-cta .gb-button-size-large{font-size:26px;padding:0.8em 1.2em}.gb-block-cta .gb-button-size-extralarge{font-size:32px;padding:0.8em 1.2em}.gb-block-cta .gb-font-size-24.gb-cta-title{font-size:24px}.gb-block-cta .gb-font-size-26.gb-cta-title{font-size:26px}.gb-block-cta .gb-font-size-28.gb-cta-title{font-size:28px}.gb-block-cta .gb-font-size-30.gb-cta-title{font-size:30px}.gb-block-cta .gb-font-size-32.gb-cta-title{font-size:32px}.gb-block-cta .gb-font-size-34.gb-cta-title{font-size:34px}.gb-block-cta .gb-font-size-36.gb-cta-title{font-size:36px}.gb-block-cta .gb-font-size-38.gb-cta-title{font-size:38px}.gb-block-cta .gb-font-size-40.gb-cta-title{font-size:40px}.gb-block-cta .gb-font-size-42.gb-cta-title{font-size:42px}.gb-block-cta .gb-font-size-44.gb-cta-title{font-size:44px}.gb-block-cta .gb-font-size-46.gb-cta-title{font-size:46px}.gb-block-cta .gb-font-size-48.gb-cta-title{font-size:48px}.gb-block-cta .gb-font-size-50.gb-cta-title{font-size:50px}.gb-block-cta .gb-font-size-52.gb-cta-title{font-size:52px}.gb-block-cta .gb-font-size-54.gb-cta-title{font-size:54px}.gb-block-cta .gb-font-size-56.gb-cta-title{font-size:56px}.gb-block-cta .gb-font-size-58.gb-cta-title{font-size:58px}.gb-block-cta .gb-font-size-60.gb-cta-title{font-size:60px}.gb-block-cta .blocks-button__inline-link{margin-top:15px}.gb-block-cta .gb-cta-image:not(.has-background-dim){opacity:0}.gb-block-cta .has-background-dim{opacity:0.5}.gb-block-cta .has-background-dim-10{opacity:0.1}.gb-block-cta .has-background-dim-20{opacity:0.2}.gb-block-cta .has-background-dim-30{opacity:0.3}.gb-block-cta .has-background-dim-40{opacity:0.4}.gb-block-cta .has-background-dim-50{opacity:0.5}.gb-block-cta .has-background-dim-60{opacity:0.6}.gb-block-cta .has-background-dim-70{opacity:0.7}.gb-block-cta .has-background-dim-80{opacity:0.8}.gb-block-cta .has-background-dim-90{opacity:0.9}.gb-block-cta .has-background-dim-100{opacity:1}.gb-button-right{transform:translateX(-100%);left:100%;position:relative}.gb-button-center{margin:0 auto}.gb-cta-inspector-media.components-button{vertical-align:top;border:1px solid #e2e4e7;background-color:#fff;display:inline-flex;border-radius:3px;margin-bottom:15px}.gb-cta-inspector-media.components-button:hover{box-shadow:none !important;border:solid 1px #555d66}.gb-cta-inspector-media.components-button:first-child{margin-right:8px}.gb-cta-inspector-media.components-button svg{margin-right:5px}
9
- .gb-block-sharing{margin:0 0 1.2em 0;position:relative}.gb-block-sharing .blocks-rich-text{display:inline-flex}.gb-block-sharing .gb-share-list{margin:0;padding:0}.gb-block-sharing .gb-share-list li{list-style:none;display:inline-block;margin:0 5px 5px 0}.gb-block-sharing .gb-share-list a{background:#272c30;color:#fff;padding:10px 15px;text-align:center;display:block;line-height:1;font-size:16px;transition:0.3s ease}.gb-block-sharing .gb-share-list a:hover{box-shadow:inset 0 0 200px rgba(255,255,255,0.15)}.gb-block-sharing.gb-share-icon-text i{margin-right:5px}.gb-block-sharing.gb-share-icon-only a{padding:10px 11px;min-width:37px}.gb-block-sharing.gb-share-icon-only .gb-social-text{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}.gb-block-sharing.gb-share-text-only i{display:none}.gb-block-sharing.gb-share-shape-square a{border-radius:0}.gb-block-sharing.gb-share-shape-rounded a{border-radius:5px}.gb-block-sharing.gb-share-shape-circular a{border-radius:100px}.gb-block-sharing.gb-share-size-small a{font-size:13px}.gb-block-sharing.gb-share-size-small.gb-share-icon-only a{padding:7px 6px;min-width:28px}.gb-block-sharing.gb-share-size-medium a{font-size:16px}.gb-block-sharing.gb-share-size-large a{font-size:20px}.gb-block-sharing.gb-share-size-large.gb-share-icon-only a{font-size:26px;min-width:48px}.gb-block-sharing.gb-share-size-large.gb-share-icon-text i{margin-right:10px}.gb-block-sharing.gb-share-color-social a{color:#fff}.gb-block-sharing.gb-share-color-social .gb-share-twitter{background:#1ca1f3}.gb-block-sharing.gb-share-color-social .gb-share-facebook{background:#3b5999}.gb-block-sharing.gb-share-color-social .gb-share-google{background:#dc4b45}.gb-block-sharing.gb-share-color-social .gb-share-pinterest{background:#bd091c}.gb-block-sharing.gb-share-color-social .gb-share-linkedin{background:#0077b5}.gb-block-sharing.gb-share-color-social .gb-share-reddit{background:#ff4500}.gb-button-right{transform:translateX(-100%);left:100%;position:relative}.gb-button-center{margin:0 auto}
10
  .gb-block-post-grid{margin:0 0 1.2em 0;position:relative}.gb-block-post-grid .is-grid,.gb-block-post-grid .gb-is-grid{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-rows:1fr;grid-gap:0 2em}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid,.gb-block-post-grid .gb-is-grid{display:block}}.gb-block-post-grid .is-grid article,.gb-block-post-grid .gb-is-grid article{margin-bottom:2.5em;min-width:0}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid article,.gb-block-post-grid .gb-is-grid article{padding-left:10px;padding-right:10px;display:inline-block;vertical-align:top}}.gb-block-post-grid .is-grid.columns-1,.gb-block-post-grid .gb-is-grid.gb-columns-1{-ms-grid-columns:1fr;grid-template-columns:1fr}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid.columns-1 article,.gb-block-post-grid .gb-is-grid.gb-columns-1 article{width:100%}}.gb-block-post-grid .is-grid.columns-2,.gb-block-post-grid .gb-is-grid.gb-columns-2{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid.columns-2 article,.gb-block-post-grid .gb-is-grid.gb-columns-2 article{width:48%}}.gb-block-post-grid .is-grid.columns-3,.gb-block-post-grid .gb-is-grid.gb-columns-3{-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid.columns-3 article,.gb-block-post-grid .gb-is-grid.gb-columns-3 article{width:32%}}.gb-block-post-grid .is-grid.columns-4,.gb-block-post-grid .gb-is-grid.gb-columns-4{-ms-grid-columns:1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid.columns-4 article,.gb-block-post-grid .gb-is-grid.gb-columns-4 article{width:24%}}@media only screen and (max-width: 600px){.gb-block-post-grid div[class*="columns"].is-grid,.gb-block-post-grid div[class*="columns"].gb-is-grid{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-block-post-grid .gb-post-grid-section-title{text-align:left}.gb-block-post-grid .gb-block-post-grid-image{margin-bottom:1.2em}.gb-block-post-grid .gb-block-post-grid-image img{display:block;width:100%}.gb-block-post-grid .gb-block-post-grid-text{text-align:left}.gb-block-post-grid a{text-decoration:none}.gb-block-post-grid header .gb-block-post-grid-title{margin-top:0;margin-bottom:15px;font-size:28px;line-height:1.2}.gb-block-post-grid header .gb-block-post-grid-title a{color:#293038;text-decoration:none}.gb-block-post-grid header .gb-block-post-grid-title a:hover{text-decoration:underline;color:inherit}.gb-block-post-grid .gb-block-post-grid-byline{font-size:14px;color:#626e81;margin-bottom:15px}.gb-block-post-grid .gb-block-post-grid-author,.gb-block-post-grid .gb-block-post-grid-date{display:inline-block}.gb-block-post-grid .gb-block-post-grid-author:not(:last-child)::after,.gb-block-post-grid .gb-block-post-grid-date:not(:last-child)::after{content:"\B7";vertical-align:middle;margin:0 5px;line-height:1}.gb-block-post-grid .gb-block-post-grid-author a{color:inherit;text-decoration:none}.gb-block-post-grid .gb-block-post-grid-author a:hover{color:inherit;text-decoration:underline}.gb-block-post-grid .gb-block-post-grid-text p{margin:0 0 15px 0;font-size:inherit}.gb-block-post-grid .gb-block-post-grid-text p:last-of-type{margin-bottom:0}.gb-block-post-grid .gb-block-post-grid-more-link{display:inline-block;box-shadow:none;transition:0.3s ease;font-weight:bold;color:#293038;text-decoration:none}.gb-block-post-grid .gb-block-post-grid-more-link:hover{text-decoration:underline}.gb-block-post-grid .gb-block-post-grid-excerpt div+p{margin-top:15px}.gb-block-post-grid .is-list article,.gb-block-post-grid .gb-is-list article{display:-ms-grid;display:grid;-ms-grid-columns:30% 1fr;grid-template-columns:30% 1fr;grid-template-rows:1fr;grid-gap:0 2em}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-list article,.gb-block-post-grid .gb-is-list article{display:block}}.gb-block-post-grid .is-list article::before,.gb-block-post-grid .gb-is-list article::before{display:none}.gb-block-post-grid .is-list article:not(:last-child),.gb-block-post-grid .gb-is-list article:not(:last-child){margin-bottom:5%;padding-bottom:5%}@media only screen and (min-width: 600px){.gb-block-post-grid .is-list article:not(:last-child),.gb-block-post-grid .gb-is-list article:not(:last-child){border-bottom:solid 1px #eee}}@media only screen and (max-width: 600px){.gb-block-post-grid .is-list article,.gb-block-post-grid .gb-is-list article{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-block-post-grid .is-list article:not(.has-post-thumbnail),.gb-block-post-grid .is-list article.hide-featured-image,.gb-block-post-grid .gb-is-list article:not(.has-post-thumbnail),.gb-block-post-grid .gb-is-list article.hide-featured-image{-ms-grid-columns:1fr;grid-template-columns:1fr}.gb-block-post-grid .is-list .gb-block-post-grid-image,.gb-block-post-grid .gb-is-list .gb-block-post-grid-image{margin-bottom:0}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-list .gb-block-post-grid-image,.gb-block-post-grid .gb-is-list .gb-block-post-grid-image{width:30%;display:inline-block;vertical-align:top}}@media only screen and (max-width: 600px){.gb-block-post-grid .is-list .gb-block-post-grid-image,.gb-block-post-grid .gb-is-list .gb-block-post-grid-image{margin-bottom:5%}}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-list .gb-block-post-grid-text,.gb-block-post-grid .gb-is-list .gb-block-post-grid-text{width:65%;padding-left:5%;display:inline-block;vertical-align:top}.gb-block-post-grid .is-list .post:not(.has-post-thumbnail) .gb-block-post-grid-text,.gb-block-post-grid .gb-is-list .post:not(.has-post-thumbnail) .gb-block-post-grid-text{width:100%;padding-left:0}}@media only screen and (min-width: 600px){.gb-block-post-grid .is-list .gb-block-post-grid-title,.gb-block-post-grid .gb-is-list .gb-block-post-grid-title{font-size:34px}}.gb-block-post-grid .is-list .no-thumb .gb-block-post-grid-text,.gb-block-post-grid .gb-is-list .no-thumb .gb-block-post-grid-text{grid-column:span 2}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px;word-wrap:normal !important}
11
  .gb-block-container{margin:0;position:relative;padding:0}.gb-block-container.alignfull .block-editor-block-list__block{max-width:100%}@media only screen and (min-width: 768px){.gb-block-container.alignfull .gb-container-inside,.gb-block-container.alignfull .gb-container-inside{max-width:100%;margin:0 auto}}@media only screen and (min-width: 768px){.gb-block-container.alignwide .gb-container-inside,.gb-block-container.alignwide .gb-container-inside{max-width:80%;margin:0 auto}}.gb-block-container .gb-container-image-wrap{position:absolute;top:0;right:0;left:0;height:100%;z-index:0}.gb-block-container .gb-container-image{object-fit:cover;height:100%;width:100%;transition:0.3s ease}.gb-block-container .gb-container-content{margin:0 auto;position:relative}.gb-block-container .gb-container-image:not(.has-background-dim){opacity:0}.gb-block-container .has-background-dim{opacity:0.5}.gb-block-container .has-background-dim-10{opacity:0.1}.gb-block-container .has-background-dim-20{opacity:0.2}.gb-block-container .has-background-dim-30{opacity:0.3}.gb-block-container .has-background-dim-40{opacity:0.4}.gb-block-container .has-background-dim-50{opacity:0.5}.gb-block-container .has-background-dim-60{opacity:0.6}.gb-block-container .has-background-dim-70{opacity:0.7}.gb-block-container .has-background-dim-80{opacity:0.8}.gb-block-container .has-background-dim-90{opacity:0.9}.gb-block-container .has-background-dim-100{opacity:1}
12
  .wp-block-genesis-blocks-gb-pricing{margin-bottom:1.5em}.gb-pricing-table-wrap{display:-ms-grid;display:grid;grid-template-rows:1fr;grid-template-areas:"col1";grid-gap:0 2em}[data-type="genesis-blocks/gb-pricing-table"],.wp-block-genesis-blocks-gb-pricing-table{display:inline-block;vertical-align:top}@media only screen and (max-width: 600px){[data-type="genesis-blocks/gb-pricing-table"],.wp-block-genesis-blocks-gb-pricing-table{margin-bottom:1.5em}}.gb-block-pricing-table-inside{display:inline-block;width:100%;border-color:#272c30}.gb-block-pricing-table-gap-0{grid-gap:0 0}.gb-block-pricing-table-gap-1{grid-gap:0 1em}.gb-block-pricing-table-gap-2{grid-gap:0 2em}.gb-block-pricing-table-gap-3{grid-gap:0 3em}.gb-block-pricing-table-gap-4{grid-gap:0 4em}.gb-block-pricing-table-gap-5{grid-gap:0 5em}.gb-pricing-columns-2 .gb-pricing-table-wrap{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-areas:"col1 col2"}@media only screen and (max-width: 600px){.gb-pricing-columns-2 .gb-pricing-table-wrap{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"col1" "col2"}}.gb-pricing-columns-3 .gb-pricing-table-wrap{-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr;grid-template-areas:"col1 col2 col3"}@media only screen and (max-width: 600px){.gb-pricing-columns-3 .gb-pricing-table-wrap{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"col1" "col2" "col3"}}.gb-pricing-columns-4 .gb-pricing-table-wrap{-ms-grid-columns:1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr;grid-template-areas:"col1 col2 col3 col4"}@media only screen and (max-width: 800px){.gb-pricing-columns-4 .gb-pricing-table-wrap{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-areas:"col1 col2" "col3 col4"}.gb-pricing-columns-4 .gb-pricing-table-wrap .wp-block-genesis-blocks-gb-pricing-table{margin-bottom:1.5em}}@media only screen and (max-width: 600px){.gb-pricing-columns-4 .gb-pricing-table-wrap{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"col1" "col2" "col3" "col4"}}.gb-pricing-table-price{line-height:1}.gb-pricing-table-currency{vertical-align:top;margin-top:0.4em;margin-right:3px;display:inline-block;line-height:1}.wp-block-genesis-blocks-gb-pricing-table{vertical-align:top}.wp-block-genesis-blocks-gb-pricing-table .gb-pricing-table-features,.block-library-list .wp-block-genesis-blocks-gb-pricing-table ul{margin:0;padding:0;border:none}.gb-block-pricing-table:nth-child(1){-ms-grid-row:1;-ms-grid-column:1;grid-area:col1}.gb-block-pricing-table:nth-child(2){-ms-grid-row:1;-ms-grid-column:2;grid-area:col2}.gb-block-pricing-table:nth-child(3){-ms-grid-row:1;-ms-grid-column:3;grid-area:col3}.gb-block-pricing-table:nth-child(4){-ms-grid-row:1;-ms-grid-column:4;grid-area:col4}.editor-styles-wrapper [data-type="genesis-blocks/gb-pricing-table-features"] ul{list-style-type:none;display:block;white-space:initial;margin-left:0;margin-right:0}.gb-list-border-solid li{border-bottom-style:solid}.gb-list-border-dashed li{border-bottom-style:dashed}.gb-list-border-dotted li{border-bottom-style:dotted}ul.gb-pricing-table-features li{list-style:none;margin:0;padding:4px 0;border-color:inherit}ul.gb-pricing-table-features li:last-child{border-bottom:none}.gb-list-border-width-1 li{border-width:1px}.gb-list-border-width-2 li{border-width:2px}.gb-list-border-width-3 li{border-width:3px}.gb-list-border-width-4 li{border-width:4px}.gb-list-border-width-5 li{border-width:5px}.gb-pricing-table-price,.gb-pricing-table-term{display:inline}span.gb-pricing-table-term{margin-left:5px}.gb-pricing-table-wrap .gb-block-pricing-table-inside>*:last-child{margin-bottom:0}.wp-block-genesis-blocks-gb-pricing .alignwide,.wp-block-genesis-blocks-gb-pricing .alignfull{width:100%;margin-left:auto}.gb-block-pricing-table-center{text-align:center}.gb-block-pricing-table-center .gb-block-button{text-align:center !important}.gb-block-pricing-table-center .blocks-button__inline-link{margin:0 auto;text-align:center}.gb-block-pricing-table-left{text-align:left}.gb-block-pricing-table-right{text-align:right}.gb-pricing-table-button .gb-block-button{margin-bottom:0}
1
  .gb-block-testimonial{background:#f2f2f2;color:#293038;margin:0 auto;padding:5%;border-radius:5px;margin-bottom:1.2em}.gb-block-testimonial .gb-testimonial-info{position:relative;display:inline-block;width:100%;margin-top:15px;min-height:55px;padding-top:5px;line-height:1.4}.gb-block-testimonial .gb-testimonial-info .blocks-editable{padding-left:0}.gb-block-testimonial .gb-testimonial-info .gb-testimonial-avatar-wrap{position:absolute;left:0;top:0}.gb-block-testimonial .gb-testimonial-avatar-wrap+.gb-testimonial-name,.gb-block-testimonial .gb-testimonial-avatar-wrap+.gb-testimonial-name+.gb-testimonial-title,.gb-block-testimonial .gb-testimonial-avatar-wrap+.gb-testimonial-title,.gb-block-testimonial .gb-testimonial-avatar-wrap+.editor-rich-text,.gb-block-testimonial .gb-testimonial-avatar-wrap+.editor-rich-text+.editor-rich-text{margin-left:70px;padding-left:0}.gb-block-testimonial .gb-testimonial-text p{line-height:1.6}.gb-block-testimonial .gb-testimonial-text a{color:inherit;box-shadow:0 -1px 0 inset;text-decoration:none}.gb-block-testimonial .gb-testimonial-text a:hover{color:inherit;box-shadow:0 -2px 0 inset}.gb-block-testimonial .gb-testimonial-name{font-size:1em;font-weight:bold;line-height:1.2;margin:0;padding:0}.gb-block-testimonial .gb-testimonial-title{opacity:0.8}.gb-block-testimonial .gb-testimonial-avatar{border-radius:200px;max-width:100px}.gb-block-testimonial .gb-testimonial-image-wrap{height:55px;width:55px;background:#ddd;border-radius:200px;position:relative}.gb-block-testimonial .gb-testimonial-image-wrap img{object-fit:cover;height:100%;width:100%;position:relative;z-index:10;border-radius:40px}.right-aligned .gb-testimonial-info{text-align:right}.right-aligned .gb-testimonial-info h2{left:0}.right-aligned .gb-testimonial-info .gb-testimonial-name,.right-aligned .gb-testimonial-info .gb-testimonial-title{margin-right:70px;margin-left:0}.right-aligned .gb-testimonial-info .gb-testimonial-avatar-wrap{left:auto;right:0}
2
+ .gb-block-profile{background:#f2f2f2;color:#293038;margin:0 auto;padding:3%;border-radius:5px;margin-bottom:1.2em;display:flex;flex-flow:row wrap;justify-content:space-around;width:100%}.gb-block-profile .gb-profile-column{display:block;padding:15px;flex:3 0 0}@media only screen and (max-width: 600px){.gb-block-profile .gb-profile-column{flex:auto}}.gb-block-profile .gb-profile-avatar-wrap{position:relative;z-index:0;flex:1 0 0}@media only screen and (max-width: 600px){.gb-block-profile .gb-profile-avatar-wrap{flex:auto;max-width:210px;margin:0 auto}}@media only screen and (max-width: 600px){.gb-block-profile .gb-profile-content-wrap{text-align:center}}.gb-block-profile .gb-profile-text{font-size:18px;padding-top:1em}.gb-block-profile .gb-profile-text a{color:inherit;box-shadow:0 -1px 0 inset;text-decoration:none}.gb-block-profile .gb-profile-text a:hover{color:inherit;box-shadow:0 -2px 0 inset}.gb-block-profile .gb-profile-text p{line-height:1.6}.gb-block-profile .gb-profile-text p:last-child{margin-bottom:0}.gb-block-profile .gb-profile-name{font-size:1.4em;font-weight:bold;line-height:1.2;margin:0}.gb-block-profile .gb-profile-title{opacity:0.8;padding-top:5px;margin-bottom:0}.gb-block-profile .gb-profile-image-square{position:absolute;top:0;left:0;height:100%;width:100%;z-index:5;margin:0}.gb-block-profile .gb-profile-text:empty,.gb-block-profile .gb-profile-title:empty,.gb-block-profile .gb-profile-name:empty{display:none}.gb-block-profile .gb-profile-image-wrap{width:100%;background:#ddd;position:relative}.gb-block-profile .gb-profile-image-wrap::before{content:"";display:inline-block;padding-top:100%}.gb-block-profile .gb-profile-image-wrap button{position:absolute;left:0;z-index:50;padding:0;height:100%;width:100%}.gb-block-profile .gb-profile-image-wrap button:focus{background:none;border:none;outline:none;box-shadow:none}.gb-block-profile .gb-profile-image-wrap img{object-fit:cover;height:100%;width:100%;position:relative;z-index:5}.gb-block-profile .gb-social-links{list-style:none;margin:0 0 0 0;padding:5% 0 0 0}.gb-block-profile .gb-social-links:empty{display:none}.gb-block-profile .gb-social-links li{display:inline-block;margin:0 8px 0 0;padding:0}.gb-block-profile .gb-social-links li a{display:grid;border:none;width:38px;height:38px;padding:10px;border-radius:100px}.gb-block-profile .gb-social-links li a:hover{opacity:0.9}.right .gb-profile-avatar-wrap{order:2}.round .gb-profile-image-wrap{border-radius:500px}.round .gb-profile-image-wrap::before{content:"";display:inline-block;padding-top:92%}.round .gb-profile-image-wrap img{border-radius:500px}
3
  .gb-block-notice{border-radius:5px;position:relative;margin-bottom:1.2em}.gb-block-notice .gb-notice-dismiss{position:absolute;top:13px;right:13px;opacity:0.8;padding:0;background:none;transition:0.3s ease}.gb-block-notice .gb-notice-dismiss:hover{opacity:1;cursor:pointer;box-shadow:none}.gb-block-notice .gb-notice-title{font-weight:bold;padding:0.5em 1em;margin:0;color:#fff;border-top-right-radius:5px;border-top-left-radius:5px;width:100%;display:inline-block}.gb-block-notice .gb-notice-title p{margin-bottom:0}.gb-block-notice .gb-notice-title:empty{display:none}.gb-block-notice .gb-notice-text{padding:1em;border:solid 2px #333;border-radius:5px;background:#fff}.gb-block-notice .gb-notice-text p:last-child{margin-bottom:0}.gb-block-notice .gb-notice-title:not(:empty)+.notice-text,.gb-block-notice .blocks-rich-text+.blocks-rich-text .gb-notice-text{border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:5px;border-bottom-left-radius:5px}body:not(.wp-admin) .gb-block-notice.gb-dismissable{display:none}
4
  .entry-content .gb-block-drop-cap .gb-drop-cap-text p::first-letter{float:left;font-size:75px;line-height:0.7em;margin-top:0.15em;margin-right:25px;margin-bottom:25px;font-weight:bold;text-transform:uppercase}.entry-content .gb-block-drop-cap.gb-drop-cap-square .gb-drop-cap-text p::first-letter{background:#32373c;color:#fff;padding:0.2em}.entry-content .gb-block-drop-cap.gb-drop-cap-border .gb-drop-cap-text p::first-letter{color:#32373c;padding:0.2em;border:solid 4px}@media only screen and (min-width: 600px){.entry-content .gb-block-drop-cap.gb-font-size-1 .gb-drop-cap-text::first-letter{font-size:75px}.entry-content .gb-block-drop-cap.gb-font-size-2 .gb-drop-cap-text::first-letter{font-size:85px}.entry-content .gb-block-drop-cap.gb-font-size-3 .gb-drop-cap-text::first-letter{font-size:95px}.entry-content .gb-block-drop-cap.gb-font-size-4 .gb-drop-cap-text::first-letter{font-size:105px}.entry-content .gb-block-drop-cap.gb-font-size-5 .gb-drop-cap-text::first-letter{font-size:115px}.entry-content .gb-block-drop-cap.gb-font-size-6 .gb-drop-cap-text p::first-letter{font-size:125px}}.gb-block-drop-cap::before,.gb-block-drop-cap::after{content:"";display:table}.gb-block-drop-cap::after{clear:both}.gb-block-drop-cap a{color:inherit;box-shadow:0 -1px 0 inset;text-decoration:none}.gb-block-drop-cap a:hover{color:inherit;box-shadow:0 -2px 0 inset}
5
  .gb-block-button{margin:0 0 1.2em 0;position:relative}.gb-block-button .blocks-rich-text{display:inline-flex}.gb-block-button .components-autocomplete{display:inline-block;width:auto;margin:0 auto;position:relative}.gb-button{text-align:center;font-size:18px;line-height:1 !important;background-color:#32373c;border:none;border-radius:50px;box-shadow:none;color:#fff;cursor:pointer;padding:0.6em 1em;text-decoration:none;word-break:break-word;transition:0.3s ease;display:inline-block}.gb-button:hover{box-shadow:inset 0 0 200px rgba(255,255,255,0.15)}.gb-button-shape-square,input[type="submit"].gb-button-shape-square{border-radius:0}.gb-button-shape-rounded,input[type="submit"].gb-button-shape-rounded{border-radius:5px}.gb-button-shape-circular,input[type="submit"].gb-button-shape-circular{border-radius:100px}.gb-button-size-small,input[type="submit"].gb-button-size-small{font-size:14px}.gb-button-size-medium,input[type="submit"].gb-button-size-medium{font-size:20px}.gb-button-size-large,input[type="submit"].gb-button-size-large{font-size:26px;padding:0.8em 1.2em}.gb-button-size-extralarge,input[type="submit"].gb-button-size-extralarge{font-size:34px;padding:0.8em 1.2em}.gb-button-right{transform:translateX(-100%);left:100%;position:relative}.gb-button-center{margin:0 auto}
6
  .gb-block-spacer{margin:0 0 1.2em 0;position:relative}.gb-block-spacer hr{border:none;margin:0;background:none}.gb-block-spacer.gb-spacer-divider::after{content:" ";width:100%;height:1px;border-top:solid 1px;position:absolute;top:50%;left:0}.gb-block-spacer.gb-divider-solid.gb-spacer-divider::after{border-top-style:solid}.gb-block-spacer.gb-divider-dotted.gb-spacer-divider::after{border-top-style:dotted}.gb-block-spacer.gb-divider-dashed.gb-spacer-divider::after{border-top-style:dashed}.gb-block-spacer.gb-divider-size-1.gb-spacer-divider::after{border-top-width:1px}.gb-block-spacer.gb-divider-size-2.gb-spacer-divider::after{border-top-width:2px}.gb-block-spacer.gb-divider-size-3.gb-spacer-divider::after{border-top-width:3px}.gb-block-spacer.gb-divider-size-4.gb-spacer-divider::after{border-top-width:4px}.gb-block-spacer.gb-divider-size-5.gb-spacer-divider::after{border-top-width:5px}.entry-content .gb-block-spacer hr{border:none;margin:0;background:none}.entry-content .gb-block-spacer hr::before,.entry-content .gb-block-spacer hr::after{display:none}
7
  .gb-block-accordion{margin-bottom:1.2em}.gb-block-accordion .gb-accordion-title{background:#f2f2f2;padding:10px 15px}.gb-block-accordion .gb-accordion-title p{display:inline}.gb-block-accordion .gb-accordion-text{padding:10px 15px}.gb-block-accordion .editor-rich-text .editor-rich-text__inline-toolbar{display:block;left:40%}.gb-block-accordion+.gb-block-accordion{margin-top:-0.6em}@media only screen and (min-width: 600px){.gb-font-size-14 .gb-accordion-title{font-size:14px}.gb-font-size-15 .gb-accordion-title{font-size:15px}.gb-font-size-16 .gb-accordion-title{font-size:16px}.gb-font-size-17 .gb-accordion-title{font-size:17px}.gb-font-size-18 .gb-accordion-title{font-size:18px}.gb-font-size-19 .gb-accordion-title{font-size:19px}.gb-font-size-20 .gb-accordion-title{font-size:20px}.gb-font-size-21 .gb-accordion-title{font-size:21px}.gb-font-size-22 .gb-accordion-title{font-size:22px}.gb-font-size-23 .gb-accordion-title{font-size:23px}.gb-font-size-24 .gb-accordion-title{font-size:24px}}
8
  .gb-block-cta{margin:0 0 1.2em 0;position:relative;background:#f2f2f2;color:#293038;padding:5% 3%;border-radius:5px}.gb-block-cta .components-autocomplete{display:inline-block;width:auto;margin:0 auto;position:relative}.gb-block-cta *{z-index:10;position:relative}.gb-block-cta.alignfull{border-radius:0;padding:8% 3%}@media only screen and (max-width: 768px){.gb-block-cta{padding:8% 6%}}@media only screen and (min-width: 768px){.gb-block-cta.alignfull .gb-cta-content,.gb-block-cta.alignfull .gb-cta-button{max-width:60%;margin:0 auto}}@media only screen and (min-width: 768px){.gb-block-cta.alignwide .gb-cta-content,.gb-block-cta.alignwide .gb-cta-button{max-width:80%;margin:0 auto}}.gb-block-cta .gb-cta-image-wrap{position:absolute;top:0;right:0;left:0;height:100%;z-index:1}.gb-block-cta .gb-cta-image{object-fit:cover;height:100%;width:100%;transition:0.3s ease}.gb-block-cta .gb-cta-title{display:inline-block;width:100%;margin-bottom:0.3em;line-height:1.2}.gb-block-cta .gb-cta-text{line-height:1.4}.gb-block-cta .gb-cta-text p{color:inherit}.gb-block-cta .gb-cta-text a{color:inherit;box-shadow:0 -1px 0 inset;text-decoration:none}.gb-block-cta .gb-cta-text a:hover{color:inherit;box-shadow:0 -2px 0 inset}.gb-block-cta .gb-cta-button .blocks-rich-text{display:inline-flex}.gb-block-cta .gb-button{text-align:center;font-size:18px;line-height:1 !important;background-color:#32373c;border:none;border-radius:50px;box-shadow:none;color:#fff;cursor:pointer;padding:0.6em 1em;text-decoration:none;word-break:break-word;transition:0.3s ease;display:inline-block}.gb-block-cta .gb-button:hover{box-shadow:inset 0 0 200px rgba(255,255,255,0.15)}.gb-block-cta .gb-cta-title:empty,.gb-block-cta .gb-cta-text:empty,.gb-block-cta .gb-cta-button:empty,.gb-block-cta .gb-button:empty{display:none}.gb-block-cta .gb-button-shape-square{border-radius:0}.gb-block-cta .gb-button-shape-rounded{border-radius:5px}.gb-block-cta .gb-button-shape-circular{border-radius:100px}.gb-block-cta .gb-button-size-small{font-size:14px}.gb-block-cta .gb-button-size-medium{font-size:20px}.gb-block-cta .gb-button-size-large{font-size:26px;padding:0.8em 1.2em}.gb-block-cta .gb-button-size-extralarge{font-size:32px;padding:0.8em 1.2em}.gb-block-cta .gb-font-size-24.gb-cta-title{font-size:24px}.gb-block-cta .gb-font-size-26.gb-cta-title{font-size:26px}.gb-block-cta .gb-font-size-28.gb-cta-title{font-size:28px}.gb-block-cta .gb-font-size-30.gb-cta-title{font-size:30px}.gb-block-cta .gb-font-size-32.gb-cta-title{font-size:32px}.gb-block-cta .gb-font-size-34.gb-cta-title{font-size:34px}.gb-block-cta .gb-font-size-36.gb-cta-title{font-size:36px}.gb-block-cta .gb-font-size-38.gb-cta-title{font-size:38px}.gb-block-cta .gb-font-size-40.gb-cta-title{font-size:40px}.gb-block-cta .gb-font-size-42.gb-cta-title{font-size:42px}.gb-block-cta .gb-font-size-44.gb-cta-title{font-size:44px}.gb-block-cta .gb-font-size-46.gb-cta-title{font-size:46px}.gb-block-cta .gb-font-size-48.gb-cta-title{font-size:48px}.gb-block-cta .gb-font-size-50.gb-cta-title{font-size:50px}.gb-block-cta .gb-font-size-52.gb-cta-title{font-size:52px}.gb-block-cta .gb-font-size-54.gb-cta-title{font-size:54px}.gb-block-cta .gb-font-size-56.gb-cta-title{font-size:56px}.gb-block-cta .gb-font-size-58.gb-cta-title{font-size:58px}.gb-block-cta .gb-font-size-60.gb-cta-title{font-size:60px}.gb-block-cta .blocks-button__inline-link{margin-top:15px}.gb-block-cta .gb-cta-image:not(.has-background-dim){opacity:0}.gb-block-cta .has-background-dim{opacity:0.5}.gb-block-cta .has-background-dim-10{opacity:0.1}.gb-block-cta .has-background-dim-20{opacity:0.2}.gb-block-cta .has-background-dim-30{opacity:0.3}.gb-block-cta .has-background-dim-40{opacity:0.4}.gb-block-cta .has-background-dim-50{opacity:0.5}.gb-block-cta .has-background-dim-60{opacity:0.6}.gb-block-cta .has-background-dim-70{opacity:0.7}.gb-block-cta .has-background-dim-80{opacity:0.8}.gb-block-cta .has-background-dim-90{opacity:0.9}.gb-block-cta .has-background-dim-100{opacity:1}.gb-button-right{transform:translateX(-100%);left:100%;position:relative}.gb-button-center{margin:0 auto}.gb-cta-inspector-media.components-button{vertical-align:top;border:1px solid #e2e4e7;background-color:#fff;display:inline-flex;border-radius:3px;margin-bottom:15px}.gb-cta-inspector-media.components-button:hover{box-shadow:none !important;border:solid 1px #555d66}.gb-cta-inspector-media.components-button:first-child{margin-right:8px}.gb-cta-inspector-media.components-button svg{margin-right:5px}
9
+ .gb-block-sharing{margin:0 0 1.2em 0;position:relative}.gb-block-sharing .blocks-rich-text{display:inline-flex}.gb-block-sharing .gb-share-list{margin:0;padding:0}.gb-block-sharing .gb-share-list li{list-style:none;display:inline-block;margin:0 5px 5px 0}.gb-block-sharing .gb-share-list a{background:#272c30;border-width:0;color:#fff;padding:10px 15px;text-align:center;display:block;line-height:1;font-size:16px;transition:0.3s ease}.gb-block-sharing .gb-share-list a:hover{box-shadow:inset 0 0 200px rgba(255,255,255,0.15)}.gb-block-sharing .gb-share-list svg{vertical-align:text-top}.gb-block-sharing.gb-share-icon-text svg{margin-right:5px}.gb-block-sharing.gb-share-icon-only a{padding:10px 11px;min-width:37px}.gb-block-sharing.gb-share-icon-only .gb-social-text{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}.gb-block-sharing.gb-share-text-only svg{display:none}.gb-block-sharing.gb-share-shape-square a{border-radius:0}.gb-block-sharing.gb-share-shape-rounded a{border-radius:5px}.gb-block-sharing.gb-share-shape-circular a{border-radius:100px}.gb-block-sharing.gb-share-size-small a{font-size:13px}.gb-block-sharing.gb-share-size-small svg{width:13px;height:13px}.gb-block-sharing.gb-share-size-small.gb-share-icon-only a{padding:7px 6px;min-width:28px}.gb-block-sharing.gb-share-size-medium a{font-size:16px}.gb-block-sharing.gb-share-size-medium svg{width:16px;height:16px}.gb-block-sharing.gb-share-size-large a{font-size:20px}.gb-block-sharing.gb-share-size-large svg{width:26px;height:26px}.gb-block-sharing.gb-share-size-large.gb-share-icon-only a{font-size:26px;min-width:48px}.gb-block-sharing.gb-share-size-large.gb-share-icon-text svg{margin-right:10px}.gb-block-sharing.gb-share-color-social a{color:#fff}.gb-block-sharing.gb-share-color-social .gb-share-twitter{background:#1ca1f3}.gb-block-sharing.gb-share-color-social .gb-share-facebook{background:#3b5999}.gb-block-sharing.gb-share-color-social .gb-share-google{background:#dc4b45}.gb-block-sharing.gb-share-color-social .gb-share-pinterest{background:#bd091c}.gb-block-sharing.gb-share-color-social .gb-share-linkedin{background:#0077b5}.gb-block-sharing.gb-share-color-social .gb-share-reddit{background:#ff4500}.gb-button-right{transform:translateX(-100%);left:100%;position:relative}.gb-button-center{margin:0 auto}
10
  .gb-block-post-grid{margin:0 0 1.2em 0;position:relative}.gb-block-post-grid .is-grid,.gb-block-post-grid .gb-is-grid{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-rows:1fr;grid-gap:0 2em}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid,.gb-block-post-grid .gb-is-grid{display:block}}.gb-block-post-grid .is-grid article,.gb-block-post-grid .gb-is-grid article{margin-bottom:2.5em;min-width:0}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid article,.gb-block-post-grid .gb-is-grid article{padding-left:10px;padding-right:10px;display:inline-block;vertical-align:top}}.gb-block-post-grid .is-grid.columns-1,.gb-block-post-grid .gb-is-grid.gb-columns-1{-ms-grid-columns:1fr;grid-template-columns:1fr}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid.columns-1 article,.gb-block-post-grid .gb-is-grid.gb-columns-1 article{width:100%}}.gb-block-post-grid .is-grid.columns-2,.gb-block-post-grid .gb-is-grid.gb-columns-2{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid.columns-2 article,.gb-block-post-grid .gb-is-grid.gb-columns-2 article{width:48%}}.gb-block-post-grid .is-grid.columns-3,.gb-block-post-grid .gb-is-grid.gb-columns-3{-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid.columns-3 article,.gb-block-post-grid .gb-is-grid.gb-columns-3 article{width:32%}}.gb-block-post-grid .is-grid.columns-4,.gb-block-post-grid .gb-is-grid.gb-columns-4{-ms-grid-columns:1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-grid.columns-4 article,.gb-block-post-grid .gb-is-grid.gb-columns-4 article{width:24%}}@media only screen and (max-width: 600px){.gb-block-post-grid div[class*="columns"].is-grid,.gb-block-post-grid div[class*="columns"].gb-is-grid{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-block-post-grid .gb-post-grid-section-title{text-align:left}.gb-block-post-grid .gb-block-post-grid-image{margin-bottom:1.2em}.gb-block-post-grid .gb-block-post-grid-image img{display:block;width:100%}.gb-block-post-grid .gb-block-post-grid-text{text-align:left}.gb-block-post-grid a{text-decoration:none}.gb-block-post-grid header .gb-block-post-grid-title{margin-top:0;margin-bottom:15px;font-size:28px;line-height:1.2}.gb-block-post-grid header .gb-block-post-grid-title a{color:#293038;text-decoration:none}.gb-block-post-grid header .gb-block-post-grid-title a:hover{text-decoration:underline;color:inherit}.gb-block-post-grid .gb-block-post-grid-byline{font-size:14px;color:#626e81;margin-bottom:15px}.gb-block-post-grid .gb-block-post-grid-author,.gb-block-post-grid .gb-block-post-grid-date{display:inline-block}.gb-block-post-grid .gb-block-post-grid-author:not(:last-child)::after,.gb-block-post-grid .gb-block-post-grid-date:not(:last-child)::after{content:"\B7";vertical-align:middle;margin:0 5px;line-height:1}.gb-block-post-grid .gb-block-post-grid-author a{color:inherit;text-decoration:none}.gb-block-post-grid .gb-block-post-grid-author a:hover{color:inherit;text-decoration:underline}.gb-block-post-grid .gb-block-post-grid-text p{margin:0 0 15px 0;font-size:inherit}.gb-block-post-grid .gb-block-post-grid-text p:last-of-type{margin-bottom:0}.gb-block-post-grid .gb-block-post-grid-more-link{display:inline-block;box-shadow:none;transition:0.3s ease;font-weight:bold;color:#293038;text-decoration:none}.gb-block-post-grid .gb-block-post-grid-more-link:hover{text-decoration:underline}.gb-block-post-grid .gb-block-post-grid-excerpt div+p{margin-top:15px}.gb-block-post-grid .is-list article,.gb-block-post-grid .gb-is-list article{display:-ms-grid;display:grid;-ms-grid-columns:30% 1fr;grid-template-columns:30% 1fr;grid-template-rows:1fr;grid-gap:0 2em}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-list article,.gb-block-post-grid .gb-is-list article{display:block}}.gb-block-post-grid .is-list article::before,.gb-block-post-grid .gb-is-list article::before{display:none}.gb-block-post-grid .is-list article:not(:last-child),.gb-block-post-grid .gb-is-list article:not(:last-child){margin-bottom:5%;padding-bottom:5%}@media only screen and (min-width: 600px){.gb-block-post-grid .is-list article:not(:last-child),.gb-block-post-grid .gb-is-list article:not(:last-child){border-bottom:solid 1px #eee}}@media only screen and (max-width: 600px){.gb-block-post-grid .is-list article,.gb-block-post-grid .gb-is-list article{-ms-grid-columns:1fr;grid-template-columns:1fr}}.gb-block-post-grid .is-list article:not(.has-post-thumbnail),.gb-block-post-grid .is-list article.hide-featured-image,.gb-block-post-grid .gb-is-list article:not(.has-post-thumbnail),.gb-block-post-grid .gb-is-list article.hide-featured-image{-ms-grid-columns:1fr;grid-template-columns:1fr}.gb-block-post-grid .is-list .gb-block-post-grid-image,.gb-block-post-grid .gb-is-list .gb-block-post-grid-image{margin-bottom:0}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-list .gb-block-post-grid-image,.gb-block-post-grid .gb-is-list .gb-block-post-grid-image{width:30%;display:inline-block;vertical-align:top}}@media only screen and (max-width: 600px){.gb-block-post-grid .is-list .gb-block-post-grid-image,.gb-block-post-grid .gb-is-list .gb-block-post-grid-image{margin-bottom:5%}}@media all and (-ms-high-contrast: none){.gb-block-post-grid .is-list .gb-block-post-grid-text,.gb-block-post-grid .gb-is-list .gb-block-post-grid-text{width:65%;padding-left:5%;display:inline-block;vertical-align:top}.gb-block-post-grid .is-list .post:not(.has-post-thumbnail) .gb-block-post-grid-text,.gb-block-post-grid .gb-is-list .post:not(.has-post-thumbnail) .gb-block-post-grid-text{width:100%;padding-left:0}}@media only screen and (min-width: 600px){.gb-block-post-grid .is-list .gb-block-post-grid-title,.gb-block-post-grid .gb-is-list .gb-block-post-grid-title{font-size:34px}}.gb-block-post-grid .is-list .no-thumb .gb-block-post-grid-text,.gb-block-post-grid .gb-is-list .no-thumb .gb-block-post-grid-text{grid-column:span 2}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px;word-wrap:normal !important}
11
  .gb-block-container{margin:0;position:relative;padding:0}.gb-block-container.alignfull .block-editor-block-list__block{max-width:100%}@media only screen and (min-width: 768px){.gb-block-container.alignfull .gb-container-inside,.gb-block-container.alignfull .gb-container-inside{max-width:100%;margin:0 auto}}@media only screen and (min-width: 768px){.gb-block-container.alignwide .gb-container-inside,.gb-block-container.alignwide .gb-container-inside{max-width:80%;margin:0 auto}}.gb-block-container .gb-container-image-wrap{position:absolute;top:0;right:0;left:0;height:100%;z-index:0}.gb-block-container .gb-container-image{object-fit:cover;height:100%;width:100%;transition:0.3s ease}.gb-block-container .gb-container-content{margin:0 auto;position:relative}.gb-block-container .gb-container-image:not(.has-background-dim){opacity:0}.gb-block-container .has-background-dim{opacity:0.5}.gb-block-container .has-background-dim-10{opacity:0.1}.gb-block-container .has-background-dim-20{opacity:0.2}.gb-block-container .has-background-dim-30{opacity:0.3}.gb-block-container .has-background-dim-40{opacity:0.4}.gb-block-container .has-background-dim-50{opacity:0.5}.gb-block-container .has-background-dim-60{opacity:0.6}.gb-block-container .has-background-dim-70{opacity:0.7}.gb-block-container .has-background-dim-80{opacity:0.8}.gb-block-container .has-background-dim-90{opacity:0.9}.gb-block-container .has-background-dim-100{opacity:1}
12
  .wp-block-genesis-blocks-gb-pricing{margin-bottom:1.5em}.gb-pricing-table-wrap{display:-ms-grid;display:grid;grid-template-rows:1fr;grid-template-areas:"col1";grid-gap:0 2em}[data-type="genesis-blocks/gb-pricing-table"],.wp-block-genesis-blocks-gb-pricing-table{display:inline-block;vertical-align:top}@media only screen and (max-width: 600px){[data-type="genesis-blocks/gb-pricing-table"],.wp-block-genesis-blocks-gb-pricing-table{margin-bottom:1.5em}}.gb-block-pricing-table-inside{display:inline-block;width:100%;border-color:#272c30}.gb-block-pricing-table-gap-0{grid-gap:0 0}.gb-block-pricing-table-gap-1{grid-gap:0 1em}.gb-block-pricing-table-gap-2{grid-gap:0 2em}.gb-block-pricing-table-gap-3{grid-gap:0 3em}.gb-block-pricing-table-gap-4{grid-gap:0 4em}.gb-block-pricing-table-gap-5{grid-gap:0 5em}.gb-pricing-columns-2 .gb-pricing-table-wrap{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-areas:"col1 col2"}@media only screen and (max-width: 600px){.gb-pricing-columns-2 .gb-pricing-table-wrap{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"col1" "col2"}}.gb-pricing-columns-3 .gb-pricing-table-wrap{-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr;grid-template-areas:"col1 col2 col3"}@media only screen and (max-width: 600px){.gb-pricing-columns-3 .gb-pricing-table-wrap{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"col1" "col2" "col3"}}.gb-pricing-columns-4 .gb-pricing-table-wrap{-ms-grid-columns:1fr 1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr 1fr;grid-template-areas:"col1 col2 col3 col4"}@media only screen and (max-width: 800px){.gb-pricing-columns-4 .gb-pricing-table-wrap{-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-template-areas:"col1 col2" "col3 col4"}.gb-pricing-columns-4 .gb-pricing-table-wrap .wp-block-genesis-blocks-gb-pricing-table{margin-bottom:1.5em}}@media only screen and (max-width: 600px){.gb-pricing-columns-4 .gb-pricing-table-wrap{-ms-grid-columns:1fr;grid-template-columns:1fr;grid-template-areas:"col1" "col2" "col3" "col4"}}.gb-pricing-table-price{line-height:1}.gb-pricing-table-currency{vertical-align:top;margin-top:0.4em;margin-right:3px;display:inline-block;line-height:1}.wp-block-genesis-blocks-gb-pricing-table{vertical-align:top}.wp-block-genesis-blocks-gb-pricing-table .gb-pricing-table-features,.block-library-list .wp-block-genesis-blocks-gb-pricing-table ul{margin:0;padding:0;border:none}.gb-block-pricing-table:nth-child(1){-ms-grid-row:1;-ms-grid-column:1;grid-area:col1}.gb-block-pricing-table:nth-child(2){-ms-grid-row:1;-ms-grid-column:2;grid-area:col2}.gb-block-pricing-table:nth-child(3){-ms-grid-row:1;-ms-grid-column:3;grid-area:col3}.gb-block-pricing-table:nth-child(4){-ms-grid-row:1;-ms-grid-column:4;grid-area:col4}.editor-styles-wrapper [data-type="genesis-blocks/gb-pricing-table-features"] ul{list-style-type:none;display:block;white-space:initial;margin-left:0;margin-right:0}.gb-list-border-solid li{border-bottom-style:solid}.gb-list-border-dashed li{border-bottom-style:dashed}.gb-list-border-dotted li{border-bottom-style:dotted}ul.gb-pricing-table-features li{list-style:none;margin:0;padding:4px 0;border-color:inherit}ul.gb-pricing-table-features li:last-child{border-bottom:none}.gb-list-border-width-1 li{border-width:1px}.gb-list-border-width-2 li{border-width:2px}.gb-list-border-width-3 li{border-width:3px}.gb-list-border-width-4 li{border-width:4px}.gb-list-border-width-5 li{border-width:5px}.gb-pricing-table-price,.gb-pricing-table-term{display:inline}span.gb-pricing-table-term{margin-left:5px}.gb-pricing-table-wrap .gb-block-pricing-table-inside>*:last-child{margin-bottom:0}.wp-block-genesis-blocks-gb-pricing .alignwide,.wp-block-genesis-blocks-gb-pricing .alignfull{width:100%;margin-left:auto}.gb-block-pricing-table-center{text-align:center}.gb-block-pricing-table-center .gb-block-button{text-align:center !important}.gb-block-pricing-table-center .blocks-button__inline-link{margin:0 auto;text-align:center}.gb-block-pricing-table-left{text-align:left}.gb-block-pricing-table-right{text-align:right}.gb-pricing-table-button .gb-block-button{margin-bottom:0}
genesis-blocks.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: A beautiful collection of handy blocks to help you get started with the new WordPress editor.
6
  * Author: StudioPress
7
  * Author URI: https://www.studiopress.com/
8
- * Version: 1.2.4
9
  * License: GPL2+
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11
  *
5
  * Description: A beautiful collection of handy blocks to help you get started with the new WordPress editor.
6
  * Author: StudioPress
7
  * Author URI: https://www.studiopress.com/
8
+ * Version: 1.2.5
9
  * License: GPL2+
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11
  *
includes/icons/class-genesisblocks-svg-icons.php CHANGED
@@ -18,18 +18,22 @@ if ( ! class_exists( 'GenesisBlocks_SVG_Icons' ) ) {
18
  * @param string $icon Icon name.
19
  * @param string $group Icon group.
20
  * @param string $color Color.
 
 
21
  */
22
- public static function get_svg( $icon, $group = 'ui', $color = '#1A1A1B' ) {
23
 
24
  $arr = self::$ui_icons;
25
 
26
  if ( array_key_exists( $icon, $arr ) ) {
27
- $repl = '<svg class="svg-icon" aria-hidden="true" role="img" focusable="false" ';
28
  $svg = preg_replace( '/^<svg /', $repl, trim( $arr[ $icon ] ) ); // Add extra attributes to SVG code.
29
  $svg = str_replace( '#1A1A1B', $color, $svg ); // Replace the color.
30
  $svg = str_replace( '#', '%23', $svg ); // Urlencode hashes.
31
  $svg = preg_replace( "/([\n\t]+)/", ' ', $svg ); // Remove newlines & tabs.
32
  $svg = preg_replace( '/>\s*</', '><', $svg ); // Remove white space between SVG tags.
 
 
33
  return $svg;
34
  }
35
  return null;
@@ -48,6 +52,19 @@ if ( ! class_exists( 'GenesisBlocks_SVG_Icons' ) ) {
48
  'question-circle' => '<svg fill="currentColor" width="35px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"/></svg>',
49
  'bullhorn' => '<svg fill="currentColor" width="35px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M544 184.88V32.01C544 23.26 537.02 0 512.01 0H512c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64l-.48 32c0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h106.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13c19.05-11.09 32-31.49 32-55.12.01-23.64-12.94-44.04-31.99-55.13zM127.73 464c-10.76-25.45-16.21-52.31-16.21-80 0-14.22 1.72-25.34 2.6-32h64.91c-2.09 10.7-3.52 21.41-3.52 32 0 28.22 6.58 55.4 19.21 80h-66.99zM240 304H64c-8.82 0-16-7.18-16-16v-96c0-8.82 7.18-16 16-16h176v128zm256 110.7l-59.04-47.24c-42.8-34.22-94.79-55.37-148.96-61.45V173.99c54.17-6.08 106.16-27.23 148.97-61.46L496 65.3v349.4z"/></svg>',
50
  'layer-group' => '<svg fill="currentColor" width="35px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M512 256.01c0-12.86-7.53-24.42-19.12-29.44l-79.69-34.58 79.66-34.57c11.62-5.03 19.16-16.59 19.16-29.44s-7.53-24.41-19.12-29.42L274.66 3.89c-11.84-5.17-25.44-5.19-37.28-.02L19.16 98.55C7.53 103.58 0 115.14 0 127.99s7.53 24.41 19.12 29.42l79.7 34.58-79.67 34.57C7.53 231.58 0 243.15 0 256.01c0 12.84 7.53 24.41 19.12 29.42L98.81 320l-79.65 34.56C7.53 359.59 0 371.15 0 384.01c0 12.84 7.53 24.41 19.12 29.42l218.28 94.69a46.488 46.488 0 0 0 18.59 3.88c6.34-.02 12.69-1.3 18.59-3.86l218.25-94.69c11.62-5.03 19.16-16.59 19.16-29.44 0-12.86-7.53-24.42-19.12-29.44L413.19 320l79.65-34.56c11.63-5.03 19.16-16.59 19.16-29.43zM255.47 47.89l.03.02h-.06l.03-.02zm.53.23l184.16 79.89-183.63 80.09-184.62-80.11L256 48.12zm184.19 335.92l-183.66 80.07L71.91 384l87.21-37.84 78.29 33.96A46.488 46.488 0 0 0 256 384c6.34-.02 12.69-1.3 18.59-3.86l78.29-33.97 87.31 37.87zM256.53 336.1L71.91 255.99l87.22-37.84 78.28 33.96a46.488 46.488 0 0 0 18.59 3.88c6.34-.02 12.69-1.3 18.59-3.86l78.29-33.97 87.31 37.88-183.66 80.06z"/></svg>',
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  );
52
 
53
  }
18
  * @param string $icon Icon name.
19
  * @param string $group Icon group.
20
  * @param string $color Color.
21
+ * @param string $uuid The unique id to use for accessibility labelleing with aria-labelledby.
22
+ * @param string $title The title content to use for accessibility labelleing with aria-labelledby.
23
  */
24
+ public static function get_svg( $icon, $group = 'ui', $color = '#1A1A1B', $uuid = '', $title = '' ) {
25
 
26
  $arr = self::$ui_icons;
27
 
28
  if ( array_key_exists( $icon, $arr ) ) {
29
+ $repl = '<svg class="svg-icon" role="img" focusable="false" ';
30
  $svg = preg_replace( '/^<svg /', $repl, trim( $arr[ $icon ] ) ); // Add extra attributes to SVG code.
31
  $svg = str_replace( '#1A1A1B', $color, $svg ); // Replace the color.
32
  $svg = str_replace( '#', '%23', $svg ); // Urlencode hashes.
33
  $svg = preg_replace( "/([\n\t]+)/", ' ', $svg ); // Remove newlines & tabs.
34
  $svg = preg_replace( '/>\s*</', '><', $svg ); // Remove white space between SVG tags.
35
+ $svg = str_replace( 'uuid', $uuid, $svg ); // replace uuid with the uuid provided.
36
+ $svg = str_replace( 'title_content', $title, $svg );
37
  return $svg;
38
  }
39
  return null;
52
  'question-circle' => '<svg fill="currentColor" width="35px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"/></svg>',
53
  'bullhorn' => '<svg fill="currentColor" width="35px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M544 184.88V32.01C544 23.26 537.02 0 512.01 0H512c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64l-.48 32c0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h106.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13c19.05-11.09 32-31.49 32-55.12.01-23.64-12.94-44.04-31.99-55.13zM127.73 464c-10.76-25.45-16.21-52.31-16.21-80 0-14.22 1.72-25.34 2.6-32h64.91c-2.09 10.7-3.52 21.41-3.52 32 0 28.22 6.58 55.4 19.21 80h-66.99zM240 304H64c-8.82 0-16-7.18-16-16v-96c0-8.82 7.18-16 16-16h176v128zm256 110.7l-59.04-47.24c-42.8-34.22-94.79-55.37-148.96-61.45V173.99c54.17-6.08 106.16-27.23 148.97-61.46L496 65.3v349.4z"/></svg>',
54
  'layer-group' => '<svg fill="currentColor" width="35px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M512 256.01c0-12.86-7.53-24.42-19.12-29.44l-79.69-34.58 79.66-34.57c11.62-5.03 19.16-16.59 19.16-29.44s-7.53-24.41-19.12-29.42L274.66 3.89c-11.84-5.17-25.44-5.19-37.28-.02L19.16 98.55C7.53 103.58 0 115.14 0 127.99s7.53 24.41 19.12 29.42l79.7 34.58-79.67 34.57C7.53 231.58 0 243.15 0 256.01c0 12.84 7.53 24.41 19.12 29.42L98.81 320l-79.65 34.56C7.53 359.59 0 371.15 0 384.01c0 12.84 7.53 24.41 19.12 29.42l218.28 94.69a46.488 46.488 0 0 0 18.59 3.88c6.34-.02 12.69-1.3 18.59-3.86l218.25-94.69c11.62-5.03 19.16-16.59 19.16-29.44 0-12.86-7.53-24.42-19.12-29.44L413.19 320l79.65-34.56c11.63-5.03 19.16-16.59 19.16-29.43zM255.47 47.89l.03.02h-.06l.03-.02zm.53.23l184.16 79.89-183.63 80.09-184.62-80.11L256 48.12zm184.19 335.92l-183.66 80.07L71.91 384l87.21-37.84 78.29 33.96A46.488 46.488 0 0 0 256 384c6.34-.02 12.69-1.3 18.59-3.86l78.29-33.97 87.31 37.87zM256.53 336.1L71.91 255.99l87.22-37.84 78.28 33.96a46.488 46.488 0 0 0 18.59 3.88c6.34-.02 12.69-1.3 18.59-3.86l78.29-33.97 87.31 37.88-183.66 80.06z"/></svg>',
55
+ // Social Icons.
56
+ 'website' => '<svg aria-labelledby="gb-link-website-uuid" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><title id="gb-link-website-uuid">title_content</title><path fill="#fff" d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"></path></svg>',
57
+ 'twitter' => '<svg aria-labelledby="gb-link-twitter-uuid" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title id="gb-link-twitter-uuid">title_content</title><path fill="#fff" d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"></path></svg>',
58
+ 'facebook' => '<svg aria-labelledby="gb-link-facebook-uuid" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title id="gb-link-facebook-uuid">title_content</title><path fill="#fff" d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"></path></svg>',
59
+ 'instagram' => '<svg aria-labelledby="gb-link-instagram-uuid" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="gb-link-instagram-uuid">title_content</title><path fill="#fff" d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"></path></svg>',
60
+ 'pinterest' => '<svg aria-labelledby="gb-link-pinterest-uuid" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="gb-link-pinterest-uuid">title_content</title><path fill="#fff" d="M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"></path></svg>',
61
+ 'google' => '<svg aria-labelledby="gb-link-google-uuid" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="gb-link-google-uuid">title_content</title><path fill="#fff" d="M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"></path></svg>',
62
+ 'youtube' => '<svg aria-labelledby="gb-link-youtube-uuid" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title id="gb-link-youtube-uuid">title_content</title><path fill="#fff" d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"></path></svg>',
63
+ 'github' => '<svg aria-labelledby="gb-link-github-uuid" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="gb-link-github-uuid">title_content</title><path fill="#fff" d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg>',
64
+ 'linkedin' => '<svg aria-labelledby="gb-link-linkedin-uuid" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="gb-link-linkedin-uuid">title_content</title><path fill="#fff" d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"></path></svg>',
65
+ 'wordpress' => '<svg aria-labelledby="gb-link-wordpress-uuid" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="gb-link-wordpress-uuid">title_content</title><path fill="#fff" d="M21.469 6.825c.84 1.537 1.318 3.3 1.318 5.175 0 3.979-2.156 7.456-5.363 9.325l3.295-9.527c.615-1.54.82-2.771.82-3.864 0-.405-.026-.78-.07-1.11m-7.981.105c.647-.03 1.232-.105 1.232-.105.582-.075.514-.93-.067-.899 0 0-1.755.135-2.88.135-1.064 0-2.85-.15-2.85-.15-.585-.03-.661.855-.075.885 0 0 .54.061 1.125.09l1.68 4.605-2.37 7.08L5.354 6.9c.649-.03 1.234-.1 1.234-.1.585-.075.516-.93-.065-.896 0 0-1.746.138-2.874.138-.2 0-.438-.008-.69-.015C4.911 3.15 8.235 1.215 12 1.215c2.809 0 5.365 1.072 7.286 2.833-.046-.003-.091-.009-.141-.009-1.06 0-1.812.923-1.812 1.914 0 .89.513 1.643 1.06 2.531.411.72.89 1.643.89 2.977 0 .915-.354 1.994-.821 3.479l-1.075 3.585-3.9-11.61.001.014zM12 22.784c-1.059 0-2.081-.153-3.048-.437l3.237-9.406 3.315 9.087c.024.053.05.101.078.149-1.12.393-2.325.609-3.582.609M1.211 12c0-1.564.336-3.05.935-4.39L7.29 21.709C3.694 19.96 1.212 16.271 1.211 12M12 0C5.385 0 0 5.385 0 12s5.385 12 12 12 12-5.385 12-12S18.615 0 12 0"></path></svg>',
66
+ 'email' => '<svg aria-labelledby="gb-link-email-uuid" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><title id="gb-link-email-uuid">title_content</title><path fill="#fff" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg>',
67
+ 'reddit' => '<svg aria-labelledby="gb-link-reddit-uuid" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title id="gb-link-reddit-uuid">title_content</title><path fill="#fff" d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z"/></svg>',
68
  );
69
 
70
  }
includes/icons/svg-icons.php CHANGED
@@ -27,36 +27,46 @@ if ( ! function_exists( 'genesis_blocks_get_svg' ) ) {
27
  * @param string $svg_name The name of the icon.
28
  * @param string $group The group the icon belongs to.
29
  * @param string $color Color code.
 
 
30
  */
31
- function genesis_blocks_get_svg( $svg_name, $group = 'ui', $color = '' ) {
32
 
33
  // Make sure that only our allowed tags and attributes are included.
34
- $svg = wp_kses(
35
- GenesisBlocks_SVG_Icons::get_svg( $svg_name, $group, $color ),
36
- array(
37
- 'svg' => array(
38
- 'class' => true,
39
- 'xmlns' => true,
40
- 'width' => true,
41
- 'height' => true,
42
- 'viewbox' => true,
43
- 'aria-hidden' => true,
44
- 'role' => true,
45
- 'focusable' => true,
46
- ),
47
- 'path' => array(
48
- 'fill' => true,
49
- 'fill-rule' => true,
50
- 'd' => true,
51
- 'transform' => true,
52
- ),
53
- 'polygon' => array(
54
- 'fill' => true,
55
- 'fill-rule' => true,
56
- 'points' => true,
57
- 'transform' => true,
58
- 'focusable' => true,
59
- ),
 
 
 
 
 
 
 
 
60
  )
61
  );
62
 
27
  * @param string $svg_name The name of the icon.
28
  * @param string $group The group the icon belongs to.
29
  * @param string $color Color code.
30
+ * @param string $uuid The unique id to use for accessibility labelleing with aria-labelledby.
31
+ * @param string $title The title content to use for accessibility labelleing with aria-labelledby.
32
  */
33
+ function genesis_blocks_get_svg( $svg_name, $group = 'ui', $color = '', $uuid = '', $title = '' ) {
34
 
35
  // Make sure that only our allowed tags and attributes are included.
36
+ $svg = str_replace(
37
+ '%23',
38
+ '#', // Fix for hex codes being escaped in the path fill attribute.
39
+ wp_kses(
40
+ GenesisBlocks_SVG_Icons::get_svg( $svg_name, $group, $color, $uuid, $title ),
41
+ array(
42
+ 'svg' => array(
43
+ 'class' => true,
44
+ 'xmlns' => true,
45
+ 'width' => true,
46
+ 'height' => true,
47
+ 'viewbox' => true,
48
+ 'aria-hidden' => true,
49
+ 'role' => true,
50
+ 'focusable' => true,
51
+ 'aria-labelledby' => true,
52
+ ),
53
+ 'title' => array(
54
+ 'id' => true,
55
+ ),
56
+ 'path' => array(
57
+ 'fill' => true,
58
+ 'fill-rule' => true,
59
+ 'd' => true,
60
+ 'transform' => true,
61
+ ),
62
+ 'polygon' => array(
63
+ 'fill' => true,
64
+ 'fill-rule' => true,
65
+ 'points' => true,
66
+ 'transform' => true,
67
+ 'focusable' => true,
68
+ ),
69
+ )
70
  )
71
  );
72
 
includes/load-scripts.php CHANGED
@@ -26,13 +26,6 @@ function genesis_blocks_block_assets() {
26
  filemtime( plugin_dir_path( genesis_blocks_main_plugin_file() ) . 'dist/blocks.style.build.css' )
27
  );
28
 
29
- // Load the FontAwesome icon library.
30
- wp_enqueue_style(
31
- 'genesis-blocks-fontawesome',
32
- plugins_url( 'dist/assets/fontawesome/css/all' . $postfix . '.css', dirname( __FILE__ ) ),
33
- array(),
34
- filemtime( plugin_dir_path( genesis_blocks_main_plugin_file() ) . 'dist/assets/fontawesome/css/all.css' )
35
- );
36
  }
37
  add_action( 'init', 'genesis_blocks_block_assets' );
38
 
@@ -50,7 +43,7 @@ function genesis_blocks_editor_assets() {
50
  wp_enqueue_script(
51
  'genesis-blocks-block-js',
52
  plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ),
53
- array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor' ),
54
  filemtime( plugin_dir_path( genesis_blocks_main_plugin_file() ) . 'dist/blocks.build.js' ),
55
  true
56
  );
@@ -63,14 +56,6 @@ function genesis_blocks_editor_assets() {
63
  filemtime( plugin_dir_path( genesis_blocks_main_plugin_file() ) . 'dist/blocks.editor.build.css' )
64
  );
65
 
66
- // Load the FontAwesome icon library.
67
- wp_enqueue_style(
68
- 'genesis-blocks-fontawesome',
69
- plugins_url( 'dist/assets/fontawesome/css/all' . $postfix . '.css', dirname( __FILE__ ) ),
70
- array(),
71
- filemtime( plugin_dir_path( genesis_blocks_main_plugin_file() ) . 'dist/assets/fontawesome/css/all.css' )
72
- );
73
-
74
  $user_data = wp_get_current_user();
75
  unset( $user_data->user_pass, $user_data->user_email );
76
 
@@ -112,22 +97,25 @@ function genesis_blocks_frontend_assets() {
112
  }
113
  add_action( 'wp_enqueue_scripts', 'genesis_blocks_frontend_assets' );
114
 
115
- add_filter( 'block_categories', 'genesis_blocks_add_custom_block_category' );
116
  /**
117
  * Adds the Genesis Blocks block category.
118
  *
119
- * @param array $categories Existing block categories.
120
- *
121
  * @return array Updated block categories.
122
  */
123
  function genesis_blocks_add_custom_block_category( $categories ) {
124
  return array_merge(
125
- $categories,
126
  array(
127
  array(
128
  'slug' => 'genesis-blocks',
129
  'title' => __( 'Genesis Blocks', 'genesis-blocks' ),
130
  ),
131
- )
 
132
  );
133
  }
 
 
 
 
 
26
  filemtime( plugin_dir_path( genesis_blocks_main_plugin_file() ) . 'dist/blocks.style.build.css' )
27
  );
28
 
 
 
 
 
 
 
 
29
  }
30
  add_action( 'init', 'genesis_blocks_block_assets' );
31
 
43
  wp_enqueue_script(
44
  'genesis-blocks-block-js',
45
  plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ),
46
+ array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components' ),
47
  filemtime( plugin_dir_path( genesis_blocks_main_plugin_file() ) . 'dist/blocks.build.js' ),
48
  true
49
  );
56
  filemtime( plugin_dir_path( genesis_blocks_main_plugin_file() ) . 'dist/blocks.editor.build.css' )
57
  );
58
 
 
 
 
 
 
 
 
 
59
  $user_data = wp_get_current_user();
60
  unset( $user_data->user_pass, $user_data->user_email );
61
 
97
  }
98
  add_action( 'wp_enqueue_scripts', 'genesis_blocks_frontend_assets' );
99
 
 
100
  /**
101
  * Adds the Genesis Blocks block category.
102
  *
103
+ * @param array $categories Array of categories for block types.
 
104
  * @return array Updated block categories.
105
  */
106
  function genesis_blocks_add_custom_block_category( $categories ) {
107
  return array_merge(
 
108
  array(
109
  array(
110
  'slug' => 'genesis-blocks',
111
  'title' => __( 'Genesis Blocks', 'genesis-blocks' ),
112
  ),
113
+ ),
114
+ $categories
115
  );
116
  }
117
+ if ( class_exists( 'WP_Block_Editor_Context' ) ) {
118
+ add_filter( 'block_categories_all', 'genesis_blocks_add_custom_block_category', PHP_INT_MAX );
119
+ } else {
120
+ add_filter( 'block_categories', 'genesis_blocks_add_custom_block_category', PHP_INT_MAX );
121
+ }
includes/patterns/gb_slate_layout_about.php CHANGED
@@ -9,11 +9,12 @@ return [
9
  'type' => 'layout',
10
  'key' => 'gb_slate_layout_about',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
14
- 'thumbnail' => 'https://demo.studiopress.com/page-builder/slate/gb_slate_layout_homepage.jpg',
 
15
  ],
16
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"backgroundImgURL\":\"https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg\",\"backgroundDimRatio\":20,\"focalPoint\":{\"x\":\"0.48\",\"y\":\"0.72\"},\"columns\":1,\"layout\":\"one-column\",\"columnsGap\":1,\"align\":\"full\",\"paddingTop\":5,\"paddingRight\":1,\"paddingBottom\":5,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#1f1f1f\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-hero-title\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-hero-title gb-layout-columns-1 one-column gb-has-background-dim gb-has-background-dim-20 gb-background-cover gb-background-no-repeat gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:5em;padding-right:1em;padding-bottom:5em;padding-left:1em;background-color:#1f1f1f;color:#f5f5f5;background-image:url(https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg);background-position:48% 72%\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-1 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"columnsGap\":8,\"align\":\"full\",\"columnMaxWidth\":1200} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-wideleft gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-8 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":60},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:60px;color:#f5f5f5\">About us</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":3,\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-numbered-list-and-image\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-numbered-list-and-image gb-layout-columns-2 gb-2-col-equal gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-3 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:image {\"sizeSlug\":\"large\"} --> <figure class=\"wp-block-image size-large\"><img src=\"https://demo.studiopress.com/page-builder/slate/gb_slate_image_person.jpg\" alt=\"\"/></figure> <!-- /wp:image --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"className\":\"gpb-fluid-4\",\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#1f1f1f\"}}} --> <h2 class=\"gpb-fluid-4 has-text-color\" style=\"font-size:40px;color:#1f1f1f\">Our work ethic</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":22},\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"font-size:22px;color:#1f1f1f\">We're here to help you navigate the increasingly complicated process of launching a website or native web app. </p> <!-- /wp:paragraph --> <!-- wp:separator {\"className\":\"is-style-default\"} --> <hr class=\"wp-block-separator is-style-default\"/> <!-- /wp:separator --> <!-- wp:paragraph --> <p><strong>Tell us your story</strong><br>Let's chat about what you're looking to build and see if our team is a good fit for the project.</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p><strong>Define the scope</strong><br>We'll take a look at all the details of your project and discuss how to split up the work on our team.</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p><strong>Start wireframes and code</strong><br>We'll work with you the entire way, from wireframes to walking you through live code previews.</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p><strong>We live to launch products</strong><br>Launching products is our passion. We'll help you get your product live and help spread the word.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ededed\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-team gb-layout-team-1\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-team gb-layout-team-1 gb-layout-columns-1 one-column gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ededed;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-container {\"containerMarginBottom\":5,\"containerMaxWidth\":840} --> <div style=\"margin-bottom:5%\" class=\"wp-block-genesis-blocks-gb-container gb-block-container\"><div class=\"gb-container-inside\"><div class=\"gb-container-content\" style=\"max-width:840px\"><!-- wp:heading {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":40}}} --> <h2 class=\"has-text-align-center has-text-color\" style=\"font-size:40px;color:#1f1f1f\">Meet our amazing team.</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-align-center has-text-color\" style=\"color:#1f1f1f\">We're a talented group of creative individuals interested in art, cinematography, design, music, and all niches in between. Get to know us and what we can do for you!</p> <!-- /wp:paragraph --></div></div></div> <!-- /wp:genesis-blocks/gb-container --> <!-- wp:genesis-blocks/gb-columns {\"columns\":3,\"layout\":\"gb-3-col-equal\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-3 gb-3-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-profile-box {\"profileImgID\":10230,\"profileBackgroundColor\":\"#ededed\",\"profileTextColor\":\"#1f1f1f\"} --> <div style=\"background-color:#ededed;color:#1f1f1f\" class=\"wp-block-genesis-blocks-gb-profile-box square gb-has-avatar gb-font-size-18 gb-block-profile gb-profile-columns\"><div class=\"gb-profile-column gb-profile-avatar-wrap\"><div class=\"gb-profile-image-wrap\"><figure class=\"gb-profile-image-square\"><img class=\"gb-profile-avatar wp-image-10230\" src=\"https://demo.studiopress.com/page-builder/person-m-1.jpg\" alt=\"team member avatar\"/></figure></div></div><div class=\"gb-profile-column gb-profile-content-wrap\"><h2 class=\"gb-profile-name\" style=\"color:#1f1f1f\">Kyle Zion</h2><p class=\"gb-profile-title\" style=\"color:#1f1f1f\">Screenprinter</p><div class=\"gb-profile-text\"><p>Add biography text for your team member here. You can also remove this text if you'd rather just have a name and title.</p></div><ul class=\"gb-social-links\"></ul></div></div> <!-- /wp:genesis-blocks/gb-profile-box --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-profile-box {\"profileImgID\":10211,\"profileBackgroundColor\":\"#ededed\",\"profileTextColor\":\"#1f1f1f\"} --> <div style=\"background-color:#ededed;color:#1f1f1f\" class=\"wp-block-genesis-blocks-gb-profile-box square gb-has-avatar gb-font-size-18 gb-block-profile gb-profile-columns\"><div class=\"gb-profile-column gb-profile-avatar-wrap\"><div class=\"gb-profile-image-wrap\"><figure class=\"gb-profile-image-square\"><img class=\"gb-profile-avatar wp-image-10211\" src=\"https://demo.studiopress.com/page-builder/person-w-3.jpg\" alt=\"avatar placeholder\"/></figure></div></div><div class=\"gb-profile-column gb-profile-content-wrap\"><h2 class=\"gb-profile-name\" style=\"color:#1f1f1f\">Fran Acadia</h2><p class=\"gb-profile-title\" style=\"color:#1f1f1f\">People Engineer</p><div class=\"gb-profile-text\"><p>Add biography text for your team member here. You can also remove this text if you'd rather just have a name and title.</p></div><ul class=\"gb-social-links\"></ul></div></div> <!-- /wp:genesis-blocks/gb-profile-box --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-profile-box {\"profileImgID\":10225,\"profileBackgroundColor\":\"#ededed\",\"profileTextColor\":\"#1f1f1f\"} --> <div style=\"background-color:#ededed;color:#1f1f1f\" class=\"wp-block-genesis-blocks-gb-profile-box square gb-has-avatar gb-font-size-18 gb-block-profile gb-profile-columns\"><div class=\"gb-profile-column gb-profile-avatar-wrap\"><div class=\"gb-profile-image-wrap\"><figure class=\"gb-profile-image-square\"><img class=\"gb-profile-avatar wp-image-10225\" src=\"https://demo.studiopress.com/page-builder/person-m-3.jpg\" alt=\"team member avatar\"/></figure></div></div><div class=\"gb-profile-column gb-profile-content-wrap\"><h2 class=\"gb-profile-name\" style=\"color:#1f1f1f\">Giannis Teton</h2><p class=\"gb-profile-title\" style=\"color:#1f1f1f\">Office Manager</p><div class=\"gb-profile-text\"><p>Add biography text for your team member here. You can also remove this text if you'd rather just have a name and title.</p></div><ul class=\"gb-social-links\"></ul></div></div> <!-- /wp:genesis-blocks/gb-profile-box --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#0073e5\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-cta-accent\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-cta-accent gb-layout-columns-2 gb-2-col-wideleft gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#0073e5;color:#f5f5f5\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"textAlign\":\"left\",\"paddingUnit\":\"em\",\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\" style=\"text-align:left\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Get a project quote today!</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">We'll put together a customized quote about your project and work with you to get started on your project. Let's build something together!</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#0073e5\",\"background\":\"#ffffff\"}},\"className\":\"is-style-fill\"} --> <div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#0073e5\"><strong>Get in touch today!</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"textAlign\":\"right\",\"paddingUnit\":\"em\",\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\" style=\"text-align:right\"></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
17
  'name' => esc_html__( 'Slate About', 'genesis-blocks' ),
18
  'category' => [
19
  esc_html__( 'team', 'genesis-blocks' ),
9
  'type' => 'layout',
10
  'key' => 'gb_slate_layout_about',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'thumbnail' => 'https://demo.studiopress.com/page-builder/slate/gb_slate_layout_homepage.jpg',
15
+ 'allowThemeColorPalette' => false,
16
  ],
17
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"backgroundImgURL\":\"https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg\",\"backgroundDimRatio\":20,\"focalPoint\":{\"x\":\"0.48\",\"y\":\"0.72\"},\"columns\":1,\"layout\":\"one-column\",\"columnsGap\":1,\"align\":\"full\",\"paddingTop\":5,\"paddingRight\":1,\"paddingBottom\":5,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#1f1f1f\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-hero-title\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-hero-title gb-layout-columns-1 one-column gb-has-background-dim gb-has-background-dim-20 gb-background-cover gb-background-no-repeat gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:5em;padding-right:1em;padding-bottom:5em;padding-left:1em;background-color:#1f1f1f;color:#f5f5f5;background-image:url(https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg);background-position:48% 72%\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-1 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"columnsGap\":8,\"align\":\"full\",\"columnMaxWidth\":1200} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-wideleft gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-8 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":60},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:60px;color:#f5f5f5\">About us</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":3,\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-numbered-list-and-image\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-numbered-list-and-image gb-layout-columns-2 gb-2-col-equal gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-3 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:image {\"sizeSlug\":\"large\"} --> <figure class=\"wp-block-image size-large\"><img src=\"https://demo.studiopress.com/page-builder/slate/gb_slate_image_person.jpg\" alt=\"\"/></figure> <!-- /wp:image --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"className\":\"gpb-fluid-4\",\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#1f1f1f\"}}} --> <h2 class=\"gpb-fluid-4 has-text-color\" style=\"font-size:40px;color:#1f1f1f\">Our work ethic</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":22},\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"font-size:22px;color:#1f1f1f\">We're here to help you navigate the increasingly complicated process of launching a website or native web app. </p> <!-- /wp:paragraph --> <!-- wp:separator {\"className\":\"is-style-default\"} --> <hr class=\"wp-block-separator is-style-default\"/> <!-- /wp:separator --> <!-- wp:paragraph --> <p><strong>Tell us your story</strong><br>Let's chat about what you're looking to build and see if our team is a good fit for the project.</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p><strong>Define the scope</strong><br>We'll take a look at all the details of your project and discuss how to split up the work on our team.</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p><strong>Start wireframes and code</strong><br>We'll work with you the entire way, from wireframes to walking you through live code previews.</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p><strong>We live to launch products</strong><br>Launching products is our passion. We'll help you get your product live and help spread the word.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ededed\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-team gb-layout-team-1\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-team gb-layout-team-1 gb-layout-columns-1 one-column gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ededed;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-container {\"containerMarginBottom\":5,\"containerMaxWidth\":840} --> <div style=\"margin-bottom:5%\" class=\"wp-block-genesis-blocks-gb-container gb-block-container\"><div class=\"gb-container-inside\"><div class=\"gb-container-content\" style=\"max-width:840px\"><!-- wp:heading {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":40}}} --> <h2 class=\"has-text-align-center has-text-color\" style=\"font-size:40px;color:#1f1f1f\">Meet our amazing team.</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-align-center has-text-color\" style=\"color:#1f1f1f\">We're a talented group of creative individuals interested in art, cinematography, design, music, and all niches in between. Get to know us and what we can do for you!</p> <!-- /wp:paragraph --></div></div></div> <!-- /wp:genesis-blocks/gb-container --> <!-- wp:genesis-blocks/gb-columns {\"columns\":3,\"layout\":\"gb-3-col-equal\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-3 gb-3-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-profile-box {\"profileImgID\":10230,\"profileBackgroundColor\":\"#ededed\",\"profileTextColor\":\"#1f1f1f\"} --> <div style=\"background-color:#ededed;color:#1f1f1f\" class=\"wp-block-genesis-blocks-gb-profile-box square gb-has-avatar gb-font-size-18 gb-block-profile gb-profile-columns\"><div class=\"gb-profile-column gb-profile-avatar-wrap\"><div class=\"gb-profile-image-wrap\"><figure class=\"gb-profile-image-square\"><img class=\"gb-profile-avatar wp-image-10230\" src=\"https://demo.studiopress.com/page-builder/person-m-1.jpg\" alt=\"team member avatar\"/></figure></div></div><div class=\"gb-profile-column gb-profile-content-wrap\"><h2 class=\"gb-profile-name\" style=\"color:#1f1f1f\">Kyle Zion</h2><p class=\"gb-profile-title\" style=\"color:#1f1f1f\">Screenprinter</p><div class=\"gb-profile-text\"><p>Add biography text for your team member here. You can also remove this text if you'd rather just have a name and title.</p></div><ul class=\"gb-social-links\"></ul></div></div> <!-- /wp:genesis-blocks/gb-profile-box --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-profile-box {\"profileImgID\":10211,\"profileBackgroundColor\":\"#ededed\",\"profileTextColor\":\"#1f1f1f\"} --> <div style=\"background-color:#ededed;color:#1f1f1f\" class=\"wp-block-genesis-blocks-gb-profile-box square gb-has-avatar gb-font-size-18 gb-block-profile gb-profile-columns\"><div class=\"gb-profile-column gb-profile-avatar-wrap\"><div class=\"gb-profile-image-wrap\"><figure class=\"gb-profile-image-square\"><img class=\"gb-profile-avatar wp-image-10211\" src=\"https://demo.studiopress.com/page-builder/person-w-3.jpg\" alt=\"avatar placeholder\"/></figure></div></div><div class=\"gb-profile-column gb-profile-content-wrap\"><h2 class=\"gb-profile-name\" style=\"color:#1f1f1f\">Fran Acadia</h2><p class=\"gb-profile-title\" style=\"color:#1f1f1f\">People Engineer</p><div class=\"gb-profile-text\"><p>Add biography text for your team member here. You can also remove this text if you'd rather just have a name and title.</p></div><ul class=\"gb-social-links\"></ul></div></div> <!-- /wp:genesis-blocks/gb-profile-box --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-profile-box {\"profileImgID\":10225,\"profileBackgroundColor\":\"#ededed\",\"profileTextColor\":\"#1f1f1f\"} --> <div style=\"background-color:#ededed;color:#1f1f1f\" class=\"wp-block-genesis-blocks-gb-profile-box square gb-has-avatar gb-font-size-18 gb-block-profile gb-profile-columns\"><div class=\"gb-profile-column gb-profile-avatar-wrap\"><div class=\"gb-profile-image-wrap\"><figure class=\"gb-profile-image-square\"><img class=\"gb-profile-avatar wp-image-10225\" src=\"https://demo.studiopress.com/page-builder/person-m-3.jpg\" alt=\"team member avatar\"/></figure></div></div><div class=\"gb-profile-column gb-profile-content-wrap\"><h2 class=\"gb-profile-name\" style=\"color:#1f1f1f\">Giannis Teton</h2><p class=\"gb-profile-title\" style=\"color:#1f1f1f\">Office Manager</p><div class=\"gb-profile-text\"><p>Add biography text for your team member here. You can also remove this text if you'd rather just have a name and title.</p></div><ul class=\"gb-social-links\"></ul></div></div> <!-- /wp:genesis-blocks/gb-profile-box --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#006CD8\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-cta-accent\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-cta-accent gb-layout-columns-2 gb-2-col-wideleft gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#006CD8;color:#f5f5f5\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"textAlign\":\"left\",\"paddingUnit\":\"em\",\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\" style=\"text-align:left\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Get a project quote today!</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">We'll put together a customized quote about your project and work with you to get started on your project. Let's build something together!</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#006CD8\",\"background\":\"#ffffff\"}},\"className\":\"is-style-fill\"} --> <div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#006CD8\"><strong>Get in touch today!</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"textAlign\":\"right\",\"paddingUnit\":\"em\",\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\" style=\"text-align:right\"></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
18
  'name' => esc_html__( 'Slate About', 'genesis-blocks' ),
19
  'category' => [
20
  esc_html__( 'team', 'genesis-blocks' ),
includes/patterns/gb_slate_layout_contact.php CHANGED
@@ -9,10 +9,11 @@ return [
9
  'type' => 'layout',
10
  'key' => 'gb_slate_layout_contact',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
 
14
  ],
15
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"backgroundImgURL\":\"https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg\",\"backgroundDimRatio\":20,\"focalPoint\":{\"x\":\"0.48\",\"y\":\"0.72\"},\"columns\":1,\"layout\":\"one-column\",\"columnsGap\":1,\"align\":\"full\",\"paddingTop\":5,\"paddingRight\":1,\"paddingBottom\":5,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#1f1f1f\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-hero-title\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-hero-title gb-layout-columns-1 one-column gb-has-background-dim gb-has-background-dim-20 gb-background-cover gb-background-no-repeat gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:5em;padding-right:1em;padding-bottom:5em;padding-left:1em;background-color:#1f1f1f;color:#f5f5f5;background-image:url(https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg);background-position:48% 72%\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-1 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"columnsGap\":8,\"align\":\"full\",\"columnMaxWidth\":1200} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-wideleft gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-8 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":60},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:60px;color:#f5f5f5\">Contact us</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-text-accordion\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-text-accordion gb-layout-columns-2 gb-2-col-equal gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#1f1f1f\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#1f1f1f\">About our company</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">We can help you launch any simple or complex website. Our team of designers and engineers love pushing the envelope.</p> <!-- /wp:paragraph --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks. Go Pro to get our entire collection!</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} --> <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Audience Identification</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc. </p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\",\"background\":\"#ffffff\"}},\"className\":\"is-style-outline\"} --> <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#353535\"><strong>Learn More</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></details></div> <!-- /wp:genesis-blocks/gb-accordion --> <!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} --> <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Product Requirements</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc. </p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\",\"background\":\"#ffffff\"}},\"className\":\"is-style-outline\"} --> <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#353535\"><strong>Learn More</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></details></div> <!-- /wp:genesis-blocks/gb-accordion --> <!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} --> <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Market Viability</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc.</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\",\"background\":\"#ffffff\"}},\"className\":\"is-style-outline\"} --> <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#353535\"><strong>Learn More</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></details></div> <!-- /wp:genesis-blocks/gb-accordion --> <!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} --> <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Product Launch</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph --> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc.</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\"}},\"className\":\"is-style-outline\"} --> <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color\" style=\"border-radius:4px;color:#353535\"><strong>Learn More</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></details></div> <!-- /wp:genesis-blocks/gb-accordion --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":0,\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-contact-box\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-contact-box gb-layout-columns-2 gb-2-col-equal gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-0 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#1f1f1f\",\"customTextColor\":\"#abb8c3\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":3} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color gb-has-custom-text-color\" style=\"padding:3em;background-color:#1f1f1f;color:#abb8c3\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Contact us and let's start building something!</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#abb8c3\"}}} --> <p class=\"has-text-color\" style=\"color:#abb8c3\">Use the details to the right to get ahold of us.</p> <!-- /wp:paragraph --> <!-- wp:separator {\"className\":\"is-style-default\"} --> <hr class=\"wp-block-separator is-style-default\"/> <!-- /wp:separator --> <!-- wp:social-links --> <ul class=\"wp-block-social-links\"><!-- wp:social-link {\"url\":\"https://wordpress.org\",\"service\":\"wordpress\"} /--> <!-- wp:social-link {\"url\":\"#\",\"service\":\"facebook\"} /--> <!-- wp:social-link {\"url\":\"#\",\"service\":\"twitter\"} /--> <!-- wp:social-link {\"url\":\"#\",\"service\":\"instagram\"} /--> <!-- wp:social-link {\"service\":\"linkedin\"} /--> <!-- wp:social-link {\"service\":\"youtube\"} /--></ul> <!-- /wp:social-links --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#0073e5\",\"customTextColor\":\"#f5f5f5\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":3} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color gb-has-custom-text-color\" style=\"padding:3em;background-color:#0073e5;color:#f5f5f5\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Office</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Startup Square<br>123 Block Ave<br>Austin, Texas 36521</p> <!-- /wp:paragraph --> <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Hours</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Mon-Fri: 8am - 5pm<br>Sat: 8am 9pm<br>Sun: 8am - 2pm</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Via Email</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">hello@example.com<br>sales@example.com<br>support@example.com</p> <!-- /wp:paragraph --> <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Via Phone</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Tel: 514-281-3821<br>Fax: 514-281-5210</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
16
  'name' => esc_html__( 'Slate Contact', 'genesis-blocks' ),
17
  'category' => [
18
  esc_html__( 'landing', 'genesis-blocks' ),
9
  'type' => 'layout',
10
  'key' => 'gb_slate_layout_contact',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
  ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"backgroundImgURL\":\"https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg\",\"backgroundDimRatio\":20,\"focalPoint\":{\"x\":\"0.48\",\"y\":\"0.72\"},\"columns\":1,\"layout\":\"one-column\",\"columnsGap\":1,\"align\":\"full\",\"paddingTop\":5,\"paddingRight\":1,\"paddingBottom\":5,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#1f1f1f\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-hero-title\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-hero-title gb-layout-columns-1 one-column gb-has-background-dim gb-has-background-dim-20 gb-background-cover gb-background-no-repeat gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:5em;padding-right:1em;padding-bottom:5em;padding-left:1em;background-color:#1f1f1f;color:#f5f5f5;background-image:url(https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg);background-position:48% 72%\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-1 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"columnsGap\":8,\"align\":\"full\",\"columnMaxWidth\":1200} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-wideleft gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-8 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":60},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:60px;color:#f5f5f5\">Contact us</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-text-accordion\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-text-accordion gb-layout-columns-2 gb-2-col-equal gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#1f1f1f\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#1f1f1f\">About our company</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">We can help you launch any simple or complex website. Our team of designers and engineers love pushing the envelope.</p> <!-- /wp:paragraph --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks. Go Pro to get our entire collection!</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} --> <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Audience Identification</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc. </p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\",\"background\":\"#ffffff\"}},\"className\":\"is-style-outline\"} --> <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#353535\"><strong>Learn More</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></details></div> <!-- /wp:genesis-blocks/gb-accordion --> <!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} --> <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Product Requirements</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc. </p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\",\"background\":\"#ffffff\"}},\"className\":\"is-style-outline\"} --> <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#353535\"><strong>Learn More</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></details></div> <!-- /wp:genesis-blocks/gb-accordion --> <!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} --> <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Market Viability</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc.</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\",\"background\":\"#ffffff\"}},\"className\":\"is-style-outline\"} --> <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#353535\"><strong>Learn More</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></details></div> <!-- /wp:genesis-blocks/gb-accordion --> <!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} --> <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Product Launch</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph --> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc.</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\"}},\"className\":\"is-style-outline\"} --> <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color\" style=\"border-radius:4px;color:#353535\"><strong>Learn More</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></details></div> <!-- /wp:genesis-blocks/gb-accordion --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":0,\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-contact-box\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-contact-box gb-layout-columns-2 gb-2-col-equal gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-0 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#1f1f1f\",\"customTextColor\":\"#abb8c3\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":3} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color gb-has-custom-text-color\" style=\"padding:3em;background-color:#1f1f1f;color:#abb8c3\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Contact us and let's start building something!</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#abb8c3\"}}} --> <p class=\"has-text-color\" style=\"color:#abb8c3\">Use the details to the right to get ahold of us.</p> <!-- /wp:paragraph --> <!-- wp:separator {\"className\":\"is-style-default\"} --> <hr class=\"wp-block-separator is-style-default\"/> <!-- /wp:separator --> <!-- wp:social-links --> <ul class=\"wp-block-social-links\"><!-- wp:social-link {\"url\":\"https://wordpress.org\",\"service\":\"wordpress\"} /--> <!-- wp:social-link {\"url\":\"#\",\"service\":\"facebook\"} /--> <!-- wp:social-link {\"url\":\"#\",\"service\":\"twitter\"} /--> <!-- wp:social-link {\"url\":\"#\",\"service\":\"instagram\"} /--> <!-- wp:social-link {\"service\":\"linkedin\"} /--> <!-- wp:social-link {\"service\":\"youtube\"} /--></ul> <!-- /wp:social-links --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#006CD8\",\"customTextColor\":\"#f5f5f5\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":3} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color gb-has-custom-text-color\" style=\"padding:3em;background-color:#006CD8;color:#f5f5f5\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Office</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Startup Square<br>123 Block Ave<br>Austin, Texas 36521</p> <!-- /wp:paragraph --> <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Hours</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Mon-Fri: 8am - 5pm<br>Sat: 8am 9pm<br>Sun: 8am - 2pm</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Via Email</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">hello@example.com<br>sales@example.com<br>support@example.com</p> <!-- /wp:paragraph --> <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Via Phone</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Tel: 514-281-3821<br>Fax: 514-281-5210</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
17
  'name' => esc_html__( 'Slate Contact', 'genesis-blocks' ),
18
  'category' => [
19
  esc_html__( 'landing', 'genesis-blocks' ),
includes/patterns/gb_slate_layout_features_and_services.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Genesis Blocks Features and Services layout for Slate Collection.
4
+ *
5
+ * @package genesis-blocks
6
+ */
7
+
8
+ return [
9
+ 'type' => 'layout',
10
+ 'key' => 'gb_slate_layout_features',
11
+ 'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
+ ],
16
+ 'content' => [
17
+ 'gb_slate_section_hero_title',
18
+ 'gb_slate_section_numbered_list_image',
19
+ 'gb_slate_section_feature_image_columns',
20
+ 'gb_slate_section_testimonial_image',
21
+ 'gb_slate_section_call_to_action_accent',
22
+ ],
23
+ 'name' => esc_html__( 'Slate Features and Services', 'genesis-blocks' ),
24
+ 'category' => [
25
+ esc_html__( 'business', 'genesis-blocks' ),
26
+ esc_html__( 'services', 'genesis-blocks' ),
27
+ esc_html__( 'landing', 'genesis-blocks' ),
28
+ esc_html__( 'product', 'genesis-blocks' ),
29
+ ],
30
+ 'keywords' => [
31
+ esc_html__( 'services', 'genesis-blocks' ),
32
+ esc_html__( 'landing', 'genesis-blocks' ),
33
+ esc_html__( 'features', 'genesis-blocks' ),
34
+ esc_html__( 'testimonial', 'genesis-blocks' ),
35
+ esc_html__( 'slate', 'genesis-blocks' ),
36
+ esc_html__( 'slate features', 'genesis-blocks' ),
37
+ ],
38
+ 'image' => 'https://demo.studiopress.com/page-builder/slate/gb_slate_layout_features.jpg',
39
+ ];
includes/patterns/gb_slate_layout_homepage.php CHANGED
@@ -9,11 +9,19 @@ return [
9
  'type' => 'layout',
10
  'key' => 'gb_layout_homepage',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
14
- 'thumbnail' => 'https://demo.studiopress.com/page-builder/slate/gb_slate_layout_homepage.jpg',
 
 
 
 
 
 
 
 
 
15
  ],
16
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"backgroundImgURL\":\"https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg\",\"backgroundDimRatio\":20,\"focalPoint\":{\"x\":\"0.48\",\"y\":\"0.72\"},\"columns\":1,\"layout\":\"one-column\",\"columnsGap\":1,\"align\":\"full\",\"paddingTop\":10,\"paddingRight\":1,\"paddingBottom\":10,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#1f1f1f\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-hero-buttons\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-hero-buttons gb-layout-columns-1 one-column gb-has-background-dim gb-has-background-dim-20 gb-background-cover gb-background-no-repeat gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:10em;padding-right:1em;padding-bottom:10em;padding-left:1em;background-color:#1f1f1f;color:#f5f5f5;background-image:url(https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg);background-position:48% 72%\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-1 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"columnsGap\":8,\"align\":\"full\",\"columnMaxWidth\":1200} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-wideleft gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-8 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":60},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:60px;color:#f5f5f5\">The future of WordPress starts with Genesis</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">A complete design system of beautiful block patterns and full page designs at your fingertips. Start building with Genesis today.</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#0073e5\",\"text\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#0073e5;color:#ffffff\"><strong>Start Building</strong></a></div> <!-- /wp:button --> <!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#1f1f1f\",\"background\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#ffffff;color:#1f1f1f\"><strong>Explore Genesis</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":5,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customBackgroundColor\":\"#ffffff\",\"className\":\"gpb-slate-features\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-features gb-layout-columns-1 one-column gb-has-custom-background-color alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:5em;padding-left:1em;background-color:#ffffff\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":3,\"align\":\"full\",\"columnMaxWidth\":1200} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-3 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":40}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#1f1f1f\">Build better websites in half the time with beautiful design collections.</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">The Genesis design collection library has everything you need to design beautiful block-powered websites with just a few clicks. Go Pro to get our entire collection!</p> <!-- /wp:paragraph --> <!-- wp:spacer {\"height\":20} --> <div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div> <!-- /wp:spacer --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Build your site with design collections</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Design collections help you launch any simple or complex website with curated collections of beautiful page sections and layouts.</p> <!-- /wp:paragraph --> <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Design better with powerful tools</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Build better sites faster with powerful site building tools for the WordPress editor.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Full page layouts help you launch quicker</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Need a landing page built quickly? Start with one of our professionally designed page layouts, replace the sample text, and you're done!</p> <!-- /wp:paragraph --> <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":24}}} --> <h2 class=\"has-text-color\" style=\"font-size:24px;color:#1f1f1f\">Create compelling content faster</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Create and use content quickly with customizable content sections.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ededed\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-image-text\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-image-text gb-layout-columns-2 gb-2-col-equal gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ededed;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:image {\"sizeSlug\":\"large\"} --> <figure class=\"wp-block-image size-large\"><img src=\"https://demo.studiopress.com/page-builder/slate/gb_slate_image_text_square.jpg\" alt=\"GB Square Placeholder\"/></figure> <!-- /wp:image --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#1f1f1f\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#1f1f1f\">We design and develop memorable experiences</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks. Go Pro to get our entire collection!</p> <!-- /wp:paragraph --> <!-- wp:spacer {\"height\":24} --> <div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div> <!-- /wp:spacer --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#0073e5\",\"text\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#0073e5;color:#ffffff\"><strong>Download Now</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":0,\"align\":\"full\",\"padding\":7,\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"backgroundColor\":\"white\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-content-boxes\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-content-boxes gb-layout-columns-2 gb-2-col-equal has-white-background-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-0 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#1f1f1f\",\"textColor\":\"white\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":4} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color has-white-color\" style=\"padding:4em;background-color:#1f1f1f\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Contact us and let's start building something!</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks. Design collections help you launch any simple or complex website with curated collections of beautiful page sections and layouts. Go Pro to get our entire collection!</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#0073e5\",\"text\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#0073e5;color:#ffffff\"><strong>Download Now</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#0073e5\",\"textColor\":\"white\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":4} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color has-white-color\" style=\"padding:4em;background-color:#0073e5\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Contact us and let's start building something!</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks. Design collections help you launch any simple or complex website with curated collections of beautiful page sections and layouts. Go Pro to get our entire collection!</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#0073e5\",\"background\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#ffffff;color:#0073e5\"><strong>Download Now</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#1f1f1f\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-testimonial\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-testimonial gb-layout-columns-1 one-column gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#1f1f1f;color:#f5f5f5\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-container {\"containerMarginBottom\":5,\"containerMaxWidth\":840} --> <div style=\"margin-bottom:5%\" class=\"wp-block-genesis-blocks-gb-container gb-block-container\"><div class=\"gb-container-inside\"><div class=\"gb-container-content\" style=\"max-width:840px\"><!-- wp:heading {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-align-center has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Kind words from customers</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-align-center has-text-color\" style=\"color:#f5f5f5\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks.</p> <!-- /wp:paragraph --></div></div></div> <!-- /wp:genesis-blocks/gb-container --> <!-- wp:genesis-blocks/gb-columns {\"columns\":3,\"layout\":\"gb-3-col-equal\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-3 gb-3-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column {\"padding\":15} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-testimonial {\"testimonialImgID\":10230,\"testimonialBackgroundColor\":\"#ffffff\"} --> <div style=\"background-color:#ffffff;color:#32373c\" class=\"wp-block-genesis-blocks-gb-testimonial left-aligned gb-has-avatar gb-font-size-18 gb-block-testimonial\"><div class=\"gb-testimonial-text\"><p>My new site is so much faster and easier to work with than my old site. It used to take me an hour or more to update a page. I would definitely work with them again!</p></div><div class=\"gb-testimonial-info\"><div class=\"gb-testimonial-avatar-wrap\"><div class=\"gb-testimonial-image-wrap\"><img class=\"gb-testimonial-avatar\" src=\"https://demo.studiopress.com/page-builder/person-w-4.jpg\" alt=\"avatar\"/></div></div><h2 class=\"gb-testimonial-name\" style=\"color:#32373c\">Mary Sequoia</h2><small class=\"gb-testimonial-title\" style=\"color:#32373c\">Author</small></div></div> <!-- /wp:genesis-blocks/gb-testimonial --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-testimonial {\"testimonialImgID\":10211,\"testimonialBackgroundColor\":\"#ffffff\"} --> <div style=\"background-color:#ffffff;color:#32373c\" class=\"wp-block-genesis-blocks-gb-testimonial left-aligned gb-has-avatar gb-font-size-18 gb-block-testimonial\"><div class=\"gb-testimonial-text\"><p>My new site is so much faster and easier to work with than my old site. It used to take me an hour or more to update a page. I would definitely work with them again!</p></div><div class=\"gb-testimonial-info\"><div class=\"gb-testimonial-avatar-wrap\"><div class=\"gb-testimonial-image-wrap\"><img class=\"gb-testimonial-avatar\" src=\"https://demo.studiopress.com/page-builder/person-m-1.jpg\" alt=\"avatar\"/></div></div><h2 class=\"gb-testimonial-name\" style=\"color:#32373c\">Philip Glacier</h2><small class=\"gb-testimonial-title\" style=\"color:#32373c\">Publisher</small></div></div> <!-- /wp:genesis-blocks/gb-testimonial --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-testimonial {\"testimonialImgID\":10230,\"testimonialBackgroundColor\":\"#ffffff\"} --> <div style=\"background-color:#ffffff;color:#32373c\" class=\"wp-block-genesis-blocks-gb-testimonial left-aligned gb-has-avatar gb-font-size-18 gb-block-testimonial\"><div class=\"gb-testimonial-text\"><p>My new site is so much faster and easier to work with than my old site. It used to take me an hour or more to update a page. I would definitely work with them again!</p></div><div class=\"gb-testimonial-info\"><div class=\"gb-testimonial-avatar-wrap\"><div class=\"gb-testimonial-image-wrap\"><img class=\"gb-testimonial-avatar\" src=\"https://demo.studiopress.com/page-builder/person-w-3.jpg\" alt=\"avatar\"/></div></div><h2 class=\"gb-testimonial-name\" style=\"color:#32373c\">Amy Redwood</h2><small class=\"gb-testimonial-title\" style=\"color:#32373c\">Consultant</small></div></div> <!-- /wp:genesis-blocks/gb-testimonial --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"className\":\"gpb-slate-contact-columns\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-contact-columns gb-layout-columns-1 one-column gb-has-custom-background-color gb-has-custom-text-color alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":3,\"align\":\"full\",\"columnMaxWidth\":1200} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-3 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":40}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#1f1f1f\">Contact us today and let's build something.</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">We're taking new clients and new projects this summer. Want to build the next big thing? Send us an email.</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#0073e5\",\"text\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#0073e5;color:#ffffff\"><strong>Contact Us Today</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --> <!-- wp:spacer {\"height\":20} --> <div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div> <!-- /wp:spacer --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Office</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Startup Square<br>123 Block Ave<br>Austin, Texas 36521</p> <!-- /wp:paragraph --> <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Hours</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Mon-Fri: 8am - 5pm<br>Sat: 8am 9pm<br>Sun: 8am - 2pm</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Via Email</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">hello@example.com<br>sales@example.com<br>support@example.com</p> <!-- /wp:paragraph --> <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Via Phone</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Tel: 514-281-3821<br>Fax: 514-281-5210</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:genesis-blocks/gb-columns {\"backgroundDimRatio\":30,\"focalPoint\":{\"x\":\"0.50\",\"y\":\"0.52\"},\"columns\":1,\"layout\":\"gb-1-col-equal\",\"columnsGap\":3,\"align\":\"full\",\"paddingTop\":9,\"paddingRight\":1,\"paddingBottom\":9,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customBackgroundColor\":\"#1f1f1f\",\"columnMaxWidth\":872,\"className\":\"gb-slate-text-with-cta\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-text-with-cta gb-layout-columns-1 gb-1-col-equal gb-has-background-dim gb-has-background-dim-30 gb-has-custom-background-color gb-columns-center alignfull\" style=\"padding-top:9em;padding-right:1em;padding-bottom:9em;padding-left:1em;background-color:#1f1f1f;background-position:50% 52%\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-3 gb-is-responsive-column\" style=\"max-width:872px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#f5f5f5\"},\"typography\":{\"fontSize\":40}}} --> <h2 class=\"has-text-align-center has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Ready to take your next step?</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-align-center has-text-color\" style=\"color:#f5f5f5\">Grow your audience and build a profitable online business.</p> <!-- /wp:paragraph --> <!-- wp:buttons {\"align\":\"center\"} --> <div class=\"wp-block-buttons aligncenter\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#0072e5\",\"text\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#0072e5;color:#ffffff\"><strong>Get Started Today</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
17
  'name' => esc_html__( 'Slate Homepage', 'genesis-blocks' ),
18
  'category' => [
19
  esc_html__( 'business', 'genesis-blocks' ),
@@ -24,7 +32,8 @@ return [
24
  esc_html__( 'homepage', 'genesis-blocks' ),
25
  esc_html__( 'home', 'genesis-blocks' ),
26
  esc_html__( 'landing', 'genesis-blocks' ),
27
- esc_html__( 'layout', 'genesis-blocks' ),
 
28
  ],
29
  'image' => 'https://demo.studiopress.com/page-builder/slate/gb_slate_layout_homepage.jpg',
30
  ];
9
  'type' => 'layout',
10
  'key' => 'gb_layout_homepage',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
+ ],
16
+ 'content' => [
17
+ 'gb_slate_section_hero_with_buttons',
18
+ 'gb_slate_section_features',
19
+ 'gb_slate_section_image_and_text_cta',
20
+ 'gb_slate_section_content_boxes',
21
+ 'gb_slate_section_testimonials',
22
+ 'gb_slate_section_contact_columns',
23
+ 'gb_slate_section_text_with_cta',
24
  ],
 
25
  'name' => esc_html__( 'Slate Homepage', 'genesis-blocks' ),
26
  'category' => [
27
  esc_html__( 'business', 'genesis-blocks' ),
32
  esc_html__( 'homepage', 'genesis-blocks' ),
33
  esc_html__( 'home', 'genesis-blocks' ),
34
  esc_html__( 'landing', 'genesis-blocks' ),
35
+ esc_html__( 'slate', 'genesis-blocks' ),
36
+ esc_html__( 'slate homepage', 'genesis-blocks' ),
37
  ],
38
  'image' => 'https://demo.studiopress.com/page-builder/slate/gb_slate_layout_homepage.jpg',
39
  ];
includes/patterns/gb_slate_layout_homepage_alternative.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Genesis Blocks Homepage Alternative layout for Slate Collection.
4
+ *
5
+ * @package genesis-blocks
6
+ */
7
+
8
+ return [
9
+ 'type' => 'layout',
10
+ 'key' => 'gb_slate_layout_homepage_alt',
11
+ 'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
+ ],
16
+ 'content' => [
17
+ 'gb_slate_section_hero_with_buttons',
18
+ 'gb_slate_section_feature_text_columns',
19
+ 'gb_slate_section_image_text_columns',
20
+ 'gb_slate_section_team_members',
21
+ 'gb_slate_section_blog_posts',
22
+ 'gb_slate_section_call_to_action_accent',
23
+ ],
24
+ 'name' => esc_html__( 'Slate Homepage Alternative', 'genesis-blocks' ),
25
+ 'category' => [
26
+ esc_html__( 'business', 'genesis-blocks' ),
27
+ esc_html__( 'landing', 'genesis-blocks' ),
28
+ esc_html__( 'product', 'genesis-blocks' ),
29
+ ],
30
+ 'keywords' => [
31
+ esc_html__( 'homepage', 'genesis-blocks' ),
32
+ esc_html__( 'home', 'genesis-blocks' ),
33
+ esc_html__( 'landing', 'genesis-blocks' ),
34
+ esc_html__( 'layout', 'genesis-blocks' ),
35
+ esc_html__( 'slate', 'genesis-blocks' ),
36
+ ],
37
+ 'image' => 'https://demo.studiopress.com/page-builder/slate/gb_slate_layout_homepage_alt.jpg',
38
+ ];
includes/patterns/gb_slate_section_accordion_and_text.php ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Genesis Blocks Accordion and Text section for Slate Collection.
4
+ *
5
+ * @package genesis-blocks
6
+ */
7
+
8
+ return [
9
+ 'type' => 'section',
10
+ 'key' => 'gb_slate_section_accordion_text',
11
+ 'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
+ ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-accordion-and-text gb-slate-section-text-accordion \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-accordion-and-text gb-slate-section-text-accordion gb-layout-columns-2 gb-2-col-equal gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#1f1f1f\"}}} -->
19
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:40px\">About our company</h2>
20
+ <!-- /wp:heading -->
21
+
22
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
23
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">We can help you launch any simple or complex website. Our team of designers and engineers love pushing the envelope.</p>
24
+ <!-- /wp:paragraph -->
25
+
26
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
27
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks. Go Pro to get our entire collection!</p>
28
+ <!-- /wp:paragraph --></div></div>
29
+ <!-- /wp:genesis-blocks/gb-column -->
30
+
31
+ <!-- wp:genesis-blocks/gb-column -->
32
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} -->
33
+ <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Audience Identification</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
34
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc. </p>
35
+ <!-- /wp:paragraph -->
36
+
37
+ <!-- wp:buttons -->
38
+ <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\",\"background\":\"#ffffff\"}},\"className\":\"is-style-outline\"} -->
39
+ <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#353535\"><strong>Learn More</strong></a></div>
40
+ <!-- /wp:button --></div>
41
+ <!-- /wp:buttons --></div></details></div>
42
+ <!-- /wp:genesis-blocks/gb-accordion -->
43
+
44
+ <!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} -->
45
+ <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Product Requirements</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
46
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc. </p>
47
+ <!-- /wp:paragraph -->
48
+
49
+ <!-- wp:buttons -->
50
+ <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\",\"background\":\"#ffffff\"}},\"className\":\"is-style-outline\"} -->
51
+ <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#353535\"><strong>Learn More</strong></a></div>
52
+ <!-- /wp:button --></div>
53
+ <!-- /wp:buttons --></div></details></div>
54
+ <!-- /wp:genesis-blocks/gb-accordion -->
55
+
56
+ <!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} -->
57
+ <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Market Viability</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
58
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc.</p>
59
+ <!-- /wp:paragraph -->
60
+
61
+ <!-- wp:buttons -->
62
+ <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\",\"background\":\"#ffffff\"}},\"className\":\"is-style-outline\"} -->
63
+ <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#353535\"><strong>Learn More</strong></a></div>
64
+ <!-- /wp:button --></div>
65
+ <!-- /wp:buttons --></div></details></div>
66
+ <!-- /wp:genesis-blocks/gb-accordion -->
67
+
68
+ <!-- wp:genesis-blocks/gb-accordion {\"accordionFontSize\":20,\"className\":\"gb-slate-accordion gpb-rounded-md\"} -->
69
+ <div class=\"wp-block-genesis-blocks-gb-accordion gb-slate-accordion gpb-rounded-md gb-block-accordion gb-font-size-20\"><details><summary class=\"gb-accordion-title\">Product Launch</summary><div class=\"gb-accordion-text\"><!-- wp:paragraph -->
70
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel molestie diam. Duis ultricies vestibulum nisl. Etiam egestas nisi volutpat tellus varius, a congue nibh tempus. Vestibulum dictum, dolor non tincidunt varius, mi diam pretium nulla, vitae faucibus ante nulla id nunc.</p>
71
+ <!-- /wp:paragraph -->
72
+
73
+ <!-- wp:buttons -->
74
+ <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#353535\"}},\"className\":\"is-style-outline\"} -->
75
+ <div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color\" style=\"border-radius:4px;color:#353535\"><strong>Learn More</strong></a></div>
76
+ <!-- /wp:button --></div>
77
+ <!-- /wp:buttons --></div></details></div>
78
+ <!-- /wp:genesis-blocks/gb-accordion --></div></div>
79
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
80
+ <!-- /wp:genesis-blocks/gb-columns -->",
81
+ 'name' => esc_html__( 'Slate Accordion and Text', 'genesis-blocks' ),
82
+ 'category' => [
83
+ esc_html__( 'business', 'genesis-blocks' ),
84
+ esc_html__( 'services', 'genesis-blocks' ),
85
+ esc_html__( 'landing', 'genesis-blocks' ),
86
+ esc_html__( 'contact', 'genesis-blocks' ),
87
+ ],
88
+ 'keywords' => [
89
+ esc_html__( 'business', 'genesis-blocks' ),
90
+ esc_html__( 'landing', 'genesis-blocks' ),
91
+ esc_html__( 'accordion', 'genesis-blocks' ),
92
+ esc_html__( 'toggle', 'genesis-blocks' ),
93
+ esc_html__( 'slate', 'genesis-blocks' ),
94
+ esc_html__( 'slate accordion and text', 'genesis-blocks' ),
95
+ ],
96
+ 'image' => 'https://demo.studiopress.com/page-builder/slate/gb_slate_section_accordion_text.jpg',
97
+ ];
includes/patterns/gb_slate_section_blog_posts.php CHANGED
@@ -9,10 +9,15 @@ return [
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_blog_posts',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
 
14
  ],
15
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"gb-1-col-equal\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":3,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customBackgroundColor\":\"#ededed\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-blog-posts\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-blog-posts gb-layout-columns-1 gb-1-col-equal gb-has-custom-background-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:3em;padding-left:1em;background-color:#ededed\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-post-grid {\"postsToShow\":3,\"columns\":3,\"imageSize\":\"medium\"} /--></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
 
 
 
 
16
  'name' => esc_html__( 'Slate Blog Posts', 'genesis-blocks' ),
17
  'category' => [
18
  esc_html__( 'blog', 'genesis-blocks' ),
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_blog_posts',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
  ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"gb-1-col-equal\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":3,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ededed\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-blog-posts gpb-slate-section-blog-posts \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-blog-posts gpb-slate-section-blog-posts gb-layout-columns-1 gb-1-col-equal gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:3em;padding-left:1em;background-color:#ededed;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-post-grid {\"postsToShow\":3,\"columns\":3,\"imageSize\":\"medium\"} /--></div></div>
19
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
20
+ <!-- /wp:genesis-blocks/gb-columns -->",
21
  'name' => esc_html__( 'Slate Blog Posts', 'genesis-blocks' ),
22
  'category' => [
23
  esc_html__( 'blog', 'genesis-blocks' ),
includes/patterns/gb_slate_section_call_to_action_accent.php CHANGED
@@ -9,10 +9,11 @@ return [
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_call_to_action_accent',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
 
14
  ],
15
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#0073e5\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-cta-accent\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-cta-accent gb-layout-columns-2 gb-2-col-wideleft gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#0073e5;color:#f5f5f5\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"textAlign\":\"left\",\"paddingUnit\":\"em\",\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\" style=\"text-align:left\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Get a project quote today!</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">We'll put together a customized quote about your project and work with you to get started on your project. Let's build something together!</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#0073e5\",\"background\":\"#ffffff\"}},\"className\":\"is-style-fill\"} --> <div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#0073e5\"><strong>Get in touch today!</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"textAlign\":\"right\",\"paddingUnit\":\"em\",\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\" style=\"text-align:right\"></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> ",
16
  'name' => esc_html__( 'Slate Call To Action Accent', 'genesis-blocks' ),
17
  'category' => [
18
  esc_html__( 'header', 'genesis-blocks' ),
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_call_to_action_accent',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
  ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#006CD8\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-cta-accent\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-cta-accent gb-layout-columns-2 gb-2-col-wideleft gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#006CD8;color:#f5f5f5\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"textAlign\":\"left\",\"paddingUnit\":\"em\",\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\" style=\"text-align:left\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Get a project quote today!</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">We'll put together a customized quote about your project and work with you to get started on your project. Let's build something together!</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#006CD8\",\"background\":\"#ffffff\"}},\"className\":\"is-style-fill\"} --> <div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#ffffff;color:#006CD8\"><strong>Get in touch today!</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"textAlign\":\"right\",\"paddingUnit\":\"em\",\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\" style=\"text-align:right\"></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> ",
17
  'name' => esc_html__( 'Slate Call To Action Accent', 'genesis-blocks' ),
18
  'category' => [
19
  esc_html__( 'header', 'genesis-blocks' ),
includes/patterns/gb_slate_section_contact_box.php CHANGED
@@ -9,10 +9,79 @@ return [
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_contact_box',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
 
14
  ],
15
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":0,\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-contact-box\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-contact-box gb-layout-columns-2 gb-2-col-equal gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-0 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#1f1f1f\",\"customTextColor\":\"#abb8c3\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":3} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color gb-has-custom-text-color\" style=\"padding:3em;background-color:#1f1f1f;color:#abb8c3\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Contact us and let's start building something!</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#abb8c3\"}}} --> <p class=\"has-text-color\" style=\"color:#abb8c3\">Use the details to the right to get ahold of us.</p> <!-- /wp:paragraph --> <!-- wp:separator {\"className\":\"is-style-default\"} --> <hr class=\"wp-block-separator is-style-default\"/> <!-- /wp:separator --> <!-- wp:social-links --> <ul class=\"wp-block-social-links\"><!-- wp:social-link {\"url\":\"https://wordpress.org\",\"service\":\"wordpress\"} /--> <!-- wp:social-link {\"url\":\"#\",\"service\":\"facebook\"} /--> <!-- wp:social-link {\"url\":\"#\",\"service\":\"twitter\"} /--> <!-- wp:social-link {\"url\":\"#\",\"service\":\"instagram\"} /--> <!-- wp:social-link {\"service\":\"linkedin\"} /--> <!-- wp:social-link {\"service\":\"youtube\"} /--></ul> <!-- /wp:social-links --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#0073e5\",\"customTextColor\":\"#f5f5f5\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":3} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color gb-has-custom-text-color\" style=\"padding:3em;background-color:#0073e5;color:#f5f5f5\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Office</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Startup Square<br>123 Block Ave<br>Austin, Texas 36521</p> <!-- /wp:paragraph --> <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Hours</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Mon-Fri: 8am - 5pm<br>Sat: 8am 9pm<br>Sun: 8am - 2pm</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Via Email</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">hello@example.com<br>sales@example.com<br>support@example.com</p> <!-- /wp:paragraph --> <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h3 class=\"has-text-color\" style=\"font-size:26px;color:#f5f5f5\">Via Phone</h3> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Tel: 514-281-3821<br>Fax: 514-281-5210</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  'name' => esc_html__( 'Slate Contact Box', 'genesis-blocks' ),
17
  'category' => [
18
  esc_html__( 'contact', 'genesis-blocks' ),
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_contact_box',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
  ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":0,\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-contact-box gpb-slate-section-contact-box \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-contact-box gpb-slate-section-contact-box gb-layout-columns-2 gb-2-col-equal gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-0 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#1f1f1f\",\"customTextColor\":\"#abb8c3\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":3} -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color gb-has-custom-text-color\" style=\"padding:3em;background-color:#1f1f1f;color:#abb8c3\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} -->
19
+ <h2 class=\"has-text-color\" style=\"color:#f5f5f5;font-size:40px\">Contact us and let's start building something!</h2>
20
+ <!-- /wp:heading -->
21
+
22
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#abb8c3\"}}} -->
23
+ <p class=\"has-text-color\" style=\"color:#abb8c3\">Use the details to the right to get ahold of us.</p>
24
+ <!-- /wp:paragraph -->
25
+
26
+ <!-- wp:separator {\"className\":\"is-style-default\"} -->
27
+ <hr class=\"wp-block-separator is-style-default\"/>
28
+ <!-- /wp:separator -->
29
+
30
+ <!-- wp:social-links -->
31
+ <ul class=\"wp-block-social-links\"><!-- wp:social-link {\"url\":\"https://wordpress.org\",\"service\":\"wordpress\"} /-->
32
+
33
+ <!-- wp:social-link {\"url\":\"#\",\"service\":\"facebook\"} /-->
34
+
35
+ <!-- wp:social-link {\"url\":\"#\",\"service\":\"twitter\"} /-->
36
+
37
+ <!-- wp:social-link {\"url\":\"#\",\"service\":\"instagram\"} /-->
38
+
39
+ <!-- wp:social-link {\"service\":\"linkedin\"} /-->
40
+
41
+ <!-- wp:social-link {\"service\":\"youtube\"} /--></ul>
42
+ <!-- /wp:social-links --></div></div>
43
+ <!-- /wp:genesis-blocks/gb-column -->
44
+
45
+ <!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#006CD8\",\"customTextColor\":\"#f5f5f5\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":3} -->
46
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color gb-has-custom-text-color\" style=\"padding:3em;background-color:#006CD8;color:#f5f5f5\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\"} -->
47
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column -->
48
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} -->
49
+ <h3 class=\"has-text-color\" style=\"color:#f5f5f5;font-size:26px\">Office</h3>
50
+ <!-- /wp:heading -->
51
+
52
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} -->
53
+ <p class=\"has-text-color\" style=\"color:#f5f5f5\">Startup Square<br>123 Block Ave<br>Austin, Texas 36521</p>
54
+ <!-- /wp:paragraph -->
55
+
56
+ <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} -->
57
+ <h3 class=\"has-text-color\" style=\"color:#f5f5f5;font-size:26px\">Hours</h3>
58
+ <!-- /wp:heading -->
59
+
60
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} -->
61
+ <p class=\"has-text-color\" style=\"color:#f5f5f5\">Mon-Fri: 8am - 5pm<br>Sat: 8am 9pm<br>Sun: 8am - 2pm</p>
62
+ <!-- /wp:paragraph --></div></div>
63
+ <!-- /wp:genesis-blocks/gb-column -->
64
+
65
+ <!-- wp:genesis-blocks/gb-column -->
66
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} -->
67
+ <h3 class=\"has-text-color\" style=\"color:#f5f5f5;font-size:26px\">Via Email</h3>
68
+ <!-- /wp:heading -->
69
+
70
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} -->
71
+ <p class=\"has-text-color\" style=\"color:#f5f5f5\">hello@example.com<br>sales@example.com<br>support@example.com</p>
72
+ <!-- /wp:paragraph -->
73
+
74
+ <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#f5f5f5\"}}} -->
75
+ <h3 class=\"has-text-color\" style=\"color:#f5f5f5;font-size:26px\">Via Phone</h3>
76
+ <!-- /wp:heading -->
77
+
78
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} -->
79
+ <p class=\"has-text-color\" style=\"color:#f5f5f5\">Tel: 514-281-3821<br>Fax: 514-281-5210</p>
80
+ <!-- /wp:paragraph --></div></div>
81
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
82
+ <!-- /wp:genesis-blocks/gb-columns --></div></div>
83
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
84
+ <!-- /wp:genesis-blocks/gb-columns -->",
85
  'name' => esc_html__( 'Slate Contact Box', 'genesis-blocks' ),
86
  'category' => [
87
  esc_html__( 'contact', 'genesis-blocks' ),
includes/patterns/gb_slate_section_contact_columns.php CHANGED
@@ -9,10 +9,75 @@ return [
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_contact_columns',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
 
14
  ],
15
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"className\":\"gpb-slate-contact-columns\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-contact-columns gb-layout-columns-1 one-column gb-has-custom-background-color gb-has-custom-text-color alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":3,\"align\":\"full\",\"columnMaxWidth\":1200} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-3 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":40}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#1f1f1f\">Contact us today and let's build something.</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">We're taking new clients and new projects this summer. Want to build the next big thing? Send us an email.</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#0073e5\",\"text\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#0073e5;color:#ffffff\"><strong>Contact Us Today</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --> <!-- wp:spacer {\"height\":20} --> <div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div> <!-- /wp:spacer --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Office</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Startup Square<br>123 Block Ave<br>Austin, Texas 36521</p> <!-- /wp:paragraph --> <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Hours</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Mon-Fri: 8am - 5pm<br>Sat: 8am 9pm<br>Sun: 8am - 2pm</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Via Email</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">hello@example.com<br>sales@example.com<br>support@example.com</p> <!-- /wp:paragraph --> <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Via Phone</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Tel: 514-281-3821<br>Fax: 514-281-5210</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  'name' => esc_html__( 'Slate Contact Columns', 'genesis-blocks' ),
17
  'category' => [
18
  esc_html__( 'contact', 'genesis-blocks' ),
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_contact_columns',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
  ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"className\":\"gb-slate-section-contact-columns gpb-slate-contact-columns \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-contact-columns gpb-slate-contact-columns gb-layout-columns-1 one-column gb-has-custom-background-color gb-has-custom-text-color alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":3,\"align\":\"full\",\"columnMaxWidth\":1200} -->
19
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-3 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} -->
20
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":40}}} -->
21
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:40px\">Contact us today and let's build something.</h2>
22
+ <!-- /wp:heading -->
23
+
24
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
25
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">We're taking new clients and new projects this summer. Want to build the next big thing? Send us an email.</p>
26
+ <!-- /wp:paragraph -->
27
+
28
+ <!-- wp:buttons -->
29
+ <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#006CD8\",\"text\":\"#ffffff\"}}} -->
30
+ <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#006CD8;color:#ffffff\"><strong>Contact Us Today</strong></a></div>
31
+ <!-- /wp:button --></div>
32
+ <!-- /wp:buttons -->
33
+
34
+ <!-- wp:spacer {\"height\":20} -->
35
+ <div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>
36
+ <!-- /wp:spacer --></div></div>
37
+ <!-- /wp:genesis-blocks/gb-column -->
38
+
39
+ <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} -->
40
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\"} -->
41
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column -->
42
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} -->
43
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Office</h2>
44
+ <!-- /wp:heading -->
45
+
46
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
47
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Startup Square<br>123 Block Ave<br>Austin, Texas 36521</p>
48
+ <!-- /wp:paragraph -->
49
+
50
+ <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} -->
51
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Hours</h2>
52
+ <!-- /wp:heading -->
53
+
54
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
55
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Mon-Fri: 8am - 5pm<br>Sat: 8am 9pm<br>Sun: 8am - 2pm</p>
56
+ <!-- /wp:paragraph --></div></div>
57
+ <!-- /wp:genesis-blocks/gb-column -->
58
+
59
+ <!-- wp:genesis-blocks/gb-column -->
60
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} -->
61
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Via Email</h2>
62
+ <!-- /wp:heading -->
63
+
64
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
65
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">hello@example.com<br>sales@example.com<br>support@example.com</p>
66
+ <!-- /wp:paragraph -->
67
+
68
+ <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} -->
69
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Via Phone</h2>
70
+ <!-- /wp:heading -->
71
+
72
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
73
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Tel: 514-281-3821<br>Fax: 514-281-5210</p>
74
+ <!-- /wp:paragraph --></div></div>
75
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
76
+ <!-- /wp:genesis-blocks/gb-columns --></div></div>
77
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
78
+ <!-- /wp:genesis-blocks/gb-columns --></div></div>
79
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
80
+ <!-- /wp:genesis-blocks/gb-columns -->",
81
  'name' => esc_html__( 'Slate Contact Columns', 'genesis-blocks' ),
82
  'category' => [
83
  esc_html__( 'contact', 'genesis-blocks' ),
includes/patterns/gb_slate_section_content_boxes.php CHANGED
@@ -9,10 +9,43 @@ return [
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_content_boxes',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
 
14
  ],
15
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":0,\"align\":\"full\",\"padding\":7,\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"backgroundColor\":\"white\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-content-boxes\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-content-boxes gb-layout-columns-2 gb-2-col-equal has-white-background-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-0 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#1f1f1f\",\"textColor\":\"white\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":4} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color has-white-color\" style=\"padding:4em;background-color:#1f1f1f\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Contact us and let's start building something!</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks. Design collections help you launch any simple or complex website with curated collections of beautiful page sections and layouts. Go Pro to get our entire collection!</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#0073e5\",\"text\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#0073e5;color:#ffffff\"><strong>Download Now</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#0073e5\",\"textColor\":\"white\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":4} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color has-white-color\" style=\"padding:4em;background-color:#0073e5\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#f5f5f5\">Contact us and let's start building something!</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks. Design collections help you launch any simple or complex website with curated collections of beautiful page sections and layouts. Go Pro to get our entire collection!</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#0073e5\",\"background\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#ffffff;color:#0073e5\"><strong>Download Now</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  'name' => esc_html__( 'Slate Content Boxes', 'genesis-blocks' ),
17
  'category' => [
18
  esc_html__( 'contact', 'genesis-blocks' ),
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_content_boxes',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
  ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":0,\"align\":\"full\",\"padding\":7,\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-content-boxes gpb-slate-content-boxes \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-content-boxes gpb-slate-content-boxes gb-layout-columns-2 gb-2-col-equal gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-0 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#1f1f1f\",\"customTextColor\":\"#f5f5f5\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":4} -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color gb-has-custom-text-color\" style=\"padding:4em;background-color:#1f1f1f;color:#f5f5f5\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} -->
19
+ <h2 class=\"has-text-color\" style=\"color:#f5f5f5;font-size:40px\">Contact us and let's start building something!</h2>
20
+ <!-- /wp:heading -->
21
+
22
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} -->
23
+ <p class=\"has-text-color\" style=\"color:#f5f5f5\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks. Design collections help you launch any simple or complex website with curated collections of beautiful page sections and layouts. Go Pro to get our entire collection!</p>
24
+ <!-- /wp:paragraph -->
25
+
26
+ <!-- wp:buttons -->
27
+ <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#006CD8\",\"text\":\"#ffffff\"}}} -->
28
+ <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#006CD8;color:#ffffff\"><strong>Download Now</strong></a></div>
29
+ <!-- /wp:button --></div>
30
+ <!-- /wp:buttons --></div></div>
31
+ <!-- /wp:genesis-blocks/gb-column -->
32
+
33
+ <!-- wp:genesis-blocks/gb-column {\"customBackgroundColor\":\"#006CD8\",\"customTextColor\":\"#f5f5f5\",\"paddingSync\":true,\"paddingUnit\":\"em\",\"padding\":4} -->
34
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner gb-has-custom-background-color gb-has-custom-text-color\" style=\"padding:4em;background-color:#006CD8;color:#f5f5f5\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#f5f5f5\"}}} -->
35
+ <h2 class=\"has-text-color\" style=\"color:#f5f5f5;font-size:40px\">Contact us and let's start building something!</h2>
36
+ <!-- /wp:heading -->
37
+
38
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} -->
39
+ <p class=\"has-text-color\" style=\"color:#f5f5f5\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks. Design collections help you launch any simple or complex website with curated collections of beautiful page sections and layouts. Go Pro to get our entire collection!</p>
40
+ <!-- /wp:paragraph -->
41
+
42
+ <!-- wp:buttons -->
43
+ <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#006CD8\",\"background\":\"#ffffff\"}}} -->
44
+ <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#ffffff;color:#006CD8\"><strong>Download Now</strong></a></div>
45
+ <!-- /wp:button --></div>
46
+ <!-- /wp:buttons --></div></div>
47
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
48
+ <!-- /wp:genesis-blocks/gb-columns -->",
49
  'name' => esc_html__( 'Slate Content Boxes', 'genesis-blocks' ),
50
  'category' => [
51
  esc_html__( 'contact', 'genesis-blocks' ),
includes/patterns/gb_slate_section_feature_image_and_text_columns.php ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Genesis Blocks Feature Image and Text Columns section for Slate Collection.
4
+ *
5
+ * @package genesis-blocks
6
+ */
7
+
8
+ return [
9
+ 'type' => 'section',
10
+ 'key' => 'gb_slate_section_feature_image_columns',
11
+ 'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
+ ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":8,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ededed\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-feature-image-and-text-columns gb-slate-section-feature-image-columns \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-feature-image-and-text-columns gb-slate-section-feature-image-columns gb-layout-columns-1 one-column gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:8em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ededed;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":3} -->
19
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-3 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column -->
20
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:image {\"sizeSlug\":\"large\"} -->
21
+ <figure class=\"wp-block-image size-large\"><img src=\"https://demo.studiopress.com/page-builder/gb-placeholder-hero.jpg\" alt=\"\"/></figure>
22
+ <!-- /wp:image -->
23
+
24
+ <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#1f1f1f\"}}} -->
25
+ <h3 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Build your site with Genesis Blocks today.</h3>
26
+ <!-- /wp:heading -->
27
+
28
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
29
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks.</p>
30
+ <!-- /wp:paragraph -->
31
+
32
+ <!-- wp:buttons -->
33
+ <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#006CD8\",\"text\":\"#ffffff\"}}} -->
34
+ <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#006CD8;color:#ffffff\"><strong>Learn More</strong></a></div>
35
+ <!-- /wp:button --></div>
36
+ <!-- /wp:buttons -->
37
+
38
+ <!-- wp:spacer {\"height\":25} -->
39
+ <div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>
40
+ <!-- /wp:spacer --></div></div>
41
+ <!-- /wp:genesis-blocks/gb-column -->
42
+
43
+ <!-- wp:genesis-blocks/gb-column -->
44
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:image {\"sizeSlug\":\"large\"} -->
45
+ <figure class=\"wp-block-image size-large\"><img src=\"https://demo.studiopress.com/page-builder/gb-placeholder-hero.jpg\" alt=\"\"/></figure>
46
+ <!-- /wp:image -->
47
+
48
+ <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#1f1f1f\"}}} -->
49
+ <h3 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Build your site with Genesis Blocks today.</h3>
50
+ <!-- /wp:heading -->
51
+
52
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
53
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks.</p>
54
+ <!-- /wp:paragraph -->
55
+
56
+ <!-- wp:buttons -->
57
+ <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#006CD8\",\"text\":\"#ffffff\"}}} -->
58
+ <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#006CD8;color:#ffffff\"><strong>Learn More</strong></a></div>
59
+ <!-- /wp:button --></div>
60
+ <!-- /wp:buttons --></div></div>
61
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
62
+ <!-- /wp:genesis-blocks/gb-columns --></div></div>
63
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
64
+ <!-- /wp:genesis-blocks/gb-columns -->",
65
+ 'name' => esc_html__( 'Slate Feature Image and Text Columns', 'genesis-blocks' ),
66
+ 'category' => [
67
+ esc_html__( 'business', 'genesis-blocks' ),
68
+ esc_html__( 'services', 'genesis-blocks' ),
69
+ esc_html__( 'portfolio', 'genesis-blocks' ),
70
+ esc_html__( 'media', 'genesis-blocks' ),
71
+ ],
72
+ 'keywords' => [
73
+ esc_html__( 'business', 'genesis-blocks' ),
74
+ esc_html__( 'landing', 'genesis-blocks' ),
75
+ esc_html__( 'portfolio', 'genesis-blocks' ),
76
+ esc_html__( 'column', 'genesis-blocks' ),
77
+ esc_html__( 'image', 'genesis-blocks' ),
78
+ esc_html__( 'slate', 'genesis-blocks' ),
79
+ esc_html__( 'slate feature image and text columns', 'genesis-blocks' ),
80
+ ],
81
+ 'image' => 'https://demo.studiopress.com/page-builder/slate/gb_slate_section_feature_image_columns.jpg',
82
+ ];
includes/patterns/gb_slate_section_feature_text_columns.php CHANGED
@@ -9,10 +9,61 @@ return [
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_feature_text_columns',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
 
14
  ],
15
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-feature-text-columns\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-feature-text-columns gb-layout-columns-1 one-column gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"columnMaxWidth\":840} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-1 one-column gb-columns-center\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:840px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#1f1f1f\"}}} --> <h2 class=\"has-text-align-center has-text-color\" style=\"font-size:40px;color:#1f1f1f\">Build better websites in half the time.</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-align-center has-text-color\" style=\"color:#1f1f1f\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks. Go Pro to get our entire collection!</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> <!-- wp:spacer {\"height\":30} --> <div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div> <!-- /wp:spacer --> <!-- wp:genesis-blocks/gb-columns {\"columns\":3,\"layout\":\"gb-3-col-equal\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-3 gb-3-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":4,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#1f1f1f\"}}} --> <h4 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Build your site with Genesis Blocks today.</h4> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":4,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#1f1f1f\"}}} --> <h4 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Build your site with Genesis Blocks today.</h4> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":4,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#1f1f1f\"}}} --> <h4 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Build your site with Genesis Blocks today.</h4> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  'name' => esc_html__( 'Slate Feature Text Columns', 'genesis-blocks' ),
17
  'category' => [
18
  esc_html__( 'business', 'genesis-blocks' ),
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_feature_text_columns',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
  ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-feature-text-columns gb-slate-feature-text-columns \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-feature-text-columns gb-slate-feature-text-columns gb-layout-columns-1 one-column gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"columnMaxWidth\":840} -->
19
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-1 one-column gb-columns-center\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:840px\"><!-- wp:genesis-blocks/gb-column -->
20
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#1f1f1f\"}}} -->
21
+ <h2 class=\"has-text-align-center has-text-color\" style=\"color:#1f1f1f;font-size:40px\">Build better websites in half the time.</h2>
22
+ <!-- /wp:heading -->
23
+
24
+ <!-- wp:paragraph {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
25
+ <p class=\"has-text-align-center has-text-color\" style=\"color:#1f1f1f\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks. Go Pro to get our entire collection!</p>
26
+ <!-- /wp:paragraph --></div></div>
27
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
28
+ <!-- /wp:genesis-blocks/gb-columns -->
29
+
30
+ <!-- wp:spacer {\"height\":30} -->
31
+ <div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>
32
+ <!-- /wp:spacer -->
33
+
34
+ <!-- wp:genesis-blocks/gb-columns {\"columns\":3,\"layout\":\"gb-3-col-equal\"} -->
35
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-3 gb-3-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column -->
36
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":4,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#1f1f1f\"}}} -->
37
+ <h4 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Build your site with Genesis Blocks today.</h4>
38
+ <!-- /wp:heading -->
39
+
40
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
41
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks.</p>
42
+ <!-- /wp:paragraph --></div></div>
43
+ <!-- /wp:genesis-blocks/gb-column -->
44
+
45
+ <!-- wp:genesis-blocks/gb-column -->
46
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":4,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#1f1f1f\"}}} -->
47
+ <h4 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Build your site with Genesis Blocks today.</h4>
48
+ <!-- /wp:heading -->
49
+
50
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
51
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks.</p>
52
+ <!-- /wp:paragraph --></div></div>
53
+ <!-- /wp:genesis-blocks/gb-column -->
54
+
55
+ <!-- wp:genesis-blocks/gb-column -->
56
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"level\":4,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#1f1f1f\"}}} -->
57
+ <h4 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Build your site with Genesis Blocks today.</h4>
58
+ <!-- /wp:heading -->
59
+
60
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
61
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks.</p>
62
+ <!-- /wp:paragraph --></div></div>
63
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
64
+ <!-- /wp:genesis-blocks/gb-columns --></div></div>
65
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
66
+ <!-- /wp:genesis-blocks/gb-columns -->",
67
  'name' => esc_html__( 'Slate Feature Text Columns', 'genesis-blocks' ),
68
  'category' => [
69
  esc_html__( 'business', 'genesis-blocks' ),
includes/patterns/gb_slate_section_features.php CHANGED
@@ -9,10 +9,69 @@ return [
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_features',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
 
14
  ],
15
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":5,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customBackgroundColor\":\"#ffffff\",\"className\":\"gpb-slate-features\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-features gb-layout-columns-1 one-column gb-has-custom-background-color alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:5em;padding-left:1em;background-color:#ffffff\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":3,\"align\":\"full\",\"columnMaxWidth\":1200} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-3 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":40}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#1f1f1f\">Build better websites in half the time with beautiful design collections.</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">The Genesis design collection library has everything you need to design beautiful block-powered websites with just a few clicks. Go Pro to get our entire collection!</p> <!-- /wp:paragraph --> <!-- wp:spacer {\"height\":20} --> <div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div> <!-- /wp:spacer --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Build your site with design collections</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Design collections help you launch any simple or complex website with curated collections of beautiful page sections and layouts.</p> <!-- /wp:paragraph --> <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Design better with powerful tools</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Build better sites faster with powerful site building tools for the WordPress editor.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} --> <h2 class=\"has-text-color\" style=\"font-size:26px;color:#1f1f1f\">Full page layouts help you launch quicker</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Need a landing page built quickly? Start with one of our professionally designed page layouts, replace the sample text, and you're done!</p> <!-- /wp:paragraph --> <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":24}}} --> <h2 class=\"has-text-color\" style=\"font-size:24px;color:#1f1f1f\">Create compelling content faster</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Create and use content quickly with customizable content sections.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  'name' => esc_html__( 'Slate Features', 'genesis-blocks' ),
17
  'category' => [
18
  esc_html__( 'business', 'genesis-blocks' ),
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_features',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
  ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":5,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ffffff\",\"className\":\"gb-slate-section-features gpb-slate-features \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-features gpb-slate-features gb-layout-columns-1 one-column gb-has-custom-background-color gb-has-custom-text-color alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:5em;padding-left:1em;background-color:#ffffff;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"columnsGap\":3,\"align\":\"full\",\"columnMaxWidth\":1200} -->
19
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-3 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column -->
20
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":40}}} -->
21
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:40px\">Build better websites in half the time with beautiful design collections.</h2>
22
+ <!-- /wp:heading -->
23
+
24
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
25
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">The Genesis design collection library has everything you need to design beautiful block-powered websites with just a few clicks. Go Pro to get our entire collection!</p>
26
+ <!-- /wp:paragraph -->
27
+
28
+ <!-- wp:spacer {\"height\":20} -->
29
+ <div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>
30
+ <!-- /wp:spacer --></div></div>
31
+ <!-- /wp:genesis-blocks/gb-column -->
32
+
33
+ <!-- wp:genesis-blocks/gb-column -->
34
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\"} -->
35
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column -->
36
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} -->
37
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Build your site with design collections</h2>
38
+ <!-- /wp:heading -->
39
+
40
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
41
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Design collections help you launch any simple or complex website with curated collections of beautiful page sections and layouts.</p>
42
+ <!-- /wp:paragraph -->
43
+
44
+ <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} -->
45
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Design better with powerful tools</h2>
46
+ <!-- /wp:heading -->
47
+
48
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
49
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Build better sites faster with powerful site building tools for the WordPress editor.</p>
50
+ <!-- /wp:paragraph --></div></div>
51
+ <!-- /wp:genesis-blocks/gb-column -->
52
+
53
+ <!-- wp:genesis-blocks/gb-column -->
54
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":26}}} -->
55
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Full page layouts help you launch quicker</h2>
56
+ <!-- /wp:heading -->
57
+
58
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
59
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Need a landing page built quickly? Start with one of our professionally designed page layouts, replace the sample text, and you're done!</p>
60
+ <!-- /wp:paragraph -->
61
+
62
+ <!-- wp:heading {\"style\":{\"color\":{\"text\":\"#1f1f1f\"},\"typography\":{\"fontSize\":24}}} -->
63
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:24px\">Create compelling content faster</h2>
64
+ <!-- /wp:heading -->
65
+
66
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
67
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Create and use content quickly with customizable content sections.</p>
68
+ <!-- /wp:paragraph --></div></div>
69
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
70
+ <!-- /wp:genesis-blocks/gb-columns --></div></div>
71
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
72
+ <!-- /wp:genesis-blocks/gb-columns --></div></div>
73
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
74
+ <!-- /wp:genesis-blocks/gb-columns -->",
75
  'name' => esc_html__( 'Slate Features', 'genesis-blocks' ),
76
  'category' => [
77
  esc_html__( 'business', 'genesis-blocks' ),
includes/patterns/gb_slate_section_hero_title.php CHANGED
@@ -9,10 +9,31 @@ return [
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_hero_title',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
 
14
  ],
15
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"backgroundImgURL\":\"https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg\",\"backgroundDimRatio\":20,\"focalPoint\":{\"x\":\"0.48\",\"y\":\"0.72\"},\"columns\":1,\"layout\":\"one-column\",\"columnsGap\":1,\"align\":\"full\",\"paddingTop\":5,\"paddingRight\":1,\"paddingBottom\":5,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#1f1f1f\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-section-hero-title\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-section-hero-title gb-layout-columns-1 one-column gb-has-background-dim gb-has-background-dim-20 gb-background-cover gb-background-no-repeat gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:5em;padding-right:1em;padding-bottom:5em;padding-left:1em;background-color:#1f1f1f;color:#f5f5f5;background-image:url(https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg);background-position:48% 72%\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-1 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"columnsGap\":8,\"align\":\"full\",\"columnMaxWidth\":1200} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-wideleft gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-8 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":60},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:60px;color:#f5f5f5\">Features and services</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks.</p> <!-- /wp:paragraph --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --> ",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  'name' => esc_html__( 'Slate Hero Title', 'genesis-blocks' ),
17
  'category' => [
18
  esc_html__( 'header', 'genesis-blocks' ),
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_hero_title',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
  ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"backgroundImgURL\":\"https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg\",\"backgroundDimRatio\":20,\"focalPoint\":{\"x\":\"0.48\",\"y\":\"0.72\"},\"columns\":1,\"layout\":\"one-column\",\"columnsGap\":1,\"align\":\"full\",\"paddingTop\":5,\"paddingRight\":1,\"paddingBottom\":5,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#1f1f1f\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-hero-title gpb-slate-section-hero-title \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-hero-title gpb-slate-section-hero-title gb-layout-columns-1 one-column gb-has-background-dim gb-has-background-dim-20 gb-background-cover gb-background-no-repeat gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:5em;padding-right:1em;padding-bottom:5em;padding-left:1em;background-color:#1f1f1f;color:#f5f5f5;background-image:url(https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg);background-position:48% 72%\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-1 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"columnsGap\":8,\"align\":\"full\",\"columnMaxWidth\":1200} -->
19
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-wideleft gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-8 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} -->
20
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":60},\"color\":{\"text\":\"#f5f5f5\"}}} -->
21
+ <h2 class=\"has-text-color\" style=\"color:#f5f5f5;font-size:60px\">Features and services</h2>
22
+ <!-- /wp:heading -->
23
+
24
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} -->
25
+ <p class=\"has-text-color\" style=\"color:#f5f5f5\">The Genesis block pattern library has everything you need to design beautiful block-powered websites with just a few clicks.</p>
26
+ <!-- /wp:paragraph --></div></div>
27
+ <!-- /wp:genesis-blocks/gb-column -->
28
+
29
+ <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} -->
30
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"><!-- wp:paragraph -->
31
+ <p></p>
32
+ <!-- /wp:paragraph --></div></div>
33
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
34
+ <!-- /wp:genesis-blocks/gb-columns --></div></div>
35
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
36
+ <!-- /wp:genesis-blocks/gb-columns -->",
37
  'name' => esc_html__( 'Slate Hero Title', 'genesis-blocks' ),
38
  'category' => [
39
  esc_html__( 'header', 'genesis-blocks' ),
includes/patterns/gb_slate_section_hero_with_buttons.php CHANGED
@@ -9,10 +9,41 @@ return [
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_hero_with_buttons',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
 
14
  ],
15
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"backgroundImgURL\":\"https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg\",\"backgroundDimRatio\":20,\"focalPoint\":{\"x\":\"0.48\",\"y\":\"0.72\"},\"columns\":1,\"layout\":\"one-column\",\"columnsGap\":1,\"align\":\"full\",\"paddingTop\":10,\"paddingRight\":1,\"paddingBottom\":10,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#1f1f1f\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-hero-buttons\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-hero-buttons gb-layout-columns-1 one-column gb-has-background-dim gb-has-background-dim-20 gb-background-cover gb-background-no-repeat gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:10em;padding-right:1em;padding-bottom:10em;padding-left:1em;background-color:#1f1f1f;color:#f5f5f5;background-image:url(https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg);background-position:48% 72%\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-1 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"columnsGap\":8,\"align\":\"full\",\"columnMaxWidth\":1200} --> <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-wideleft gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-8 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":60},\"color\":{\"text\":\"#f5f5f5\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:60px;color:#f5f5f5\">The future of WordPress starts with Genesis</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} --> <p class=\"has-text-color\" style=\"color:#f5f5f5\">A complete design system of beautiful block patterns and full page designs at your fingertips. Start building with Genesis today.</p> <!-- /wp:paragraph --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#0073e5\",\"text\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#0073e5;color:#ffffff\"><strong>Start Building</strong></a></div> <!-- /wp:button --> <!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#1f1f1f\",\"background\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#ffffff;color:#1f1f1f\"><strong>Explore Genesis</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  'name' => esc_html__( 'Slate Hero with Buttons', 'genesis-blocks' ),
17
  'category' => [
18
  esc_html__( 'header', 'genesis-blocks' ),
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_hero_with_buttons',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
  ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"backgroundImgURL\":\"https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg\",\"backgroundDimRatio\":20,\"focalPoint\":{\"x\":\"0.48\",\"y\":\"0.72\"},\"columns\":1,\"layout\":\"one-column\",\"columnsGap\":1,\"align\":\"full\",\"paddingTop\":10,\"paddingRight\":1,\"paddingBottom\":10,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#f5f5f5\",\"customBackgroundColor\":\"#1f1f1f\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-hero-with-buttons gb-slate-section-hero-buttons \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-hero-with-buttons gb-slate-section-hero-buttons gb-layout-columns-1 one-column gb-has-background-dim gb-has-background-dim-20 gb-background-cover gb-background-no-repeat gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:10em;padding-right:1em;padding-bottom:10em;padding-left:1em;background-color:#1f1f1f;color:#f5f5f5;background-image:url(https://demo.studiopress.com/page-builder/slate/gb_slate_hero_background.jpg);background-position:48% 72%\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-1 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-wideleft\",\"columnsGap\":8,\"align\":\"full\",\"columnMaxWidth\":1200} -->
19
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-2 gb-2-col-wideleft gb-columns-center alignfull\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-8 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"top\"} -->
20
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-top\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":60},\"color\":{\"text\":\"#f5f5f5\"}}} -->
21
+ <h2 class=\"has-text-color\" style=\"color:#f5f5f5;font-size:60px\">The future of WordPress starts with Genesis</h2>
22
+ <!-- /wp:heading -->
23
+
24
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#f5f5f5\"}}} -->
25
+ <p class=\"has-text-color\" style=\"color:#f5f5f5\">A complete design system of beautiful block patterns and full page designs at your fingertips. Start building with Genesis today.</p>
26
+ <!-- /wp:paragraph -->
27
+
28
+ <!-- wp:buttons -->
29
+ <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#006CD8\",\"text\":\"#ffffff\"}}} -->
30
+ <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#006CD8;color:#ffffff\"><strong>Start Building</strong></a></div>
31
+ <!-- /wp:button -->
32
+
33
+ <!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"text\":\"#1f1f1f\",\"background\":\"#ffffff\"}}} -->
34
+ <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" href=\"#\" style=\"border-radius:4px;background-color:#ffffff;color:#1f1f1f\"><strong>Explore Genesis</strong></a></div>
35
+ <!-- /wp:button --></div>
36
+ <!-- /wp:buttons --></div></div>
37
+ <!-- /wp:genesis-blocks/gb-column -->
38
+
39
+ <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} -->
40
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"><!-- wp:paragraph -->
41
+ <p></p>
42
+ <!-- /wp:paragraph --></div></div>
43
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
44
+ <!-- /wp:genesis-blocks/gb-columns --></div></div>
45
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
46
+ <!-- /wp:genesis-blocks/gb-columns -->",
47
  'name' => esc_html__( 'Slate Hero with Buttons', 'genesis-blocks' ),
48
  'category' => [
49
  esc_html__( 'header', 'genesis-blocks' ),
includes/patterns/gb_slate_section_image_and_text_columns.php ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Genesis Blocks Image and Text Columns section for Slate Collection.
4
+ *
5
+ * @package genesis-blocks
6
+ */
7
+
8
+ return [
9
+ 'type' => 'section',
10
+ 'key' => 'gb_slate_section_image_text_columns',
11
+ 'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
+ ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":1,\"layout\":\"one-column\",\"align\":\"full\",\"paddingTop\":8,\"paddingRight\":1,\"paddingBottom\":8,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ededed\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-image-and-text-columns gb-slate-image-text-columns \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-image-and-text-columns gb-slate-image-text-columns gb-layout-columns-1 one-column gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:8em;padding-right:1em;padding-bottom:8em;padding-left:1em;background-color:#ededed;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:genesis-blocks/gb-columns {\"columns\":3,\"layout\":\"gb-3-col-equal\"} -->
19
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-layout-columns-3 gb-3-col-equal\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\"><!-- wp:genesis-blocks/gb-column -->
20
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:image {\"sizeSlug\":\"large\"} -->
21
+ <figure class=\"wp-block-image size-large\"><img src=\"https://demo.studiopress.com/page-builder/gb-placeholder-hero.jpg\" alt=\"\"/></figure>
22
+ <!-- /wp:image -->
23
+
24
+ <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#1f1f1f\"}}} -->
25
+ <h3 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Build your site with Genesis Blocks today.</h3>
26
+ <!-- /wp:heading -->
27
+
28
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
29
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks.</p>
30
+ <!-- /wp:paragraph --></div></div>
31
+ <!-- /wp:genesis-blocks/gb-column -->
32
+
33
+ <!-- wp:genesis-blocks/gb-column -->
34
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:image {\"sizeSlug\":\"large\"} -->
35
+ <figure class=\"wp-block-image size-large\"><img src=\"https://demo.studiopress.com/page-builder/gb-placeholder-hero.jpg\" alt=\"\"/></figure>
36
+ <!-- /wp:image -->
37
+
38
+ <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#1f1f1f\"}}} -->
39
+ <h3 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Build your site with Genesis Blocks today.</h3>
40
+ <!-- /wp:heading -->
41
+
42
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
43
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks.</p>
44
+ <!-- /wp:paragraph --></div></div>
45
+ <!-- /wp:genesis-blocks/gb-column -->
46
+
47
+ <!-- wp:genesis-blocks/gb-column -->
48
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:image {\"sizeSlug\":\"large\"} -->
49
+ <figure class=\"wp-block-image size-large\"><img src=\"https://demo.studiopress.com/page-builder/gb-placeholder-hero.jpg\" alt=\"\"/></figure>
50
+ <!-- /wp:image -->
51
+
52
+ <!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":26},\"color\":{\"text\":\"#1f1f1f\"}}} -->
53
+ <h3 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:26px\">Build your site with Genesis Blocks today.</h3>
54
+ <!-- /wp:heading -->
55
+
56
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
57
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks.</p>
58
+ <!-- /wp:paragraph --></div></div>
59
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
60
+ <!-- /wp:genesis-blocks/gb-columns --></div></div>
61
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
62
+ <!-- /wp:genesis-blocks/gb-columns -->",
63
+ 'name' => esc_html__( 'Slate Image and Text Columns', 'genesis-blocks' ),
64
+ 'category' => [
65
+ esc_html__( 'business', 'genesis-blocks' ),
66
+ esc_html__( 'product', 'genesis-blocks' ),
67
+ esc_html__( 'services', 'genesis-blocks' ),
68
+ esc_html__( 'landing', 'genesis-blocks' ),
69
+ ],
70
+ 'keywords' => [
71
+ esc_html__( 'business', 'genesis-blocks' ),
72
+ esc_html__( 'product', 'genesis-blocks' ),
73
+ esc_html__( 'landing', 'genesis-blocks' ),
74
+ esc_html__( 'slate', 'genesis-blocks' ),
75
+ esc_html__( 'features', 'genesis-blocks' ),
76
+ esc_html__( 'columns', 'genesis-blocks' ),
77
+ esc_html__( 'image', 'genesis-blocks' ),
78
+ esc_html__( 'slate image and text columns', 'genesis-blocks' ),
79
+ ],
80
+ 'image' => 'https://demo.studiopress.com/page-builder/slate/gb_slate_section_image_text_columns.jpg',
81
+ ];
includes/patterns/gb_slate_section_image_and_text_cta.php CHANGED
@@ -9,10 +9,37 @@ return [
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_image_and_text_cta',
11
  'collection' => [
12
- 'slug' => 'slate',
13
- 'label' => __( 'Slate', 'genesis-blocks' ),
 
14
  ],
15
- 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ededed\",\"columnMaxWidth\":1200,\"className\":\"gpb-slate-image-text\"} --> <div class=\"wp-block-genesis-blocks-gb-columns gpb-slate-image-text gb-layout-columns-2 gb-2-col-equal gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ededed;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:image {\"sizeSlug\":\"large\"} --> <figure class=\"wp-block-image size-large\"><img src=\"https://demo.studiopress.com/page-builder/slate/gb_slate_image_text_square.jpg\" alt=\"GB Square Placeholder\"/></figure> <!-- /wp:image --></div></div> <!-- /wp:genesis-blocks/gb-column --> <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} --> <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#1f1f1f\"}}} --> <h2 class=\"has-text-color\" style=\"font-size:40px;color:#1f1f1f\">We design and develop memorable experiences</h2> <!-- /wp:heading --> <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} --> <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks. Go Pro to get our entire collection!</p> <!-- /wp:paragraph --> <!-- wp:spacer {\"height\":24} --> <div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div> <!-- /wp:spacer --> <!-- wp:buttons --> <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#0073e5\",\"text\":\"#ffffff\"}}} --> <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#0073e5;color:#ffffff\"><strong>Download Now</strong></a></div> <!-- /wp:button --></div> <!-- /wp:buttons --></div></div> <!-- /wp:genesis-blocks/gb-column --></div></div> <!-- /wp:genesis-blocks/gb-columns -->",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  'name' => esc_html__( 'Slate Image and Text CTA', 'genesis-blocks' ),
17
  'category' => [
18
  esc_html__( 'services', 'genesis-blocks' ),
9
  'type' => 'section',
10
  'key' => 'gb_slate_section_image_and_text_cta',
11
  'collection' => [
12
+ 'slug' => 'slate',
13
+ 'label' => esc_html__( 'Slate', 'genesis-blocks' ),
14
+ 'allowThemeColorPalette' => false,
15
  ],
16
+ 'content' => "<!-- wp:genesis-blocks/gb-columns {\"columns\":2,\"layout\":\"gb-2-col-equal\",\"align\":\"full\",\"paddingTop\":6,\"paddingRight\":1,\"paddingBottom\":6,\"paddingLeft\":1,\"paddingUnit\":\"em\",\"customTextColor\":\"#1f1f1f\",\"customBackgroundColor\":\"#ededed\",\"columnMaxWidth\":1200,\"className\":\"gb-slate-section-image-and-text-cta gpb-slate-image-text \"} -->
17
+ <div class=\"wp-block-genesis-blocks-gb-columns gb-slate-section-image-and-text-cta gpb-slate-image-text gb-layout-columns-2 gb-2-col-equal gb-has-custom-background-color gb-has-custom-text-color gb-columns-center alignfull\" style=\"padding-top:6em;padding-right:1em;padding-bottom:6em;padding-left:1em;background-color:#ededed;color:#1f1f1f\"><div class=\"gb-layout-column-wrap gb-block-layout-column-gap-2 gb-is-responsive-column\" style=\"max-width:1200px\"><!-- wp:genesis-blocks/gb-column -->
18
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column\"><div class=\"gb-block-layout-column-inner\"><!-- wp:image {\"sizeSlug\":\"large\"} -->
19
+ <figure class=\"wp-block-image size-large\"><img src=\"https://demo.studiopress.com/page-builder/slate/gb_slate_image_text_square.jpg\" alt=\"GB Square Placeholder\"/></figure>
20
+ <!-- /wp:image --></div></div>
21
+ <!-- /wp:genesis-blocks/gb-column -->
22
+
23
+ <!-- wp:genesis-blocks/gb-column {\"columnVerticalAlignment\":\"center\"} -->
24
+ <div class=\"wp-block-genesis-blocks-gb-column gb-block-layout-column gb-is-vertically-aligned-center\"><div class=\"gb-block-layout-column-inner\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":40},\"color\":{\"text\":\"#1f1f1f\"}}} -->
25
+ <h2 class=\"has-text-color\" style=\"color:#1f1f1f;font-size:40px\">We design and develop memorable experiences</h2>
26
+ <!-- /wp:heading -->
27
+
28
+ <!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#1f1f1f\"}}} -->
29
+ <p class=\"has-text-color\" style=\"color:#1f1f1f\">Genesis design collections have everything you need to design beautiful block-powered websites with just a few clicks. Go Pro to get our entire collection!</p>
30
+ <!-- /wp:paragraph -->
31
+
32
+ <!-- wp:spacer {\"height\":24} -->
33
+ <div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>
34
+ <!-- /wp:spacer -->
35
+
36
+ <!-- wp:buttons -->
37
+ <div class=\"wp-block-buttons\"><!-- wp:button {\"borderRadius\":4,\"style\":{\"color\":{\"background\":\"#006CD8\",\"text\":\"#ffffff\"}}} -->
38
+ <div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:4px;background-color:#006CD8;color:#ffffff\"><strong>Download Now</strong></a></div>
39
+ <!-- /wp:button --></div>
40
+ <!-- /wp:buttons --></div></div>
41
+ <!-- /wp:genesis-blocks/gb-column --></div></div>
42
+ <!-- /wp:genesis-blocks/gb-columns -->",
43
  'name' => esc_html__( 'Slate Image and Text CTA', 'genesis-blocks' ),
44
  'category' => [
45
  esc_html__( 'services', 'genesis-blocks' ),