Stackable – Page Builder Gutenberg Blocks - Version 2.5.1

Version Description

  • Fixed: Images with paths containing "mp4", "webm" or "ogg" are wrongly detected as videos
Download this release

Release Info

Developer bfintal
Plugin Icon 128x128 Stackable – Page Builder Gutenberg Blocks
Version 2.5.1
Comparing to
See all releases

Code changes from version 2.5.0 to 2.5.1

Files changed (1) hide show
  1. dist/editor_blocks.js +0 -1
dist/editor_blocks.js CHANGED
@@ -1,2 +1,2 @@
1
- var editor_blocks=function(e){function t(t){for(var a,r,l=t[0],c=t[1],s=t[2],b=0,p=[];b<l.length;b++)r=l[b],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&p.push(o[r][0]),o[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(t);p.length;)p.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],a=!0,l=1;l<n.length;l++){var c=n[l];0!==o[c]&&(a=!1)}a&&(i.splice(t--,1),e=r(r.s=n[0]))}return e}var a={},o={0:0},i=[];function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="";var l=window.webpackJsonp_name_=window.webpackJsonp_name_||[],c=l.push.bind(l);l.push=t,l=l.slice();for(var s=0;s<l.length;s++)t(l[s]);var u=c;return i.push([381,1]),n()}([function(e,t){e.exports=wp.i18n},function(e,t){e.exports=stackable},function(e,t,n){"use strict";var a=n(1),o=[],i={ru_RU:"cyrillic",bg_BG:"cyrillic",he_IL:"hebrew",el:"greek",vi:"vietnamese",uk:"cyrillic",cs_CZ:"latin-ext",ro_RO:"latin-ext",pl_PL:"latin-ext"},r=function(e){return!e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)},l=function(e){if(!o.includes(e)){if(document&&r(e)){var t=document.createElement("link");t.setAttribute("href",function(e){var t=e.replace(/ /g,"+"),n=i[a.locale]?"&subset=".concat(i):"";return"https://fonts.googleapis.com/css?family=".concat(t,":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic").concat(n)}(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),document.querySelector("head").appendChild(t)}o.push(e)}},c=function(e){return r(e)?'"'.concat(e,'", Sans-serif'):e.match(/^serif$/i)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':e.match(/^serif-alt$/i)?'Constantia, Lucida Bright, Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif':e.match(/^monospace$/i)?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},s=function(e){Object.keys(e).filter(function(e){return e.match(/fontfamily/i)}).forEach(function(t){var n=e[t];n&&l(n)})},u=n(10),b=n(0);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(n,!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(u.camelCase)(Object(b.sprintf)(e,t,n))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return a.length?n.reduce(function(n,o){return g({},n,{},a.reduce(function(n,a,i){var r=g({},t);return void 0!==r.selector&&(r.selector=Object(b.sprintf)(r.selector,i+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,o,a))]=r,n},{}))},{}):n.reduce(function(n,a,o){var i=g({},t);return void 0!==i.selector&&(i.selector=Object(b.sprintf)(i.selector,o+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,a))]=i,n},{})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f(e,t,["","Tablet","Mobile"])},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(u.omit)(e,t.map(function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))}))},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.length?Object(u.pick)(e,t.map(function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))})):e},w=function(e){return Object.keys(h(e))};function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(n,!0).forEach(function(t){k(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},f(e,{type:"string",default:""},["FontFamily","FontWeight","TextTransform"]),{},f(e,{type:"number",default:""},["LetterSpacing","FontSize","TabletFontSize","MobileFontSize","LineHeight","TabletLineHeight","MobileLineHeight"]),{},f(e,{type:"string",default:"px"},["FontSizeUnit","TabletFontSizeUnit","MobileFontSizeUnit"]),{},f(e,{type:"string",default:"em"},["LineHeightUnit","TabletLineHeightUnit","MobileLineHeightUnit"]))},j=_,C=function(e){return Object.keys(_(e))},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=nt(n,o,""),r=a.importantSize,l=void 0!==r&&r,s=a.important,p=void 0!==s&&s,g={};return g="tablet"!==t&&"mobile"!==t?{fontFamily:""!==i("FontFamily")?et(c(i("FontFamily"))):void 0,fontSize:""!==i("FontSize")?et("".concat(i("FontSize")).concat(i("FontSizeUnit")||"px"),l):void 0,fontWeight:""!==i("FontWeight")?i("FontWeight"):void 0,textTransform:""!==i("TextTransform")?i("TextTransform"):void 0,letterSpacing:""!==i("LetterSpacing")?"".concat(i("LetterSpacing"),"px"):void 0,lineHeight:""!==i("LineHeight")?"".concat(i("LineHeight")).concat(i("LineHeightUnit")||"em"):void 0}:"tablet"===t?{fontSize:""!==i("TabletFontSize")?et("".concat(i("TabletFontSize")).concat(i("TabletFontSizeUnit")||"px"),l):void 0,lineHeight:""!==i("TabletLineHeight")?"".concat(i("TabletLineHeight")).concat(i("TabletLineHeightUnit")||"em"):void 0}:{fontSize:""!==i("MobileFontSize")?et("".concat(i("MobileFontSize")).concat(i("MobileFontSizeUnit")||"px"),l):void 0,lineHeight:""!==i("MobileLineHeight")?"".concat(i("MobileLineHeight")).concat(i("MobileLineHeightUnit")||"em"):void 0},p?Qe(g):g};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(n,!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},f(e,{type:"string",default:""},["BackgroundColorType","BackgroundColor","BackgroundColor2","BackgroundMediaId","BackgroundMediaUrl","TabletBackgroundMediaId","TabletBackgroundMediaUrl","MobileBackgroundMediaId","MobileBackgroundMediaUrl","BackgroundGradientBlendMode","BackgroundPosition","TabletBackgroundPosition","MobileBackgroundPosition","BackgroundRepeat","TabletBackgroundRepeat","MobileBackgroundRepeat","BackgroundSize","TabletBackgroundSize","MobileBackgroundSize","BackgroundImageBlendMode"]),{},f(e,{type:"number",default:""},["BackgroundColorOpacity","BackgroundTintStrength","BackgroundGradientDirection","BackgroundCustomSize","TabletBackgroundCustomSize","MobileBackgroundCustomSize","BackgroundGradientLocation1","BackgroundGradientLocation2"]),{},f(e,{type:"boolean",default:""},["FixedBackground"]),{},f(e,{type:"string",default:"%"},["BackgroundCustomSizeUnit","TabletBackgroundCustomSizeUnit","MobileBackgroundCustomSizeUnit"]))},T=B,A=function(e){return Object.keys(B(e))};function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(n,!0).forEach(function(t){F(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=nt(n,o),r=a.importantBackgroundColor,l=void 0!==r&&r,c=i("BackgroundCustomSize")?i("BackgroundCustomSize")+(i("BackgroundCustomSizeUnit")||"%"):void 0,s=i("TabletBackgroundCustomSize")?i("TabletBackgroundCustomSize")+(i("TabletBackgroundCustomSizeUnit")||"%"):void 0,p=i("MobileBackgroundCustomSize")?i("MobileBackgroundCustomSize")+(i("MobileBackgroundCustomSizeUnit")||"%"):void 0,g=et(i("BackgroundColor"),l);return i("BackgroundColorType")||void 0===n[o("BackgroundColorOpacity")]||""===n[o("BackgroundColorOpacity")]||i("BackgroundMediaURL")||i("TabletBackgroundMediaURL")||i("MobileBackgroundMediaURL")||(g=et("".concat(At(i("BackgroundColor")||"#ffffff",i("BackgroundColorOpacity")||0)),l)),"tablet"!==t&&"mobile"!==t?{backgroundColor:g,backgroundAttachment:i("FixedBackground")?"fixed":void 0,backgroundImage:i("BackgroundMediaURL","url(%s)"),backgroundPosition:i("BackgroundPosition"),backgroundRepeat:i("BackgroundRepeat"),backgroundSize:i("BackgroundSize")?"custom"!==i("BackgroundSize")?i("BackgroundSize"):c:void 0,backgroundBlendMode:i("BackgroundImageBlendMode")}:"tablet"===t?{backgroundImage:i("TabletBackgroundMediaURL","url(%s)"),backgroundPosition:i("TabletBackgroundPosition"),backgroundRepeat:i("TabletBackgroundRepeat"),backgroundSize:i("TabletBackgroundSize")?"custom"!==i("TabletBackgroundSize")?i("TabletBackgroundSize"):s:void 0}:{backgroundImage:i("MobileBackgroundMediaURL","url(%s)"),backgroundPosition:i("MobileBackgroundPosition"),backgroundRepeat:i("MobileBackgroundRepeat"),backgroundSize:i("MobileBackgroundSize")?"custom"!==i("MobileBackgroundSize")?i("MobileBackgroundSize"):p:void 0}},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=nt(n,o),r=a.importantBackgroundColor,l=void 0!==r&&r,c=parseInt(i("BackgroundTintStrength","",5)||0,10)/10,s="gradient"===i("BackgroundColorType"),p=At(i("BackgroundColor2")||"#ffffff",0),g=At(i("BackgroundColor")||"#ffffff",0),m="".concat(i("BackgroundGradientLocation1")||"0","%"),d="".concat(i("BackgroundGradientLocation2")||"100","%");return"tablet"!==t&&"mobile"!==t?{backgroundColor:et(!s&&i("BackgroundColor")?i("BackgroundColor"):void 0,l),backgroundImage:et(s?"linear-gradient(".concat(i("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(i("BackgroundColor")||p," ").concat(m,", ").concat(i("BackgroundColor2")||g," ").concat(d,")"):void 0,l),opacity:i("BackgroundMediaURL")?c:void 0,mixBlendMode:s?i("BackgroundGradientBlendMode"):void 0}:"tablet"===t?{opacity:i("TabletBackgroundMediaURL")?c:void 0}:{opacity:i("MobileBackgroundMediaURL")?c:void 0}},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},a=nt(t,n);return"gradient"===a("BackgroundColorType")||a("BackgroundMediaUrl")||a("TabletBackgroundMediaUrl")||a("MobileBackgroundMediaUrl")},z=function(){var e,t,n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return F(n={},".".concat(o),P({},R(a,"desktop",i,r))),F(n,".".concat(o,":before"),P({},D(a,"desktop",i,r))),F(n,"tablet",(F(e={},".".concat(o),P({},R(a,"tablet",i,r))),F(e,".".concat(o,":before"),P({},D(a,"tablet",i,r))),e)),F(n,"mobile",(F(t={},".".concat(o),P({},R(a,"mobile",i,r))),F(t,".".concat(o,":before"),P({},D(a,"mobile",i,r))),t)),n},I=R,L=n(8),U=n.n(L),H=n(7),W=function(e,t){var n=nt(t.attributes,function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},""),a=n("BackgroundMediaUrl"),o=n("TabletBackgroundMediaUrl"),i=n("MobileBackgroundMediaUrl"),r=U()(["ugb-video-background"],{"ugb--video-hide-tablet":o,"ugb--video-hide-mobile":i}),l=U()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-mobile":i}),c=U()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-tablet":!0});return wp.element.createElement(H.Fragment,null,St(a)&&wp.element.createElement("video",{className:r,autoPlay:!0,muted:!0,loop:!0,src:a}),St(o)&&wp.element.createElement("video",{className:l,autoPlay:!0,muted:!0,loop:!0,src:o}),St(i)&&wp.element.createElement("video",{className:c,autoPlay:!0,muted:!0,loop:!0,src:i}))};function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(n,!0).forEach(function(t){q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-img":n,o=t.exclude,i=void 0===o?[]:o;return v(V({},f(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"src"},["Url"]),{},f(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"alt"},["Alt"]),{},f(e,{type:"string",default:""},["Shape","Size","BlendMode","BackgroundPosition"]),{},f(e,{type:"number",default:""},["Id","Width","Height","TabletWidth","MobileWidth","BorderRadius","Shadow"]),{},f(e,{type:"boolean",default:""},["ShapeStretch","ShapeFlipX","ShapeFlipY","Square"]),{},f(e,{type:"string",default:"large"},["Size"])),i,e)},K=Y,X=n(4),J=n.n(X);function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=J.a.createElement("circle",{cx:50,cy:50,r:50}),Q=function(e){return J.a.createElement("svg",$({viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},e),Z)};function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=J.a.createElement("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}),ne=function(e){return J.a.createElement("svg",ee({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),te)};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var oe=J.a.createElement("path",{d:"M188.5 31.9c12.9 15.9 12.5 43.3 10.3 77.1s-6.2 74.2-26.2 86.5-56.1-3.3-89.4-21.2-63.7-38.1-76.4-69.8C-5.9 73-.8 29.9 21.6 11.7 44-6.4 83.8.5 116.7 6.1s59 10 71.8 25.8z"}),ie=function(e){return J.a.createElement("svg",ae({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),oe)},re=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(H.renderToString)(e).replace(/viewbox/,"viewBox").replace(/preserveaspectratio/,"preserveAspectRatio");return t?n.replace(/#/g,"%23"):n},le=n(5);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(n,!0).forEach(function(t){ue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var be={circle:Q,square:ne,blob1:ie},pe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},o=nt(n,a),i=o("Shape"),r=function(e){return o("Square")&&o(e)?o(e,"%spx"):"auto"};return"tablet"!==t&&"mobile"!==t?{borderRadius:i?void 0:o("BorderRadius","%spx"),width:o("Width","%spx"),height:o("Width")?et(r("Width")):void 0}:"tablet"===t?{width:o("TabletWidth","%spx"),height:o("TabletWidth")?et(r("TabletWidth")):void 0}:{width:o("MobileWidth","%spx"),height:o("MobileWidth")?et(r("MobileWidth")):void 0}},ge=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},a=nt(t,n),o=a("Shape");if(!o)return{};var i=a("ShapeStretch"),r=a("ShapeFlipX"),l=a("ShapeFlipY"),c=Object(le.applyFilters)("stackable.image.shape.svgs",be)[o],s=wp.element.createElement(c,{preserveAspectRatio:!["","square"].includes(o)&&i?"none":void 0,transform:r||l?"scale(".concat(r?-1:1,",").concat(l?-1:1,")"):void 0}),p=btoa(re(s));return{"-webkit-mask-image":"url('data:image/svg+xml;base64,".concat(p,"')"),"mask-image":"url('data:image/svg+xml;base64,".concat(p,"')")}},me=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return ue(e={},".".concat(n),se({},pe(t,"desktop",a,o),{},ge(t,a,o))),ue(e,"tablet",ue({},".".concat(n),se({},pe(t,"tablet",a,o)))),ue(e,"mobile",ue({},".".concat(n),se({},pe(t,"mobile",a,o)))),e},de=n(14),fe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:e.media_details?e.media_details.width:"",height:e.media_details?e.media_details.height:"",source_url:e.source_url||""}},he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]||fe(e):null};window._stackableCachedImageData={};var ve=function(e,t){var n=t("core").getMedia,a=e?n(e):null;return a&&void 0!==a.id&&(window._stackableCachedImageData[a.id]=a),a},ye=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full",n=we(e)||ve(e,de.select);return n?n.media_details.sizes[t]?n.media_details.sizes[t].source_url:n.source_url:""},we=function(e){return window._stackableCachedImageData[e]||null};function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(n,!0).forEach(function(t){_e(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var je=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.exclude,a=void 0===n?[]:n;return v(ke({},f(e,{type:"string",default:""},["Url","BackgroundPosition","BackgroundRepeat","BackgroundSize"]),{},f(e,{type:"number",default:""},["Id","BackgroundCustomSize"]),{},f(e,{type:"string",default:"large"},["Size"]),{},f(e,{type:"string",default:"px"},["BackgroundCustomSizeUnit"])),a,e)},Ce=je,xe=function(e){return Object.keys(je(e))};function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(n,!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Te=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},o=nt(n,a);return"tablet"!==t&&"mobile"!==t?{backgroundImage:o("Url","url(%s)"),backgroundPosition:et(o("BackgroundPosition")),backgroundRepeat:et(o("BackgroundRepeat")),backgroundSize:et("custom"!==o("BackgroundSize")?o("BackgroundSize"):o("BackgroundCustomSize")?o("BackgroundCustomSize")+o("BackgroundCustomSizeUnit","%s","px"):void 0)}:{}},Ae=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Be(e={},".".concat(n),Se({},Te(t,"desktop",a,o))),Be(e,"tablet",Be({},".".concat(n),Se({},Te(t,"tablet",a,o)))),Be(e,"mobile",Be({},".".concat(n),Se({},Te(t,"mobile",a,o)))),e};function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(n,!0).forEach(function(t){Fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Re=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,o=void 0===n?".ugb-button":n,i=t.defaultText,r=void 0===i?Object(b.__)("Button text",a.i18n):i,l=t.exclude,c=void 0===l?[]:l,s=t.include,u=void 0===s?[]:s;return y(v(Pe({},j(e),{},f(e,{type:"string",source:"html",selector:"".concat(o," span"),default:r},["Text"]),{},f(e,{type:"string",source:"attribute",selector:o,attribute:"href",default:""},["Url"]),{},f(e,{type:"boolean",source:"attribute",selector:o,attribute:"target",default:""},["NewTab"]),{},f(e,{type:"string",default:""},["Design","Size","Icon","IconPosition","TextColor","BackgroundColorType","BackgroundColor","BackgroundColor2","HoverEffect","HoverTextColor","HoverBackgroundColor","HoverBackgroundColor2"]),{},f(e,{type:"number",default:""},["Opacity","HoverOpacity","PaddingTop","PaddingRight","PaddingBottom","PaddingLeft","BorderRadius","BorderWidth","Shadow","IconSize","IconSpacing","BackgroundGradientDirection","HoverBackgroundGradientDirection"]),{},f(e,{type:"boolean",default:""},["HoverGhostToNormal","NoFollow"])),c,e),u,e)},De=Re,Me=function(e){return Object.keys(Re(e))},ze=n(15),Ie=n.n(ze);function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach(function(t){He(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var We=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=function(e){return Object(u.camelCase)(Object(b.sprintf)(t,e))},r=nt(a,i,""),l=[];l.push((He(e={},".".concat(n," .ugb-button--inner"),Ue({},x(t,"desktop",a))),He(e,"tablet",He({},".".concat(n," .ugb-button--inner"),Ue({},x(t,"tablet",a)))),He(e,"mobile",He({},".".concat(n," .ugb-button--inner"),Ue({},x(t,"mobile",a)))),e));var c=r("BackgroundColor2"),s=r("BackgroundColor"),p=!1;if(""===r("Design")||"basic"===r("Design")){var g;l.push((He(g={},".".concat(n),{backgroundColor:""!==r("BackgroundColor")?r("BackgroundColor"):void 0,backgroundImage:"gradient"===r("BackgroundColorType")?"linear-gradient(".concat(""!==a[i("BackgroundGradientDirection")]?r("BackgroundGradientDirection","%sdeg","90deg"):"90deg",", ").concat(r("BackgroundColor")||c,", ").concat(r("BackgroundColor2")||s,")"):void 0,paddingTop:""!==r("PaddingTop")?"".concat(r("PaddingTop"),"px"):void 0,paddingRight:""!==r("PaddingRight")?"".concat(r("PaddingRight"),"px"):void 0,paddingBottom:""!==r("PaddingBottom")?"".concat(r("PaddingBottom"),"px"):void 0,paddingLeft:""!==r("PaddingLeft")?"".concat(r("PaddingLeft"),"px"):void 0}),He(g,".".concat(n," .ugb-button--inner, .").concat(n," svg"),{color:et(Ze(r("TextColor"),r("BackgroundColor")))}),He(g,".".concat(n,":hover .ugb-button--inner, .").concat(n,":hover svg"),{color:et(Ze(r("HoverTextColor"),r("HoverBackgroundColor")))}),He(g,".".concat(n,":hover"),{backgroundColor:""!==r("HoverBackgroundColor")?r("HoverBackgroundColor"):void 0}),g)),p=""!==r("HoverBackgroundColor");var m="gradient"===r("BackgroundColorType")&&(r("HoverBackgroundColor")||r("HoverBackgroundColor2")||r("HoverBackgroundGradientDirection"));l.push(He({},".".concat(n,":before"),{content:m?'""':void 0,backgroundImage:m?"linear-gradient(".concat(r("HoverBackgroundGradientDirection","%sdeg")||r("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(r("HoverBackgroundColor")||r("BackgroundColor")||c,", ").concat(r("HoverBackgroundColor2")||r("BackgroundColor2")||s,")"):void 0})),p=p||m||""!==r("HoverTextColor")}if("ghost"===r("Design")){var d,f;if(l.push((He(d={},".".concat(n),{borderColor:""!==r("BackgroundColor")?et(r("BackgroundColor")):void 0,borderWidth:""!==r("BorderWidth")?"".concat(r("BorderWidth"),"px"):void 0,paddingTop:""!==r("PaddingTop")?"".concat(r("PaddingTop"),"px"):void 0,paddingRight:""!==r("PaddingRight")?"".concat(r("PaddingRight"),"px"):void 0,paddingBottom:""!==r("PaddingBottom")?"".concat(r("PaddingBottom"),"px"):void 0,paddingLeft:""!==r("PaddingLeft")?"".concat(r("PaddingLeft"),"px"):void 0}),He(d,".".concat(n," .ugb-button--inner"),{color:""!==r("BackgroundColor")?et(r("BackgroundColor")):void 0}),He(d,".".concat(n,":hover"),{borderColor:""!==r("HoverBackgroundColor")?et(r("HoverBackgroundColor")):void 0}),He(d,".".concat(n,":hover .ugb-button--inner"),{color:""!==r("HoverBackgroundColor")?et(r("HoverBackgroundColor")):""!==r("BackgroundColor")?et(r("BackgroundColor")):void 0}),d)),""!==r("Icon")||o)l.push((He(f={},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:""!==r("BackgroundColor")?r("BackgroundColor"):void 0}),He(f,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:""!==r("HoverBackgroundColor")?r("HoverBackgroundColor"):""!==r("BackgroundColor")?r("BackgroundColor"):void 0}),f));p=""!==r("HoverBackgroundColor");var h,v=r("HoverGhostToNormal");if(v)l.push((He(h={},".".concat(n,":before"),{content:'""',backgroundImage:"linear-gradient(".concat(r("HoverBackgroundGradientDirection","%sdeg","90deg"),", ").concat(r("HoverBackgroundColor")||r("BackgroundColor"),", ").concat(r("HoverBackgroundColor2")||r("HoverBackgroundColor")||r("BackgroundColor"),")"),top:""!==r("BorderWidth")?"-".concat(r("BorderWidth"),"px"):void 0,right:""!==r("BorderWidth")?"-".concat(r("BorderWidth"),"px"):void 0,bottom:""!==r("BorderWidth")?"-".concat(r("BorderWidth"),"px"):void 0,left:""!==r("BorderWidth")?"-".concat(r("BorderWidth"),"px"):void 0}),He(h,".".concat(n,":hover"),{backgroundColor:et(""!==r("HoverBackgroundColor")?r("HoverBackgroundColor"):r("BackgroundColor"))}),He(h,".".concat(n,":hover .ugb-button--inner"),{color:et(Ze(r("HoverTextColor"),r("HoverBackgroundColor")||r("BackgroundColor")))}),h)),(""!==r("Icon")||o)&&l.push(He({},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:et(Ze(r("HoverTextColor"),r("HoverBackgroundColor")||r("BackgroundColor")))})),p=!0}if("plain"===r("Design")){var y,w;if(l.push((He(y={},".".concat(n," .ugb-button--inner"),{color:""!==r("BackgroundColor")?et(r("BackgroundColor")):void 0}),He(y,".".concat(n,":hover .ugb-button--inner"),{color:""!==r("HoverBackgroundColor")?et(r("HoverBackgroundColor")):void 0}),y)),""!==r("Icon")||o)l.push((He(w={},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:""!==r("BackgroundColor")?r("BackgroundColor"):void 0}),He(w,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:""!==r("HoverBackgroundColor")?r("HoverBackgroundColor"):void 0}),w));p=""!==r("HoverBackgroundColor")}if("link"!==r("Design")){var O,k=""!==a[i("IconSpacing")]&&void 0!==a[i("IconSpacing")]?"".concat(r("IconSpacing","%spx",16)):void 0,_=a[i("BorderRadius")];l.push((He(O={},".".concat(n),{opacity:""!==r("Opacity")?r("Opacity"):void 0,borderRadius:""!==_&&void 0!==_?et("".concat(_,"px")):void 0}),He(O,".".concat(n,":before"),{borderRadius:""!==_&&void 0!==_?et("".concat(_,"px")):void 0}),He(O,".".concat(n,":hover"),{opacity:""!==r("HoverOpacity")?r("HoverOpacity"):p?1:void 0}),He(O,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg"),{marginLeft:(""!==r("Icon")||o)&&"right"===r("IconPosition")?k:void 0,marginRight:(""!==r("Icon")||o)&&"right"!==r("IconPosition")?k:void 0,width:""!==r("IconSize")||o?"".concat(r("IconSize"),"px"):void 0,height:""!==r("IconSize")||o?"".concat(r("IconSize"),"px"):void 0}),O))}return Ie.a.all(l)},Ge=n(63),Ve=n.n(Ge);function qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ke=function(e){try{if(!e.match(/^#/))return Ve()(e);var t=e.replace(/#/g,"");return 3===t.length&&(t=t.replace(/(.)(.)(.)/,"$1$1$2$2$3$3")),Ve()("#".concat(t))}catch(e){return!1}},Xe=function(e){return"left"===e?0:"auto"},Je=function(e){return"right"===e?0:"auto"},$e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=""!==e?e:void 0;return!n&&t&&Ke(t)?"#ffffff":n},Ze=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#ffffff",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#222222",o=""!==e?e:void 0;return!o&&t?Ke(t)?n:a:o},Qe=function(e){return Object.keys(e).reduce(function(t,n){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qe(n,!0).forEach(function(t){Ye(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,Ye({},n,et(e[n])))},{})},et=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""!==e&&void 0!==e&&t&&!String(e).match(/!important/i)?"".concat(e," !important"):e},tt=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"marginBottom",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"%spx",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=nt(i);return[(t={},Ye(t,e,Ye({},a,et(l(Object(b.sprintf)(n,""),o),r))),Ye(t,"tablet",Ye({},e,Ye({},a,et(l(Object(b.sprintf)(n,"Tablet"),o),r)))),Ye(t,"mobile",Ye({},e,Ye({},a,et(l(Object(b.sprintf)(n,"Mobile"),o),r)))),t)]},nt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n,r=null!==t?t:function(e){return Object(u.lowerFirst)(e)},l=void 0===e[r(a)]?"":e[r(a)];return""!==l?o?Object(b.sprintf)(o.replace(/%$/,"%%"),l):l:i}};function at(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(n,!0).forEach(function(t){it(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-button-%s":n,o=t.exclude,i=void 0===o?[]:o,r=t.include,l=void 0===r?[]:r,c=Object.keys(pt).reduce(function(n,o){return ot({},n,{},f(e,{type:"string",source:"attribute",selector:Object(b.sprintf)(a,o),attribute:"href",default:t["".concat(o,"Default")]?t["".concat(o,"Default")]:""},["".concat(Object(u.upperFirst)(o),"Url")]))},{});return y(v(ot({},De(e,{exclude:["Text","Url","NoFollow","Icon","IconPosition","NewTab"]}),{},f(e,{type:"boolean",default:""},["NewTab"]),{},f(e,{type:"boolean",default:!0},["UseSocialColors"]),{},c),i,e),l,e)},lt=rt;function ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ct(n,!0).forEach(function(t){ut(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ct(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bt=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))},r=nt(o,i,""),l=[];if(l.push(st({},We(n,a,o,!0))),!r("UseSocialColors"))return Ie.a.all(l);""!==r("Design")&&"basic"!==r("Design")||l.push((ut(e={},".".concat(a),{backgroundColor:void 0,backgroundImage:void 0}),ut(e,".".concat(a," .ugb-button--inner, .").concat(a," svg"),{color:void 0}),ut(e,".".concat(a,":hover .ugb-button--inner, .").concat(a,":hover svg"),{color:void 0}),ut(e,".".concat(a,":hover"),{backgroundColor:void 0}),ut(e,".".concat(a,":before"),{content:void 0,backgroundImage:void 0}),e));if("ghost"===r("Design")){var c;l.push((ut(c={},".".concat(a),{borderColor:void 0}),ut(c,".".concat(a," .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:void 0}),ut(c,".".concat(a,":hover"),{borderColor:void 0}),ut(c,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),c));var s,p=r("HoverGhostToNormal");if(p)l.push((ut(s={},".".concat(a,":before"),{content:void 0,backgroundImage:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0}),ut(s,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),s))}"plain"===r("Design")&&l.push((ut(t={},".".concat(a," .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:void 0}),ut(t,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),t));return Ie.a.all(l)},pt={facebook:{label:Object(b.__)("Facebook",a.i18n),icon:"fab-facebook-f"},twitter:{label:Object(b.__)("Twitter",a.i18n),icon:"fab-twitter"},instagram:{label:Object(b.__)("Instagram",a.i18n),icon:"fab-instagram"},pinterest:{label:Object(b.__)("Pinterest",a.i18n),icon:"fab-pinterest-p"},linkedin:{label:Object(b.__)("LinkedIn",a.i18n),icon:"fab-linkedin-in"},youtube:{label:Object(b.__)("YouTube",a.i18n),icon:"fab-youtube"},email:{label:Object(b.__)("Email",a.i18n),icon:"far-envelope"}},gt=n(18);function mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(n,!0).forEach(function(t){ft(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ht=["uniqueClass"],vt={};function yt(e){return vt[e.name]||(vt[e.name]=Object(gt.createBlock)(e.name).attributes),Object.keys(vt[e.name]).every(function(t){return!!ht.includes(t)||vt[e.name][t]===e.attributes[t]})}var wt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(de.select)("core/block-editor"),a=n.getBlockName,o=n.getSelectedBlockClientId,i=n.getBlockAttributes,r=Object(de.dispatch)("core/block-editor"),l=r.updateBlockAttributes,c=Object(de.select)("core/blocks"),b=c.getBlockType,p=t||o();if(p){var g=i(p),m=a(p).replace(/^\w+\//g,""),d=b(a(p)).attributes,f=Object.keys(d).reduce(function(e,t){return dt({},e,ft({},t,d[t]?d[t].default:""))},{}),h=Object(le.applyFilters)("stackable.".concat(m,".design.filtered-block-attributes"),dt({},f,{},e),g),v=Object(le.applyFilters)("stackable.".concat(m,".design.no-text-attributes"),h,g);s(v),l(p,Object(u.omit)(v,["uniqueClass"]))}};function Ot(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var kt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(H.useState)(function(){try{var n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),a=Ot(n,2),o=a[0],i=a[1],r=function(t){try{var n=t instanceof Function?t(o):t;i(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(e){}};return[o,r]},_t=function(){return void 0!==gt.registerBlockCollection},jt=function(){return _t()},Ct=n(87),xt=n.n(Ct);n.d(t,"Y",function(){return Et}),n.d(t,"eb",function(){return St}),n.d(t,"L",function(){return Bt}),n.d(t,"F",function(){return Tt}),n.d(t,"N",function(){return At}),n.d(t,"V",function(){return Nt}),n.d(t,"g",function(){return Pt}),n.d(t,"X",function(){return Ft}),n.d(t,"K",function(){return Dt}),n.d(t,"ab",function(){return Mt}),n.d(t,"P",function(){return It}),n.d(t,"Z",function(){return Lt}),n.d(t,"W",function(){return Ut}),n.d(t,"R",function(){return l}),n.d(t,"H",function(){return c}),n.d(t,"S",function(){return s}),n.d(t,"G",function(){return d}),n.d(t,"h",function(){return f}),n.d(t,"x",function(){return h}),n.d(t,"w",function(){return w}),n.d(t,"C",function(){return j}),n.d(t,"D",function(){return x}),n.d(t,"B",function(){return C}),n.d(t,"j",function(){return T}),n.d(t,"i",function(){return A}),n.d(t,"m",function(){return I}),n.d(t,"k",function(){return D}),n.d(t,"l",function(){return z}),n.d(t,"M",function(){return M}),n.d(t,"E",function(){return W}),n.d(t,"q",function(){return K}),n.d(t,"v",function(){return me}),n.d(t,"u",function(){return ge}),n.d(t,"I",function(){return he}),n.d(t,"f",function(){return ve}),n.d(t,"J",function(){return ye}),n.d(t,"s",function(){return Ce}),n.d(t,"r",function(){return xe}),n.d(t,"t",function(){return Ae}),n.d(t,"o",function(){return De}),n.d(t,"n",function(){return Me}),n.d(t,"p",function(){return We}),n.d(t,"O",function(){return Ke}),n.d(t,"T",function(){return Xe}),n.d(t,"U",function(){return Je}),n.d(t,"gb",function(){return $e}),n.d(t,"hb",function(){return Ze}),n.d(t,"d",function(){return Qe}),n.d(t,"c",function(){return et}),n.d(t,"y",function(){return tt}),n.d(t,"b",function(){return nt}),n.d(t,"z",function(){return lt}),n.d(t,"A",function(){return bt}),n.d(t,"a",function(){return pt}),n.d(t,"Q",function(){return yt}),n.d(t,"e",function(){return wt}),n.d(t,"db",function(){return re}),n.d(t,"fb",function(){return kt}),n.d(t,"bb",function(){return _t}),n.d(t,"cb",function(){return jt});var Et=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},St=function(e){return e.match(/(mp4|webm|ogg)/i)},Bt=function(e){var t="";return(t=(e.match(/youtube\.com\/watch\?v=([^\&\?\/]+)/i)||[])[1])||(t=(e.match(/youtube\.com\/embed\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtube\.com\/v\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtu\.be\/([^\&\?\/]+)/i)||[])[1]),t?{type:"youtube",id:t}:((t=(e.match(/vimeo\.com\/(\w*\/)*(\d+)/i)||[])[2])||(t=(e.match(/^\d+$/i)||[])[0]),t?{type:"vimeo",id:t}:{type:"youtube",id:e})},Tt=function e(t){return"short"===t?Object(b.__)("Description for this block. You can use this space for describing your block.",a.i18n):"medium"===t?"".concat(e()," ").concat(e("short")):"long"===t?"".concat(e("medium")," ").concat(e()," ").concat(e("short")):Object(b.__)("Description for this block. Use this space for describing your block. Any text will do.",a.i18n)},At=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.replace(/#/,"");n.length<=4&&(n=n.replace(/#?(.)(.)(.)/,"$1$1$2$2$3$3"));var a=xt()("#".concat(n,"ff"));return a[3]=null!==t?t:1,"rgba(".concat(a.join(", "),")")},Nt=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.replace(/\/\*.*?\*\//g,"").replace(/\n\s*\n/g,"").replace(/[\n\r \t]/g," ").replace(/ +/g," ").replace(/ ?([,:;{}]) ?/g,"$1").replace(/[^\}\{]+\{\}/g,"").replace(/[^\}\{]+\{\}/g,"").replace(/;}/g,"}").trim();return t?n.replace(/\s?\!important/g,"").replace(/([;\}])/g," !important$1").replace(/\} !important\}/g,"}}").trim():n},Pt=function(e,t,n){return(e||"").replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/(.*)?\n/g,"").replace(/([^}]+)({)/g,function(e,a,o){if(a.match(/@\w+/g))return a.replace(/(@\w+[^{]+{\s*)([^{]+)/g,function(e,a,i){var r=Ft(i,t,n);return"".concat(a," ").concat(r," ").concat(o)});var i=Ft(a,t,n);return"".concat(i," ").concat(o)}).trim()},Ft=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return e.trim().replace(/[\n\s\t]+/g," ").split(",").map(function(e){var o="";return o=n&&t?e.includes(n)?e:n&&!t?".".concat(n," ").concat(e.trim()):".".concat(n," ").concat(e.trim()).replace(new RegExp("(.".concat(n,") (.").concat(t,"(#|:|\\[|\\.|\\s|$))"),"g"),"$1$2"):e,a?"".concat(a," ").concat(o):o}).join(", ")},Rt="desktop",Dt=function(){return Rt},Mt=function(e){return Rt=e},zt=!1,It=function(){return zt},Lt=function(e){return zt=e},Ut=function(e,t,n){return e.splice(t<n?n+1:n,0,e[t]),e.splice(t<n?t:t+1,1),e}},function(e,t,n){"use strict";var a=n(17),o=n(2),i=n(10),r=n(8),l=n.n(r),c=n(7),s=n(0);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.blockAttributes[n(t)];return 0===o?o:o||a},r=Object.keys(o.a).reduce(function(e,o){var r;return p({},e,(g(r={},"".concat(o,"Url"),a("".concat(o,"Url"))),g(r,"onChange".concat(Object(i.upperFirst)(o),"Url"),function(e){return t(g({},n("".concat(o,"Url")),e))}),r))},{});return wp.element.createElement(_,u({design:a("Design",e.designDefault),size:a("Size","normal"),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),useSocialColors:a("UseSocialColors"),newTab:a("NewTab"),onChangeNewTab:function(e){return t(g({},n("NewTab"),e))},isSelected:e.isSelected},r,e))};m.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(m.Content=function(e){var t=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.blockAttributes[t(n)];return 0===o?o:o||a},a=Object.keys(o.a).reduce(function(e,t){return p({},e,g({},"".concat(t,"Url"),n("".concat(t,"Url"))))},{});return wp.element.createElement(_.Content,u({design:n("Design",e.designDefault),size:n("Size","normal"),newTab:n("NewTab"),hoverEffect:n("HoverEffect"),useSocialColors:n("UseSocialColors"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow")},a,e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var d=m;function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(n,!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var w=function(e){return wp.element.createElement(c.Fragment,null,Object.keys(o.a).map(function(t){var n=l()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return(!0===e["show".concat(Object(i.upperFirst)(t))]||e["".concat(t,"Url")]&&!1!==e["show".concat(Object(i.upperFirst)(t))])&&wp.element.createElement(a.i,y({key:t,iconButton:!0,className:n,rel:"noopener noreferrer nofollow",icon:o.a[t].icon,url:e["".concat(t,"Url")],onChangeUrl:function(n){var a=n;"email"===t&&a.match(/^[^:]+@./)&&(a="mailto:".concat(a)),e["onChange".concat(Object(i.upperFirst)(t),"Url")](a)},onChangeNoFollow:!1,disableSuggestions:!0},e))}))},O=Object.keys(o.a).reduce(function(e,t){var n;return h({},e,(v(n={},"".concat(t,"Url"),""),v(n,"show".concat(Object(i.upperFirst)(t)),null),n))},{});w.defaultProps=h({useSocialColors:!0},O),w.Content=function(e){return wp.element.createElement(c.Fragment,null,Object.keys(o.a).map(function(t){var n=l()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return e["".concat(t,"Url")]&&!1!==e["show".concat(Object(i.upperFirst)(t))]&&wp.element.createElement(a.i.Content,y({key:t,className:n,iconButton:!0,rel:"noopener noreferrer nofollow",icon:o.a[t].icon,url:e["".concat(t,"Url")]},e))}))};var k=Object.keys(o.a).reduce(function(e,t){var n;return h({},e,(v(n={},"".concat(t,"Url"),""),v(n,"show".concat(Object(i.upperFirst)(t)),null),n))},{});w.Content.defaultProps=h({useSocialColors:!0},k);var _=w,j=n(4),C=n.n(j);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=C.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),S=C.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),B=C.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),T=function(e){return C.a.createElement("svg",x({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),E,S,B)},A=n(9),N=n(6);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(n,!0).forEach(function(t){R(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=function(e){var t=e.imageID,n=e.imageURL,a=e.onRemove,o=e.className,i=e.allowedTypes,r=e.render,c=e.hasRemove,s=e.style,u=l()([o,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),b=F({},s,{backgroundImage:n&&!r?"url(".concat(n,")"):void 0});return wp.element.createElement(N.MediaUpload,{onSelect:function(t){var n=t.url,a=t.width,o=t.height,i=e.imageSize||"full";t.sizes[i]&&(n=t.sizes[i].url,a=t.sizes[i].width,o=t.sizes[i].height),e.onChange(F({},t,{url:n,width:a,height:o}))},allowedTypes:i,value:t,render:function(e){return n&&r?wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:b,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&c&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(A.Dashicon,{icon:"no"})),r):wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:b,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&c&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(A.Dashicon,{icon:"no"})),!n&&wp.element.createElement(T,null))}})};D.defaultProps={imageID:"",imageURL:"",imageSize:"full",onChange:function(e){e.url,e.id},onRemove:null,className:"",allowedTypes:["image"],render:void 0,hasRemove:!0,style:{}};var M=D,z=n(1);function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var L=function(e){return wp.element.createElement(A.BaseControl,{label:e.label,id:"url-input-control",help:e.help},wp.element.createElement(N.URLInput,I({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},Object(i.omit)(e,["label","help"]))))};L.defaultProps={label:Object(s.__)("URL",z.i18n),help:null,value:"",onChange:function(){}};var U=L,H=n(12),W=Object(s.__)("Show more tools & options",z.i18n),G=Object(s.__)("Hide more tools & options",z.i18n),V=Object(H.withState)({openAdvanced:!1})(function(e){var t=e.openAdvanced,n=e.setState;if(!e.onChange&&!e.onChangeNewTab&&!e.onChangeNoFollow)return null;var a=l()(["ugb-url-input-popover"],{"ugb--show-advanced":t}),o=l()(["ugb-url-input-control__more-button"],{"ugb--active":e.newTab||e.noFollow});return wp.element.createElement(A.Popover,{className:a,focusOnMount:!1,position:"bottom center"},wp.element.createElement(A.PanelBody,null,wp.element.createElement("div",{className:"ugb-url-input-popover__input-wrapper"},wp.element.createElement(A.Dashicon,{className:"ugb-url-input-control__icon",icon:"admin-links"}),e.onChange&&!e.disableSuggestions&&wp.element.createElement(N.URLInput,{className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1}),e.onChange&&e.disableSuggestions&&wp.element.createElement(A.TextControl,{className:"ugb-url-input-control__input ugb-url-input-control__input--plain",value:e.value,onChange:e.onChange,autoFocus:!1,placeholder:Object(s.__)("Paste or type URL",z.i18n)}),(e.onChangeNewTab||e.onChangeNoFollow)&&wp.element.createElement(A.IconButton,{className:o,icon:"ellipsis",label:t?G:W,onClick:function(){return n({openAdvanced:!t})},"aria-expanded":t})),e.onChangeNewTab&&t&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Open link in new tab",z.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeNoFollow&&t&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Nofollow link",z.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow})))});V.defaultProps={value:"",disableSuggestions:!1,onChange:null,newTab:!1,noFollow:!1,onChangeNewTab:null,onChangeNoFollow:null};var q=V;function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var K=Object(s.__)("(current %s: %s)",z.i18n),X=Object(H.compose)([N.withColorContext,Object(H.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.colors,n=e.disableCustomColors,a=e.label,o=e.onChange,i=e.value,r=e.className,u=void 0===r?"":r,b=Object(N.getColorObjectByColorValue)(t,i),p=b&&b.name,g=Object(s.sprintf)(K,a.toLowerCase(),p||i),m=wp.element.createElement(c.Fragment,null,a,i&&wp.element.createElement(A.ColorIndicator,{colorValue:i,"aria-label":g}));return wp.element.createElement(A.BaseControl,{className:l()([u,"editor-color-palette-control"]),id:"editor-color-palette-control",label:m},wp.element.createElement(A.ColorPalette,Y({className:"editor-color-palette-control__color-palette",value:i,onChange:o},{colors:t,disableCustomColors:n})))}),J=n(11);function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=function(e){return wp.element.createElement(A.SelectControl,$({},e,{options:[{value:"",label:Object(s.__)("None",z.i18n)},{value:"normal",label:Object(s.__)("Normal",z.i18n)},{value:"multiply",label:Object(s.__)("Multiply",z.i18n)},{value:"screen",label:Object(s.__)("Screen",z.i18n)},{value:"overlay",label:Object(s.__)("Overlay",z.i18n)},{value:"darken",label:Object(s.__)("Darken",z.i18n)},{value:"lighten",label:Object(s.__)("Lighten",z.i18n)},{value:"color-dodge",label:Object(s.__)("Color Dodge",z.i18n)},{value:"color-burn",label:Object(s.__)("Color Burn",z.i18n)},{value:"hard-light",label:Object(s.__)("Hard Light",z.i18n)},{value:"soft-light",label:Object(s.__)("Soft Light",z.i18n)},{value:"difference",label:Object(s.__)("Difference",z.i18n)},{value:"exclusion",label:Object(s.__)("Exclusion",z.i18n)},{value:"hue",label:Object(s.__)("Hue",z.i18n)},{value:"saturation",label:Object(s.__)("Saturation",z.i18n)},{value:"color",label:Object(s.__)("Color",z.i18n)},{value:"luminosity",label:Object(s.__)("Luminosity",z.i18n)},{value:"initial",label:Object(s.__)("Initial",z.i18n)},{value:"inherit",label:Object(s.__)("Inherit",z.i18n)},{value:"unset",label:Object(s.__)("Unset",z.i18n)}]}))};Z.defaultProps={label:Object(s.__)("Mix Blend Mode",z.i18n),help:Object(s.__)("Not supported in all browsers.",z.i18n)};var Q=Object(H.compose)(Object(J.e)("background-blend-mode"))(Z);function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=C.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),ne=C.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),ae=C.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),oe=function(e){return C.a.createElement("svg",ee({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),te,ne,ae)},ie=function(e){var t=e.imageURL&&e.imageURL.match(/(mp4|webm|ogg)/i)?"video":"image",n=function(){e.onRemove?e.onRemove():e.onChange({url:"",id:"",width:"",height:""})};return wp.element.createElement("div",{className:"ugb-image-control"},wp.element.createElement(A.BaseControl,{help:e.help},wp.element.createElement(Ke,{label:e.label,screens:e.screens}),wp.element.createElement(N.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:function(a){return wp.element.createElement(c.Fragment,null,e.imageURL&&wp.element.createElement("div",{className:"ugb-image-preview-wrapper"},wp.element.createElement("button",{className:"ugb-image-preview-remove",onClick:n},wp.element.createElement(A.Dashicon,{icon:"no"})),"video"===t&&wp.element.createElement("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()}}),"image"===t&&wp.element.createElement("img",{className:"ugb-image-preview",src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},alt:Object(s.__)("preview",z.i18n)})),!e.imageURL&&wp.element.createElement("div",{className:"ugb-placeholder",onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},role:"button",tabIndex:0},wp.element.createElement(oe,null)))}})))};ie.defaultProps={label:"",imageID:"",imageURL:"",onChange:function(e){e.url,e.id,e.width,e.height},onRemove:function(){},allowedTypes:["image"],help:"",screens:["desktop"]};var re=ie;function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=function(e){return wp.element.createElement(A.TextareaControl,le({},e,{help:wp.element.createElement(c.Fragment,null,wp.element.createElement(A.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(s.__)("Describe the purpose of the image",z.i18n)),Object(s.__)("Leave empty if the image is purely decorative.",z.i18n))}))};ce.defaultProps={label:Object(s.__)("Alt Text (Alternative Text)",z.i18n)};var se=ce,ue=n(88),be=n.n(ue),pe=n(89),ge=n.n(pe),me=n(90),de=n.n(me),fe=n(91),he=n.n(fe),ve=n(5);function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function we(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Oe=function(e){return wp.element.createElement(c.Fragment,null,wp.element.createElement(Va,ye({},e,{className:l()(e.className,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[{label:Object(s.__)("Default",z.i18n),value:"",image:be.a},{label:Object(s.__)("Square",z.i18n),value:"square",image:ge.a},{label:Object(s.__)("Circle",z.i18n),value:"circle",image:de.a},{label:Object(s.sprintf)(Object(s.__)("Blob %s",z.i18n),1),value:"blob1",image:he.a}].concat(we(Object(ve.applyFilters)("stackable.image.control.shapes",[])))})),z.showProNotice&&wp.element.createElement(ur,{type:"image"}))};Oe.defaultProps={className:"",label:Object(s.__)("Shape",z.i18n),selected:""};var ke=Oe,_e=n(14),je=function(e){var t=e.imageData?Object(o.I)(e.imageData,e.imageSize||"full"):null,n=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return wp.element.createElement(c.Fragment,null,e.onChangeShape&&wp.element.createElement(ke,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Flip Shape Horizontally",z.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Flip Shape Vertically",z.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!n&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Stretch Shape Mask",z.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch}))};je.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:function(){},onChangeShapeFlipX:function(){},onChangeShapeFlipY:function(){},onChangeShapeStretch:function(){}};var Ce=Object(H.compose)([Object(_e.withSelect)(function(e,t){var n=e("core").getMedia;return{imageData:t.imageId?n(t.imageId):null}})])(je);function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ee=function(e){var t,n=(t=e.imageSizes,Object(i.map)(t,function(e){var t=e.name;return{value:e.slug,label:t}}));return Object(i.isEmpty)(n)?null:wp.element.createElement(A.SelectControl,xe({},e,{options:n,className:l()(e.className,["ugb--help-tip-image-size"])}))};Ee.defaultProps={className:"",label:Object(s.__)("Image Size"),value:"large",onChange:function(){}};var Se=Object(H.compose)([Object(_e.withSelect)(function(e){return{imageSizes:e("core/block-editor").getSettings().imageSizes}})])(Ee);function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Te=C.a.createElement("path",{d:"M13 18h2c.6 0 1 .4 1 1s-.4 1-1 1H9c-.6 0-1-.4-1-1s.4-1 1-1h2v-2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-7v2zM4 6v8h16V6H4z"}),Ae=function(e){return C.a.createElement("svg",Be({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Te)};function Ne(){return(Ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Pe=C.a.createElement("path",{d:"M8 2h8c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm0 2v15h8V4H8z"}),Fe=function(e){return C.a.createElement("svg",Ne({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Pe)};function Re(){return(Re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var De=C.a.createElement("path",{d:"M6 4v15h12V4H6zm0-2h12c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z"}),Me=function(e){return C.a.createElement("svg",Re({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),De)};function ze(e){return(ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ie(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Le(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ue(e){return(Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function He(e,t){return(He=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var We={desktop:wp.element.createElement(Ae,null),tablet:wp.element.createElement(Me,null),mobile:wp.element.createElement(Fe,null)},Ge={desktop:Object(s.__)("Desktop",z.i18n),tablet:Object(s.__)("Tablet",z.i18n),mobile:Object(s.__)("Mobile",z.i18n)},Ve=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Le(this,Ue(t).apply(this,arguments))).state={screen:Object(o.K)(),isScreenPickerOpen:Object(o.P)()},e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&He(e,t)}(t,c["Component"]),n=t,(a=[{key:"onChangeScreen",value:function(e){var t=this.props.screens[0];this.state.isScreenPickerOpen||this.state.screen!==t||e!==t?this.state.isScreenPickerOpen&&e===t&&(this.setState({isScreenPickerOpen:!1}),"undefined"==typeof instanceIdOwner&&(Object(o.Z)(!1),Object(ve.doAction)("stackable.responsive-toggle.screen.close"))):(this.setState({isScreenPickerOpen:!0}),"undefined"==typeof instanceIdOwner&&(Object(o.Z)(!0),Object(ve.doAction)("stackable.responsive-toggle.screen.open"))),this.props.onChangeScreen(e),this.setState({screen:e}),Object(o.ab)(e),Object(ve.doAction)("stackable.responsive-toggle.screen.change",e)}},{key:"onOtherScreenChange",value:function(e){this.props.onChangeScreen(e),this.setState({screen:e})}},{key:"onOtherScreenOpen",value:function(){this.setState({isScreenPickerOpen:!0})}},{key:"onOtherScreenClose",value:function(){this.setState({isScreenPickerOpen:!1})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(ve.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e),this.onOtherScreenChange.bind(this)),Object(ve.addAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e),this.onOtherScreenOpen.bind(this)),Object(ve.addAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e),this.onOtherScreenClose.bind(this))}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(ve.removeAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e)),Object(ve.removeAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e)),Object(ve.removeAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e))}},{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:"ugb-base-control-multi-label__responsive"},this.props.screens.length>1&&this.props.screens.map(function(t,n){return n>0&&!e.state.isScreenPickerOpen?null:wp.element.createElement(A.IconButton,{key:n,className:e.state.screen===t?"is-active":"",onClick:function(){return e.onChangeScreen(t)},icon:We[t],label:Ge[t]})}))}}])&&Ie(n.prototype,a),i&&Ie(n,i),t}();Ve.defaultProps={screens:["desktop"],onChangeScreen:function(){}};var qe=Object(H.withInstanceId)(Ve),Ye=function(e){return wp.element.createElement("div",{className:"ugb-base-control-multi-label"},wp.element.createElement("div",{className:"ugb-base-control-multi-label__label components-base-control__label"},e.label),wp.element.createElement(qe,{screens:e.screens,onChangeScreen:e.onChangeScreen}),wp.element.createElement("div",{className:"ugb-base-control-multi-label__units"},e.units.length>1&&e.units.map(function(t,n){return wp.element.createElement("button",{key:n,className:e.unit===t?"is-active":"",onClick:function(){return e.onChangeUnit(t)}},t)}),e.afterButton))};Ye.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],onChangeScreen:function(){},afterButton:null};var Ke=Ye;function Xe(){return(Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ze=function(e){var t,n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Je(n,!0).forEach(function(t){$e(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Je(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(i.omit)(e,["className","help","label","units","unit","onChangeUnit","screens","placeholder","initialPosition"])),a=e.units.indexOf(e.unit)<0?0:e.units.indexOf(e.unit);return Array.isArray(e.min)&&(n.min=e.min[a]),Array.isArray(e.max)&&(n.max=e.max[a]),Array.isArray(e.step)&&(n.step=e.step[a]),n.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,Array.isArray(e.placeholder)&&(n.placeholder=e.placeholder[a]||"",n.initialPosition=e.placeholder[a]||""),Array.isArray(e.initialPosition)&&(n.initialPosition=e.initialPosition[a]||""),n.initialPosition="string"==typeof(t=n.initialPosition)&&""!==t&&t.match(/^[\d.]+$/)?t.includes(".")?parseFloat(t):parseInt(t,10):t,wp.element.createElement(A.BaseControl,{help:e.help,className:l()("ugb-advanced-range-control",e.className)},wp.element.createElement(Ke,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(A.RangeControl,Xe({placeholder:e.placeholder,initialPosition:e.initialPosition},n)))};Ze.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],placeholder:"",initialPosition:""};var Qe=Ze,et=function(e){return wp.element.createElement(A.BaseControl,{help:e.help,className:l()("ugb-advanced-select-control",e.className)},wp.element.createElement(Ke,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(A.SelectControl,Object(i.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};et.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var tt=et,nt=function(e){return wp.element.createElement(A.BaseControl,{help:e.help,className:l()("ugb-advanced-text-control",e.className)},wp.element.createElement(Ke,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(A.TextControl,Object(i.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};nt.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var at=n(92),ot=n.n(at);function it(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function rt(e){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function lt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function st(e){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ut=function(e){return!(!e.length||"object"!==st(e[0].options))},bt=function(e,t){if(!t.length)return e;if(!ut(t)){var n=t.filter(function(t){return t.value===e});return n.length?n[0].label:e}var a=t.map(function(t){return{title:t.title,options:t.options.filter(function(t){return t.value===e})}}).filter(function(e){return e.options.length>0});return a.length?a[0].options[0].label:e},pt=function(e){return e.value},gt=function(e){return wp.element.createElement("div",{className:"ugb-autosuggest-option","data-value":e.value},e.label)},mt=function(e){return wp.element.createElement("div",{className:"ugb--autosuggest-group"},e.title)},dt=function(e){return e.options},ft=function(){return!0},ht=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=rt(t).apply(this,arguments))||"object"!==st(a)&&"function"!=typeof a?lt(n):a).state={value:e.props.value,label:e.props.value?bt(e.props.value,e.props.options):e.props.value,suggestions:[],isEmpty:!1},e.onSuggestionsFetchRequested=e.onSuggestionsFetchRequested.bind(lt(e)),e.onSuggestionsClearRequested=e.onSuggestionsClearRequested.bind(lt(e)),e.onChange=e.onChange.bind(lt(e)),e.onFocus=e.onFocus.bind(lt(e)),e.autosuggestDiv=Object(c.createRef)(),e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ct(e,t)}(t,c["Component"]),n=t,(a=[{key:"onChange",value:function(e,t){var n=t.newValue;this.props.onChange(n),this.setState({value:n,label:bt(n,this.props.options)})}},{key:"onFocus",value:function(){var e=this;setTimeout(function(){var t=e.autosuggestDiv.current.querySelector('[data-value="'.concat(e.state.value,'"]'));t&&t.scrollIntoView()},0)}},{key:"onSuggestionsFetchRequested",value:function(e){var t=e.value,n=e.reason;if("input-focused"!==n&&"suggestion-selected"!==n){var a=function(e,t){var n=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!n)return t;var a=new RegExp(n,"i");return ut(t)?t.map(function(e){return{title:e.title,options:e.options.filter(function(e){return a.test(e.label)||a.test(e.value)})}}).filter(function(e){return e.options.length>0}):t.filter(function(e){return a.test(e.label)||a.test(e.value)})}(t,this.props.options);this.setState({suggestions:a,isEmpty:""!==t.trim()&&0===a.length})}else this.setState({suggestions:this.props.options,isEmpty:!1})}},{key:"onSuggestionsClearRequested",value:function(){this.setState({suggestions:[]})}},{key:"render",value:function(){var e=this.state,t=e.label,n=e.suggestions,a={placeholder:"",value:t,onChange:this.onChange,onFocus:this.onFocus};return wp.element.createElement(A.BaseControl,{help:this.props.help,className:l()("ugb-advanced-autosuggest-control",this.props.className)},wp.element.createElement(Ke,{label:this.props.label,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},wp.element.createElement(ot.a,{multiSection:ut(this.props.options),suggestions:n,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,getSuggestionValue:pt,renderSuggestion:gt,renderSectionTitle:mt,getSectionSuggestions:dt,shouldRenderSuggestions:ft,inputProps:a}),this.state.isEmpty&&wp.element.createElement("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel)))}}])&&it(n.prototype,a),o&&it(n,o),t}();ht.defaultProps={onChange:function(){},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:Object(s.__)("No matches found",z.i18n)};var vt=ht;function yt(){return(yt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wt=C.a.createElement("path",{d:"M3 15.1h14v2H3zM9.4 2.9h1.2v8.6l1.3-1.3 1.1.8-3 3-3-3 1.1-.8 1.3 1.3V2.9z"}),Ot=function(e){return C.a.createElement("svg",yt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),wt)};function kt(){return(kt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _t=C.a.createElement("path",{d:"M9 3h2v14H9zM1.6 10.6V9.4h3.9L4.2 8.1 5 7l3 3-3 3-.8-1.1 1.3-1.3H1.6zM18.4 9.4v1.2h-3.9l1.3 1.3L15 13l-3-3 3-3 .8 1.1-1.3 1.3h3.9z"}),jt=function(e){return C.a.createElement("svg",kt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),_t)};function Ct(){return(Ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xt=C.a.createElement("path",{d:"M2.9 3h2v14h-2zM17.1 9.4v1.2H8.5l1.3 1.3L9 13l-3-3 3-3 .8 1.1-1.3 1.3h8.6z"}),Et=function(e){return C.a.createElement("svg",Ct({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),xt)};function St(){return(St=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bt=C.a.createElement("path",{d:"M15.1 3h2v14h-2zM2.9 10.6V9.4h8.6l-1.3-1.3L11 7l3 3-3 3-.8-1.1 1.3-1.3H2.9z"}),Tt=function(e){return C.a.createElement("svg",St({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Bt)};function At(){return(At=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Nt=C.a.createElement("path",{d:"M3 16.4h14v2H3zM3 1.6h14v2H3zM10.6 12.8V7.2l1.3 1.3 1.1-.8-3-3-3 3 1.1.8 1.3-1.3v5.6l-1.3-1.3-1.1.8 3 3 3-3-1.1-.8z"}),Pt=function(e){return C.a.createElement("svg",At({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Nt)};function Ft(){return(Ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Rt=C.a.createElement("path",{d:"M3 3h14v2H3zM10.6 17.1H9.4V8.4L8.1 9.7 7 9l3-3 3 3-1.1.8-1.3-1.3v8.6z"}),Dt=function(e){return C.a.createElement("svg",Ft({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Rt)};function Mt(){return(Mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zt=C.a.createElement("path",{d:"M3 9h14v2H3zM10.6 18.4H9.4v-3.9l-1.3 1.3L7 15l3-3 3 3-1.1.8-1.3-1.3v3.9zM9.4 1.6h1.2v3.9l1.3-1.3L13 5l-3 3-3-3 1.1-.8 1.3 1.3V1.6z"}),It=function(e){return C.a.createElement("svg",Mt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),zt)};function Lt(){return(Lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ht(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(n,!0).forEach(function(t){Wt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gt=[{value:"flex-start",title:Object(s.__)("Align Left",z.i18n),icon:wp.element.createElement(Et,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(jt,null)},{value:"flex-end",title:Object(s.__)("Align Right",z.i18n),icon:wp.element.createElement(Tt,null)}],Vt=[{value:"flex-start",title:Object(s.__)("Align Top",z.i18n),icon:wp.element.createElement(Dt,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(It,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",z.i18n),icon:wp.element.createElement(Ot,null)},{value:"stretch",title:Object(s.__)("Stretch",z.i18n),icon:wp.element.createElement(Pt,null)}],qt={"flex-horizontal":Gt,"flex-vertical":[{value:"flex-start",title:Object(s.__)("Align Top",z.i18n),icon:wp.element.createElement(Dt,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(It,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",z.i18n),icon:wp.element.createElement(Ot,null)}],"flex-vertical-with-stretch":Vt},Yt=function(e){var t="string"==typeof e.controls?qt[e.controls]:e.controls,n=l()({"ugb-toolbar--full-width":e.fullwidth,"ugb-toolbar--multiline":e.multiline});return wp.element.createElement(A.BaseControl,{help:e.help,className:l()("ugb-advanced-toolbar-control",e.className)},wp.element.createElement(Ke,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(A.Toolbar,Lt({},Object(i.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"]),{controls:t.map(function(t){return Ht({},t,{onClick:function(){return e.onChange(t.value!==e.value?t.value:"")},isActive:e.value===t.value,extraProps:Ht({},t.icon?{}:{children:t.custom||wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button"},t.title)})})}),className:n})))};Yt.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],value:"",controls:[],multiline:!1,fullwidth:!0};var Kt=Yt;function Xt(){return(Xt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Jt=function(e){return wp.element.createElement(Qe,Xt({initialPosition:"21"},e,{onChangeUnit:function(t){e.value&&("em"===t||"rem"===t?e.onChange(1):"px"===t&&e.onChange(20)),e.onChangeUnit(t)}}))};Jt.defaultProps={label:Object(s.__)("Font Size",z.i18n),value:"",onChange:function(){},unit:"px",onChangeUnit:function(){},min:[10,.1],max:[100,3],step:[1,.05],units:["px","em"]};var $t=Jt;function Zt(){return(Zt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qt=n(93).map(function(e){return{label:e.family,value:e.family}}),en=function(e){return wp.element.createElement(vt,Zt({options:[{title:Object(s.__)("System Fonts",z.i18n),options:[{label:Object(s.__)("Sans-Serif",z.i18n),value:"Sans-Serif"},{label:Object(s.__)("Serif",z.i18n),value:"Serif"},{label:Object(s.__)("Serif Alternative",z.i18n),value:"Serif-Alt"},{label:Object(s.__)("Monospace",z.i18n),value:"Monospace"}]},{title:Object(s.__)("Google Fonts",z.i18n),options:Qt}]},e,{onChange:function(t){Qt.some(function(e){return e.value===t&&(Object(o.R)(t),!0)}),e.onChange(t)}}))};en.defaultProps={onChange:function(){},label:Object(s.__)("Font Family",z.i18n),value:""};var tn=en,nn=n(72);function an(){return(an=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function on(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var rn=Object(nn.a)(function(e){var t=e.children;return wp.element.createElement("div",{className:"ugb-sort-control__container"},t)}),ln=Object(nn.b)(function(e){var t=e.value,n=(e.key,e.index,on(e,["value","key","index"]));return wp.element.createElement("div",an({className:"ugb-sort-control__item"},n),t)}),cn=!1,sn=function e(t){for(var n=t.values?t.values.splice(0,t.num):Object(i.range)(t.num).map(function(e){return e+1});n.length<t.num;)n.push(n.length+1);return wp.element.createElement(A.BaseControl,{help:t.help,className:l()(["ugb-sort-control",t.className,"ugb-sort-control--axis-".concat(t.axis)])},wp.element.createElement(Ke,an({label:t.label},Object(i.omit)(t,Object.keys(e.defaultProps)),{afterButton:t.hasReset?wp.element.createElement(A.Button,{disabled:!t.values,onClick:function(){return t.onChange("",{oldIndex:0,newIndex:0})},isSmall:!0,isSecondary:!0},Object(s.__)("Reset")):null})),wp.element.createElement(rn,{onSortStart:function(){return cn=!0},onSortOver:function(e){var n=e.newIndex;t.onHover(n)},onSortEnd:function(e){var a=e.oldIndex,o=e.newIndex;cn=!1;var i=function(e,t,n){return e.splice(t<n?n+1:n,0,e[t]),e.splice(t<n?t:t+1,1),e}(n,a,o);t.onChange(i,{oldIndex:a,newIndex:o})},axis:t.axis},n.map(function(e,n){return wp.element.createElement(ln,{key:n,index:n,value:e,onMouseEnter:function(){cn||t.onHover(n)},onMouseLeave:function(){cn||t.onHover(null)}})})))};sn.defaultProps={className:"",help:"",label:Object(s.__)("Column Arrangement",z.i18n),num:2,axis:"x",values:null,onChange:function(){},onHover:function(){},hasReset:!1};var un=n(44);function bn(e){return(bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function gn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function dn(e){return(dn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hn(e,t){return(hn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var vn=1,yn=function(e){function t(e){var n,a,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(n=!(o=dn(t).apply(this,arguments))||"object"!==bn(o)&&"function"!=typeof o?fn(a):o).state={opened:e.initialOpen,showAdvanced:e.initialAdvanced},n.onToggle=n.onToggle.bind(fn(n)),n.onAdvancedToggle=n.onAdvancedToggle.bind(fn(n)),n.instanceId=vn++,n.panelRef=Object(c.createRef)(),n}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hn(e,t)}(t,c["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.hasToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?(this.props.onChange&&this.props.onChange(!0),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pn(n,!0).forEach(function(t){gn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pn(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,gn({},this.props.toggleAttributeName,!0))):e}},{key:"componentDidMount",value:function(){Object(ve.addFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(ve.removeFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId))}},{key:"onToggle",value:function(){if(this.setState({opened:!this.state.opened}),!this.state.opened&&this.panelRef.current){var e=this.panelRef.current.querySelector(".components-panel__body-title"),t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar");t&&e.getBoundingClientRect().top<t.getBoundingClientRect().bottom?Object(un.b)(this.panelRef.current):n&&n.getBoundingClientRect().bottom<e.getBoundingClientRect().top&&Object(un.b)(this.panelRef.current)}}},{key:"onAdvancedToggle",value:function(){this.setState({showAdvanced:!this.state.showAdvanced})}},{key:"render",value:function(){var e=this,t=l()([this.props.className,"ugb-toggle-panel-body"],gn({"ugb-toggle-panel-body--advanced":this.state.showAdvanced},"ugb-panel--".concat(this.props.id),this.props.id));return wp.element.createElement(A.PanelBody,{className:t,initialOpen:this.props.initialOpen,onToggle:this.onToggle,opened:this.state.opened,ref:this.panelRef,title:wp.element.createElement(c.Fragment,null,this.props.hasToggle&&this.props.toggleAttributeName&&wp.element.createElement("span",{className:"editor-panel-toggle-settings__panel-title"},wp.element.createElement(A.FormToggle,{className:"ugb-toggle-panel-form-toggle",checked:this.props.checked,onClick:function(t){t.stopPropagation(),t.preventDefault();var n=e.props.checked;n&&e.state.opened?e.onToggle():n||e.state.opened||e.onToggle(),e.props.onChange&&e.props.onChange(!n)},"aria-describedby":this.props.title}),this.props.title),!(this.props.hasToggle&&this.props.toggleAttributeName)&&this.props.title)},this.props.children,this.state.showAdvanced&&this.props.advancedChildren,this.props.advancedChildren&&wp.element.createElement("button",{className:"ugb-panel-advanced-button",onClick:this.onAdvancedToggle},this.state.showAdvanced?Object(s.__)("Simple",z.i18n):Object(s.__)("Advanced",z.i18n)))}}])&&mn(n.prototype,a),o&&mn(n,o),t}();yn.defaultProps={id:"",className:"",title:Object(s.__)("Settings",z.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:""};var wn=yn;function On(){return(On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kn=function(e){var t=e.blockProps;return wp.element.createElement(wn,On({title:Object(s.__)("Spacing",z.i18n)},e,{className:l()(["ugb--help-tip-spacing",e.className])}),Object(ve.applyFilters)("stackable.panel-spacing-body.edit.before",null,t),e.children,Object(ve.applyFilters)("stackable.panel-spacing-body.edit.after",null,t))};kn.defaultProps={className:"",blockProps:{}};var _n=kn,jn=function(e){var t=l()(["ugb-inspector-panel-controls","ugb-panel-".concat(e.tab)]);return wp.element.createElement("div",{className:t},e.children)};jn.defaultProps={tab:"layout"};var Cn=jn,xn=n(20),En=n(28),Sn=n.n(En);function Bn(e,t,n,a,o,i,r){try{var l=e[i](r),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(a,o)}function Tn(e){return function(){var t=this,n=arguments;return new Promise(function(a,o){var i=e.apply(t,n);function r(e){Bn(i,a,o,r,l,"next",e)}function l(e){Bn(i,a,o,r,l,"throw",e)}r(void 0)})}}var An=null,Nn={},Pn=[],Fn=function(e){return e.replace(/^[\w-]+\//,"")},Rn=function(){var e=Tn(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]&&a[0],An&&!t){e.next=9;break}return e.next=4,Sn()({path:"/wp/v2/stk_design_library".concat(t?"/reset":""),method:"GET"});case 4:return n=e.sent,e.next=7,n;case 7:An=e.sent,t&&(Nn={},Pn=[]);case 9:return e.abrupt("return",An);case 10:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Dn=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Fn(t),Nn[n]){e.next=8;break}return e.next=4,Sn()({path:"/wp/v2/stk_block_designs/".concat(n),method:"GET"});case 4:return a=e.sent,e.next=7,a;case 7:Nn[n]=e.sent;case 8:return e.abrupt("return",Nn[n]);case 9:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Mn=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(Pn[t]){e.next=7;break}return e.next=3,Sn()({path:"/wp/v2/stk_design/".concat(t),method:"GET"});case 3:return n=e.sent,e.next=6,n;case 6:Pn[t]=e.sent;case 7:return e.abrupt("return",Pn[t]);case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),zn=function(){var e=Tn(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]&&a[0],e.next=3,Sn()({path:"/wp/v2/stk_design_library_dev_mode/",method:"POST",data:{devmode:t}});case 3:return n=e.sent,e.next=6,n;case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();Object(xn.a)(function(){});var In=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n,a,o,i,r,l,c,s,u,b,p,g,m,d,f,h,v,y;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,a=void 0===n?"":n,o=t.block,i=void 0===o?"":o,r=t.mood,l=void 0===r?"":r,c=t.plan,s=void 0===c?"":c,u=t.colors,b=void 0===u?[]:u,p=t.categories,g=void 0===p?[]:p,m=t.search,d=void 0===m?"":m,f=t.reset,h=void 0!==f&&f,e.t0=Object,e.next=4,Rn(h);case 4:return e.t1=e.sent,v=e.t0.values.call(e.t0,e.t1),a&&(v=v.filter(function(e){return e.type===a})),i&&(y=-1===i.indexOf("ugb/")?"ugb/".concat(i):i,v=v.filter(function(e){return e.block===y})),l&&(v=v.filter(function(e){return e.mood===l})),s&&(v=v.filter(function(e){return e.plan===s})),b&&b.length&&(v=v.filter(function(e){return e.colors.some(function(e){return b.includes(e)})})),g&&g.length&&(v=v.filter(function(e){return e.categories.some(function(e){return g.includes(e)})})),d&&d.toLowerCase().replace(/\s+/," ").trim().split(" ").forEach(function(e){v=v.filter(function(t){return["label","plan","block","tags","categories","colors"].some(function(n){return-1!==t[n].toString().toLowerCase().indexOf(e)})})}),e.abrupt("return",v);case 14:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Ln=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n,a,o,i,r,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Rn();case 2:if(n=e.sent,a=n[t],o=a.type,i=a.block,r=a.template,"block"!==o||!i){e.next=12;break}return e.next=8,Dn(i);case 8:return l=e.sent,e.abrupt("return",l[t]);case 12:if(!r){e.next=16;break}return e.next=15,Mn(t);case 15:return e.abrupt("return",e.sent);case 16:return e.abrupt("return",null);case 17:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Un=function(){var e=Tn(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Object,e.next=3,Rn();case 3:return e.t1=e.sent,t=e.t0.values.call(e.t0,e.t1),e.abrupt("return",t.reduce(function(e,t){var n=t.block,a=t.type;return e.includes(n)||"block"!==a||e.push(n),e},[]));case 6:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();function Hn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Wn=function(e){var t=Hn(Object(c.useState)(!1),2),n=t[0],a=t[1],o=Hn(Object(c.useState)(""),2),i=o[0],r=o[1],l=Hn(Object(c.useState)([]),2),u=l[0],b=l[1],p=Hn(Object(c.useState)(!0),2),g=p[0],m=p[1],d=Hn(Object(c.useState)(""),2),f=d[0],h=d[1];return Object(c.useEffect)(function(){In({type:"block",block:e.block,search:i}).then(function(e){b(e)}).finally(function(){m(!1)})},[e.block,i]),wp.element.createElement("div",null,wp.element.createElement(A.Button,{className:"ugb-design-library-control__open-library",label:Object(s.__)("Open Design Library",z.i18n),isSmall:!0,alignRight:!0,isLink:!0,onClick:function(){return a(!0)}},Object(s.__)("Open Design Library",z.i18n)),wp.element.createElement(A.TextControl,{placeholder:Object(s.__)("Search designs...",z.i18n),value:i,onChange:function(e){return r(e)}}),!z.isPro&&wp.element.createElement(Kt,{controls:[{value:"",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("All",z.i18n),wp.element.createElement("span",null,u.length))},{value:"free",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Free",z.i18n),wp.element.createElement("span",null,u.reduce(function(e,t){return e+("free"===t.plan?1:0)},0)))},{value:"premium",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Premium",z.i18n),wp.element.createElement("span",null,u.reduce(function(e,t){return e+("free"!==t.plan?1:0)},0)))}],value:f,onChange:function(e){return h(e)}}),wp.element.createElement(aa,{designs:u.filter(function(e){var t=e.plan;return!f||t===f}),isBusy:g,onSelect:e.onSelect}),n&&wp.element.createElement(xg,{search:i,selectedBlock:e.block,onClose:function(){a(!1),r("")},onSelect:function(t){e.onSelect(t),a(!1)}}))};Wn.defaultProps={block:"",onSelect:function(){}};var Gn=Wn,Vn=n(16);function qn(e){return(qn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Kn(e){return(Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jn(e,t){return(Jn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var $n=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Kn(t).apply(this,arguments))||"object"!==qn(a)&&"function"!=typeof a?Xn(n):a).state={isOpen:!1,slide:0},e.open=e.open.bind(Xn(e)),e.close=e.close.bind(Xn(e)),e.prev=e.prev.bind(Xn(e)),e.next=e.next.bind(Xn(e)),e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jn(e,t)}(t,c["Component"]),n=t,(a=[{key:"open",value:function(){this.setState({isOpen:!0})}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"next",value:function(){var e=this.state.slide>=4?0:this.state.slide+1;this.setState({slide:e})}},{key:"prev",value:function(){var e=this.state.slide<=0?4:this.state.slide-1;this.setState({slide:e})}},{key:"render",value:function(){var e=this.props.tag;return wp.element.createElement(e,null,wp.element.createElement("a",{href:"https://rebrand.ly/plugin-inspector-more",target:"_premium",onClick:this.open,className:this.props.buttonClassName},this.props.button),this.state.isOpen&&wp.element.createElement(A.Modal,{className:"ugb-pro-modal",onRequestClose:this.close},wp.element.createElement("img",{src:"https://gambitph.github.io/Stackable/assets/premium-popup/premium.jpg",alt:Object(s.__)("Premium features",z.i18n)}),wp.element.createElement("div",{className:"ugb-pro-modal__footer"},wp.element.createElement("a",{href:"https://rebrand.ly/plugin-slider-premium",className:"button button-secondary",target:"_premium",title:Object(s.__)("Upgrade to Premium",z.i18n)},wp.element.createElement(Vn.u,null),Object(s.__)("Upgrade to Premium",z.i18n)),wp.element.createElement("a",{href:"https://rebrand.ly/plugin-premium-demo",target:"_premium",title:Object(s.__)("Try Premium Demo",z.i18n)},Object(s.__)("Try Premium Demo",z.i18n)))))}}])&&Yn(n.prototype,a),o&&Yn(n,o),t}();$n.defaultProps={button:Object(s.__)("Learn More",z.i18n),buttonClassName:"button button-secondary",tag:"div"};var Zn=$n;function Qn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ea=function(e){var t,n,a,o=e.designId,i=e.image,r=e.label,s=e.onClick,u=e.plan,b=e.isPro,p=Qn(Object(c.useState)(!1),2),g=p[0],m=p[1],d=Qn(Object(c.useState)(!1),2),f=d[0],h=d[1],v=l()(["ugb-design-library-item"],(t={"ugb--is-busy":g},n="ugb--is-".concat(u),a=!b&&"free"!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:v,onMouseEnter:function(){return h(!0)},onMouseLeave:function(){return h(!1)}},g&&wp.element.createElement("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},wp.element.createElement(A.Spinner,null)),!b&&"free"!==u&&wp.element.createElement("span",{className:"ugb-design-library-item__premium","data-testid":"premium-tag"},u),wp.element.createElement("button",{className:"ugb-design-library-item__image",onClick:function(){(b||"free"===u)&&(m(!0),Ln(o).then(function(e){m(!1),s(e)}))}},!b&&"free"!==u&&wp.element.createElement(A.Dashicon,{icon:"lock"}),wp.element.createElement("img",{src:i,alt:r,loading:"lazy"})),wp.element.createElement("footer",null,(b||"free"===u)&&wp.element.createElement("span",null,r),!b&&"free"!==u&&!f&&wp.element.createElement("span",null,r),!b&&"free"!==u&&f&&wp.element.createElement(Zn,{buttonClassName:"ugb-design-library-item__premium-link",button:wp.element.createElement(c.Fragment,null,wp.element.createElement(A.Dashicon,{icon:"external"}),e.premiumLabel)})))};ea.defaultProps={designId:"",image:"",label:"",onClick:function(){},plan:"free",isPro:z.isPro,premiumLabel:Object(s.__)("Go Premium",z.i18n)};var ta=ea;var na=function(e){var t,n,a,o=e.designs,i=e.isBusy,r=e.onSelect,c=l()(["ugb-design-library-items"],(t={},n="ugb-design-library-items--columns-".concat(e.columns),a=!i&&e.columns,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:c},(o||[]).map(function(e,t){return wp.element.createElement(ta,{key:t,type:e.type,block:e.block,template:e.template,plan:e.plan,designId:e.id,image:e.image,label:e.label,onClick:function(e){r(e)}})}),i&&wp.element.createElement("div",{className:"ugb-design-library-search__spinner","data-testid":"spinner"},wp.element.createElement(A.Spinner,null)),!i&&!(o||[]).length&&wp.element.createElement("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},Object(s.__)("No designs found",z.i18n)))};na.defaultProps={designs:[],columns:1,onSelect:function(){},isBusy:!1};var aa=na,oa=(n(337),n(13)),ia=n.n(oa);function ra(e){return(ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function la(){return(la=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function sa(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ua(e){return(ua=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ba(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pa(e,t){return(pa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ma={},da=Object(H.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=ua(n).apply(this,arguments))||"object"!==ra(a)&&"function"!=typeof a?ba(t):a).blockClientId=e.props.blockProps.clientId,void 0===ma[e.blockClientId]&&(ma[e.blockClientId]={tab:Object(o.Q)(e.props.blockProps)?"":"style",panel:0}),e.onClickPanel=e.onClickPanel.bind(ba(e)),e.onClickTab=e.onClickTab.bind(ba(e)),e}var a,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pa(e,t)}(n,c["Component"]),a=n,(i=[{key:"getActiveTab",value:function(){var e=document.querySelector(".components-panel[data-ugb-tab]");return e?e.getAttribute("data-ugb-tab"):void 0}},{key:"getActiveTabPanelContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab();return e?document.querySelector(".ugb-panel-".concat(e)):void 0}},{key:"getPanelFromIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return-1===e?null:this.getActiveTabPanelContainer().querySelector(".components-panel__body:nth-child(".concat(e+1,"):not(.is-opened) .components-panel__body-toggle"))}},{key:"getPanelIndex",value:function(e){return e?Array.prototype.slice.call(e.parentElement.children).indexOf(e):-1}},{key:"getOpenPanelIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab(),t=this.getActiveTabPanelContainer(e),n=t.querySelector(".components-panel__body.is-opened");return this.getPanelIndex(n)}},{key:"componentDidMount",value:function(){if(-1!==ma[this.blockClientId].panel){var e=this.getPanelFromIndex(ma[this.blockClientId].panel);e&&e.click()}else Ba()}},{key:"onClickPanel",value:function(e){ma[this.blockClientId]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ca(n,!0).forEach(function(t){ga(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ca(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},ma[this.blockClientId],{panel:e.classList.contains("is-opened")?-1:this.getPanelIndex(e)})}},{key:"onClickTab",value:function(e){ma[this.blockClientId]={tab:e,panel:this.getOpenPanelIndex(e)}}},{key:"render",value:function(){return wp.element.createElement(e,la({initialTab:ma[this.blockClientId].tab,onClick:this.onClickTab,onClickPanel:this.onClickPanel},this.props))}}])&&sa(a.prototype,i),r&&sa(a,r),n}(),ga(t,"propTypes",{blockProps:ia.a.shape({clientId:ia.a.string.isRequired,name:ia.a.string.isRequired,attributes:ia.a.object.isRequired})}),n},"withMemory");function fa(e){return(fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ha(){return(ha=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function va(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ya(e){return(ya=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oa(e,t){return(Oa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ka=Object(H.createHigherOrderComponent)(function(e){var t,n,a,o,i;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=ya(n).apply(this,arguments))||"object"!==fa(a)&&"function"!=typeof a?wa(t):a).onSidebarScroll=e.onSidebarScroll.bind(wa(e)),e.sidebarEl=null,e.tabTop=0,e.styleTop=0,e.styleWidth=0,e.state={fixedTabs:!1},e}var a,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oa(e,t)}(n,c["Component"]),a=n,(o=[{key:"onSidebarScroll",value:function(){if(!this.tabTop){var e=document.querySelector(".block-editor-block-card");this.tabTop=e?e.getBoundingClientRect().height+32:75}if(!this.styleWidth){var t=document.querySelector(".edit-post-sidebar-header");if(t){var n=t.getBoundingClientRect();this.styleTop=n.bottom-2,this.styleWidth=n.width}else{var a=document.querySelector(".edit-post-sidebar");if(a){var o=a.getBoundingClientRect();this.styleTop=o.top,this.styleWidth=o.width}}}this.sidebarEl&&this.tabTop&&this.setState({fixedTabs:this.sidebarEl.scrollTop>=this.tabTop})}},{key:"componentDidMount",value:function(){this.sidebarEl=document.querySelector(".edit-post-sidebar"),this.sidebarEl&&this.sidebarEl.addEventListener("scroll",this.onSidebarScroll)}},{key:"componentWillUnmount",value:function(){this.sidebarEl&&this.sidebarEl.removeEventListener("scroll",this.onSidebarScroll)}},{key:"render",value:function(){var t=l()([this.props.className],{"ugb--fixed-tabs":this.state.fixedTabs});return wp.element.createElement(c.Fragment,null,wp.element.createElement(e,ha({},this.props,{className:t,style:{top:this.state.fixedTabs?"".concat(this.styleTop,"px"):void 0,width:this.state.fixedTabs?"".concat(this.styleWidth,"px"):void 0}})),this.state.fixedTabs&&wp.element.createElement("div",{className:"ugb--panel-tabs-dummy"}))}}])&&va(a.prototype,o),i&&va(a,i),n}(),i={className:""},(o="defaultProps")in(a=t)?Object.defineProperty(a,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[o]=i,n},"withSticky");function _a(e){return(_a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ja(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ca(e){return(Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ea(e,t){return(Ea=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Sa=[{value:"layout",title:Object(s.__)("Layout",z.i18n),label:Object(s.__)("Layout Tab",z.i18n),icon:"admin-settings"},{value:"style",title:Object(s.__)("Style",z.i18n),label:Object(s.__)("Style Tab",z.i18n),icon:"admin-appearance"},{value:"advanced",title:Object(s.__)("Advanced",z.i18n),label:Object(s.__)("Advanced Tab",z.i18n),icon:"admin-tools"}],Ba=function(e){[].forEach.call(document.querySelectorAll(".components-panel__body .components-panel__body-toggle"),function(t){0!==t.offsetHeight&&t.parentElement.parentElement.classList.contains("is-opened")&&e!==t&&t.click()})},Ta=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Ca(t).apply(this,arguments))||"object"!==_a(a)&&"function"!=typeof a?xa(n):a).tabsToUse=e.props.tabs||["layout","style","advanced"],e.state={activeTab:e.props.initialTab?e.props.initialTab:e.tabsToUse[0]},e.onButtonPanelClick=e.onButtonPanelClick.bind(xa(e)),e.updateSidebarPanelTab=e.updateSidebarPanelTab.bind(xa(e)),e.select=e.select.bind(xa(e)),e.containerDiv=Object(c.createRef)(),e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ea(e,t)}(t,c["Component"]),n=t,(a=[{key:"updateSidebarPanelTab",value:function(e){var t=this.containerDiv.current.closest(".components-panel");t.setAttribute("data-ugb-tab",e),t.closest(".edit-post-sidebar").classList.add("ugb--has-panel-tabs")}},{key:"componentDidMount",value:function(){this.updateSidebarPanelTab(this.state.activeTab),this.props.closeOtherPanels&&document.body.addEventListener("click",this.onButtonPanelClick)}},{key:"componentWillUnmount",value:function(){var e=document.querySelector("[data-ugb-tab]");e&&(e.removeAttribute("data-ugb-tab"),e.closest(".edit-post-sidebar").classList.remove("ugb--has-panel-tabs")),this.props.closeOtherPanels&&document.body.removeEventListener("click",this.onButtonPanelClick)}},{key:"onButtonPanelClick",value:function(e){var t=e.target.closest(".components-panel__body-toggle");t&&"layout"!==this.state.activeTab&&(Ba(t),this.props.onClickPanel(t.closest(".components-panel__body")))}},{key:"select",value:function(e){this.setState({activeTab:e}),this.updateSidebarPanelTab(e),this.props.onClick(e)}},{key:"render",value:function(){var e=this,t=l()([this.props.className,"components-panel__body","ugb-panel-tabs"]);return wp.element.createElement("div",{className:t,style:this.props.style,ref:this.containerDiv},wp.element.createElement("div",{className:"ugb-panel-tabs__wrapper"},Sa.map(function(t,n){var a=t.value,o=t.title,i=t.label,r=t.icon;return e.tabsToUse.includes(a)?wp.element.createElement("button",{key:n,onClick:function(){return e.select(a)},className:l()(["edit-post-sidebar__panel-tab","ugb-tab--".concat(a)],{"is-active":e.state.activeTab===a}),"aria-label":i,"data-label":i},wp.element.createElement(A.Icon,{icon:r}),o):null})))}}])&&ja(n.prototype,a),o&&ja(n,o),t}();Ta.defaultProps={className:"",style:{},closeOtherPanels:!0,blockProps:{},initialTab:"",onClickPanel:function(){},onClick:function(){},tabs:null};var Aa=da(Ta);Object(o.cb)()||(Aa=ka(Aa));var Na=Aa;function Pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pa(n,!0).forEach(function(t){Ra(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pa(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ra(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Da=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.keys(e).reduce(function(i,r){return Fa({},i,Ra({},Object(o.X)(r,t,n,a?"#editor":""),e[r]))},{})},Ma=function(e){return Object(o.V)(Object.keys(e).reduce(function(t,n){var a=Object.keys(e[n]).reduce(function(t,a){var o=e[n][a];if(void 0===o)return t;var r=a.replace(/^(--?)?(.*?$)/,function(e,t,n){return"".concat(t||"").concat(Object(i.kebabCase)(n))});return"".concat(t,"\n\t").concat(r,": ").concat(o,";")},"");return"".concat(t,"\n\n").concat(n," {").concat(a,"\n}")},"").trim())},za=function(e){var t=e.style,n=void 0===t?{}:t,a=e.editorMode,r=void 0!==a&&a,l=e.blockUniqueClassName,c=void 0===l?"":l,s=e.blockMainClassName,u=void 0===s?"":s,b=e.breakTablet,p=void 0===b?1025:b,g=e.breakMobile,m=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1025,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:768,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,u=[],b=Object(i.omit)(t,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor"]);if(Object.keys(b).length){var p=Da(b,n,a,c);u.push(Ma(p))}if(void 0!==t.desktopTablet){var g=Da(t.desktopTablet,n,a,c),m=Ma(g);m&&u.push("\n@media screen and (min-width: ".concat(l,"px) {\n").concat(m," }"))}if(void 0!==t.desktopOnly){var d=Da(t.desktopOnly,n,a,c),f=Ma(d);f&&u.push("\n@media screen and (min-width: ".concat(r,"px) {\n").concat(f," }"))}if(void 0!==t.tablet){var h=Da(t.tablet,n,a,c),v=Ma(h);v&&u.push("\n@media screen and (max-width: ".concat(r,"px) {\n").concat(v," }"))}if(void 0!==t.tabletOnly){var y=Da(t.tabletOnly,n,a,c),w=Ma(y);w&&u.push("\n@media screen and (min-width: ".concat(l,"px) and (max-width: ").concat(r,"px) {\n").concat(w," }"))}if(void 0!==t.mobile){var O=Da(t.mobile,n,a,c),k=Ma(O);k&&u.push("\n@media screen and (max-width: ".concat(l,"px) {\n").concat(k," }"))}if(void 0!==t.ie11){var _=Da(t.ie11,n,a,c),j=Ma(_);j&&u.push("\n@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n".concat(j," }"))}return c&&void 0!==t.editor&&!s&&u.push(e(t.editor,n,a,r,l,c,s++)),Object(o.V)(u.join(""))}(n,u,c,p,void 0===g?768:g,r);return m?wp.element.createElement("style",null,m):null};function Ia(){return(Ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var La=function(e){var t=e.options,n=e.selected,a=e.title,o=void 0===a?Object(s.__)("Layout",z.i18n):a,r=e.selectedOptionInTitle,c=void 0===r||r,u=e.help,b=void 0===u?"":u,p=e.className,g=void 0===p?"":p,m=e.initialOpen,d=void 0===m||m,f=t?t.find(function(e){return e.value===n}):null,h=f?"".concat(o," – ").concat(f.label):o,v=l()(["ugb-design-panel-body",g]);return wp.element.createElement(A.PanelBody,Ia({title:c?wp.element.createElement("span",null,h):o,className:v,initialOpen:d},Object(i.omit)(e,["help"])),b&&wp.element.createElement("p",{className:"components-base-control__help"},b),t&&wp.element.createElement(Va,Object(i.omit)(e,["help","title"])),e.children)};var Ua=function(e){var t=e.imageFile,n=e.imageHoverFile,a=e.imageWidth,o=void 0===a?"":a,i=e.imageHeight,r=void 0===i?"":i,l=e.label,c=t?t.match(/https?:/i)?t:z.srcUrl?"".concat(z.srcUrl,"/").concat(t):t:"",s=n?n.match(/https?:/i)?n:z.srcUrl?"".concat(z.srcUrl,"/").concat(n):n:null;return wp.element.createElement("span",{className:"ugb-design-panel-item"},s&&wp.element.createElement("img",{className:"ugb-design-panel-item__hover-image",src:s,alt:l,width:o,height:r}),c&&wp.element.createElement("img",{className:"ugb-design-panel-item__image",src:c,alt:l,width:o,height:r}),wp.element.createElement("span",{className:"design-label"},l))};function Ha(){return(Ha=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Wa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Va=function(e){var t=e.selected,n=e.options,a=e.onChange,o=e.className,r=void 0===o?"":o,c=n.map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wa(n,!0).forEach(function(t){Ga(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wa(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{label:wp.element.createElement(Ua,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value})});return wp.element.createElement("div",{className:l()(r,"ugb-design-control-wrapper components-base-control")},e.label&&wp.element.createElement("div",{className:"components-base-control__label"},e.label),wp.element.createElement(A.RadioControl,Ha({},Object(i.omit)(e,["label"]),{className:"ugb-design-control",selected:t,options:c,onChange:a})))},qa=n(94),Ya=n.n(qa),Ka=n(95),Xa=n.n(Ka),Ja=n(96),$a=n.n(Ja),Za=n(97),Qa=n.n(Za),eo=n(98),to=n.n(eo),no=n(99),ao=n.n(no),oo=n(100),io=n.n(oo),ro=n(101),lo=n.n(ro),co=n(102),so=n.n(co),uo=n(103),bo=n.n(uo),po=n(104),go=n.n(po),mo=n(105),fo=n.n(mo),ho=n(106),vo=n.n(ho);function yo(){return(yo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wo={"wave-1":{image:bo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),1),value:"wave-1"},"straight-1":{image:so.a,label:Object(s.__)("Straight",z.i18n),value:"straight-1"},"wave-2":{image:go.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),2),value:"wave-2"},"wave-3":{image:fo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),3),value:"wave-3"},"wave-4":{image:vo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),4),value:"wave-4"},"slant-1":{image:io.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Slant",z.i18n),1),value:"slant-1"},"slant-2":{image:lo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Slant",z.i18n),2),value:"slant-2"},"curve-1":{image:Ya.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),1),value:"curve-1"},"curve-2":{image:Xa.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),2),value:"curve-2"},"curve-3":{image:$a.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),3),value:"curve-3"},"rounded-1":{image:Qa.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),1),value:"rounded-1"},"rounded-2":{image:to.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),2),value:"rounded-2"},"rounded-3":{image:ao.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),3),value:"rounded-3"}},Oo=function(e){var t=Object.keys(wo).filter(function(t){return!e.excludeDesigns.includes(t)}).map(function(e){return wo[e]});return wp.element.createElement(A.BaseControl,{className:"ugb-design-separator-control",id:"ugb-design-separator-control",label:e.label,help:e.help},wp.element.createElement(Va,yo({options:Object(ve.applyFilters)("stackable.separator.edit.layouts",t,e)},Object(i.omit)(e,["label","help"]))))};Oo.defaultProps={label:"",help:"",excludeDesigns:[]};var ko=Oo,_o=n(31),jo=n(23),Co=n(25),xo=n(26),Eo=n(27);function So(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Bo=Object(H.withState)({value:""})(function(e){var t,n,a=e.value,o=e.setState,i=(n=(t=a)&&t.toLowerCase(),[].concat(So(Object.values(Co.a).filter(function(e){return e.iconName.includes(n)}).slice(0,100)),So(Object.values(xo.a).filter(function(e){return e.iconName.includes(n)}).slice(0,100)),So(Object.values(Eo.a).filter(function(e){return e.iconName.includes(n)}).slice(0,100))).slice(0,100));return wp.element.createElement(A.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside},wp.element.createElement(A.PanelBody,null,wp.element.createElement("div",{className:"ugb-icon-popover__label-container"},wp.element.createElement(A.TextControl,{className:"ugb-icon-popover__input",value:a,onChange:function(e){o({value:e})},placeholder:Object(s.__)("Type to search icon",z.i18n)}),e.allowReset&&wp.element.createElement(A.Button,{onClick:function(){e.onChange(""),e.onClose()},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Remove",z.i18n))),wp.element.createElement("div",{className:"ugb-icon-popover__iconlist"},i.map(function(t,n){var a=t.prefix,o=t.iconName,i="".concat(a,"-").concat(o);return wp.element.createElement("button",{key:n,className:"components-button",onClick:function(){e.onChange(i),e.onClose()}},wp.element.createElement(jo.a,{icon:[a,o]}))}),!i.length&&wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("No matches found",z.i18n)))))});Bo.defaultProps={onChange:function(){},onClose:function(){},onClickOutside:function(){},allowReset:!0};var To=Bo,Ao=function(e){return wp.element.createElement(Bc,{attrNameTemplate:"%sContentAlign",setAttributes:e.setAttributes,blockAttributes:e.blockAttributes},wp.element.createElement(cs,{label:Object(s.__)("Align",z.i18n),className:l()([e.className,"ugb--help-tip-alignment-all"])}))};Ao.defaultProps={className:"",setAttributes:function(){},blockAttributes:{}};var No=Ao,Po=function(){return wp.element.createElement("hr",{className:"ugb-control-separator"})};function Fo(e){return(Fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ro(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Do(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mo(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function zo(e){return(zo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Io(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lo(e,t){return(Lo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Uo=1,Ho=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=zo(t).apply(this,arguments))||"object"!==Fo(a)&&"function"!=typeof a?Io(n):a).state={open:!1},e.handleOpen=e.handleOpen.bind(Io(e)),e.handleClose=e.handleClose.bind(Io(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Io(e)),e.buttonRef=Object(c.createRef)(),e.instanceId=Uo++,e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lo(e,t)}(t,c["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ro(n,!0).forEach(function(t){Do(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ro(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,Do({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){Object(ve.addFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(ve.removeFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId))}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleOnClickOutside",value:function(e){e.relatedTarget&&!e.relatedTarget.closest(".components-popover")&&e.relatedTarget!==this.buttonRef.current&&this.handleClose()}},{key:"render",value:function(){return wp.element.createElement(A.BaseControl,{help:this.props.help,label:!this.props.onToggle&&wp.element.createElement("label",{htmlFor:"ugb-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"ugb-button-icon-control",className:l()("ugb-button-icon-control",this.props.className)},this.props.onToggle&&wp.element.createElement(A.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),wp.element.createElement("div",{className:"ugb-button-icon-control__wrapper"},this.props.allowReset&&wp.element.createElement(A.IconButton,{onClick:this.props.onReset,className:"ugb-button-icon-control__reset",label:Object(s.__)("Reset",z.i18n),icon:"image-rotate"}),wp.element.createElement(A.IconButton,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:Object(s.__)("Edit",z.i18n),isDefault:!0,icon:"edit",id:"ugb-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&wp.element.createElement(A.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",onClose:this.handleClose,onFocusOutside:this.handleOnClickOutside,anchorRef:this.buttonRef.current},wp.element.createElement(A.PanelBody,null,(this.props.label||this.props.popoverLabel)&&wp.element.createElement("h2",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.children))))}}])&&Mo(n.prototype,a),o&&Mo(n,o),t}();Ho.defaultProps={help:"",label:"",popoverLabel:"",className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:""};var Wo=Ho,Go=function(e){var t=Object(o.I)(e.imageData,e.size||"full"),n=e.widthMax||1e3,a=0;e.imageData&&e.onChangeSize&&t&&(n=t.width,a=t.height);var i=!!t&&t.width===t.height;return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(re,{label:Object(s.__)("Image",z.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:"",width:"",height:""})},onChange:function(t){var n=t.url,a=t.width,o=t.height,i=e.size||"full";t.sizes[i]&&(n=t.sizes[i].url,a=t.sizes[i].width,o=t.sizes[i].height),e.onChangeImage({id:t.id,url:n,width:a,height:o})}}),e.onChangeShape&&wp.element.createElement(Ce,{isSquareImage:i,shape:e.shape,shapeFlipX:e.shapeFlipX,shapeFlipY:e.shapeFlipY,shapeStretch:e.shapeStretch,onChangeShape:e.onChangeShape,onChangeShapeFlipX:e.onChangeShapeFlipX,onChangeShapeFlipY:e.onChangeShapeFlipY,onChangeShapeStretch:e.onChangeShapeStretch}),wp.element.createElement(Po,null),e.onChangeAlt&&wp.element.createElement(se,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&wp.element.createElement(Se,{label:Object(s.__)("Image Size",z.i18n),value:e.size,onChange:function(t){var n=Object(o.I)(e.imageData,t||"full"),a="",i="",r=e.url;n&&(a=n.width,i=n.height,r=n.source_url),e.onChangeSize(t,r,a,i)}}),e.onChangeWidth&&wp.element.createElement(c.Fragment,null,wp.element.createElement(Dc,null,wp.element.createElement(Qe,{label:Object(s.__)("Image Width",z.i18n),value:e.width,max:n,onChange:function(t){var o=a/n;e.onChangeWidth("number"==typeof t?t:"","number"==typeof t?parseInt(o*t,10):"")},allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(Dc,{screen:"tablet"},wp.element.createElement(Qe,{label:Object(s.__)("Image Width",z.i18n),value:e.tabletWidth,max:n,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(Dc,{screen:"mobile"},wp.element.createElement(Qe,{label:Object(s.__)("Image Width",z.i18n),value:e.mobileWidth,max:n,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&("number"==typeof e.width||e.width)&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Force square image",z.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"}),e.onChangeBorderRadius&&""===e.shape&&wp.element.createElement(Qe,{label:Object(s.__)("Border Radius",z.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-border-radius"}),e.onChangeShadow&&""===e.shape&&wp.element.createElement(Qe,{label:Object(s.__)("Shadow / Outline",z.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-shadow"}),e.onChangeBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Blend Mode",z.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};Go.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id,e.width,e.height},shape:"",onChangeShape:function(){},shapeStretch:"",onChangeShapeStretch:function(){},alt:"",onChangeAlt:function(){},size:"large",onChangeSize:function(){},widthMax:1e3,width:"",tabletWidth:"",mobileWidth:"",onChangeWidth:function(){},onChangeTabletWidth:function(){},onChangeMobileWidth:function(){},square:"",onChangeSquare:function(){},borderRadius:"",onChangeBorderRadius:function(){},shadow:"",onChangeShadow:function(){},blendMode:"",onChangeBlendMode:function(){}};var Vo=Object(H.compose)(Object(_e.withSelect)(function(e,t){var n=e("core").getMedia;return Object(o.f)(t.id,e),{imageData:t.id?n(t.id):null}}))(Go);function qo(){return(qo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Yo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ko=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(o.b)(e.blockAttributes,n,"");return wp.element.createElement(Vo,qo({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,o=e.url,i=e.id,r=e.width,l=e.height;t((Yo(a={},n("Url"),o),Yo(a,n("Id"),i),Yo(a,n("Width"),r),Yo(a,n("Height"),l),a))},alt:a("Alt"),onChangeAlt:function(e){return t(Yo({},n("Alt"),e))},size:a("Size"),onChangeSize:function(e,a,o,i){var r;t((Yo(r={},n("Size"),e),Yo(r,n("Url"),a),Yo(r,n("Width"),o),Yo(r,n("Height"),i),r))},shape:a("Shape"),onChangeShape:function(e){return t(Yo({},n("Shape"),e))},shapeFlipX:a("ShapeFlipX"),onChangeShapeFlipX:function(e){return t(Yo({},n("ShapeFlipX"),e))},shapeFlipY:a("ShapeFlipY"),onChangeShapeFlipY:function(e){return t(Yo({},n("ShapeFlipY"),e))},shapeStretch:a("ShapeStretch"),onChangeShapeStretch:function(e){return t(Yo({},n("ShapeStretch"),e))},style:a("Style"),onChangeStyle:function(e){return t(Yo({},n("Style"),e))},width:a("Width"),tabletWidth:a("TabletWidth"),mobileWidth:a("MobileWidth"),onChangeWidth:function(e,a){var o;t((Yo(o={},n("Width"),e),Yo(o,n("Height"),a),o))},onChangeTabletWidth:function(e){return t(Yo({},n("TabletWidth"),e))},onChangeMobileWidth:function(e){return t(Yo({},n("MobileWidth"),e))},square:a("Square"),onChangeSquare:function(e){return t(Yo({},n("Square"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(Yo({},n("BorderRadius"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(Yo({},n("Shadow"),e))},blendMode:a("BlendMode"),onChangeBlendMode:function(e){return t(Yo({},n("BlendMode"),e))}},e))};Ko.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Xo=Ko,Jo=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(re,{label:Object(s.__)("Image",z.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:""})},onChange:function(t){var n=t.url,a=e.size||"full";t.sizes[a]&&(n=t.sizes[a].url),e.onChangeImage({id:t.id,url:n})}}),e.onChangeSize&&wp.element.createElement(Se,{label:Object(s.__)("Image Size",z.i18n),value:e.size,onChange:function(t){e.onChangeSize(t,Object(o.J)(e.id,t||"full"))},className:"ugb--help-tip-image-size"}),e.onChangeBackgroundPosition&&wp.element.createElement(tt,{label:Object(s.__)("Background Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"}),e.onChangeBackgroundRepeat&&wp.element.createElement(tt,{label:Object(s.__)("Background Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"}),e.onChangeBackgroundSize&&wp.element.createElement(tt,{label:Object(s.__)("Background Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}))};Jo.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id},size:"",onChangeSize:function(){},backgroundPosition:"",onChangeBackgroundPosition:function(){},backgroundRepeat:"",onChangeBackgroundRepeat:function(){},backgroundSize:"",onChangeBackgroundSize:function(){},backgroundCustomSizeUnit:"",onChangeBackgroundCustomSizeUnit:function(){},backgroundCustomSize:"",onChangeBackgroundCustomSize:function(){}};var $o=Object(H.compose)(Object(_e.withSelect)(function(e,t){var n=e("core").getMedia;return Object(o.f)(t.id,e),{imageData:t.id?n(t.id):null}}))(Jo);function Zo(){return(Zo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Qo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ei=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(o.b)(e.blockAttributes,n,"");return wp.element.createElement($o,Zo({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,o=e.url,i=e.id;t((Qo(a={},n("Url"),o),Qo(a,n("Id"),i),a))},size:a("Size"),onChangeSize:function(e,a){var o;t((Qo(o={},n("Size"),e),Qo(o,n("Url"),a),o))},backgroundPosition:a("BackgroundPosition"),onChangeBackgroundPosition:function(e){return t(Qo({},n("BackgroundPosition"),e))},backgroundRepeat:a("BackgroundRepeat"),onChangeBackgroundRepeat:function(e){return t(Qo({},n("BackgroundRepeat"),e))},backgroundSize:a("BackgroundSize"),onChangeBackgroundSize:function(e){return t(Qo({},n("BackgroundSize"),e))},backgroundCustomSize:a("BackgroundCustomSize"),onChangeBackgroundCustomSize:function(e){return t(Qo({},n("BackgroundCustomSize"),e))},backgroundCustomSizeUnit:a("BackgroundCustomSizeUnit")||"px",onChangeBackgroundCustomSizeUnit:function(e){return t(Qo({},n("BackgroundCustomSizeUnit"),e))}},e))};ei.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var ti=ei;function ni(){return(ni=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ai=function(e){return wp.element.createElement(c.Fragment,null,wp.element.createElement(Wo,{label:e.label,onReset:e.onReset,allowReset:e.fontFamily||e.fontSize||e.tabletFontSize||e.mobileFontSize||e.fontWeight||e.textTransform||e.lineHeight||e.tabletLineHeight||e.mobileLineHeight||e.letterSpacing,className:"ugb--help-tip-typography"},e.onChangeFontFamily&&wp.element.createElement(tn,{label:Object(s.__)("Font Family",z.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(Dc,null,wp.element.createElement($t,ni({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(Dc,{screen:"tablet"},wp.element.createElement($t,ni({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(Dc,{screen:"mobile"},wp.element.createElement($t,ni({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))),e.onChangeFontWeight&&wp.element.createElement(A.SelectControl,{label:Object(s.__)("Weight",z.i18n),options:[{label:"100",value:"100"},{label:"200",value:"200"},{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"},{label:"900",value:"900"},{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Normal",z.i18n),value:"normal"},{label:Object(s.__)("Bold",z.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&wp.element.createElement(A.SelectControl,{label:Object(s.__)("Transform",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Uppercase",z.i18n),value:"uppercase"},{label:Object(s.__)("Lowercase",z.i18n),value:"lowercase"},{label:Object(s.__)("Capitalize",z.i18n),value:"capitalize"},{label:Object(s.__)("Normal",z.i18n),value:"normal"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&wp.element.createElement(c.Fragment,null,wp.element.createElement(Dc,null,wp.element.createElement(Qe,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.lineHeight,onChange:e.onChangeLineHeight,unit:e.lineHeightUnit,onChangeUnit:e.onChangeLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(Dc,{screen:"tablet"},wp.element.createElement(Qe,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.tabletLineHeight,onChange:e.onChangeTabletLineHeight,unit:e.tabletLineHeightUnit,onChangeUnit:e.onChangeTabletLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(Dc,{screen:"mobile"},wp.element.createElement(Qe,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.mobileLineHeight,onChange:e.onChangeMobileLineHeight,unit:e.mobileLineHeightUnit,onChangeUnit:e.onChangeMobileLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"}))),e.onChangeLetterSpacing&&wp.element.createElement(Qe,{label:Object(s.__)("Letter Spacing",z.i18n),min:-5,max:10,step:.1,allowReset:!0,onChange:e.onChangeLetterSpacing,value:e.letterSpacing,placeholder:"0",className:"ugb--help-tip-typography-letter-spacing"})),e.showSecondFontSize&&e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(Dc,null,wp.element.createElement($t,ni({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(Dc,{screen:"tablet"},wp.element.createElement($t,ni({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(Dc,{screen:"mobile"},wp.element.createElement($t,ni({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};ai.defaultProps={label:Object(s.__)("Typography",z.i18n),showSecondFontSize:!0,fontFamily:"",fontSize:"",tabletFontSize:"",mobileFontSize:"",fontSizeUnit:"px",tabletFontSizeUnit:"px",mobileFontSizeUnit:"px",fontWeight:"",textTransform:"",lineHeight:"",tabletLineHeight:"",mobileLineHeight:"",lineHeightUnit:"em",tabletLineHeightUnit:"em",mobileLineHeightUnit:"em",letterSpacing:"",fontSizeProps:{},onReset:function(){},onChangeFontFamily:function(){},onChangeFontSize:function(){},onChangeTabletFontSize:function(){},onChangeMobileFontSize:function(){},onChangeFontSizeUnit:function(){},onChangeTabletFontSizeUnit:function(){},onChangeMobileFontSizeUnit:function(){},onChangeFontWeight:function(){},onChangeTextTransform:function(){},onChangeLineHeight:function(){},onChangeTabletLineHeight:function(){},onChangeMobileLineHeight:function(){},onChangeLineHeightUnit:function(){},onChangeTabletLineHeightUnit:function(){},onChangeMobileLineHeightUnit:function(){},onChangeLetterSpacing:function(){}};var oi=ai;function ii(){return(ii=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ri(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var li=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(oi,ii({fontFamily:e.blockAttributes[n("FontFamily")]||"",fontSize:e.blockAttributes[n("FontSize")]||"",tabletFontSize:e.blockAttributes[n("TabletFontSize")]||"",mobileFontSize:e.blockAttributes[n("MobileFontSize")]||"",fontSizeUnit:e.blockAttributes[n("FontSizeUnit")]||"px",tabletFontSizeUnit:e.blockAttributes[n("TabletFontSizeUnit")]||"px",mobileFontSizeUnit:e.blockAttributes[n("MobileFontSizeUnit")]||"px",fontWeight:e.blockAttributes[n("FontWeight")]||"",textTransform:e.blockAttributes[n("TextTransform")]||"",letterSpacing:e.blockAttributes[n("LetterSpacing")]||"",lineHeight:e.blockAttributes[n("LineHeight")]||"",tabletLineHeight:e.blockAttributes[n("TabletLineHeight")]||"",mobileLineHeight:e.blockAttributes[n("MobileLineHeight")]||"",lineHeightUnit:e.blockAttributes[n("LineHeightUnit")]||"em",tabletLineHeightUnit:e.blockAttributes[n("TabletLineHeightUnit")]||"em",mobileLineHeightUnit:e.blockAttributes[n("MobileLineHeightUnit")]||"em",onChangeFontFamily:function(e){return t(ri({},n("FontFamily"),e))},onChangeFontSize:function(e){return t(ri({},n("FontSize"),e))},onChangeTabletFontSize:function(e){return t(ri({},n("TabletFontSize"),e))},onChangeMobileFontSize:function(e){return t(ri({},n("MobileFontSize"),e))},onChangeFontSizeUnit:function(e){return t(ri({},n("FontSizeUnit"),e))},onChangeTabletFontSizeUnit:function(e){return t(ri({},n("TabletFontSizeUnit"),e))},onChangeMobileFontSizeUnit:function(e){return t(ri({},n("MobileFontSizeUnit"),e))},onChangeFontWeight:function(e){return t(ri({},n("FontWeight"),e))},onChangeTextTransform:function(e){return t(ri({},n("TextTransform"),e))},onChangeLetterSpacing:function(e){return t(ri({},n("LetterSpacing"),e))},onChangeLineHeight:function(e){return t(ri({},n("LineHeight"),e))},onChangeTabletLineHeight:function(e){return t(ri({},n("TabletLineHeight"),e))},onChangeMobileLineHeight:function(e){return t(ri({},n("MobileLineHeight"),e))},onChangeLineHeightUnit:function(e){return t(ri({},n("LineHeightUnit"),e))},onChangeTabletLineHeightUnit:function(e){return t(ri({},n("TabletLineHeightUnit"),e))},onChangeMobileLineHeightUnit:function(e){return t(ri({},n("MobileLineHeightUnit"),e))},onReset:function(){var e;t((ri(e={},n("FontFamily"),""),ri(e,n("FontSize"),""),ri(e,n("TabletFontSize"),""),ri(e,n("MobileFontSize"),""),ri(e,n("FontSizeUnit"),"px"),ri(e,n("TabletFontSizeUnit"),"px"),ri(e,n("MobileFontSizeUnit"),"px"),ri(e,n("FontWeight"),""),ri(e,n("TextTransform"),""),ri(e,n("LetterSpacing"),""),ri(e,n("LineHeight"),""),ri(e,n("TabletLineHeight"),""),ri(e,n("MobileLineHeight"),""),ri(e,n("LineHeightUnit"),"em"),ri(e,n("TabletLineHeightUnit"),"em"),ri(e,n("MobileLineHeightUnit"),"em"),e))}},e))};li.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var ci=li,si=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&wp.element.createElement(A.BaseControl,{label:e.labelBackgroundColorType,id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},wp.element.createElement(Kt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&wp.element.createElement(X,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),e.labelBackgroundColor,1):e.labelBackgroundColor,value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColorOpacity&&"gradient"!==e.backgroundColorType&&!e.backgroundMediaURL&&!e.tabletBackgroundMediaURL&&!e.mobileBackgroundMediaURL&&wp.element.createElement(Qe,{label:Object(s.__)("Background Color Opacity",z.i18n),value:e.backgroundColorOpacity,onChange:e.onChangeBackgroundColorOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-background-color-opacity"}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&wp.element.createElement(X,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&wp.element.createElement(Wo,{label:Object(s.__)("Adv. Gradient Color Settings",z.i18n),onReset:e.onResetAdvancedGradient,allowReset:""!==e.backgroundGradientDirection&&90!==e.backgroundGradientDirection||""!==e.backgroundGradientLocation1&&0!==e.backgroundGradientLocation1||""!==e.backgroundGradientLocation2&&100!==e.backgroundGradientLocation2||e.backgroundGradientBlendMode},e.onChangeBackgroundGradientDirection&&wp.element.createElement(Qe,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeBackgroundGradientLocation1&&wp.element.createElement(Qe,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",z.i18n),1),value:e.backgroundGradientLocation1,onChange:e.onChangeBackgroundGradientLocation1,min:0,max:100,step:1,allowReset:!0,placeholder:"0",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientLocation2&&wp.element.createElement(Qe,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",z.i18n),2),value:e.backgroundGradientLocation2,onChange:e.onChangeBackgroundGradientLocation2,min:0,max:100,step:1,allowReset:!0,placeholder:"100",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Background Gradient Blend Mode",z.i18n),value:e.backgroundGradientBlendMode,onChange:e.onChangeBackgroundGradientBlendMode,className:"ugb--help-tip-background-blend-mode"})),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&e.onChangeBackgroundMedia&&wp.element.createElement(Po,null),e.onChangeBackgroundMedia&&wp.element.createElement(c.Fragment,null,wp.element.createElement(Dc,null,wp.element.createElement(re,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeBackgroundMedia({url:"",id:""})},onChange:e.onChangeBackgroundMedia,imageID:e.backgroundMediaID,imageURL:e.backgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(Dc,{screen:"tablet"},wp.element.createElement(re,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeTabletBackgroundMedia({url:"",id:""})},onChange:e.onChangeTabletBackgroundMedia,imageID:e.tabletBackgroundMediaID,imageURL:e.tabletBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(Dc,{screen:"mobile"},wp.element.createElement(re,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeMobileBackgroundMedia({url:"",id:""})},onChange:e.onChangeMobileBackgroundMedia,imageID:e.mobileBackgroundMediaID,imageURL:e.mobileBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]}))),e.onChangeBackgroundTintStrength&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(Qe,{label:Object(s.__)("Background Media Tint Strength",z.i18n),value:e.backgroundTintStrength,onChange:function(t){var n=void 0===t||""===t;""!==e.backgroundColor||n?"#000000"===e.backgroundColor&&n?e.onChangeBackgroundTintStrength(t,""):e.onChangeBackgroundTintStrength(t,e.backgroundColor):e.onChangeBackgroundTintStrength(t,"#000000")},min:0,max:10,step:1,allowReset:!0,placeholder:e.backgroundColor?"5":"0",className:"ugb--help-tip-background-tint"}),e.onChangeFixedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&!([e.backgroundMediaURL,e.tabletBackgroundMediaURL,e.mobileBackgroundMediaURL].filter(function(e){return e}).filter(o.eb).length>0)&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Fixed Background",z.i18n),checked:e.fixedBackground,onChange:e.onChangeFixedBackground,className:"ugb--help-tip-background-fixed"}),e.hasAdvancedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(Wo,{label:Object(s.__)("Adv. Background Image Settings",z.i18n),onReset:e.onResetAdvancedBackground,allowReset:e.backgroundPosition||e.tabletBackgroundPosition||e.mobileBackgroundPosition||e.backgroundRepeat||e.tabletBackgroundRepeat||e.mobileBackgroundRepeat||e.backgroundSize||e.tabletBackgroundSize||e.mobileBackgroundSize||e.backgroundImageBlendMode},wp.element.createElement(Dc,null,wp.element.createElement(tt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(Dc,{screen:"tablet"},wp.element.createElement(tt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(Dc,{screen:"mobile"},wp.element.createElement(tt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(Dc,null,wp.element.createElement(tt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(Dc,{screen:"tablet"},wp.element.createElement(tt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(Dc,{screen:"mobile"},wp.element.createElement(tt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(Dc,null,wp.element.createElement(tt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(Dc,{screen:"tablet"},wp.element.createElement(tt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(Dc,{screen:"mobile"},wp.element.createElement(tt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&wp.element.createElement(Dc,null,wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0})),"custom"===e.tabletBackgroundSize&&wp.element.createElement(Dc,{screen:"tablet"},wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.tabletBackgroundCustomSizeUnit,onChangeUnit:e.onChangeTabletBackgroundCustomSizeUnit,value:e.tabletBackgroundCustomSize,onChange:e.onChangeTabletBackgroundCustomSize,allowReset:!0})),"custom"===e.mobileBackgroundSize&&wp.element.createElement(Dc,{screen:"mobile"},wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.mobileBackgroundCustomSizeUnit,onChangeUnit:e.onChangeMobileBackgroundCustomSizeUnit,value:e.mobileBackgroundCustomSize,onChange:e.onChangeMobileBackgroundCustomSize,allowReset:!0})),e.onChangeBackgroundImageBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Image Blend Mode",z.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})))};si.defaultProps={backgroundColorType:"",backgroundColor:"",backgroundColorOpacity:"",backgroundColor2:"",backgroundMediaID:"",backgroundMediaURL:"",tabletBackgroundMediaID:"",tabletBackgroundMediaURL:"",mobileBackgroundMediaID:"",mobileBackgroundMediaURL:"",backgroundTintStrength:"",fixedBackground:"",onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColorOpacity:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundMedia:function(e){e.url,e.id},onChangeTabletBackgroundMedia:function(e){e.url,e.id},onChangeMobileBackgroundMedia:function(e){e.url,e.id},onChangeBackgroundTintStrength:function(){},onChangeFixedBackground:function(){},labelBackgroundColorType:Object(s.__)("Background Color Type",z.i18n),labelBackgroundColor:Object(s.__)("Background Color",z.i18n),hasAdvancedGradient:!0,backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:0,backgroundGradientLocation2:100,onResetAdvancedGradient:function(){},onChangeBackgroundGradientDirection:function(){},onChangeBackgroundGradientBlendMode:function(){},onChangeBackgroundGradientLocation1:function(){},onChangeBackgroundGradientLocation2:function(){},hasAdvancedBackground:!0,backgroundMediaAllowVideo:!0,backgroundPosition:"",tabletBackgroundPosition:"",mobileBackgroundPosition:"",backgroundRepeat:"",tabletBackgroundRepeat:"",mobileBackgroundRepeat:"",backgroundSize:"",tabletBackgroundSize:"",mobileBackgroundSize:"",backgroundCustomSize:"",tabletBackgroundCustomSize:"",mobileBackgroundCustomSize:"",backgroundCustomSizeUnit:"%",tabletBackgroundCustomSizeUnit:"%",mobileBackgroundCustomSizeUnit:"%",backgroundImageBlendMode:"",onResetAdvancedBackground:function(){},onChangeBackgroundPosition:function(){},onChangeTabletBackgroundPosition:function(){},onChangeMobileBackgroundPosition:function(){},onChangeBackgroundRepeat:function(){},onChangeTabletBackgroundRepeat:function(){},onChangeMobileBackgroundRepeat:function(){},onChangeBackgroundSize:function(){},onChangeTabletBackgroundSize:function(){},onChangeMobileBackgroundSize:function(){},onChangeBackgroundCustomSize:function(){},onChangeTabletBackgroundCustomSize:function(){},onChangeMobileBackgroundCustomSize:function(){},onChangeBackgroundCustomSizeUnit:function(){},onChangeTabletBackgroundCustomSizeUnit:function(){},onChangeMobileBackgroundCustomSizeUnit:function(){},onChangeBackgroundImageBlendMode:function(){}};var ui=si;function bi(){return(bi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function pi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gi=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.blockAttributes[n(t)];return 0===o?o:o||a};return wp.element.createElement(ui,bi({backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColorOpacity:e.blockAttributes[n("BackgroundColorOpacity")],backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundMediaID:e.blockAttributes[n("BackgroundMediaID")]||"",backgroundMediaURL:e.blockAttributes[n("BackgroundMediaURL")]||"",tabletBackgroundMediaID:e.blockAttributes[n("TabletBackgroundMediaID")]||"",tabletBackgroundMediaURL:e.blockAttributes[n("TabletBackgroundMediaURL")]||"",mobileBackgroundMediaID:e.blockAttributes[n("MobileBackgroundMediaID")]||"",mobileBackgroundMediaURL:e.blockAttributes[n("MobileBackgroundMediaURL")]||"",backgroundTintStrength:e.blockAttributes[n("BackgroundTintStrength")],fixedBackground:e.blockAttributes[n("FixedBackground")]||"",onChangeBackgroundColorType:function(e){return t(pi({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(pi({},n("BackgroundColor"),e))},onChangeBackgroundColorOpacity:function(e){return t(pi({},n("BackgroundColorOpacity"),e))},onChangeBackgroundColor2:function(e){return t(pi({},n("BackgroundColor2"),e))},onChangeBackgroundMedia:function(e){var a,o=e.url,i=e.id;t((pi(a={},n("BackgroundMediaURL"),o),pi(a,n("BackgroundMediaID"),i),a))},onChangeTabletBackgroundMedia:function(e){var a,o=e.url,i=e.id;t((pi(a={},n("TabletBackgroundMediaURL"),o),pi(a,n("TabletBackgroundMediaID"),i),a))},onChangeMobileBackgroundMedia:function(e){var a,o=e.url,i=e.id;t((pi(a={},n("MobileBackgroundMediaURL"),o),pi(a,n("MobileBackgroundMediaID"),i),a))},onChangeBackgroundTintStrength:function(e,a){var o;t((pi(o={},n("BackgroundTintStrength"),e),pi(o,n("BackgroundColor"),a),o))},onChangeFixedBackground:function(e){return t(pi({},n("FixedBackground"),e))},backgroundGradientDirection:a("BackgroundGradientDirection",90),backgroundGradientBlendMode:a("BackgroundGradientBlendMode"),backgroundGradientLocation1:a("BackgroundGradientLocation1",0),backgroundGradientLocation2:a("BackgroundGradientLocation2",100),onChangeBackgroundGradientDirection:function(e){return t(pi({},n("BackgroundGradientDirection"),e))},onChangeBackgroundGradientBlendMode:function(e){return t(pi({},n("BackgroundGradientBlendMode"),e))},onChangeBackgroundGradientLocation1:function(e){return t(pi({},n("BackgroundGradientLocation1"),e))},onChangeBackgroundGradientLocation2:function(e){return t(pi({},n("BackgroundGradientLocation2"),e))},onResetAdvancedGradient:function(){var e;t((pi(e={},n("BackgroundGradientDirection"),""),pi(e,n("BackgroundGradientBlendMode"),""),pi(e,n("BackgroundGradientLocation1"),""),pi(e,n("BackgroundGradientLocation2"),""),e))},backgroundPosition:e.blockAttributes[n("BackgroundPosition")]||"",tabletBackgroundPosition:e.blockAttributes[n("TabletBackgroundPosition")]||"",mobileBackgroundPosition:e.blockAttributes[n("MobileBackgroundPosition")]||"",backgroundRepeat:e.blockAttributes[n("BackgroundRepeat")]||"",tabletBackgroundRepeat:e.blockAttributes[n("TabletBackgroundRepeat")]||"",mobileBackgroundRepeat:e.blockAttributes[n("MobileBackgroundRepeat")]||"",backgroundSize:e.blockAttributes[n("BackgroundSize")]||"",tabletBackgroundSize:e.blockAttributes[n("TabletBackgroundSize")]||"",mobileBackgroundSize:e.blockAttributes[n("MobileBackgroundSize")]||"",backgroundCustomSize:e.blockAttributes[n("BackgroundCustomSize")]||"",tabletBackgroundCustomSize:e.blockAttributes[n("TabletBackgroundCustomSize")]||"",mobileBackgroundCustomSize:e.blockAttributes[n("MobileBackgroundCustomSize")]||"",backgroundCustomSizeUnit:e.blockAttributes[n("BackgroundCustomSizeUnit")]||"%",tabletBackgroundCustomSizeUnit:e.blockAttributes[n("TabletBackgroundCustomSizeUnit")]||"%",mobileBackgroundCustomSizeUnit:e.blockAttributes[n("MobileBackgroundCustomSizeUnit")]||"%",backgroundImageBlendMode:e.blockAttributes[n("BackgroundImageBlendMode")]||"",onChangeBackgroundPosition:function(e){return t(pi({},n("BackgroundPosition"),e))},onChangeTabletBackgroundPosition:function(e){return t(pi({},n("TabletBackgroundPosition"),e))},onChangeMobileBackgroundPosition:function(e){return t(pi({},n("MobileBackgroundPosition"),e))},onChangeBackgroundRepeat:function(e){return t(pi({},n("BackgroundRepeat"),e))},onChangeTabletBackgroundRepeat:function(e){return t(pi({},n("TabletBackgroundRepeat"),e))},onChangeMobileBackgroundRepeat:function(e){return t(pi({},n("MobileBackgroundRepeat"),e))},onChangeBackgroundSize:function(e){return t(pi({},n("BackgroundSize"),e))},onChangeTabletBackgroundSize:function(e){return t(pi({},n("TabletBackgroundSize"),e))},onChangeMobileBackgroundSize:function(e){return t(pi({},n("MobileBackgroundSize"),e))},onChangeBackgroundCustomSize:function(e){return t(pi({},n("BackgroundCustomSize"),e))},onChangeTabletBackgroundCustomSize:function(e){return t(pi({},n("TabletBackgroundCustomSize"),e))},onChangeMobileBackgroundCustomSize:function(e){return t(pi({},n("MobileBackgroundCustomSize"),e))},onChangeBackgroundCustomSizeUnit:function(e){return t(pi({},n("BackgroundCustomSizeUnit"),e))},onChangeTabletBackgroundCustomSizeUnit:function(e){return t(pi({},n("TabletBackgroundCustomSizeUnit"),e))},onChangeMobileBackgroundCustomSizeUnit:function(e){return t(pi({},n("MobileBackgroundCustomSizeUnit"),e))},onChangeBackgroundImageBlendMode:function(e){return t(pi({},n("BackgroundImageBlendMode"),e))},onResetAdvancedBackground:function(){var e;t((pi(e={},n("BackgroundPosition"),""),pi(e,n("TabletBackgroundPosition"),""),pi(e,n("MobileBackgroundPosition"),""),pi(e,n("BackgroundRepeat"),""),pi(e,n("TabletBackgroundRepeat"),""),pi(e,n("MobileBackgroundRepeat"),""),pi(e,n("BackgroundSize"),""),pi(e,n("TabletBackgroundSize"),""),pi(e,n("MobileBackgroundSize"),""),pi(e,n("BackgroundCustomSize"),""),pi(e,n("TabletBackgroundCustomSize"),""),pi(e,n("MobileBackgroundCustomSize"),""),pi(e,n("BackgroundCustomSizeUnit"),"%"),pi(e,n("TabletBackgroundCustomSizeUnit"),"%"),pi(e,n("MobileBackgroundCustomSizeUnit"),"%"),pi(e,n("BackgroundImageBlendMode"),""),e))}},e))};gi.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var mi=gi,di=n(107),fi=n.n(di),hi=n(108),vi=n.n(hi),yi=n(109),wi=n.n(yi),Oi=n(110),ki=n.n(Oi);function _i(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var ji=function(e){var t=e.design?e.design:"basic",n=e.size?e.size:"normal",a="basic"===t;return wp.element.createElement(c.Fragment,null,e.onChangeUrl&&wp.element.createElement(U,{label:Object(s.__)("Link / URL",z.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Open link in new tab",z.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Nofollow link",z.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&wp.element.createElement(Po,null),e.onChangeDesign&&wp.element.createElement(Va,{label:Object(s.__)("Design",z.i18n),selected:t,options:[{label:Object(s.__)("Basic",z.i18n),value:"basic",image:fi.a},{label:Object(s.__)("Ghost",z.i18n),value:"ghost",image:vi.a},{label:Object(s.__)("Plain",z.i18n),value:"plain",image:ki.a}].concat(_i(e.onChangeUseSocialColors?[]:[{label:Object(s.__)("Link",z.i18n),value:"link",image:wi.a}]),_i(Object(ve.applyFilters)("stackable.button.edit.layouts",[]))),onChange:e.onChangeDesign}),wp.element.createElement(Po,null),e.hasTypography&&"link"!==t&&wp.element.createElement(ci,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,onChangeLineHeight:null,showSecondFontSize:!1}),e.onChangeSize&&(!e.onChangeDesign||"link"!==t)&&wp.element.createElement(A.SelectControl,{label:Object(s.__)("Button Size",z.i18n),value:n,options:[{value:"tiny",label:Object(s.__)("Tiny",z.i18n)},{value:"small",label:Object(s.__)("Small",z.i18n)},{value:"normal",label:Object(s.__)("Normal",z.i18n)},{value:"medium",label:Object(s.__)("Medium",z.i18n)},{value:"large",label:Object(s.__)("Large",z.i18n)}],onChange:e.onChangeSize,className:"ugb--help-tip-button-size"}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&wp.element.createElement(Qe,{label:Object(s.__)("Border Radius",z.i18n),value:e.borderRadius,min:"0",max:"100",onChange:e.onChangeBorderRadius,allowReset:!0,placeholder:"4",className:"ugb--help-tip-button-border-radius"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Kr,{label:Object(s.__)("Vertical Padding",z.i18n),top:e.paddingTop,bottom:e.paddingBottom,onChange:e.onChangePaddings,enableLeft:!1,enableRight:!1,placeholder:[8,8],className:"ugb--help-tip-button-vertical-padding"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Kr,{label:Object(s.__)("Horizontal Padding",z.i18n),right:e.paddingRight,left:e.paddingLeft,onChange:e.onChangePaddings,enableTop:!1,enableBottom:!1,max:100,placeholder:[26,26],className:"ugb--help-tip-button-horizontal-padding"}),e.onChangeBorderWidth&&"ghost"===t&&wp.element.createElement(Qe,{label:Object(s.__)("Border Width",z.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&wp.element.createElement(Qe,{label:Object(s.__)("Shadow",z.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),"link"!==t&&wp.element.createElement(Po,null),e.onChangeUseSocialColors&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Use social colors",z.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&a&&wp.element.createElement(A.BaseControl,{label:Object(s.__)("Button Color Type",z.i18n),id:"button-color-type",className:"ugb--help-tip-button-color-type"},wp.element.createElement(Kt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&"link"!==t&&wp.element.createElement(X,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),1):Object(s.__)("Button Color",z.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(X,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(Qe,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeTextColor&&a&&wp.element.createElement(X,{label:Object(s.__)("Text Color",z.i18n),value:e.textColor,onChange:e.onChangeTextColor})),e.onChangeOpacity&&wp.element.createElement(Qe,{label:Object(s.__)("Opacity",z.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:.1,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),"link"!==t&&wp.element.createElement(Po,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Change to Normal Button on Hover",z.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&wp.element.createElement(A.SelectControl,{label:Object(s.__)("Hover Effect",z.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:Object(s.__)("None",z.i18n)},{value:"lift",label:Object(s.__)("Lift",z.i18n)},{value:"scale",label:Object(s.__)("Scale",z.i18n)},{value:"lift-scale",label:Object(s.__)("Lift & Scale",z.i18n)},{value:"scale-more",label:Object(s.__)("Scale More",z.i18n)},{value:"lift-scale-more",label:Object(s.__)("Lift & Scale More",z.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&wp.element.createElement(Qe,{label:Object(s.__)("Hover Opacity",z.i18n),value:e.hoverOpacity,onChange:e.onChangeHoverOpacity,min:.1,max:1,step:.1,allowReset:!0,className:"ugb--help-tip-button-hover-opacity"}),e.hasHoverColors&&"link"!==t&&(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(Wo,{label:Object(s.__)("Hover Colors",z.i18n),onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&wp.element.createElement(X,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),1):Object(s.__)("Button Color",z.i18n),value:e.hoverBackgroundColor,onChange:e.onChangeHoverBackgroundColor,className:"ugb--help-tip-button-hover-color"}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(X,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(Qe,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.hoverBackgroundGradientDirection,onChange:e.onChangeHoverBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeHoverTextColor&&("ghost"===t&&e.hoverGhostToNormal||a)&&wp.element.createElement(X,{label:Object(s.__)("Text Color",z.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&wp.element.createElement(Po,null),e.onChangeIcon&&"link"!==t&&wp.element.createElement(_o.a,{label:Object(s.__)("Icon",z.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&wp.element.createElement(Wo,{label:Object(s.__)("Adv. Icon Settings",z.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&wp.element.createElement(Qe,{label:Object(s.__)("Icon Size",z.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&wp.element.createElement(A.SelectControl,{label:Object(s.__)("Icon Position",z.i18n),value:e.iconPosition,options:[{value:"",label:Object(s.__)("Left",z.i18n)},{value:"right",label:Object(s.__)("Right",z.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&wp.element.createElement(Qe,{label:Object(s.__)("Icon Spacing",z.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};ji.defaultProps={hasTypography:!0,attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},design:"",onChangeDesign:function(){},url:"",newTab:"",noFollow:"",onChangeUrl:function(){},onChangeNewTab:function(){},onChangeNoFollow:function(){},size:"",onChangeSize:function(){},opacity:"",textColor:"",backgroundColorType:"",backgroundColor:"",backgroundColor2:"",backgroundGradientDirection:"",onChangeOpacity:function(){},onChangeTextColor:function(){},onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundGradientDirection:function(){},hasHoverColors:!0,onResetHoverColors:function(){},hoverEffect:"",hoverOpacity:"",hoverTextColor:"",hoverBackgroundColor:"",hoverBackgroundColor2:"",hoverBackgroundGradientDirection:"",hoverGhostToNormal:!1,onChangeHoverEffect:function(){},onChangeHoverOpacity:function(){},onChangeHoverTextColor:function(){},onChangeHoverBackgroundColor:function(){},onChangeHoverBackgroundColor2:function(){},onChangeHoverBackgroundGradientDirection:function(){},onChangeHoverGhostToNormal:function(){},borderRadius:"",onChangeBorderRadius:function(){},borderWidth:"",onChangeBorderWidth:function(){},shadow:"",onChangeShadow:function(){},paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:"",onChangePaddings:function(){},hasAdvancedIcon:!0,onResetAdvancedIcon:function(){},icon:"",iconSize:"",iconPosition:"",iconSpacing:"",onChangeIcon:function(){},onChangeIconSize:function(){},onChangeIconPosition:function(){},onChangeIconSpacing:function(){},useSocialColors:!0,onChangeUseSocialColors:null};var Ci=ji;function xi(){return(xi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ei(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Si=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(o.b)(e.blockAttributes,n,"");return wp.element.createElement(Ci,xi({design:e.blockAttributes[n("Design")]||"",onChangeDesign:function(e){return t(Ei({},n("Design"),e))},url:e.blockAttributes[n("Url")]||"",newTab:e.blockAttributes[n("NewTab")]||"",noFollow:e.blockAttributes[n("NoFollow")]||"",onChangeUrl:function(e){return t(Ei({},n("Url"),e))},onChangeNewTab:function(e){return t(Ei({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(Ei({},n("NoFollow"),e))},size:e.blockAttributes[n("Size")]||"",onChangeSize:function(e){return t(Ei({},n("Size"),e))},opacity:e.blockAttributes[n("Opacity")]||"",textColor:e.blockAttributes[n("TextColor")]||"",backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundGradientDirection:a("BackgroundGradientDirection"),onChangeOpacity:function(e){return t(Ei({},n("Opacity"),e))},onChangeTextColor:function(e){return t(Ei({},n("TextColor"),e))},onChangeBackgroundColorType:function(e){return t(Ei({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(Ei({},n("BackgroundColor"),e))},onChangeBackgroundColor2:function(e){return t(Ei({},n("BackgroundColor2"),e))},onChangeBackgroundGradientDirection:function(e){return t(Ei({},n("BackgroundGradientDirection"),e))},onResetHoverColors:function(){var e;t((Ei(e={},n("HoverBackgroundColor"),""),Ei(e,n("HoverBackgroundColor2"),""),Ei(e,n("HoverBackgroundGradientDirection"),""),Ei(e,n("HoverTextColor"),""),e))},hoverEffect:e.blockAttributes[n("HoverEffect")]||"",hoverOpacity:e.blockAttributes[n("HoverOpacity")]||"",hoverTextColor:e.blockAttributes[n("HoverTextColor")]||"",hoverBackgroundColor:e.blockAttributes[n("HoverBackgroundColor")]||"",hoverBackgroundColor2:e.blockAttributes[n("HoverBackgroundColor2")]||"",hoverBackgroundGradientDirection:a("HoverBackgroundGradientDirection"),hoverGhostToNormal:e.blockAttributes[n("HoverGhostToNormal")]||"",onChangeHoverEffect:function(e){return t(Ei({},n("HoverEffect"),e))},onChangeHoverOpacity:function(e){return t(Ei({},n("HoverOpacity"),e))},onChangeHoverTextColor:function(e){return t(Ei({},n("HoverTextColor"),e))},onChangeHoverBackgroundColor:function(e){return t(Ei({},n("HoverBackgroundColor"),e))},onChangeHoverBackgroundColor2:function(e){return t(Ei({},n("HoverBackgroundColor2"),e))},onChangeHoverBackgroundGradientDirection:function(e){return t(Ei({},n("HoverBackgroundGradientDirection"),e))},onChangeHoverGhostToNormal:function(e){return t(Ei({},n("HoverGhostToNormal"),e))},borderRadius:e.blockAttributes[n("BorderRadius")],borderWidth:e.blockAttributes[n("BorderWidth")],shadow:e.blockAttributes[n("Shadow")],onChangeBorderRadius:function(e){return t(Ei({},n("BorderRadius"),e))},onChangeBorderWidth:function(e){return t(Ei({},n("BorderWidth"),e))},onChangeShadow:function(e){return t(Ei({},n("Shadow"),e))},paddingTop:a("PaddingTop"),paddingRight:a("PaddingRight"),paddingBottom:a("PaddingBottom"),paddingLeft:a("PaddingLeft"),onChangePaddings:function(e){var a={};void 0!==e.top&&(a[n("PaddingTop")]=""!==e.top?parseInt(e.top,10):""),void 0!==e.right&&(a[n("PaddingRight")]=""!==e.right?parseInt(e.right,10):""),void 0!==e.bottom&&(a[n("PaddingBottom")]=""!==e.bottom?parseInt(e.bottom,10):""),void 0!==e.left&&(a[n("PaddingLeft")]=""!==e.left?parseInt(e.left,10):""),t(a)},icon:e.blockAttributes[n("Icon")]||"",onChangeIcon:function(e){return t(Ei({},n("Icon"),e))},onResetAdvancedIcon:function(){var e;t((Ei(e={},n("IconSize"),""),Ei(e,n("IconPosition"),""),Ei(e,n("IconSpacing"),""),e))},iconSize:e.blockAttributes[n("IconSize")]||"",iconPosition:e.blockAttributes[n("IconPosition")]||"",iconSpacing:e.blockAttributes[n("IconSpacing")],onChangeIconSize:function(e){return t(Ei({},n("IconSize"),e))},onChangeIconPosition:function(e){return t(Ei({},n("IconPosition"),e))},onChangeIconSpacing:function(e){return t(Ei({},n("IconSpacing"),e))}},e))};Si.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Bi=Si,Ti=function(e){return wp.element.createElement(c.Fragment,null,e.socialUrlFields&&wp.element.createElement(c.Fragment,null,Object.keys(o.a).map(function(t){return wp.element.createElement(A.TextControl,{key:t,className:"ugb-social-url-text-control",label:Object(s.sprintf)(Object(s._x)("%s Link","name",z.i18n),o.a[t].label),value:e["".concat(t,"Url")],onChange:e["onChange".concat(Object(i.upperFirst)(t),"Url")],placeholder:"http://"})})),e.onChangeNewTab&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Open link in new tab",z.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),wp.element.createElement(Po,null),wp.element.createElement(Bi,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,useSocialColors:e.useSocialColors,onChangeUseSocialColors:e.onChangeUseSocialColors,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1,onChangeIcon:!1,hasTypography:!1}))};Ti.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:function(){},useSocialColors:!0,onChangeUseSocialColors:function(){}};var Ai=Ti;function Ni(){return(Ni=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Pi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fi=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(Ai,Ni({newTab:e.blockAttributes[n("NewTab")]||"",onChangeNewTab:function(e){return t(Pi({},n("NewTab"),e))},useSocialColors:e.blockAttributes[n("UseSocialColors")]||"",onChangeUseSocialColors:function(e){return t(Pi({},n("UseSocialColors"),e))}},e))};Fi.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Ri=Fi,Di=n(21);n(35);function Mi(){return(Mi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function zi(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}Di.c.add(Co.a,xo.a,Eo.a);var Ii=function(e){var t=e.value,n=e.color,a=e.style,o=void 0===a?{}:a,i=e.className,r=void 0===i?"":i,l=Object(_o.b)(t);return l&&wp.element.createElement(jo.a,{color:n,style:o,icon:l,className:r})};Ii.Content=function(e){var t=e.value,n=zi(e,["value"]),a=Object(_o.b)(t);return a&&wp.element.createElement(jo.a,Mi({focusable:void 0,icon:a},n))};var Li=Ii,Ui=Object(H.withInstanceId)(Object(H.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,a=e.clickedOnButton,o=e.setState,i=e.isOpen;return wp.element.createElement("div",{className:"ugb-svg-icon-placeholder ugb-svg-icon-placeholder-".concat(t)},wp.element.createElement(A.Button,{className:"ugb-svg-icon-placeholder__button",onClick:function(){o(a?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},wp.element.createElement(Li,{className:e.className,color:e.color,style:e.style,value:e.value})),(null!==i&&i||null===i&&n)&&wp.element.createElement(To,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-svg-icon-placeholder-".concat(t))?o({clickedOnButton:!0}):o({openPopover:!1,clickedOnButton:!1})},onClose:function(){return o({openPopover:!1})},onChange:e.onChange}))}));Ui.defaultProps={isOpen:null,className:"",color:"",value:"",style:{},onChange:function(){}};var Hi=Ui;function Wi(){return(Wi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Gi=C.a.createElement("style",null,".pro-icon_svg__st2{fill:#8c33da}"),Vi=C.a.createElement("path",{d:"M107 175.1l43.7-44.8c3.7-3.8 5.4-8.8 5.1-13.8 0-.4-.1-.8-.1-1.2H107v59.8z",fill:"#5fb3dd"}),qi=C.a.createElement("path",{d:"M48.8.4L5.1 45.2C1.4 49-.3 54 0 59c0 .4.1.7.1 1.1h48.6V.4z",fill:"#e2735d"}),Yi=C.a.createElement("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),Ki=C.a.createElement("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),Xi=C.a.createElement("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),Ji=C.a.createElement("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),$i=C.a.createElement("path",{className:"pro-icon_svg__st2",d:"M107 60.1v55.2h48.6c-.5-3.8-2.1-7.5-4.9-10.4L107 60.1z"}),Zi=C.a.createElement("path",{d:"M48.8 115.3V60.1H.2c.5 3.8 2.1 7.5 4.9 10.4l43.7 44.8z",fill:"#ea75d4"}),Qi=C.a.createElement("path",{d:"M154.3 8.5c3.1-3.2.9-8.5-3.6-8.5H62.3l50.3 51.5 41.7-43z",fill:"#eabd59"}),er=C.a.createElement("path",{d:"M1.5 166.8C-1.7 170 .6 175 5 175h88.5l-50.3-51.4-41.7 43.2z",fill:"#49cbce"}),tr=function(e){return C.a.createElement("svg",Wi({id:"pro-icon_svg__Layer_3",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),Gi,Vi,qi,Yi,Ki,Xi,Ji,$i,Zi,Qi,er)},nr={layout:{title:Object(s.__)("Say Hello to More Layouts 👋",z.i18n),description:Object(s.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},design:{title:Object(s.__)("Say Hello to More Designs 👋",z.i18n),description:Object(s.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},image:{title:Object(s.__)("Say Hello to More Shapes 👋",z.i18n),description:Object(s.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},effect:{title:Object(s.__)("Say Hello to More Effects 👋",z.i18n),description:Object(s.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},advanced:{title:Object(s.__)("Say Hello to Fine-Grained Controls 👋",z.i18n),description:Object(s.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},postsBlock:{title:Object(s.__)("Say Hello to More Post Controls 👋",z.i18n),description:Object(s.__)("Get pagination, more post options and Custom Post Types. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)}},ar=function(e){return wp.element.createElement("div",{className:"ugb-design-control-pro-note"},wp.element.createElement(tr,null),wp.element.createElement("h4",null,e.title||nr[e.type].title),wp.element.createElement("p",null,e.description||nr[e.type].description),e.showButton&&wp.element.createElement(Zn,{button:e.button||nr[e.type].button}))};ar.defaultProps={type:"layout",title:"",description:"",button:"",showButton:!0};var or=ar;function ir(e){return(ir="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function rr(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function lr(e){return(lr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function cr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sr(e,t){return(sr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ur=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=lr(t).apply(this,arguments))||"object"!==ir(a)&&"function"!=typeof a?cr(n):a).state={isOpen:!!e.props.initialOpen&&e.props.initialOpen},e.onClick=e.onClick.bind(cr(e)),e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sr(e,t)}(t,c["Component"]),n=t,(a=[{key:"onClick",value:function(){this.setState({isOpen:!this.state.isOpen})}},{key:"render",value:function(){var e=l()(["ugb-pro-control-button__wrapper"],{"ugb-pro-control-button--hidden":!this.state.isOpen});return wp.element.createElement("div",{className:"components-base-control"},wp.element.createElement("button",{className:"ugb-pro-control-more-dots",onClick:this.onClick},wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"})),wp.element.createElement("div",{className:e},wp.element.createElement(or,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}])&&rr(n.prototype,a),o&&rr(n,o),t}();function br(e){return(br="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function gr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pr(n,!0).forEach(function(t){mr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function fr(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function hr(e){return(hr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function vr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yr(e,t){return(yr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var wr=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var o=(e=!(a=hr(t).apply(this,arguments))||"object"!==br(a)&&"function"!=typeof a?vr(n):a).getEnabledValues(),i=!o.length||o.every(function(e){return e===o[0]}),r=o.every(function(e){return""===e});return e.state={locked:r?e.props.defaultLocked:i},e.onToggleLock=e.onToggleLock.bind(vr(e)),e.onChangeTop=e.onChangeTop.bind(vr(e)),e.onChangeRight=e.onChangeRight.bind(vr(e)),e.onChangeBottom=e.onChangeBottom.bind(vr(e)),e.onChangeLeft=e.onChangeLeft.bind(vr(e)),e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yr(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){return[].concat(dr(this.props.enableTop?[this.props.top]:[]),dr(this.props.enableRight?[this.props.right]:[]),dr(this.props.enableBottom?[this.props.bottom]:[]),dr(this.props.enableLeft?[this.props.left]:[]))}},{key:"getEnabledLocations",value:function(){return[].concat(dr(this.props.enableTop?["top"]:[]),dr(this.props.enableRight?["right"]:[]),dr(this.props.enableBottom?["bottom"]:[]),dr(this.props.enableLeft?["left"]:[]))}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeTop",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(gr({},this.getEnabledValues(),{top:n}))}},{key:"onChangeRight",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(gr({},this.getEnabledValues(),{right:n}))}},{key:"onChangeBottom",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(gr({},this.getEnabledValues(),{bottom:n}))}},{key:"onChangeLeft",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(gr({},this.getEnabledValues(),{left:n}))}},{key:"render",value:function(){var e=this.props.instanceId,t="ugb-four-number-control-".concat(e,"__item-");return wp.element.createElement(A.BaseControl,{help:this.props.help,className:l()("ugb-four-number-control",this.props.className)},wp.element.createElement(Ke,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-four-number-control__wrapper"},wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-top")},wp.element.createElement("input",{id:"".concat(t,"-top"),type:"number",onChange:this.onChangeTop,"aria-label":Object(s.__)("Top",z.i18n),value:this.props.top,placeholder:this.props.enableTop?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableTop}),wp.element.createElement("span",null,Object(s.__)("Top",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-right")},wp.element.createElement("input",{id:"".concat(t,"-right"),type:"number",onChange:this.onChangeRight,"aria-label":this.props.label,value:this.props.right,placeholder:this.props.enableRight?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableRight}),wp.element.createElement("span",null,Object(s.__)("Right",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-bottom")},wp.element.createElement("input",{id:"".concat(t,"-bottom"),type:"number",onChange:this.onChangeBottom,"aria-label":this.props.label,value:this.props.bottom,placeholder:this.props.enableBottom?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableBottom}),wp.element.createElement("span",null,Object(s.__)("Bottom",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-left")},wp.element.createElement("input",{id:"".concat(t,"-left"),type:"number",onChange:this.onChangeLeft,"aria-label":this.props.label,value:this.props.left,placeholder:this.props.enableLeft?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableLeft}),wp.element.createElement("span",null,Object(s.__)("Left",z.i18n))),wp.element.createElement(A.IconButton,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:wp.element.createElement(A.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}])&&fr(n.prototype,a),o&&fr(n,o),t}();wr.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0};Object(H.withInstanceId)(wr);function Or(){return(Or=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kr=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),_r=C.a.createElement("path",{d:"M4.4 15.7h11.2c.1 0 .2 0 .2.1l2 2c.2.2.1.6-.2.6H2.4c-.3 0-.4-.3-.2-.6l2-2s.1-.1.2-.1z",fill:"#555d63"}),jr=function(e){return C.a.createElement("svg",Or({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),kr,_r)};function Cr(){return(Cr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xr=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),Er=C.a.createElement("path",{d:"M4.3 4.4v11.2c0 .1 0 .2-.1.2l-2 2c-.2.2-.6.1-.6-.2V2.4c0-.3.4-.4.6-.2l2 2s.1.1.1.2z",fill:"#555d63"}),Sr=function(e){return C.a.createElement("svg",Cr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),xr,Er)};function Br(){return(Br=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Tr=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),Ar=C.a.createElement("path",{d:"M15.7 15.6V4.4c0-.1 0-.2.1-.2l2-2c.2-.2.6-.1.6.2v15.2c0 .3-.3.4-.6.2l-2-2s-.1-.1-.1-.2z",fill:"#555d63"}),Nr=function(e){return C.a.createElement("svg",Br({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Tr,Ar)};function Pr(){return(Pr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fr=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),Rr=C.a.createElement("path",{d:"M15.6 4.3H4.4c-.1 0-.2 0-.2-.1l-2-2c-.2-.2-.1-.6.2-.6h15.2c.3 0 .4.3.2.6l-2 2s-.1.1-.2.1z",fill:"#555d63"}),Dr=function(e){return C.a.createElement("svg",Pr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Fr,Rr)};function Mr(e){return(Mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zr(){return(zr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ir(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lr(n,!0).forEach(function(t){Hr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wr(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Gr(e){return(Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Vr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qr(e,t){return(qr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Yr=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var o=(e=!(a=Gr(t).apply(this,arguments))||"object"!==Mr(a)&&"function"!=typeof a?Vr(n):a).getEnabledValues(),i=e.firstValue(),r=Object.values(o).every(function(e){return e===i}),l=Object.values(o).every(function(e){return""===e});return e.state={locked:l?e.props.defaultLocked:r},e.onToggleLock=e.onToggleLock.bind(Vr(e)),e.onChangeAll=e.onChangeAll.bind(Vr(e)),e.onChangeTop=e.onChangeTop.bind(Vr(e)),e.onChangeRight=e.onChangeRight.bind(Vr(e)),e.onChangeBottom=e.onChangeBottom.bind(Vr(e)),e.onChangeLeft=e.onChangeLeft.bind(Vr(e)),e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qr(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){var e=this;return this.getEnabledLocations().reduce(function(t,n){return Ur({},t,Hr({},n,e.props[n]))},{})}},{key:"getEnabledLocations",value:function(){return[].concat(Ir(this.props.enableTop?["top"]:[]),Ir(this.props.enableRight?["right"]:[]),Ir(this.props.enableBottom?["bottom"]:[]),Ir(this.props.enableLeft?["left"]:[]))}},{key:"firstValue",value:function(){return this.getEnabledLocations().length?Object.values(this.getEnabledValues())[0]:""}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeAll",value:function(e){var t=e||0===e?e:"";this.props.onChange(this.filterOnlyEnabled({top:t,right:t,bottom:t,left:t}))}},{key:"onChangeTop",value:function(e){this.props.onChange(Ur({},this.getEnabledValues(),{top:e||0===e?e:""}))}},{key:"onChangeRight",value:function(e){this.props.onChange(Ur({},this.getEnabledValues(),{right:e||0===e?e:""}))}},{key:"onChangeBottom",value:function(e){this.props.onChange(Ur({},this.getEnabledValues(),{bottom:e||0===e?e:""}))}},{key:"onChangeLeft",value:function(e){this.props.onChange(Ur({},this.getEnabledValues(),{left:e||0===e?e:""}))}},{key:"render",value:function(){var e=this.props,t=e.instanceId,n=e.units,a=e.unit,o="ugb-four-range-control-".concat(t,"__item-"),i={min:this.props.min,max:this.props.max,step:this.props.step,placeholder:this.props.placeholder,initialPosition:this.props.initialPosition},r=n.indexOf(a)<0?0:n.indexOf(a);Array.isArray(this.props.min)&&(i.min=this.props.min[r]),Array.isArray(this.props.max)&&(i.max=this.props.max[r]),Array.isArray(this.props.step)&&(i.step=this.props.step[r]),Array.isArray(this.props.placeholder)&&(i.placeholder=this.props.placeholder[r]),Array.isArray(this.props.initialPosition)&&(i.initialPosition=this.props.initialPosition[r]);var u=l()(["ugb-four-range-control__lock"],{"ugb--is-locked":this.state.locked}),b=wp.element.createElement(A.IconButton,{className:u,onClick:this.onToggleLock,icon:wp.element.createElement(A.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})});return wp.element.createElement(A.BaseControl,{help:this.props.help,className:l()("ugb-four-range-control",this.props.className,{"ugb--locked":this.state.locked})},wp.element.createElement(Ke,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens,afterButton:b}),this.state.locked&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(Qe,zr({id:"".concat(o,"-all"),value:this.firstValue(),onChange:this.onChangeAll,allowReset:!0},i))),!this.state.locked&&wp.element.createElement(c.Fragment,null,this.props.enableTop&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(A.Tooltip,{text:Object(s.__)("Top",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Dr,null))),wp.element.createElement(Qe,zr({id:"".concat(o,"-top"),value:this.props.top,onChange:this.onChangeTop,allowReset:!0},i))),this.props.enableRight&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(A.Tooltip,{text:Object(s.__)("Right",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Nr,null))),wp.element.createElement(Qe,zr({id:"".concat(o,"-right"),value:this.props.right,onChange:this.onChangeRight,allowReset:!0},i))),this.props.enableBottom&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(A.Tooltip,{text:Object(s.__)("Bottom",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(jr,null))),wp.element.createElement(Qe,zr({id:"".concat(o,"-bottom"),value:this.props.bottom,onChange:this.onChangeBottom,allowReset:!0},i))),this.props.enableLeft&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(A.Tooltip,{text:Object(s.__)("Left",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Sr,null))),wp.element.createElement(Qe,zr({id:"".concat(o,"-left"),value:this.props.left,onChange:this.onChangeLeft,allowReset:!0},i)))))}}])&&Wr(n.prototype,a),o&&Wr(n,o),t}();Yr.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,min:0,max:50,step:1,placeholder:"",initialPosition:""};var Kr=Yr,Xr=n(111),Jr=n.n(Xr),$r=n(112),Zr=n.n($r),Qr=n(113),el=n.n(Qr),tl=n(114),nl=n.n(tl),al=n(115),ol=n.n(al),il=n(116),rl=n.n(il),ll=n(117),cl=n.n(ll),sl=n(118),ul=n.n(sl),bl=n(119),pl=n.n(bl),gl=n(120),ml=n.n(gl),dl=n(121),fl=n.n(dl),hl=n(122),vl=n.n(hl),yl=n(123),wl=n.n(yl),Ol=n(124),kl=n.n(Ol),_l=n(125),jl=n.n(_l),Cl=n(126),xl=n.n(Cl),El=n(127),Sl=n.n(El),Bl=n(128),Tl=n.n(Bl),Al=n(129),Nl=n.n(Al),Pl=n(130),Fl=n.n(Pl),Rl=n(131),Dl=n.n(Rl),Ml=n(132),zl=n.n(Ml),Il=n(133),Ll=n.n(Il),Ul=n(134),Hl=n.n(Ul),Wl=n(135),Gl=n.n(Wl),Vl=n(136),ql=n.n(Vl),Yl=n(137),Kl=n.n(Yl),Xl=n(138),Jl=n.n(Xl),$l=n(139),Zl=n.n($l),Ql=n(140),ec=n.n(Ql),tc=n(56);function nc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function ac(){return(ac=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var oc={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},ic={position:"absolute",width:"100%",height:3,backgroundColor:"#e2e4e7",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},rc=function(e){var t=e.getRailProps;return wp.element.createElement(c.Fragment,null,wp.element.createElement("div",ac({style:oc},t())),wp.element.createElement("div",{style:ic}))},lc=function(e){var t=nc(e.domain,2),n=t[0],a=t[1],o=e.handle,i=o.id,r=o.value,l=o.percent,c=e.disabled,s=void 0!==c&&c,u=e.getHandleProps;return wp.element.createElement("button",ac({role:"slider","aria-valuemin":n,"aria-valuemax":a,"aria-valuenow":r,disabled:s,style:{left:"".concat(l,"%")}},u(i)))},cc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if("left"===t)for(var n=e.length-1;n>=1;n--)if(e[n]<10){var a=10-e[n];e[n]=10,e[n-1]-=a}for(var o=0;o<e.length-1;o++)if(e[o]<10){var i=10-e[o];e[o]=10,e[o+1]-=i}if("right"===t)for(var r=e.length-1;r>=1;r--)if(e[r]<10){var l=10-e[r];e[r]=10,e[r-1]-=l}return e};function sc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function uc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var bc={position:"relative",width:"100%"},pc=[0,100],gc=function(e){var t=0;return[].concat(uc(e),[100]).map(function(e){var n=e-t;return t+=n,n})},mc=function(e){var t=0;return uc(e).pop(),e.reduce(function(n,a,o){if(o===e.length-1)return n;var i=a+t;return t+=a,n.push(i),n},[])},dc=function(e){return wp.element.createElement(tc.c,{className:"ugb-column-widths-control__columns-slider",rootStyle:bc,mode:function(e,t){var n,a=e.map(function(e){return e.val}),o=t.map(function(e){return e.val});if(Object(i.isEqual)(a,o))return t;if((n=[0].concat(uc(o),[100])).some(function(e,t){return 0!==t&&e-n[t-1]<10})){var r=sc(function(e,t){var n,a=0;return t.some(function(t,o){return t!==e[o]&&(a=o,n=t>e[o]?"right":"left",!0)}),[a,n]}(a,o),2);r[0];(function(e,t,n){var a=gc(e),o=cc(a,n);return mc(o)})(o,0,r[1]).forEach(function(e,n){t[n].val=e})}return t},step:1,onUpdate:function(t){return e.onChange(gc(t))},domain:pc,values:mc(e.value)},wp.element.createElement(tc.b,null,function(e){var t=e.getRailProps;return wp.element.createElement(rc,{getRailProps:t})}),wp.element.createElement(tc.a,null,function(e){var t=e.handles,n=e.getHandleProps;return wp.element.createElement("div",{className:"slider-handles"},t.map(function(e){return wp.element.createElement(lc,{key:e.id,handle:e,domain:pc,getHandleProps:n})}))}))};dc.defaultProps={onChange:function(){},value:[]};var fc=dc;function hc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var vc=function(e){return e.every(function(e){return!e})},yc=function(e){var t,n={gridTemplateColumns:(t=e.value,t.map(function(e){return(e/100*t.length).toFixed(2)+"fr"}).join(" ")),gridAutoFlow:vc(e.value)?"column":void 0,justifyContent:vc(e.value)?"space-around":void 0};return wp.element.createElement("div",{className:"ugb-column-widths-control__columns-input",style:n},e.value.map(function(t,n){return wp.element.createElement("input",{key:n,className:"components-column-widths-control__number",type:"number",value:t||"",onChange:function(t){var a=parseInt(t.target.value,10),o=hc(e.value);o[n]=isNaN(a)?"":a,e.onChange(o)},onBlur:function(){var t=cc(e.value),a=100-t.reduce(function(e,t){return e+t},0);n<e.value.length-1?t[n+1]+=a:t[n-1]+=a,e.onChange(cc(t))}})}))};yc.defaultProps={onChange:function(){},value:[]};var wc=yc;function Oc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var kc={"2-1":[50,50],"2-2":[67,33],"2-3":[33,67],"3-1":[33,33,34],"3-2":[25,50,25],"3-3":[50,25,25],"3-4":[25,25,50],"4-1":[25,25,25,25],"4-2":[40,20,20,20],"4-3":[20,20,20,40],"5-1":[20,20,20,20,20],"6-1":[16,17,17,17,17,16]},_c={plain:{2:[{value:"2-1",image:Jr.a},{value:"2-2",image:Zr.a},{value:"2-3",image:el.a}],3:[{value:"3-1",image:nl.a},{value:"3-2",image:ol.a},{value:"3-3",image:rl.a},{value:"3-4",image:cl.a}],4:[{value:"4-1",image:ul.a},{value:"4-2",image:pl.a},{value:"4-3",image:ml.a}]},grid:{2:[{value:"2-1",image:fl.a},{value:"2-2",image:vl.a},{value:"2-3",image:wl.a}],3:[{value:"3-1",image:kl.a},{value:"3-2",image:jl.a},{value:"3-3",image:xl.a},{value:"3-4",image:Sl.a}],4:[{value:"4-1",image:Tl.a},{value:"4-2",image:Nl.a},{value:"4-3",image:Fl.a}]},uneven:{2:[{value:"2-1",image:Dl.a},{value:"2-2",image:zl.a},{value:"2-3",image:Ll.a}],3:[{value:"3-1",image:Hl.a},{value:"3-2",image:Gl.a},{value:"3-3",image:ql.a},{value:"3-4",image:Kl.a}],4:[{value:"4-1",image:Jl.a},{value:"4-2",image:Zl.a},{value:"4-3",image:ec.a}]}},jc=function(e){return e.every(function(e){return!e})},Cc=function(e){var t=Oc(Object(c.useState)(-1),2),n=(t[0],t[1]),a=Oc(Object(c.useState)(!0),2),o=(a[0],a[1]),r=Oc(Object(c.useState)(""),2),u=r[0],b=r[1];Object(c.useEffect)(function(){b("")},[e.columns]);var p="grid"===e.design?"grid":"plain"===e.design?"plain":"uneven",g=_c[p],m=wp.element.createElement(A.Button,{className:"ugb-columns-width-control__reset",disabled:e.forceBlank?jc(e.values):Object(i.isEqual)(e.values,kc[u||"".concat(e.columns,"-1")]),onClick:function(){b(""),e.forceBlank?e.onChange(["","","","","",""]):e.onChange(kc[u||"".concat(e.columns,"-1")])},isSmall:!0,isSecondary:!0},Object(s.__)("Reset"));return wp.element.createElement(A.BaseControl,{help:e.help,className:l()(["ugb-columns-width-control","ugb--help-tip-column-width",e.className])},(e.hasIndividualControls||!e.hasIndividualControls&&g[e.columns])&&wp.element.createElement(Ke,{label:e.label,afterButton:e.hasIndividualControls?m:null,screens:e.screens}),g[e.columns]&&wp.element.createElement(Va,{options:g[e.columns],onChange:function(t){n(-1),o(!0),b(t),e.onChange(kc[t])}}),e.hasIndividualControls&&wp.element.createElement(c.Fragment,null,wp.element.createElement(fc,{value:jc(e.values)?kc["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),wp.element.createElement(wc,{value:jc(e.values)?e.forceBlank?e.values:kc["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),!1))};Cc.defaultProps={columns:2,design:"plain",values:["",""],onChange:function(){},help:"",label:Object(s.__)("Column Widths",z.i18n),className:"",hasIndividualControls:!0,screens:["desktop"],forceBlank:!1};var xc=Cc;function Ec(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sc=function(e){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=Object(o.b)(e.blockAttributes,t,""),a=e.screens;return wp.element.createElement(c.Fragment,null,a.includes("desktop")&&wp.element.createElement(Dc,{screens:a},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n(),onChange:function(n){e.onChange?e.onChange(t(),n,""):e.setAttributes(Ec({},t(),n))}})})),a.includes("tablet")&&wp.element.createElement(Dc,{screens:a,screen:"tablet"},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n("Tablet"),placeholder:n()||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Tablet"),n,"Tablet"):e.setAttributes(Ec({},t("Tablet"),n))}})})),a.includes("mobile")&&wp.element.createElement(Dc,{screens:a,screen:"mobile"},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n("Mobile"),placeholder:n("Tablet")||n()||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Mobile"),n,"Mobile"):e.setAttributes(Ec({},t("Mobile"),n))}})})))};Sc.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},onChange:null,placeholder:"",screens:["desktop","tablet","mobile"]};var Bc=Sc;function Tc(e){return(Tc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ac(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Nc(e){return(Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fc(e,t){return(Fc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Rc=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Nc(t).apply(this,arguments))||"object"!==Tc(a)&&"function"!=typeof a?Pc(n):a).state={screen:Object(o.K)()},e.onScreenChange=e.onScreenChange.bind(Pc(e)),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fc(e,t)}(t,c["Component"]),n=t,(a=[{key:"onScreenChange",value:function(e){this.setState({screen:e})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(ve.addAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e),this.onScreenChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(ve.removeAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e))}},{key:"render",value:function(){var e=this,t=c.Children.toArray(this.props.children).map(function(t){return Object(c.cloneElement)(t,{screens:e.props.screens})}),n=this.state.screen===this.props.screen,a=!this.props.screens.includes(this.state.screen)&&!n&&"desktop"===this.props.screen;return wp.element.createElement(c.Fragment,null,(n||a)&&t)}}])&&Ac(n.prototype,a),i&&Ac(n,i),t}();Rc.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};var Dc=Object(H.withInstanceId)(Rc);function Mc(){return(Mc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zc=C.a.createElement("path",{d:"M26.6 40.2h-8.2V27.8H8.8v12.4H.6V9.8h8.2v11.3h9.5V9.8h8.2v30.4zM49.4 40.2h-8.3V24.1c0-2 0-3.7.1-5.4-.5.6-1.1 1.3-1.9 2l-3.4 2.8-4.3-5.2L42 9.8h7.4v30.4z"}),Ic=function(e){return C.a.createElement("svg",Mc({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),zc)};function Lc(){return(Lc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Uc=C.a.createElement("path",{d:"M24.1 39.6H18V27.2H6.6v12.4H.5V10.8h6.1v11.3H18V10.8h6.1v28.8zM49.5 39.6H29.4v-4.2l7.2-7.3c2.1-2.2 3.5-3.7 4.2-4.6.7-.8 1.1-1.6 1.4-2.4.3-.7.4-1.5.4-2.2 0-1.2-.3-2-1-2.6-.6-.6-1.5-.8-2.5-.8-1.1 0-2.2.3-3.2.8s-2.1 1.2-3.3 2.2l-3.3-3.9c1.4-1.2 2.6-2.1 3.5-2.6.9-.5 1.9-.9 3-1.2 1.1-.3 2.3-.4 3.7-.4 1.8 0 3.4.3 4.8 1s2.4 1.6 3.2 2.8 1.1 2.5 1.1 4.1c0 1.3-.2 2.6-.7 3.7-.5 1.2-1.2 2.4-2.2 3.6s-2.7 3-5.2 5.2l-3.7 3.5v.3h12.5v5z"}),Hc=function(e){return C.a.createElement("svg",Lc({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Uc)};function Wc(){return(Wc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Gc=C.a.createElement("path",{d:"M24 38.9h-4.6V26.4H6.6V39H2V11.1h4.6v11.4h12.8V11.1H24v27.8zM47.2 17.5c0 1.8-.5 3.2-1.5 4.4-1 1.2-2.5 2-4.3 2.4v.2c2.2.3 3.9 1 5 2.1s1.7 2.6 1.7 4.4c0 2.7-.9 4.7-2.8 6.2s-4.6 2.2-8.1 2.2c-3.1 0-5.7-.5-7.8-1.5v-4c1.2.6 2.4 1 3.8 1.4 1.3.3 2.6.5 3.8.5 2.2 0 3.8-.4 4.8-1.2 1.1-.8 1.6-2 1.6-3.7 0-1.5-.6-2.6-1.8-3.3-1.2-.7-3-1-5.6-1h-2.4V23H36c4.4 0 6.7-1.5 6.7-4.6 0-1.2-.4-2.1-1.2-2.8-.8-.6-1.9-1-3.4-1-1.1 0-2.1.1-3 .4-1 .3-2.1.9-3.5 1.7l-2.2-3.1c2.6-1.9 5.5-2.8 8.9-2.8 2.8 0 5 .6 6.6 1.8 1.5 1.1 2.3 2.8 2.3 4.9z"}),Vc=function(e){return C.a.createElement("svg",Wc({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Gc)};function qc(){return(qc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yc=C.a.createElement("path",{d:"M23.5 37.9h-4.2V26.3H7.4v11.6H3.2V12.2h4.2v10.5h11.8V12.2h4.2v25.7zM46.8 32.3h-3.5v5.6h-4v-5.6H27.5v-3.2l11.7-17h4v16.7h3.5v3.5zm-7.5-3.5v-6.4c0-2.3.1-4.2.2-5.6h-.1c-.3.8-.8 1.7-1.5 2.8l-6.4 9.3h7.8z"}),Kc=function(e){return C.a.createElement("svg",qc({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Yc)};function Xc(){return(Xc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Jc=C.a.createElement("path",{d:"M24.2 36.2h-3.7V26H10v10.2H6.3V13.5H10v9.3h10.5v-9.3h3.7v22.7zM36.3 22c2.3 0 4.1.6 5.4 1.8 1.3 1.2 2 2.9 2 5 0 2.4-.8 4.3-2.3 5.7s-3.7 2-6.5 2c-2.5 0-4.5-.4-6-1.2V32c.8.5 1.8.8 2.9 1.1s2.1.4 3 .4c1.6 0 2.9-.4 3.8-1.1.9-.7 1.3-1.8 1.3-3.2 0-2.7-1.7-4.1-5.2-4.1-.5 0-1.1 0-1.8.1s-1.3.2-1.9.3l-1.6-1 .9-11.1h11.8v3.2h-8.6l-.5 5.8c.4-.1.8-.1 1.3-.2.6-.1 1.2-.2 2-.2z"}),$c=function(e){return C.a.createElement("svg",Xc({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Jc)};function Zc(){return(Zc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qc=C.a.createElement("path",{d:"M24.1 35.2h-3.3V26h-9.4v9.2H8.1V14.8h3.3v8.3h9.4v-8.3h3.3v20.4zM28.1 26.5c0-8 3.2-11.9 9.7-11.9 1 0 1.9.1 2.6.2v2.7c-.7-.2-1.5-.3-2.4-.3-2.2 0-3.8.6-4.9 1.8-1.1 1.2-1.7 3-1.8 5.6h.2c.4-.8 1-1.3 1.8-1.7.8-.4 1.7-.6 2.8-.6 1.8 0 3.3.6 4.3 1.7s1.5 2.7 1.5 4.6c0 2.1-.6 3.8-1.8 5.1-1.2 1.2-2.8 1.9-4.9 1.9-1.5 0-2.7-.3-3.8-1.1-1.1-.7-1.9-1.7-2.5-3.1-.5-1.4-.8-3-.8-4.9zm7.1 6.2c1.1 0 2-.4 2.6-1.1.6-.7.9-1.8.9-3.1 0-1.2-.3-2.1-.9-2.8-.6-.7-1.4-1-2.6-1-.7 0-1.4.2-1.9.5-.6.3-1.1.7-1.4 1.2-.3.5-.5 1.1-.5 1.6 0 1.3.4 2.4 1.1 3.3.7 1 1.6 1.4 2.7 1.4z"}),es=function(e){return C.a.createElement("svg",Zc({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Qc)};function ts(){return(ts=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ns=[{value:"h1",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),1),icon:wp.element.createElement(Ic,null)},{value:"h2",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),2),icon:wp.element.createElement(Hc,null)},{value:"h3",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),3),icon:wp.element.createElement(Vc,null)},{value:"h4",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),4),icon:wp.element.createElement(Kc,null)},{value:"h5",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),5),icon:wp.element.createElement($c,null)},{value:"h6",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),6),icon:wp.element.createElement(es,null)}],as=function(e){return wp.element.createElement(Kt,ts({},e,{className:"ugb-heading-buttons-control",controls:ns}))};as.defaultProps={label:Object(s.sprintf)(Object(s._x)("%s HTML Tag","component"),Object(s.__)("Title",z.i18n)),value:ns[0].value};var os=as;function is(){return(is=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var rs=[{value:"left",title:Object(s.__)("Align Left",z.i18n),icon:"editor-alignleft"},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:"editor-aligncenter"},{value:"right",title:Object(s.__)("Align Right",z.i18n),icon:"editor-alignright"},{value:"justify",title:Object(s.__)("Justified",z.i18n),icon:"editor-justify"}],ls=function(e){var t=e.justified,n=e.className;return wp.element.createElement(Kt,is({},Object(i.omit)(e,["justified"]),{className:l()([n,"ugb-align-buttons-control"]),controls:rs.filter(function(e){return!!t||"justify"!==e.value})}))};ls.defaultProps={className:"",label:Object(s.__)("Align",z.i18n),value:rs[0].value,justified:!1};var cs=ls;function ss(){return(ss=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function us(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var bs={Edit:function(e){var t=e.blockProps,n=e.render,a=e.mainClass,o=e.blockTag,i=us(e,["blockProps","render","mainClass","blockTag"]),r=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,p=c.blockTag,g=void 0===p?"div":p,m=l()([e.className],Object(ve.applyFilters)("stackable.".concat(r,".main-block.classes"),{"ugb-main-block":a},t)),d=g||o||"div";return wp.element.createElement(d,ss({},i,{id:u,className:m}),t.styles,Object(ve.applyFilters)("stackable.".concat(r,".edit.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:"ugb-inner-block"},Object(ve.applyFilters)("stackable.".concat(r,".edit.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(ve.applyFilters)("stackable.".concat(r,".edit.output.after"),null,b,t)))}};bs.Edit.defaultProps={styles:null,mainClass:!0},bs.Save=function(e){var t=e.blockProps,n=e.render,a=e.mainClass,o=e.blockTag,i=us(e,["blockProps","render","mainClass","blockTag"]),r=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,p=c.blockTag,g=void 0===p?"div":p,m=l()([e.className],Object(ve.applyFilters)("stackable.".concat(r,".main-block.classes"),{"ugb-main-block":a},t)),d=g||o||"div";return wp.element.createElement(d,ss({},i,{id:u,className:m}),t.styles,Object(ve.applyFilters)("stackable.".concat(r,".save.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:"ugb-inner-block"},Object(ve.applyFilters)("stackable.".concat(r,".save.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(ve.applyFilters)("stackable.".concat(r,".save.output.after"),null,b,t)))},bs.Save.defaultProps={styles:null,mainClass:!0};var ps=bs,gs=n(51),ms=n(15),ds=n.n(ms);function fs(e){return(fs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hs(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function vs(e){return(vs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ys(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ws(e,t){return(ws=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Os=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=vs(t).apply(this,arguments))||"object"!==fs(a)&&"function"!=typeof a?ys(n):a).state={value:e.props.value},e.uniqueId=Object(i.uniqueId)("ugb-code-textarea-"),e.onChange=e.onChange.bind(ys(e)),e.debouncedOnChange=Object(i.debounce)(e.debouncedOnChange.bind(ys(e)),500,{leading:!0}),e.codeMirror=null,e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}(t,c["Component"]),n=t,(a=[{key:"componentWillUnmount",value:function(){this.debouncedOnChange.cancel(),this.codeMirror&&this.codeMirror.codemirror.off("change",this.onChange)}},{key:"componentDidMount",value:function(){gs.initialize&&(this.codeMirror=Object(gs.initialize)(this.uniqueId,ds()(gs.defaultSettings,this.props.editorSettings)),this.codeMirror.codemirror.on("change",this.onChange))}},{key:"debouncedOnChange",value:function(e){this.props.onChange(e||this.state.value)}},{key:"onChange",value:function(e){var t=e.getValue?e.getValue():e;this.setState({value:t}),this.debouncedOnChange(t)}},{key:"render",value:function(){return wp.element.createElement("textarea",{className:"ugb-code-textarea",id:this.uniqueId,value:this.state.value,onChange:this.onChange})}}])&&hs(n.prototype,a),o&&hs(n,o),t}();Os.defaultProps={value:"",onChange:function(){},editorSettings:{}};var ks=Os;function _s(){return(_s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var js=C.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),Cs=function(e){return C.a.createElement("svg",_s({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),js)};function xs(){return(xs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Es=C.a.createElement("filter",{id:"curve-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ss=C.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),Bs=function(e){return C.a.createElement("svg",xs({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Es,Ss)};function Ts(){return(Ts=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var As=C.a.createElement("path",{d:"M1610 78.3c-187 54.4-476.7 89.3-802 89.3-334.7 0-631.8-37-818-94.1v136.8h1620v-132z"}),Ns=function(e){return C.a.createElement("svg",Ts({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),As)};function Ps(){return(Ps=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fs=C.a.createElement("filter",{id:"curve-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Rs=C.a.createElement("path",{d:"M808 167.6c-334.7 0-631.8-37-818-94.1v10c186.2 57.1 483.3 94.1 818 94.1 325.3 0 615-34.9 802-89.3v-10c-187 54.4-476.7 89.3-802 89.3z"}),Ds=function(e){return C.a.createElement("svg",Ps({viewBox:"0 0 1600 200",filter:"url(#curve-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Fs,Rs)};function Ms(){return(Ms=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zs=C.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),Is=function(e){return C.a.createElement("svg",Ms({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),zs)};function Ls(){return(Ls=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Us=C.a.createElement("filter",{id:"curve-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Hs=C.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),Ws=function(e){return C.a.createElement("svg",Ls({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Us,Hs)};function Gs(){return(Gs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vs=C.a.createElement("path",{d:"M-10 207.4h1620S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v199.6z"}),qs=function(e){return C.a.createElement("svg",Gs({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Vs)};function Ys(){return(Ys=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ks=C.a.createElement("filter",{id:"curve-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Xs=C.a.createElement("path",{d:"M1604.2 13.7c3.3-3.1 5.2 152.3 5.7 193.7h.1S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v10c244.9 57.8 894 174.1 1148.3 174.1 262 0 433.1-147.5 465.9-178.2z"}),Js=function(e){return C.a.createElement("svg",Ys({viewBox:"0 0 1600 200",filter:"url(#curve-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ks,Xs)};function $s(){return($s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zs=C.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),Qs=function(e){return C.a.createElement("svg",$s({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zs)};function eu(){return(eu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var tu=C.a.createElement("filter",{id:"curve-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),nu=C.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),au=function(e){return C.a.createElement("svg",eu({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),tu,nu)};function ou(){return(ou=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var iu=C.a.createElement("path",{d:"M-6.6 177.6S456.1 40.3 876.2 40.3s730.3 135.1 730.3 135.1v33.5H-6.6v-31.3z"}),ru=function(e){return C.a.createElement("svg",ou({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),iu)};function lu(){return(lu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cu=C.a.createElement("filter",{id:"curve-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),su=C.a.createElement("path",{d:"M876.2 40.3C456.1 40.3-6.5 177.6-6.5 177.6v10S456.2 50.3 876.3 50.3s730.3 135.1 730.3 135.1v-10c0-.1-310.3-135.1-730.4-135.1z"}),uu=function(e){return C.a.createElement("svg",lu({viewBox:"0 0 1600 200",filter:"url(#curve-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),cu,su)};function bu(){return(bu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pu=C.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),gu=function(e){return C.a.createElement("svg",bu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pu)};function mu(){return(mu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var du=C.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),fu=C.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),hu=function(e){return C.a.createElement("svg",mu({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),du,fu)};function vu(){return(vu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yu=C.a.createElement("path",{d:"M1604.5-2.7l-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v148.5h1613.9l-1.4-213z"}),wu=function(e){return C.a.createElement("svg",vu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),yu)};function Ou(){return(Ou=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ku=C.a.createElement("filter",{id:"rounded-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),_u=C.a.createElement("path",{d:"M1596.6 111.7l8.2-78-.2-36.4-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v10l1507.2 120.5c48.1 3.8 93.6-32.5 97.4-80.6z"}),ju=function(e){return C.a.createElement("svg",Ou({viewBox:"0 0 1600 200",filter:"url(#rounded-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ku,_u)};function Cu(){return(Cu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xu=C.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),Eu=function(e){return C.a.createElement("svg",Cu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),xu)};function Su(){return(Su=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bu=C.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Tu=C.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),Au=function(e){return C.a.createElement("svg",Su({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Bu,Tu)};function Nu(){return(Nu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Pu=C.a.createElement("path",{d:"M1609.5 128.5h-9.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v83.1h1619.5v-83.3z"}),Fu=function(e){return C.a.createElement("svg",Nu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Pu)};function Ru(){return(Ru=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Du=C.a.createElement("filter",{id:"rounded-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Mu=C.a.createElement("path",{d:"M1600 128.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v10l10-.2c0 11 8.9 19.9 19.8 19.8h1560.4c10.9 0 19.8-8.9 19.8-19.8h9.5v-10h-9.5z"}),zu=function(e){return C.a.createElement("svg",Ru({viewBox:"0 0 1600 200",filter:"url(#rounded-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Du,Mu)};function Iu(){return(Iu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Lu=C.a.createElement("path",{d:"M1610.5 189.1s-128.2-82.6-138.2-89.2c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v50h1620v-24.1z"}),Uu=function(e){return C.a.createElement("svg",Iu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Lu)};function Hu(){return(Hu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Wu=C.a.createElement("filter",{id:"rounded-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Gu=C.a.createElement("path",{d:"M1472.3 99.9c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v10s449.8-106 489.8-115.5 90.8-9.7 121.1-8.2c30.3 1.6 734.2 39.7 783.9 42.3 49.8 2.6 69.9 6.8 87 18.1 10 6.6 138.2 89.2 138.2 89.2v-10s-128.2-82.6-138.2-89.2z"}),Vu=function(e){return C.a.createElement("svg",Hu({viewBox:"0 0 1600 200",filter:"url(#rounded-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Wu,Gu)};function qu(){return(qu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yu=C.a.createElement("path",{d:"M1610.5 24.1s-128.2 82.6-138.2 89.2c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v158.9h1620V24.1z"}),Ku=function(e){return C.a.createElement("svg",qu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Yu)};function Xu(){return(Xu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ju=C.a.createElement("filter",{id:"rounded-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),$u=C.a.createElement("path",{d:"M1472.3 113.3c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v10s449.8 106 489.8 115.5 90.8 9.7 121.1 8.2c30.3-1.6 734.2-39.7 783.9-42.3 49.8-2.6 69.9-6.8 87-18.1 10-6.6 138.2-89.2 138.2-89.2v-10s-128.2 82.6-138.2 89.2z"}),Zu=function(e){return C.a.createElement("svg",Xu({viewBox:"0 0 1600 200",filter:"url(#rounded-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ju,$u)};function Qu(){return(Qu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var eb=C.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),tb=function(e){return C.a.createElement("svg",Qu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),eb)};function nb(){return(nb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ab=C.a.createElement("filter",{id:"slant-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ob=C.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),ib=function(e){return C.a.createElement("svg",nb({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ab,ob)};function rb(){return(rb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var lb=C.a.createElement("path",{d:"M1610 210H-10V.5l1620 183.4z"}),cb=function(e){return C.a.createElement("svg",rb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),lb)};function sb(){return(sb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ub=C.a.createElement("filter",{id:"slant-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),bb=C.a.createElement("path",{d:"M-10 .5v10l1620 183.4v-10z"}),pb=function(e){return C.a.createElement("svg",sb({viewBox:"0 0 1600 200",filter:"url(#slant-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ub,bb)};function gb(){return(gb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var mb=C.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),db=function(e){return C.a.createElement("svg",gb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),mb)};function fb(){return(fb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var hb=C.a.createElement("filter",{id:"slant-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),vb=C.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),yb=function(e){return C.a.createElement("svg",fb({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),hb,vb)};function wb(){return(wb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ob=C.a.createElement("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}),kb=function(e){return C.a.createElement("svg",wb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ob)};function _b(){return(_b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jb=C.a.createElement("filter",{id:"slant-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Cb=C.a.createElement("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}),xb=function(e){return C.a.createElement("svg",_b({viewBox:"0 0 1600 200",filter:"url(#slant-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),jb,Cb)};function Eb(){return(Eb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Sb=C.a.createElement("path",{d:"M-10 210h1620V105.2H-10z"}),Bb=function(e){return C.a.createElement("svg",Eb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Sb)};function Tb(){return(Tb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ab=C.a.createElement("filter",{id:"straight-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Nb=C.a.createElement("path",{d:"M-10 121.6h1620v-16.4H-10z"}),Pb=function(e){return C.a.createElement("svg",Tb({viewBox:"0 0 1600 200",filter:"url(#straight-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ab,Nb)};function Fb(){return(Fb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Rb=C.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),Db=function(e){return C.a.createElement("svg",Fb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Rb)};function Mb(){return(Mb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zb=C.a.createElement("filter",{id:"wave-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ib=C.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),Lb=function(e){return C.a.createElement("svg",Mb({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),zb,Ib)};function Ub(){return(Ub=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hb=C.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v75.9h1620V98.3c-110.6 40.2-181 53.1-268.6 53.1z"}),Wb=function(e){return C.a.createElement("svg",Ub({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Hb)};function Gb(){return(Gb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vb=C.a.createElement("filter",{id:"wave-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),qb=C.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v10s91.9-35.9 203.9-35.9 182.4 38.8 324.6 38.8C702.3 148.5 794.2 81 912 81c175.2 0 247 80.4 429.4 80.4 87.6 0 158-12.9 268.6-53.1v-10c-110.6 40.2-181 53.1-268.6 53.1z"}),Yb=function(e){return C.a.createElement("svg",Gb({viewBox:"0 0 1600 200",filter:"url(#wave-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Vb,qb)};function Kb(){return(Kb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Xb=C.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),Jb=function(e){return C.a.createElement("svg",Kb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Xb)};function $b(){return($b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zb=C.a.createElement("filter",{id:"wave-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Qb=C.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),ep=function(e){return C.a.createElement("svg",$b({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zb,Qb)};function tp(){return(tp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var np=C.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v155.2h1620V132c-53-10-86.8 7.1-177.8 24.2z"}),ap=function(e){return C.a.createElement("svg",tp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),np)};function op(){return(op=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ip=C.a.createElement("filter",{id:"wave-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),rp=C.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v10s77.1-31.5 171.6-3c69.7 21 174.7 62.6 294.4 73 115 10 163.1-3.4 274.1-23.8 111-20.4 199.6-39.5 275-27.9 76 11.7 175.1 60.1 223.1 73.9s115.2 25.2 204 8.5c91-17.1 124.8-34.2 177.8-24.2v-10c-53-10-86.8 7.1-177.8 24.2z"}),lp=function(e){return C.a.createElement("svg",op({viewBox:"0 0 1600 200",filter:"url(#wave-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ip,rp)};function cp(){return(cp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var sp=C.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),up=function(e){return C.a.createElement("svg",cp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),sp)};function bp(){return(bp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pp=C.a.createElement("filter",{id:"wave-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),gp=C.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),mp=function(e){return C.a.createElement("svg",bp({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pp,gp)};function dp(){return(dp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fp=C.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7-10 64.5-10 64.5v150.2h1620V58.8s-68.8-19.5-196.4-19.5z"}),hp=function(e){return C.a.createElement("svg",dp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),fp)};function vp(){return(vp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yp=C.a.createElement("filter",{id:"wave-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Op=C.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7C59.8 70.1-10 64.5-10 64.5v10s69.8 5.6 198.4 34.2c128.6 28.6 221.8 45.6 311.9 49.1s202.6-.3 418.2-41.1c156.9-29.7 337.2-67.4 495.1-67.4 127.6 0 196.4 19.5 196.4 19.5v-10s-68.8-19.5-196.4-19.5z"}),kp=function(e){return C.a.createElement("svg",vp({viewBox:"0 0 1600 200",filter:"url(#wave-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),yp,Op)};function _p(){return(_p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jp=C.a.createElement("path",{d:"M1610 209.7v-51.2s-81.4-33.3-241.4-23.1c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v154h1620z"}),Cp=function(e){return C.a.createElement("svg",_p({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),jp)};function xp(){return(xp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ep=C.a.createElement("filter",{id:"wave-4-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Sp=C.a.createElement("path",{d:"M1368.6 135.4c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v10c90 56.1 248.1 20.6 362.8 8 114.4-12.3 171 18.4 209.2 43.1 38.2 24.8 87.3 21.4 106 19.3 18.6-2.1 109.8-2 185.5 25.1 53.2 19 81.1 33.5 174.2 33.6 93 .2 183.5-39.4 340.9-49.4 160-10.2 241.4 23.1 241.4 23.1v-10s-81.4-33.3-241.4-23.1z"}),Bp=function(e){return C.a.createElement("svg",xp({viewBox:"0 0 1600 200",filter:"url(#wave-4-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ep,Sp)};function Tp(){return(Tp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ap=C.a.createElement("path",{d:"M1610 208.9V79.2s-81.4 33.3-241.4 23.1c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v26.9h1620z"}),Np=function(e){return C.a.createElement("svg",Tp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ap)};function Pp(){return(Pp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fp=C.a.createElement("filter",{id:"wave-4-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Rp=C.a.createElement("path",{d:"M1368.6 102.3c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v10c90-56.1 248.1-20.6 362.8-8 114.4 12.3 171-18.4 209.2-43.1 38.2-24.8 87.3-21.4 106-19.3 18.6 2.1 109.8 2 185.5-25.1 53.2-19 81.1-33.5 174.2-33.6 93-.2 183.5 39.4 340.9 49.4 160 10.2 241.4-23.1 241.4-23.1v-10s-81.4 33.3-241.4 23.1z"}),Dp={"wave-1":{default:{shape:Db,shadow:Lb},inverted:{shape:Wb,shadow:Yb}},"wave-2":{default:{shape:Jb,shadow:ep},inverted:{shape:ap,shadow:lp}},"wave-3":{default:{shape:up,shadow:mp},inverted:{shape:hp,shadow:kp}},"wave-4":{default:{shape:Cp,shadow:Bp},inverted:{shape:Np,shadow:function(e){return C.a.createElement("svg",Pp({viewBox:"0 0 1600 200",filter:"url(#wave-4-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Fp,Rp)}}},"curve-1":{default:{shape:Cs,shadow:Bs},inverted:{shape:Ns,shadow:Ds}},"curve-2":{default:{shape:Is,shadow:Ws},inverted:{shape:qs,shadow:Js}},"curve-3":{default:{shape:Qs,shadow:au},inverted:{shape:ru,shadow:uu}},"slant-1":{default:{shape:tb,shadow:ib},inverted:{shape:cb,shadow:pb}},"slant-2":{default:{shape:db,shadow:yb},inverted:{shape:kb,shadow:xb}},"straight-1":{default:{shape:Bb,shadow:Pb},inverted:{shape:Bb,shadow:Pb}},"rounded-1":{default:{shape:gu,shadow:hu},inverted:{shape:wu,shadow:ju}},"rounded-2":{default:{shape:Eu,shadow:Au},inverted:{shape:Fu,shadow:zu}},"rounded-3":{default:{shape:Uu,shadow:Vu},inverted:{shape:Ku,shadow:Zu}}},Mp=function(e){var t=Dp[e.design][e.inverted?"inverted":"default"],n=t.shape,a=t.shadow,o=l()([e.className,"ugb-separator-wrapper"]);return wp.element.createElement("div",{className:o},e.shadow&&wp.element.createElement(a,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),wp.element.createElement(n,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};Mp.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},Mp.Save=function(e){return wp.element.createElement(Mp,e)};var zp=Mp;function Ip(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lp=function(e){var t,n=l()([e.className,"ugb-img"],(Ip(t={},"wp-image-".concat(e.imageId),e.imageId),Ip(t,"ugb-img--shape",e.shape),Ip(t,"ugb-image--shape-stretch",e.shapeStretch),Ip(t,"ugb--shadow-".concat(e.shadow),!e.shape&&e.shadow),t));return wp.element.createElement("img",{className:n,src:e.src||void 0,alt:e.alt||void 0,width:e.width||void 0,height:e.height||void 0})};Lp.defaultProps={imageId:"",alt:"",src:"",size:"full",width:"",height:"",shape:"",shapeStretch:!1,shadow:""};var Up=Lp,Hp=n(18),Wp=n(32),Gp=wp.element.createElement(A.Icon,{icon:Vn.h}),Vp=wp.element.createElement(A.Icon,{icon:Vn.A});var qp=Object(H.compose)([Object(_e.withSelect)(function(e,t){var n=t.clientIds,a=e("core/block-editor"),o=a.getBlockRootClientId,i=a.getBlocksByClientId,r=(0,a.canInsertBlockType)("ugb/container",n&&n.length>0?o(n[0]):void 0),l=i(n),c=1===l.length&&l[0]&&"ugb/container"===l[0].name;return{isGroupable:r&&l.length&&!c,isUngroupable:c&&!!l[0].innerBlocks.length,blocksSelection:l,groupingBlockName:"ugb/container"}}),Object(_e.withDispatch)(function(e,t){var n=t.clientIds,a=t.onToggle,o=void 0===a?i.noop:a,r=t.blocksSelection,l=void 0===r?[]:r,c=t.groupingBlockName,s=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(l.length){var e=Object(_e.select)("core/blocks").getGroupingBlockName();Object(Hp.setGroupingBlockName)("ugb/container");var t=Object(Hp.switchToBlockType)(l,c);t&&s(n,t),Object(Hp.setGroupingBlockName)(e),o()}},onConvertFromGroup:function(){if(l.length){var e=l[0].innerBlocks;e.length&&(s(n,e),o())}}}})])(function(e){var t=e.onConvertToGroup,n=e.onConvertFromGroup,a=e.isGroupable,o=void 0!==a&&a,i=e.isUngroupable,r=void 0!==i&&i;return Object(_e.select)("core/block-editor").getSelectedBlockClientIds?wp.element.createElement(c.Fragment,null,o&&wp.element.createElement(Wp.PluginBlockSettingsMenuItem,{icon:Gp,label:Object(s.__)("Group into Container",z.i18n),onClick:t}),r&&wp.element.createElement(Wp.PluginBlockSettingsMenuItem,{icon:Vp,label:Object(s.__)("Ungroup from Container",z.i18n),onClick:n})):null}),Yp=Object(_e.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientIds;return t?{clientIds:t()}:{}})(qp),Kp=Object(H.withState)({openPopover:!1,changed:!1})(function(e){var t=e.blockName,n=e.openPopover,a=e.changed,o=e.setState,r=e.getJSONBlockAttributes,l=e.setJSONBlockAttributes;return wp.element.createElement(c.Fragment,null,wp.element.createElement(Wp.PluginBlockSettingsMenuItem,{icon:"editor-code",label:"Get / Set Block Attributes",onClick:function(){o({openPopover:!0,changed:!1}),setTimeout(function(){return document.querySelector(".ugb-modal-get-block-attributes-button textarea").select()},100)}}),n&&wp.element.createElement(A.Modal,{title:"".concat(Object(i.startCase)(t)," Block Attributes"),focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:function(){if(a){var e=document.querySelector(".ugb-modal-get-block-attributes-button textarea").value;l(e)}o({openPopover:!1})}},wp.element.createElement("p",null,'Copy or modify the attributes of the block directly. Use only double quotes "'),wp.element.createElement("textarea",{onChange:function(){return o({changed:!0})}},r())))}),Xp=Object(H.compose)([Object(_e.withSelect)(function(e,t){var n=t.clientId,a=e("core/block-editor").getBlockName;return{blockName:n&&a(n)?a(n).replace(/^\w+\//g,""):"",getJSONBlockAttributes:function(){var t=e("core/block-editor").getBlockName,a=e("core/blocks").getBlockType;if(!n)return{};var o=e("core/block-editor").getBlockAttributes(n),i=t(n).replace(/^\w+\//g,""),r=a(t(n)).attributes,l=Object.keys(o).reduce(function(e,t){return o[t]!==(r[t]?r[t].default:"")&&(e[t]=o[t]),e},{});return l.uniqueClass=void 0,JSON.stringify(Object(ve.applyFilters)("stackable.".concat(i,".design.filtered-block-attributes"),l),null,4)}}}),Object(_e.withDispatch)(function(e,t){var n=t.clientId;return{setJSONBlockAttributes:function(e){if(n)try{var t=JSON.parse(e);Object(o.e)(t,n)}catch(e){console.error(e)}}}})])(Kp),Jp=Object(_e.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientId;return t?{clientId:t()}:{}})(Xp);function $p(){return($p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Zp(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Qp=function(e){var t=e.blockTag,n=e.className,a=e.backgroundAttrName,i=e.blockProps,r=e.showBackground,c=e.showVideoBackground,s=Zp(e,["blockTag","className","backgroundAttrName","blockProps","showBackground","showVideoBackground"]),u=l()([n],{"ugb--has-background-overlay":r&&Object(o.M)(a,i.attributes)});return wp.element.createElement(t,$p({className:u},s),e.children,r&&c&&Object(o.E)(a,i))};Qp.defaultProps={className:"",backgroundAttrName:"%s",blockProps:{},showBackground:!0,showVideoBackground:!0,blockTag:"div"};var eg=Qp,tg=function(e){return wp.element.createElement(A.Modal,{title:Object(s.__)("Stackable Welcome Guide",z.i18n),className:"ugb-modal-welcome-video",overlayClassName:"ugb-modal-welcome-video__overlay",shouldCloseOnClickOutside:!1,onRequestClose:e.onRequestClose},wp.element.createElement("p",null,Object(s.__)("Hello there 👋 I see you might be new to Stackable, we've made a short 3-minute video so you can make the most out of our unique blocks.",z.i18n)),wp.element.createElement("iframe",{title:Object(s.__)("Video Tutorial",z.i18n),width:"800",height:"413",src:"https://www.youtube.com/embed/UW0Rg96aATA",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),wp.element.createElement("p",null,wp.element.createElement(A.Button,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},Object(s.__)("Close it, I'm good",z.i18n))))};tg.defaultProps={onRequestClose:function(){}};var ng=tg;function ag(){return(ag=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var og=C.a.createElement("path",{d:"M38 12H12v26h26V12z"}),ig=function(e){return C.a.createElement("svg",ag({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),og)};function rg(){return(rg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var lg=C.a.createElement("path",{d:"M12.5 12.5H0V0h12.5v12.5zM31.2 0H18.8v12.5h12.5V0zM50 0H37.5v12.5H50V0zM12.5 18.8H0v12.5h12.5V18.8zm18.7 0H18.8v12.5h12.5V18.8zm18.8 0H37.5v12.5H50V18.8zM12.5 37.5H0V50h12.5V37.5zm18.7 0H18.8V50h12.5V37.5zm18.8 0H37.5V50H50V37.5z"}),cg=function(e){return C.a.createElement("svg",rg({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),lg)};function sg(){return(sg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ug=C.a.createElement("path",{d:"M21.1 5.3H5.3v15.8h15.8V5.3zm23.6 0H28.9v15.8h15.8V5.3zM21.1 28.9H5.3v15.8h15.8V28.9zm23.6 0H28.9v15.8h15.8V28.9z"}),bg=function(e){return C.a.createElement("svg",sg({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),ug)},pg=void 0;function gg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function mg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gg(n,!0).forEach(function(t){dg(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gg(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var hg=function(e){var t=fg(Object(c.useState)([]),2),n=t[0],a=t[1],o=fg(Object(c.useState)({}),2),r=o[0],u=o[1],b=fg(Object(c.useState)(0),2),p=b[0],g=b[1],m=fg(Object(c.useState)(0),2),d=m[0],f=m[1],h=fg(Object(c.useState)(0),2),v=h[0],y=h[1],w=fg(Object(c.useState)(""),2),O=w[0],k=w[1];return Object(c.useEffect)(function(){Un().then(function(e){var t=e.reduce(function(e,t){return e[t]||(e[t]={count:0,name:t,label:t?Object(_e.select)("core/blocks").getBlockType(t).title:""}),e},{});u(t)})},[]),Object(c.useEffect)(function(){Object.keys(r).length&&In({type:"block",search:e.search,mood:e.mood,colors:e.colors}).then(function(t){var n=Object.keys(r).reduce(function(e,t){return e[t]=mg({},r[t]),e},{}),o=0,l=0,c=t.reduce(function(t,n){var a=n.block,i=n.type,r=n.plan;return"block"===i&&t[a]&&t[a].count++,e.forceBlock&&e.forceBlock!==n.block||(l++,"free"===r&&o++),t},mg({},n));g(l),f(o),y(l-o),a(Object(i.orderBy)(c,["title"],["asc"]))})},[r,e.search,e.mood,e.colors]),wp.element.createElement("ul",{className:"ugb-block-list"},wp.element.createElement("li",null,wp.element.createElement("div",{className:""===O?"is-active":"","data-count":p,onClick:function(){k(""),e.onSelect({block:"",plan:""})},onKeyPress:function(e){13===e.keyCode&&pg.click()},role:"button",tabIndex:0,"aria-pressed":""===O?"true":"false"},Object(s.__)("All Block Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"all-count"},p))),p!==d&&wp.element.createElement("li",null,wp.element.createElement("div",{className:"free"===O?"is-active":"","data-count":d,onClick:function(){k("free"),e.onSelect({block:"",plan:"free"})},onKeyPress:function(e){13===e.keyCode&&pg.click()},role:"button",tabIndex:0,"aria-pressed":"free"===O?"true":"false"},Object(s.__)("Free Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"free-count"},d)),wp.element.createElement("div",{className:"premium"===O?"is-active":"","data-count":v,onClick:function(){k("premium"),e.onSelect({block:"",plan:"premium"})},onKeyPress:function(e){13===e.keyCode&&pg.click()},role:"button",tabIndex:0,"aria-pressed":"premium"===O?"true":"false"},Object(s.__)("Premium Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"premium-count"},v))),wp.element.createElement(Po,null),n.map(function(t,n){var a=O===t.name||t.name===e.forceBlock,o=l()({"is-active":a,"is-disabled":e.forceBlock&&t.name!==e.forceBlock});return wp.element.createElement("li",{key:n},wp.element.createElement("div",{className:o,"data-count":t.count,onClick:function(){e.forceBlock||(k(t.name),e.onSelect({block:t.name,plan:""}))},onKeyPress:function(e){13===e.keyCode&&pg.click()},role:"button",tabIndex:0,"aria-pressed":a?"true":"false"},t.label,wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"".concat(t.name,"-count")},t.count)))}))};hg.defaultProps={search:"",mood:"",colors:[],onSelect:function(){},forceBlock:""};var vg=hg;function yg(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function wg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Og={red:{color:"#f44336",name:"red"},green:{color:"#4caf50",name:"green"},yellow:{color:"#ffeb3b",name:"yellow"},blue:{color:"#2196f3",name:"blue"},pink:{color:"#e91e63",name:"pink"},gray:{color:"#9e9e9e",name:"gray"},brown:{color:"#795548",name:"brown"},orange:{color:"#ff9800",name:"orange"},purple:{color:"#9c27b0",name:"purple"},black:{color:"#212121",name:"black"},white:{color:"#fff",name:"white"}},kg=function(e){var t=wg(Object(c.useState)([]),2),n=t[0],a=t[1];return wp.element.createElement(A.BaseControl,{className:"ugb-modal-design-library__color-list",id:"design-colors"},wp.element.createElement("div",{className:"ugb-modal-design-library__color-list-wrapper"},Object.keys(e.colors).map(function(t){var o=Og[t],i=o.color,r=o.name;return wp.element.createElement(A.ColorPalette,{key:t,value:n.includes(r)?i:"",colors:[{color:i,name:r}],onChange:function(t){var o;o=t?[].concat(yg(n),[r]):n.filter(function(e){return e!==r}),a(o),e.onSelect(o)},clearable:!1,disableCustomColors:!0})})))};kg.defaultProps={onSelect:function(){},colors:Og};var _g=kg;function jg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Cg=function(e){var t=jg(Object(c.useState)(e.search),2),n=t[0],a=t[1],i=jg(Object(c.useState)(),2),r=i[0],l=i[1],u=jg(Object(c.useState)(""),2),b=u[0],p=u[1],g=jg(Object(c.useState)(""),2),m=g[0],d=g[1],f=jg(Object(c.useState)([]),2),h=f[0],v=f[1],y=jg(Object(c.useState)(3),2),w=y[0],O=y[1],k=jg(Object(c.useState)([]),2),_=k[0],j=k[1],C=jg(Object(c.useState)(!0),2),x=C[0],E=C[1],S=jg(Object(c.useState)(!1),2),B=S[0],T=S[1],N=jg(Object(o.fb)("stk__design_library_dev_mode",!1),2),P=N[0],F=N[1];Object(c.useEffect)(function(){return l(e.selectedBlock)},[e.selectedBlock]);var R=jg(Object(c.useState)(n),2),D=R[0],M=R[1],I=jg(Object(c.useState)(null),2),L=I[0],U=I[1];return Object(c.useEffect)(function(){L&&(clearTimeout(L),U(null)),U(setTimeout(function(){M(n)},500))},[n]),Object(c.useEffect)(function(){var e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()},[]),Object(c.useEffect)(function(){B&&(j([]),E(!0)),In({type:"block",block:r,plan:b,mood:m,colors:h,search:D,reset:B}).then(function(e){j(e)}).finally(function(){E(!1),T(!1)})},[r,m,h,b,D,B]),wp.element.createElement(A.Modal,{title:Object(s.__)("Stackable Design Library",z.i18n),className:"ugb-modal-design-library",onRequestClose:e.onClose},wp.element.createElement("div",{className:"ugb-modal-design-library__wrapper"},wp.element.createElement("aside",{className:"ugb-modal-design-library__sidebar"},wp.element.createElement(A.TextControl,{className:"ugb-modal-design-library__search",placeholder:Object(s.__)("Search designs...",z.i18n),value:n,onChange:function(e){return a(e)},"data-testid":"input-search"}),wp.element.createElement("div",{className:"ugb-modal-design-library__filters"},wp.element.createElement(_g,{onSelect:function(e){v(e)}}),wp.element.createElement(Kt,{controls:[{value:"",title:Object(s.__)("All",z.i18n)},{value:"light",title:Object(s.__)("Light",z.i18n)},{value:"dark",title:Object(s.__)("Dark",z.i18n)}],value:m,onChange:function(e){return d(e)}}),wp.element.createElement(vg,{search:n,mood:m,colors:h,forceBlock:e.selectedBlock,onSelect:function(e){var t=e.block,n=e.plan;l(t),p(n)}}))),wp.element.createElement("aside",{className:"ugb-modal-design-library__topbar"},z.devMode&&wp.element.createElement(A.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:P,onChange:function(e){zn(e).then(function(){T(!0)}),F(e)}}),wp.element.createElement(A.IconButton,{icon:"image-rotate",label:Object(s.__)("Refresh Library",z.i18n),className:"ugb-modal-design-library__refresh",onClick:function(){return T(!0)}}),wp.element.createElement(A.IconButton,{icon:wp.element.createElement(ig,{width:"18",height:"18"}),className:2===w?"is-active":"",label:Object(s.__)("Large preview",z.i18n),onClick:function(){return O(2)}}),wp.element.createElement(A.IconButton,{icon:wp.element.createElement(bg,{width:"18",height:"18"}),className:3===w?"is-active":"",label:Object(s.__)("Medium preview",z.i18n),onClick:function(){return O(3)}}),wp.element.createElement(A.IconButton,{icon:wp.element.createElement(cg,{width:"18",height:"18"}),className:4===w?"is-active":"",label:Object(s.__)("Small preview",z.i18n),onClick:function(){return O(4)}})),wp.element.createElement("div",{className:"ugb-modal-design-library__designs"},wp.element.createElement(aa,{columns:w,onSelect:e.onSelect,isBusy:x,designs:e.selectedBlock?_.filter(function(t){return t.block===e.selectedBlock}):_}))))};Cg.defaultProps={search:"",selectedBlock:"",onClose:function(){},onSelect:function(){}};var xg=Cg;n.d(t,"n",function(){return a.i}),n.d(t,"o",function(){return a.a}),n.d(t,"fb",function(){return _}),n.d(t,"gb",function(){return d}),n.d(t,"U",function(){return M}),n.d(t,"nb",function(){return U}),n.d(t,"ob",function(){return q}),n.d(t,"r",function(){return X}),n.d(t,"i",function(){return Q}),n.d(t,"O",function(){return re}),n.d(t,"L",function(){return se}),n.d(t,"R",function(){return ke}),n.d(t,"S",function(){return Ce}),n.d(t,"T",function(){return Se}),n.d(t,"b",function(){return Qe}),n.d(t,"c",function(){return tt}),n.d(t,"a",function(){return vt}),n.d(t,"d",function(){return Kt}),n.d(t,"E",function(){return $t}),n.d(t,"D",function(){return tn}),n.d(t,"Y",function(){return wn}),n.d(t,"Z",function(){return _n}),n.d(t,"V",function(){return Cn}),n.d(t,"x",function(){return Gn}),n.d(t,"y",function(){return aa}),n.d(t,"ab",function(){return Na}),n.d(t,"k",function(){return za}),n.d(t,"z",function(){return La}),n.d(t,"A",function(){return Ua}),n.d(t,"w",function(){return Va}),n.d(t,"B",function(){return ko}),n.d(t,"I",function(){return _o.a}),n.d(t,"J",function(){return To}),n.d(t,"t",function(){return No}),n.d(t,"u",function(){return Po}),n.d(t,"p",function(){return Wo}),n.d(t,"P",function(){return Vo}),n.d(t,"Q",function(){return Xo}),n.d(t,"M",function(){return $o}),n.d(t,"N",function(){return ti}),n.d(t,"lb",function(){return oi}),n.d(t,"mb",function(){return ci}),n.d(t,"f",function(){return ui}),n.d(t,"g",function(){return mi}),n.d(t,"l",function(){return Ci}),n.d(t,"m",function(){return Bi}),n.d(t,"hb",function(){return Ai}),n.d(t,"ib",function(){return Ri}),n.d(t,"jb",function(){return Li}),n.d(t,"kb",function(){return Hi}),n.d(t,"bb",function(){return or}),n.d(t,"cb",function(){return ur}),n.d(t,"F",function(){return Kr}),n.d(t,"s",function(){return xc}),n.d(t,"db",function(){return Bc}),n.d(t,"h",function(){return Ke}),n.d(t,"pb",function(){return Dc}),n.d(t,"H",function(){return os}),n.d(t,"e",function(){return cs}),n.d(t,"j",function(){return ps}),n.d(t,"q",function(){return ks}),n.d(t,"eb",function(){return zp}),n.d(t,"K",function(){return Up}),n.d(t,"v",function(){return Yp}),n.d(t,"G",function(){return Jp}),n.d(t,"C",function(){return eg}),n.d(t,"X",function(){return ng}),n.d(t,"W",function(){return xg})},,function(e,t){e.exports=wp.hooks},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.element},,function(e,t){e.exports=wp.components},function(e,t){e.exports=lodash},function(e,t,n){"use strict";var a=n(3),o=n(5),i=n(8),r=n.n(i),l=n(7),c=n(12),s=n(13),u=n.n(s);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function d(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),e}function f(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(c.createHigherOrderComponent)(function(n){var i,c;return c=i=function(i){function c(){return g(this,c),f(this,h(c).apply(this,arguments))}return v(c,l["Component"]),d(c,[{key:"render",value:function(){var i=r()([this.props.className,this.props.attributes.uniqueClass]),l=this.props.blockName,c=Object(o.applyFilters)("stackable.".concat(l,".styles"),e(this.props),this.props),s=wp.element.createElement(a.k,{blockUniqueClassName:this.props.attributes.uniqueClass,blockMainClassName:this.props.mainClassName,style:c,editorMode:t.editorMode||!1});return wp.element.createElement(n,p({},this.props,{className:i,styles:s}))}}]),c}(),w(i,"propTypes",{attributes:u.a.shape({uniqueClass:u.a.string.isRequired}),blockName:u.a.string.isRequired,mainClassName:u.a.string.isRequired}),w(i,"defaultProps",{attributes:{},blockName:"",className:"",mainClassName:""}),c},"withBlockStyles")},k=n(2);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function x(e,t,n){return t&&C(e.prototype,t),n&&C(e,n),e}function E(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(c.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return j(this,a),E(this,S(a).apply(this,arguments))}return B(a,l["Component"]),x(a,[{key:"componentDidMount",value:function(){var t=this.props.blockName;Object(o.addFilter)("stackable.".concat(t,".setAttributes"),"stackable/".concat(t,"/contentAlign"),function(n){var a=Object(o.applyFilters)("stackable.with-content-align-reseter.attributeNamesToReset",e,t);return["","Tablet","Mobile"].forEach(function(e){void 0!==n[Object(k.G)("%sContentAlign",e)]&&a.forEach(function(t){n[Object(k.G)(t,e)]=""})}),n})}},{key:"render",value:function(){return wp.element.createElement(t,this.props)}}]),a}(),A(n,"defaultProps",{attributes:{},blockName:""}),a},"withContentAlignReseter")};function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function R(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var z=Object(c.createHigherOrderComponent)(function(e){var t,n,a,o,i;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),R(this,D(n).apply(this,arguments))}var a,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(n,l["Component"]),a=n,(o=[{key:"componentDidMount",value:function(){Object(k.S)(this.props.attributes)}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&F(a.prototype,o),i&&F(a,i),n}(),i={attributes:{}},(o="defaultProps")in(a=t)?Object.defineProperty(a,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[o]=i,n},"withGoogleFont");function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function U(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function H(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function W(e){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var V=function(e){return Object(c.createHigherOrderComponent)(function(t){return function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),H(this,W(a).apply(this,arguments))}var i,c,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}(a,l["Component"]),i=a,(c=[{key:"render",value:function(){var n=e.replace(/^\w+\//g,""),a=e.replace(/\//g,"-"),i=Object(o.applyFilters)("stackable.".concat(n,".mainClassName"),a,e),l=r()([(this.props.className||"").split(" ").filter(function(e){return e!==a}),i]);return wp.element.createElement(t,L({},this.props,{className:l,mainClassName:i,blockName:n}))}}])&&U(i.prototype,c),s&&U(i,s),a}()},"withMainClassname")};function q(e){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function K(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Z=Object(c.createHigherOrderComponent)(function(e){var t,n,a,i,r;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=X(n).apply(this,arguments))||"object"!==q(a)&&"function"!=typeof a?J(t):a).setAttributes=e.setAttributes.bind(J(e)),e}var a,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$(e,t)}(n,l["Component"]),a=n,(i=[{key:"setAttributes",value:function(e){var t=this.props.blockName,n=Object(o.applyFilters)("stackable.setAttributes",e,this.props);n=Object(o.applyFilters)("stackable.".concat(t,".setAttributes"),n,this.props),this.props.setAttributes(n)}},{key:"render",value:function(){return wp.element.createElement(e,Y({},this.props,{setAttributes:this.setAttributes}))}}])&&K(a.prototype,i),r&&K(a,r),n}(),a=t,i="propTypes",r={setAttributes:u.a.func.isRequired},i in a?Object.defineProperty(a,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[i]=r,n},"withSetAttributeHook"),Q=n(6);function ee(e){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ae(e,t,n){return t&&ne(e.prototype,t),n&&ne(e,n),e}function oe(e,t){return!t||"object"!==ee(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function re(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&le(e,t)}function le(e,t){return(le=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var se=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Object(c.createHigherOrderComponent)(function(t){var n,i;return i=n=function(n){function i(){return te(this,i),oe(this,ie(i).apply(this,arguments))}return re(i,l["Component"]),ae(i,[{key:"render",value:function(){var n=this.props.blockName,i=Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.style.block"),null,this.props);return wp.element.createElement(l.Fragment,null,Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.before"),null,this.props),wp.element.createElement(Q.InspectorControls,null,wp.element.createElement(a.ab,{tabs:e,blockProps:this.props}),wp.element.createElement(a.V,null,Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.layout.before"),null,this.props),Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.layout.after"),null,this.props)),wp.element.createElement(a.V,{tab:"style"},Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.style.before"),null,this.props),Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.style.after"),null,this.props),i&&wp.element.createElement("div",{className:"ugb-panel-controls-separator",role:"presentation"},"— — —"),i),wp.element.createElement(a.V,{tab:"advanced"},Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.advanced.before"),null,this.props),Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.advanced.after"),null,this.props))),wp.element.createElement(t,this.props))}}]),i}(),ce(n,"defaultProps",{attributes:{},blockName:""}),i},"withTabbedInspector")};function ue(e){return(ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function pe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ge(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function me(e,t){return!t||"object"!==ue(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fe(e,t){return(fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ve=Object(c.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),me(this,de(n).apply(this,arguments))}var a,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fe(e,t)}(n,l["Component"]),a=n,(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.clientId,o="ugb-".concat(a.substring(0,7));void 0!==t.uniqueClass&&t.uniqueClass===o||n({uniqueClass:o})}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&ge(a.prototype,o),i&&ge(a,i),n}(),he(t,"defaultProps",{attributes:{},clientId:"",setAttributes:function(){}}),n},"withUniqueClass");Object(o.addFilter)("stackable.user-design-library.save.ignore","stackable/unique-class",function(e){return[].concat(pe(e),["uniqueClass"])}),Object(o.addFilter)("stackable.block.attributes","stackable/unique-class",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(n,!0).forEach(function(t){he(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{uniqueClass:{type:"string",default:""}})});var ye=ve,we=n(44),Oe=n(20);function ke(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ce=!1,xe={".ugb-top-separator":"top-separator",".ugb-bottom-separator":"bottom-separator",".ugb-inner-block":"column-background",".ugb-block-title":"block-title",".ugb-block-description":"block-description",".ugb--has-block-background":"block-background"},Ee={},Se=[".block-editor-rich-text__editable",".editor-rich-text__editable","svg","img","figure",".ugb-button",'[role="button"]',".ugb-block-content > * > *",".ugb-block-content > *",".ugb-content-wrapper",".ugb-top-separator",".ugb-bottom-separator",".ugb-inner-block",".ugb-main-block"],Be=function(e,t,n){void 0===Ee[e]&&(Ee[e]={}),Ee[e][t]=n},Te=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach(function(t){je(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Ee[e],{},xe)};function Ae(e){return(Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Fe(e,t,n){return t&&Pe(e.prototype,t),n&&Pe(e,n),e}function Re(e,t){return!t||"object"!==Ae(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function De(e){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Me(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ze(e,t)}function ze(e,t){return(ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object(Oe.a)(function(){if(!Ce&&(Ce=!0,Element.prototype.matches)){var e=Object(o.applyFilters)("stackable.click-open-inspector.listener-override",{});document.body.addEventListener("dblclick",function(t){var n,a,o=(n=t.target,(a=n.closest("[data-type]"))&&a.getAttribute("data-type").match(/^ugb\//i)?a.getAttribute("data-type").replace(/^ugb\//i,""):"");if(o){var i=Te(o);if(i){var r=[];Object.keys(e).some(function(n){return!!t.target.closest(n)&&(r=e[n],!0)}),[].concat(ke(r),Se).some(function(e){var n=t.target.closest(e);return!!n&&Object.keys(i).some(function(e){if(n.matches(e)){var t=i[e];return Object(we.a)(t)}return!1})})}}})}});var Ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(c.createHigherOrderComponent)(function(t){return function(n){function a(){var t;Ne(this,a);var n=(t=Re(this,De(a).apply(this,arguments))).props.blockName;return e.forEach(function(e){Be(n,e[0],e[1])}),t}return Me(a,l["Component"]),Fe(a,[{key:"render",value:function(){return wp.element.createElement(t,this.props)}}]),a}()},"withClickOpenInspector")};function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(){return(Ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function He(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function We(e,t){return!t||"object"!==Le(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ge(e){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ye=function(e){return Object(c.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),We(this,Ge(a).apply(this,arguments))}var o,i,c;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ve(e,t)}(a,l["Component"]),o=a,(i=[{key:"render",value:function(){var n=this.props.className.match(/ugb--help-tip/),a=r()([this.props.className],qe({},"ugb--help-tip-".concat(e),!n));return wp.element.createElement(t,Ue({},this.props,{className:a}))}}])&&He(o.prototype,i),c&&He(o,c),a}(),qe(n,"defaultProps",{className:""}),a},"withHelpTip")};n.d(t,"a",function(){return O}),n.d(t,"c",function(){return N}),n.d(t,"d",function(){return z}),n.d(t,"f",function(){return V}),n.d(t,"g",function(){return Z}),n.d(t,"h",function(){return se}),n.d(t,"i",function(){return ye}),n.d(t,"b",function(){return Ie}),n.d(t,"e",function(){return Ye})},function(e,t){e.exports=wp.compose},,function(e,t){e.exports=wp.data},,function(e,t,n){"use strict";var a=n(4),o=n.n(a);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var r=o.a.createElement("path",{d:"M64.1 136L23 176.7c-1.9 1.8-1.9 4.8-.1 6.7.9 1 2.3 1.5 3.6 1.4l86.9.1L64.1 136z"}),l=o.a.createElement("path",{d:"M177.9 128.4c0-4.5-1.8-8.9-5-12.1L71.4 14.7 26.6 59.5c-3.2 3.2-5 7.5-5 12.1 0 4.5 1.8 8.9 5 12.1l101.6 101.6v-.1l44.8-44.8c3.1-3.2 4.9-7.5 4.9-12z",opacity:.75}),c=o.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM128.2 71.6H71.4v56.8h56.8zM128.2 185.1l44.7-44.7c3.1-3.1 4.9-7.4 5-11.8h-49.7v56.5z"}),s=o.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM172.9 14.7H86.1l49.4 49.6 40.9-41.2c1.9-2 1.8-5.2-.1-7.1-.9-.8-2.1-1.3-3.4-1.3z"}),u=function(e){return o.a.createElement("svg",i({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),r,l,c,s)};function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var p=o.a.createElement("path",{d:"M17 9.4H3c-.4 0-.8-.3-.8-.8s.4-.7.8-.7h14c.4 0 .8.3.8.8s-.4.7-.8.7zm.8 1.9c0-.4-.3-.8-.8-.8H3c-.4 0-.8.3-.8.8s.3.8.8.8h14c.4 0 .8-.4.8-.8zm.4-9.8H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3V1.8c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8C.8 6 0 5.2 0 4.2V1.8C0 .8.8 0 1.8 0h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6zm.6 12.5H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3v-2.3c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8c-1 0-1.8-.8-1.8-1.8v-2.3c0-1 .8-1.8 1.8-1.8h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6z"}),g=function(e){return o.a.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg"},e),p)};function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var d=o.a.createElement("path",{d:"M0 2.7C0 1.6.3 0 2.4 0c.3 0 .6.3.6.6s-.3.6-.6.6c-.6-.1-1.1.3-1.1.8H2c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1H1c-.6 0-1-.4-1-1V2.7zm4.4 0c0-1.1.3-2.7 2.4-2.7.3 0 .6.3.6.6s-.3.6-.6.6c-.7-.1-1.2.3-1.2.8h.7c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1h-1c-.6 0-1-.4-1-1V2.7zm11.2 14.6c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9h-.7c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm4.4 0c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9H18c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm0-10c0-.4-.3-.8-.8-.8H.8c-.4.1-.8.4-.8.8s.3.8.8.8h18.5c.4 0 .7-.3.7-.8zm0 2.7c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.4-.8.8s.3.8.8.8h18.5c.4-.1.7-.4.7-.8zm0 2.6c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h18.5c.4 0 .7-.4.7-.8z"}),f=function(e){return o.a.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg"},e),d)};function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var v=o.a.createElement("path",{d:"M4.4 1.5v2.9H1.5V1.5h2.9M5 0H.9C.4 0 0 .4 0 .9V5c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V.9C5.9.4 5.5 0 5 0zm3.3 4.8h11c.4 0 .7-.4.7-.8s-.3-.8-.8-.8h-11c-.3.1-.7.4-.7.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m-3.9 6v2.9H1.5V8.6h2.9M5 7.1H.9c-.5 0-.9.4-.9.9v4c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V8c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m0-2.3h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8m-3.9 6v2.9H1.5v-2.9h2.9m.6-1.5H.9c-.5 0-.9.4-.9.9v4.1c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V15c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8"}),y=function(e){return o.a.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg"},e),v)};function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v5.3C0 8.2.8 9 1.8 9H7v2.7c-.1-.2-.2-.4-.3-.5-.3-.5-.7-.9-1.3-1.1-.5-.2-1.1-.1-1.6.2-1.1.6-1.5 1.9-.9 2.9l1.3 2.4c.1.1.1.2.2.3.9 1.6 2.3 4 6.5 4 4.1 0 6-3.6 6-7v-3c0-.4-.1-.7-.2-1h1.5c1 0 1.8-.8 1.8-1.8V1.8c0-1-.8-1.8-1.8-1.8zm-2.8 13c0 2-1 5.5-4.5 5.5-3.3 0-4.3-1.7-5.2-3.3-.1-.1-.1-.2-.2-.3l-1.3-2.4c-.1-.2-.1-.3 0-.5s.2-.3.3-.4c.2-.1.3-.1.5 0s.3.2.4.3c.1.2.3.7.5.9.4.5 1 .8 1.6.6.6-.2 1-.8 1-1.5V5.1c0-.4.3-.7.7-.7s.7.3.7.7v5.7c0 .4.3.8.8.8s.8-.3.8-.8V8.7c.1-.2.3-.3.6-.3.4 0 .7.3.7.7v2.3c0 .4.3.8.8.8s.8-.3.8-.8V9.7c.1-.2.3-.3.6-.3.4 0 .7.3.7.7V13zm3.1-5.8c0 .2-.1.3-.3.3h-4.7c-.4-.4-.9-.6-1.5-.6-.2 0-.4 0-.6.1V5.1c0-1.2-1-2.2-2.2-2.2S7 3.9 7 5.1v2.4H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v5.4z"}),k=function(e){return o.a.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zm.3 18.2c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v16.4zm-1.6-5c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h12.3c.3 0 .7.4.7.8zm0 2.6c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.4-.8.8-.8h12.3c.3 0 .7.4.7.8zM5 10h10c.2 0 .4-.1.5-.2s.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5s-.3-.3-.5-.3H5c-.2 0-.4.1-.5.2s-.2.3-.2.5v5c0 .2.1.4.2.5s.3.3.5.3zm.8-5h8.5v3.5H5.8V5z"}),C=function(e){return o.a.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg"},e),j)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 18.5c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h7.4v17H1.8zm16.4 0h-7.4v-17h7.3c.2 0 .3.1.3.3v16.4h.1c0 .2-.1.3-.3.3z"}),S=function(e){return o.a.createElement("svg",x({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),E)};function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.5c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.5 10.6h1.8l-1.8 1.8v-1.8zm3.1-1.2H4.5V7.7h4.8L7.6 9.4zm2.9-2.9h-6V5H12l-1.5 1.5zM3.3 15H1.5V5h1.7v10zm1.2-.8L13.7 5h1.8v.8L6.3 15H4.5v-.8zm11-4.8h-1.8l1.8-1.8v1.8zm-3.1 1.2h3.1v1.7h-4.8l1.7-1.7zm-2.9 2.9h6V15H8l1.5-1.5zM16.8 5h1.7v10h-1.7V5zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8zm17 16.4c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3v-1.3c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3zm-14.9-.7c0 .3-.2.5-.5.5s-.5-.2-.5-.5.3-.5.5-.5.5.2.5.5zm13.8 0c0 .3-.2.5-.5.5s-.5-.2-.5-.5.2-.5.5-.5.5.2.5.5zM2.6 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm13.8 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),A=function(e){return o.a.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg"},e),T)};function N(){return(N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var P=o.a.createElement("path",{d:"M18.5 2.9h-17C.7 2.9 0 3.6 0 4.4v11.1c0 .9.7 1.5 1.5 1.5h16.9c.9 0 1.5-.7 1.5-1.5V4.4c.1-.8-.6-1.5-1.4-1.5zm0 12.7h-7.1c.2-.3.3-.7.4-1.2 0-.3-.1-.6-.2-.9-.3-.5-.8-.9-1.4-1.1.3-.3.7-.8 1-1.2.2-.2.3-.4.4-.6.2-.5.1-.8-.3-1.1-.1-.1-.2-.1-.4-.1h-3c-.1 0-.3.1-.4.1-.2.3-.3.5-.3.7 0 .3.3.6.6.6h2c-.5.6-1.2 1.3-1.4 1.5-.3.3-.4.7-.1 1l.2.2c.1.1.3.1.4.1 1 .1 1.4.3 1.5 1-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7 0 .1.1.4.3.7H1.5V4.4h8.6c-.3.4-.7.8-1 1.1H9c-.6.6-1.2 1.2-1.7 1.6-.2.1-.3.3-.4.4V8c.1.2.2.4.4.5.2.1.4.2.6.2h3.2c.3 0 .6-.3.6-.6s-.3-.6-.6-.6H8.9c.4-.3.7-.7 1.1-1 .5-.5 1.1-1.1 1.4-1.6.1-.1.1-.3.2-.4H16c.1.1.1.3.2.5-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7.1.2.5 1.7 2.3 1.7 1.5 0 2.4-.9 2.5-2.2v-.5h1.1v11.2zM5.9 13c0 .3-.3.6-.6.6H3.6c-.4 0-.6-.3-.6-.6s.3-.6.6-.6h.2V8.2l-.3.1c-.1.1-.3.1-.5.1s-.3-.1-.4-.3v-.5c0-.2.1-.3.3-.4l1.2-.7c.3-.1.7 0 .9.3v5.6h.2c.4-.1.7.2.7.6zm11.2-1h-.3V8.4c0-.3-.3-.6-.6-.6-.2 0-.4.1-.5.3l-3.3 4.2c-.1.1-.2.3-.1.5 0 .2.1.3.2.4.1.1.2.1.4.1h2.7v1.1c0 .3.3.6.6.6s.6-.3.6-.6v-1.1h.3c.3 0 .6-.3.6-.6.1-.4-.2-.7-.6-.7zm-1.5 0h-1.4l1.4-1.8V12z"}),F=function(e){return o.a.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg"},e),P)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var D=o.a.createElement("path",{d:"M16.1 8.5c0-1.4-1-2.5-2.2-2.9V1.5c0-.3-.1-.5-.3-.6-.2-.1-.5-.2-.7-.1L4.5 4.6H.8c-.5 0-.8.3-.8.8v6.3c0 .4.3.8.8.8h1.1v5.7c0 .4.3.8.8.8h2.1c.4 0 .8-.3.8-.8V13l7.4 3.4c.1 0 .2.1.3.1.1 0 .3 0 .4-.1.2-.1.3-.4.3-.6v-4.2c1.2-.5 2.1-1.7 2.1-3.1zM1.5 6.1h2.4v4.8H1.5V6.1zm1.8 11.3v-4.9h.6v4.9h-.6zm9.1-3l-6.9-3.2V5.8l6.9-3.2v11.8zm1.5-4.3V7c.6.3 1 .9 1 1.5 0 .7-.4 1.3-1 1.6zM20 8.5c0 .3-.3.6-.6.6h-1.5c-.3 0-.6-.3-.6-.6s.3-.6.6-.6h1.5c.3 0 .6.3.6.6zm-2.2 4.4c.2.2.2.6 0 .9-.1.1-.3.2-.4.2-.2 0-.3-.1-.4-.2l-1.1-1.1c-.2-.2-.2-.6 0-.9.2-.2.6-.2.9 0l1 1.1zm-2-7.7c-.2-.2-.2-.6 0-.9l1.1-1.1c.2-.2.6-.2.9 0 .2.2.2.6 0 .9l-1.1 1.1c-.1.1-.3.2-.4.2-.2 0-.4 0-.5-.2z"}),M=function(e){return o.a.createElement("svg",R({xmlns:"http://www.w3.org/2000/svg"},e),D)};function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var I=o.a.createElement("path",{d:"M.8 10.8c-.5 0-.8-.4-.8-.8s.3-.8.8-.8h18.5c.4 0 .8.3.8.8s-.3.8-.8.8H.8"}),L=function(e){return o.a.createElement("svg",z({xmlns:"http://www.w3.org/2000/svg"},e),I)};function U(){return(U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var H=o.a.createElement("path",{d:"M2.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1s-1-.5-1-1c0-.6.5-1 1-1m0-1.5C1.1 7.5 0 8.6 0 10s1.1 2.5 2.5 2.5S5 11.4 5 10c.1-1.4-1.1-2.5-2.5-2.5zM10 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1 0-.6.4-1 1-1m0-1.5c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zM17.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1-.1-.6.4-1 1-1m0-1.5C16.1 7.5 15 8.6 15 10s1.1 2.5 2.5 2.5S20 11.4 20 10s-1.1-2.5-2.5-2.5z"}),W=function(e){return o.a.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg"},e),H)};function G(){return(G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var V=o.a.createElement("path",{d:"M18.6 0H12c-.8 0-1.4.6-1.4 1.4v8.3c0 .8.6 1.4 1.4 1.4h6.6c.8 0 1.4-.6 1.4-1.4V1.4c0-.8-.6-1.4-1.4-1.4zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2h-6.4c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5s2.4.6 2.9 1.4c.2.2.3.5.3.8zm-5.3-6.1c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6c.5.1.8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zM8 0H1.4C.6 0 0 .6 0 1.4v8.3c0 .8.6 1.4 1.4 1.4H8c.8 0 1.4-.6 1.4-1.4V1.4C9.4.6 8.8 0 8 0zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2H1.5c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5 1.3-.1 2.5.5 3 1.4.1.2.2.5.2.8zM2.6 3.6c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.3 0-.6-.3-.6-.8 0-.4.3-.8.8-.8h6c.3.1.6.4.6.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8z"}),q=function(e){return o.a.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg"},e),V)};function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var K=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h6.1v9.6c-.8-.8-2-1.3-3.2-1.3-1.2 0-2.4.5-3.2 1.3V1.8c0-.2.1-.3.3-.3zm-.3 16.7v-3.6c0-.9.4-1.7.9-2.3.6-.6 1.4-.9 2.3-.9.9 0 1.7.4 2.3.9.6.6.9 1.4.9 2.3v4H1.8c-.2-.1-.3-.2-.3-.4zm17 0c0 .2-.1.3-.3.3H9.4v-17h8.7c.2 0 .3.1.3.3v16.4zM2.6 6.8c0-.6.5-1 1-1s1 .5 1 1-.5 1-1 1-1-.5-1-1zM17 8.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 7.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5.1.8.4.8.8z"}),X=function(e){return o.a.createElement("svg",Y({xmlns:"http://www.w3.org/2000/svg"},e),K)};function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.1 0 .2.1.2.1s.1.1.1.2v1.7h-17V1.8c.1-.2.2-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3V4.5h17v13.6c0 .3-.1.4-.3.4zM16.3 5.8H3.7c-.2 0-.4 0-.5.2-.1.1-.2.3-.2.5v5c0 .2.1.4.2.5.1.1.3.2.5.2h12.5c.2 0 .4-.1.5-.2.1-.1.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5 0-.2-.2-.2-.4-.2zM4.5 10.7V7.3h11v3.5h-11zM14 9c0 .4-.3.7-.7.7H6.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7h6.5c.5-.1.8.3.8.7zM2.7 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),Z=function(e){return o.a.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg"},e),$)};function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ee=o.a.createElement("path",{d:"M19.3 4.3H8.8c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h10.4c.4 0 .8.3.8.8s-.3.8-.7.8zM2.9 5.7l3.2-3.2c.3-.3.3-.8 0-1.1s-.8-.3-1.1 0L2.4 4.1 1.3 3C1 2.7.5 2.7.2 3c-.3.3-.3.8 0 1.1l1.6 1.6c.2.1.4.2.6.2.2 0 .4-.1.5-.2zM20 9.9c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5 0 .8-.4.8-.8zM2.9 12l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1-1C1 9.1.5 9.1.2 9.4c-.3.3-.3.8 0 1.1L1.8 12c.1.1.3.2.5.2.3.1.5 0 .6-.2zM20 16.3c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5-.1.8-.4.8-.8zM2.9 18.4l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1.1-1.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1l1.6 1.6c.1.1.3.2.5.2.4 0 .6 0 .7-.2z"}),te=function(e){return o.a.createElement("svg",Q({xmlns:"http://www.w3.org/2000/svg"},e),ee)};function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ae=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V11l-3.3-4.4c-.2-.3-.6-.5-.9-.5-.4 0-.7.2-.9.5l-4.7 6.1-1.9-2.6c-.3-.3-.6-.4-1-.4s-.7.2-.9.5l-3.3 4.3V1.8c0-.2.1-.3.3-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-1.3c.1 0 .1-.1.2-.2l4.1-5.4 2.1 2.8c.2.2.5.4.7.4.3 0 .6-.1.7-.4l4.9-6.4 4.1 5.4c0 .1.1.1.2.2v4.8c0 .3-.2.4-.3.4zM7.2 7.8c1.3 0 2.3-1 2.3-2.3s-1-2.3-2.3-2.3-2.3 1-2.3 2.3 1 2.3 2.3 2.3zm0-3.2c.4 0 .8.4.8.8 0 .5-.4.8-.8.8-.5 0-.8-.4-.8-.8-.1-.4.3-.8.8-.8z"}),oe=function(e){return o.a.createElement("svg",ne({xmlns:"http://www.w3.org/2000/svg"},e),ae)};function ie(){return(ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var re=o.a.createElement("path",{d:"M10 2.2l8.3 15.7H1.7L10 2.2m0-1.8c-.4 0-.8.2-1.1.6L.1 17.7c-.4.8.2 1.7 1.1 1.7h17.6c.9 0 1.5-.9 1.1-1.7L11.1 1c-.2-.4-.7-.6-1.1-.6zm-.7 7.2v4.6c0 .4.3.7.7.7s.7-.3.7-.7V7.6c0-.4-.3-.7-.7-.7s-.7.3-.7.7m.7 6.8c-.5 0-.9.4-.9.9s.4.9.9.9.9-.4.9-.9-.4-.9-.9-.9z"}),le=function(e){return o.a.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg"},e),re)};function ce(){return(ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var se=o.a.createElement("path",{d:"M18.2 1.5c.2 0 .3.1.3.3v16.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.4m0-1.5H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.4 6.7l1-.6v8.3h-.7c-.4 0-.7.3-.7.8s.3.7.7.7h2.9c.4 0 .8-.3.8-.7s-.4-.8-.8-.8h-.7V4.8c0-.1 0-.3-.1-.4-.2-.3-.7-.4-1-.2L3.6 5.4c-.4.2-.5.7-.3 1 .3.4.7.5 1.1.3zm5.6.1h5.7c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H10c-.4.1-.7.4-.7.8s.3.8.7.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.7h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8"}),ue=function(e){return o.a.createElement("svg",ce({xmlns:"http://www.w3.org/2000/svg"},e),se)};function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pe=o.a.createElement("path",{d:"M19.8.2c-.3-.3-.7-.3-1 0l-1.1 1.1c-.2-.1-.4-.1-.6-.1l-5-.1H12c-.7 0-1.4.3-1.9.8L.7 11.3c-.9.9-.9 2.4 0 3.3l4.8 4.8c.5.4 1.1.6 1.7.6.6 0 1.2-.2 1.7-.7l9.4-9.4c.5-.5.8-1.3.8-2l-.1-5c0-.2 0-.4-.1-.6L20 1.2c.1-.2.1-.7-.2-1zm-4.6 5.9c0 .3-.1.6-.4.9-.2.2-.6.4-.9.4-.3 0-.6-.1-.9-.4-.2-.2-.4-.6-.4-.9 0-.3.1-.6.4-.9.2-.2.6-.4.9-.4h.2l-.5.5c-.3.3-.3.7 0 1 .3.3.7.3 1 0l.5-.5c.1.1.1.2.1.3zM17.6 8c0 .3-.1.7-.4.9l-9.4 9.4c-.2.2-.4.3-.6.3-.2 0-.5-.1-.6-.3l-4.8-4.8c-.2-.2-.3-.4-.3-.6 0-.2.1-.5.3-.6l9.4-9.4c.2-.2.6-.4.9-.4l4.4.1-1.1 1.1c-.4-.2-.9-.3-1.3-.3a2.732 2.732 0 00-2.7 2.7 2.732 2.732 0 002.7 2.7 2.732 2.732 0 002.7-2.7c0-.5-.1-.9-.3-1.3l1.1-1.1V8zm-6.1 1.4l-.5.5c.5.7.6 1.5.6 1.6.1.4-.2.8-.6.8-.4.1-.8-.2-.8-.6 0-.2-.2-.8-.5-1.1-.3-.3-.8-.5-1.1-.2-.2.2 0 .8.2 1.3 0 .1.1.2.1.2.3.6.9 1.8-.3 2.9-.3.3-.7.4-1.2.4-.4 0-.7-.1-1.1-.3-.1-.1-.2-.1-.3-.2l-.5.5c-.1.1-.2.1-.3.1-.1 0-.2 0-.3-.1-.2-.2-.2-.5 0-.7l.5-.5c-.4-.5-.8-1.3-.7-2.2 0-.4.4-.7.8-.7s.7.4.7.8c-.1.9.5 1.5.9 1.7.3.1.5.2.7.1.3-.2.3-.4 0-1.1 0-.1-.1-.2-.1-.3-.3-.6-.9-2 .1-3 .8-.8 1.9-.7 2.7-.1l.5-.5c.2-.2.5-.2.7 0 0 .2 0 .5-.2.7z"}),ge=function(e){return o.a.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg"},e),pe)};function me(){return(me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var de=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v7.1c-.8.7-2.2 2.1-4.1 2.1-3.1 0-4.8-3.6-8.1-3.6-1.9 0-3.7 1.3-4.6 2.1V1.8zm17 16.3c0 .3-.2.4-.3.4H1.8c-.2 0-.3-.1-.3-.3V12c.9-.9 2.7-2.7 4.5-2.7 2.7 0 4.3 3.4 8.3 3.4 1.9 0 3.4-1 4.1-1.6v7z"}),fe=function(e){return o.a.createElement("svg",me({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),de)};function he(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ve=o.a.createElement("path",{d:"M1.6.8c0-.5.3-.8.7-.8h16c.4 0 .8.3.8.8s-.3.8-.8.8h-16c-.4-.1-.7-.4-.7-.8zm16.7 17.7h-16c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h16c.4 0 .8-.3.8-.8s-.4-.8-.8-.8zM13.2 6.7c.3.3.8.3 1.1 0 .3-.3.3-.8 0-1.1l-3.4-3.4c-.3-.3-.8-.3-1.1 0L6.4 5.6c-.3.3-.3.8 0 1.1.1.1.3.2.5.2s.4-.1.5-.2l2.1-2.1v11l-2.1-2.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1L9.7 18c.1.1.3.2.5.2s.4-.1.5-.2l3.4-3.4c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.1 2.1v-11l2.3 2.1z"}),ye=function(e){return o.a.createElement("svg",he({xmlns:"http://www.w3.org/2000/svg"},e),ve)};function we(){return(we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Oe=o.a.createElement("path",{d:"M8.6 12.1c.4-.5.6-1.2.6-1.9V8c0-1.9-1.5-3.4-3.4-3.4S2.4 6.1 2.4 8v2.1c0 .7.2 1.4.6 1.9-1.7.3-3 1.9-3 3.7V17c0 1.2.9 2.1 2.1 2.1h7.4c1.2 0 2.1-.9 2.1-2.1v-1.2c.1-1.9-1.3-3.4-3-3.7zm-2.8-6c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.2-.2-.5-.5-.9-.5s-.8.3-1 .5c.1-.8.9-1.6 1.8-1.6zM4 8.9c.2-.1.5-.2.8-.5.1-.1.2-.1.2-.1s.1 0 .2.2c.6.5 1.1.7 1.6.7.3 0 .6-.1.9-.2v1.1c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V8.9zm2.8 4.6c-.2.9-.6 1.4-1 1.4-.3 0-.7-.5-1-1.4h2zm3.3 3.5c0 .3-.3.6-.6.6H2.1c-.3 0-.6-.3-.6-.6v-1.2c0-1.2 1-2.2 2.2-2.2h.1c.3 1.4 1.1 2.4 2 2.4s1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2V17zM17 8.3c.4-.5.6-1.2.6-1.9V4.3c0-1.9-1.5-3.4-3.4-3.4s-3.4 1.5-3.4 3.4v2.1c0 .7.2 1.4.6 1.9-.4.1-.8.2-1.1.4v1.4c0 .3 0 .5-.1.8.4-.7 1.1-1.1 1.9-1.1h.1c.3 1.4 1.1 2.4 2 2.4.9 0 1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2v1.2c0 .3-.3.6-.6.6h-5.4c.2.5.3 1 .4 1.5h5c1.2 0 2.1-.9 2.1-2.1V12c0-1.8-1.3-3.3-3-3.7zm-2.8-5.9c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.7-.7-1.3-.6-1.9 0 0-.9.8-1.6 1.8-1.6zm0 8.8c-.3 0-.7-.5-1-1.4h1.9c-.2.8-.6 1.4-.9 1.4zM16 6.4c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V5.2c.3-.1.6-.2.8-.5.2-.2.3-.2.3-.2s.1 0 .2.2c.6.6 1.1.8 1.6.8.3 0 .6-.1.9-.2v1.1z"}),ke=function(e){return o.a.createElement("svg",we({xmlns:"http://www.w3.org/2000/svg"},e),Oe)};function _e(){return(_e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var je=o.a.createElement("path",{d:"M4 20c-.1 0-.2 0-.3-.1-.3-.1-.5-.4-.5-.7v-2.9H1.9c-1 0-1.9-.8-1.9-1.9V1.9C0 .8.8 0 1.9 0h16.2c1 0 1.9.8 1.9 1.9v12.6c0 1-.8 1.9-1.9 1.9H7.9l-3.4 3.4c-.1.1-.3.2-.5.2zM1.9 1.5c-.2 0-.4.2-.4.4v12.6c0 .2.2.4.4.4H4c.4 0 .8.3.8.8v1.8l2.3-2.3c.1-.1.3-.2.5-.2h10.5c.2 0 .4-.2.4-.4V1.9c0-.2-.2-.4-.4-.4H1.9zM7.2 13c-.1 0-.3 0-.4-.1-.2-.1-.3-.4-.2-.6L7 9.5l-2-2c-.2-.2-.2-.4-.2-.7.1-.2.3-.4.5-.4L8.1 6l1.3-2.5c.1-.3.3-.4.6-.4.2 0 .5.1.6.3L11.8 6l2.8.4c.2 0 .4.2.5.4.1.2 0 .5-.2.6l-2 2 .5 2.8c0 .2-.1.5-.2.6-.2.1-.4.2-.7 0L10 11.6l-2.5 1.3c-.1.1-.2.1-.3.1zm2.8-2.7c.1 0 .2 0 .3.1l1.7.9-.3-1.9c0-.2 0-.4.2-.6l1.4-1.3-1.9-.3c-.2 0-.4-.2-.5-.3L10 5.1l-.9 1.7c-.1.2-.2.4-.5.4l-1.8.3 1.4 1.3c.1.1.2.4.2.6L8 11.2l1.7-.9h.3z"}),Ce=function(e){return o.a.createElement("svg",_e({xmlns:"http://www.w3.org/2000/svg"},e),je)};function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ee=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V13h-17V1.8c.1-.2.3-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-3.7h17v3.7c0 .2-.1.3-.3.3zm-11-7.2c.2.1.5.1.8 0L13.5 8c.2-.1.4-.4.4-.6 0-.3-.1-.5-.4-.6L7.9 3.4c-.2-.1-.5-.1-.8 0-.2.1-.3.3-.3.6v6.6c0 .3.1.5.4.7zm1.1-6l3.4 2-3.4 2v-4zm9 11.2c0 .4-.3.8-.8.8H3.4c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h13.2c.4 0 .7.3.7.8z"}),Se=function(e){return o.a.createElement("svg",xe({xmlns:"http://www.w3.org/2000/svg"},e),Ee)};function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Te=o.a.createElement("path",{d:"M10.9 20h-9c-1 0-1.8-.8-1.8-1.8v-5.1c0-1 .8-1.8 1.8-1.8h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zm-9.1-7.4c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-5.1c0-.3-.2-.5-.5-.5h-9zM18.2 8.7h-9c-1 0-1.8-.8-1.8-1.8V1.8C7.4.8 8.2 0 9.2 0h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zM9.1 1.3c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5V1.8c0-.3-.2-.5-.5-.5h-9z"}),Ae=function(e){return o.a.createElement("svg",Be({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Te)},Ne=n(7),Pe=n(20);n.d(t,"t",function(){return Re}),n.d(t,"u",function(){return De}),n.d(t,"x",function(){return Me}),n.d(t,"a",function(){return ze}),n.d(t,"b",function(){return Ie}),n.d(t,"c",function(){return Le}),n.d(t,"d",function(){return Ue}),n.d(t,"f",function(){return He}),n.d(t,"g",function(){return We}),n.d(t,"h",function(){return Ge}),n.d(t,"i",function(){return Ve}),n.d(t,"e",function(){return qe}),n.d(t,"j",function(){return Ye}),n.d(t,"k",function(){return Ke}),n.d(t,"l",function(){return Xe}),n.d(t,"m",function(){return Je}),n.d(t,"n",function(){return $e}),n.d(t,"o",function(){return Ze}),n.d(t,"p",function(){return Qe}),n.d(t,"q",function(){return et}),n.d(t,"r",function(){return tt}),n.d(t,"s",function(){return nt}),n.d(t,"v",function(){return at}),n.d(t,"w",function(){return ot}),n.d(t,"y",function(){return it}),n.d(t,"z",function(){return rt}),n.d(t,"B",function(){return lt}),n.d(t,"A",function(){return ct});var Fe=function(e){return Object(Ne.cloneElement)(e,{fill:"url(#stackable-gradient)",className:"ugb-stackable-icon-gradient ".concat(e.props.className||"")})};Object(Pe.a)(function(){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(Ne.render)(wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ugb-stackable-gradient",height:"0",width:"0",style:{opacity:0}},wp.element.createElement("defs",null,wp.element.createElement("linearGradient",{id:"stackable-gradient"},wp.element.createElement("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)});var Re=function(){return Fe(wp.element.createElement(u,{width:"20",height:"20",className:"components-panel__icon"}))},De=function(){return wp.element.createElement(u,{width:"20",height:"20"})},Me=function(){return Fe(wp.element.createElement(u,{width:"20",height:"20"}))},ze=function(){return Fe(wp.element.createElement(g,{width:"20",height:"20"}))},Ie=function(){return Fe(wp.element.createElement(f,{width:"20",height:"20"}))},Le=function(){return Fe(wp.element.createElement(y,{width:"20",height:"20"}))},Ue=function(){return Fe(wp.element.createElement(k,{width:"20",height:"20"}))},He=function(){return Fe(wp.element.createElement(C,{width:"20",height:"20"}))},We=function(){return Fe(wp.element.createElement(S,{width:"20",height:"20"}))},Ge=function(){return Fe(wp.element.createElement(A,{width:"20",height:"20"}))},Ve=function(){return Fe(wp.element.createElement(F,{width:"20",height:"20"}))},qe=function(){return Fe(wp.element.createElement(M,{width:"20",height:"20"}))},Ye=function(){return Fe(wp.element.createElement(L,{width:"20",height:"20"}))},Ke=function(){return Fe(wp.element.createElement(W,{width:"20",height:"20"}))},Xe=function(){return Fe(wp.element.createElement(q,{width:"20",height:"20"}))},Je=function(){return Fe(wp.element.createElement(X,{width:"20",height:"20"}))},$e=function(){return Fe(wp.element.createElement(Z,{width:"20",height:"20"}))},Ze=function(){return Fe(wp.element.createElement(te,{width:"20",height:"20"}))},Qe=function(){return Fe(wp.element.createElement(oe,{width:"20",height:"20"}))},et=function(){return Fe(wp.element.createElement(le,{width:"20",height:"20"}))},tt=function(){return Fe(wp.element.createElement(ue,{width:"20",height:"20"}))},nt=function(){return Fe(wp.element.createElement(ge,{width:"20",height:"20"}))},at=function(){return Fe(wp.element.createElement(fe,{width:"20",height:"20"}))},ot=function(){return Fe(wp.element.createElement(ye,{width:"20",height:"20"}))},it=function(){return Fe(wp.element.createElement(ke,{width:"20",height:"20"}))},rt=function(){return Fe(wp.element.createElement(Ce,{width:"20",height:"20"}))},lt=function(){return Fe(wp.element.createElement(Se,{width:"20",height:"20"}))},ct=function(){return Fe(wp.element.createElement(Ae,{width:"20",height:"20"}))}},function(e,t,n){"use strict";var a=n(3),o=n(0),i=n(7),r=n(8),l=n.n(r),c=n(1),s=n(6),u=n(35);function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,i=void 0===o?"center":o,r=e.size,c=void 0===r?"normal":r,p=e.url,g=void 0===p?"":p,m=e.icon,d=void 0===m?null:m,f=e.color,h=e.text,v=e.backgroundColor,y=e.borderRadius,w=e.design,O=void 0===w?"basic":w,k=e.newTab,_=void 0!==k&&k,j={borderRadius:"link"===O?void 0:"plain"===O?void 0:y+"px",backgroundColor:v||void 0,borderColor:"ghost"===O?v:void 0,color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f};j.backgroundColor="ghost"===O?void 0:j.backgroundColor,j.backgroundColor="plain"===O?void 0:j.backgroundColor,j.backgroundColor="link"===O?void 0:j.backgroundColor;var C=l()([a,"ugb-button","ugb-button--align-".concat(i),"ugb-button--size-".concat(c)],(b(t={},"ugb-button--design-".concat(O),"basic"!==O),b(t,"ugb-button--has-icon",d),t));return wp.element.createElement("div",null,wp.element.createElement("a",{className:C,href:g,style:j,target:_?"_blank":void 0,rel:_?"noopener noreferrer":void 0},d&&"link"!==O&&wp.element.createElement(u.a.Content,{value:d,style:{color:"ghost"===O?v:"plain"===O?v:f}}),wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===O?"":"ugb-button--inner",style:{color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f},value:h})))},g=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,i=void 0===o?"center":o,r=e.size,c=void 0===r?"normal":r,p=e.url,g=void 0===p?"":p,m=e.icon,d=void 0===m?null:m,f=e.color,h=e.text,v=e.backgroundColor,y=e.borderRadius,w=e.design,O=void 0===w?"basic":w,k=e.newTab,_=void 0!==k&&k,j={borderRadius:"link"===O?void 0:"plain"===O?void 0:y+"px",backgroundColor:v||void 0,borderColor:"ghost"===O?v:void 0,color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f};j.backgroundColor="ghost"===O?void 0:j.backgroundColor,j.backgroundColor="plain"===O?void 0:j.backgroundColor,j.backgroundColor="link"===O?void 0:j.backgroundColor;var C=l()([a,"ugb-button","ugb-button--align-".concat(i),"ugb-button--size-".concat(c)],(b(t={},"ugb-button--design-".concat(O),"basic"!==O),b(t,"ugb-button--has-icon",d),t));return wp.element.createElement("div",null,wp.element.createElement("a",{className:C,href:g,style:j,target:_?"_blank":void 0},d&&"link"!==O&&wp.element.createElement(u.a.Content,{value:d,style:{color:"ghost"===O?v:"plain"===O?v:f}}),wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===O?"":"ugb-button--inner",style:{color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f},value:h})))},m=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,i=void 0===o?"center":o,r=e.size,c=void 0===r?"normal":r,p=e.url,g=void 0===p?"":p,m=e.icon,d=void 0===m?null:m,f=e.color,h=e.text,v=e.backgroundColor,y=e.borderRadius,w=e.design,O=void 0===w?"basic":w,k={borderRadius:"link"===O?void 0:"plain"===O?void 0:y+"px",backgroundColor:v||void 0,borderColor:"ghost"===O?v:void 0,color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f};k.backgroundColor="ghost"===O?void 0:k.backgroundColor,k.backgroundColor="plain"===O?void 0:k.backgroundColor,k.backgroundColor="link"===O?void 0:k.backgroundColor;var _=l()([a,"ugb-button","ugb-button-".concat(i),"ugb-button-".concat(c)],(b(t={},"ugb-".concat(O,"-button"),"basic"!==O),b(t,"ugb-has-icon",d),t));return wp.element.createElement("div",null,wp.element.createElement("a",{className:_,href:g,style:k},d&&"link"!==O&&wp.element.createElement(u.a,{value:d,style:{color:"ghost"===O?v:"plain"===O?v:f}}),wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===O?"":"ugb-button-inner",style:{color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f},value:h})))},d=m,f=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,i=void 0===o?"center":o,r=e.size,c=void 0===r?"normal":r,p=e.url,g=void 0===p?"":p,m=e.icon,d=void 0===m?null:m,f=e.color,h=e.text,v=e.backgroundColor,y=e.borderRadius,w=e.design,O=void 0===w?"basic":w,k={borderRadius:y+"px",backgroundColor:v||void 0,borderColor:"ghost"===O?v:void 0};k.backgroundColor="ghost"===O?void 0:k.backgroundColor,k.backgroundColor="plain"===O?void 0:k.backgroundColor,k.backgroundColor="link"===O?void 0:k.backgroundColor;var _=l()([a,"ugb-button","ugb-button-".concat(i),"ugb-button-".concat(c)],(b(t={},"ugb-".concat(O,"-button"),"basic"!==O),b(t,"ugb-has-icon",d),t));return wp.element.createElement("div",{className:_,style:k},d&&"link"!==O&&wp.element.createElement(u.a,{value:d,style:{color:"ghost"===O?v:"plain"===O?v:f}}),wp.element.createElement(s.RichText.Content,{tagName:"a",className:"link"===O?"":"ugb-button-inner",href:g,style:{color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f},value:h}))},h=function(e){var t=e.className,n=void 0===t?"":t,a=e.align,o=void 0===a?"center":a,i=e.size,r=void 0===i?"normal":i,c=e.url,u=void 0===c?"":c,b=e.color,p=e.text,g=e.backgroundColor,m={borderRadius:e.borderRadius+"px",backgroundColor:g||void 0},d=l()([n,"ugb-button","ugb-button-".concat(o),"ugb-button-".concat(r)]);return wp.element.createElement("div",{className:d,style:m},wp.element.createElement(s.RichText.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:b},value:p}))},v=function(e){var t=e.align,n=void 0===t?"center":t,a=e.size,o=void 0===a?"normal":a,i=e.url,r=void 0===i?"":i,l=e.color,c=e.text,u=e.backgroundColor,b={borderRadius:e.borderRadius+"px"};return u&&(b.backgroundColor=u),wp.element.createElement("div",{className:"ugb-button ugb-button-".concat(n," ugb-button-").concat(o),style:b},wp.element.createElement(s.RichText.Content,{tagName:"a",className:"ugb-button-inner",href:r,style:{color:l},value:c}))},y=n(10);function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(e){var t=e.setAttributes,n=function(t){return Object(y.camelCase)(Object(o.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.blockAttributes[n(t)];return 0===o?o:o||a};return wp.element.createElement(N,w({design:a("Design",e.designDefault),size:a("Size","normal"),text:a("Text",""),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),icon:a("Icon"),iconPosition:a("IconPosition"),onChange:function(e){return t(O({},n("Text"),e))},url:a("Url"),newTab:a("NewTab"),noFollow:a("NoFollow"),onChangeUrl:function(e){return t(O({},n("Url"),e))},onChangeNewTab:function(e){return t(O({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(O({},n("NoFollow"),e))},onChangeIcon:function(e){return t(O({},n("Icon"),e))},isSelected:e.isSelected},e))};k.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(k.Content=function(e){var t=function(t){return Object(y.camelCase)(Object(o.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.blockAttributes[t(n)];return 0===o?o:o||a};return wp.element.createElement(N.Content,w({design:n("Design",e.designDefault),size:n("Size","normal"),text:n("Text"),icon:n("Icon"),newTab:n("NewTab"),url:n("Url"),noFollow:n("NoFollow"),hoverEffect:n("HoverEffect"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow"),iconPosition:n("IconPosition")},e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var _=k;function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"d",function(){return p}),n.d(t,"c",function(){return g}),n.d(t,"h",function(){return m}),n.d(t,"b",function(){return d}),n.d(t,"g",function(){return f}),n.d(t,"f",function(){return h}),n.d(t,"e",function(){return v}),n.d(t,"a",function(){return _});var T=1,A=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,a=x(t).apply(this,arguments),e=!a||"object"!==j(a)&&"function"!=typeof a?E(n):a,B(E(e),"hideUrlPopup",function(){document.body.removeEventListener("click",e.outsideClickHandler),e.setState({openPopup:!1})}),e.state={openPopup:!1},e.buttonInstanceId=T++,e.onButtonClickHandler=e.onButtonClickHandler.bind(E(e)),e.outsideClickHandler=e.outsideClickHandler.bind(E(e)),e.onKeyPressHandler=e.onKeyPressHandler.bind(E(e)),e}var n,r,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(t,i["Component"]),n=t,(r=[{key:"onButtonClickHandler",value:function(e){if(this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button"));else if(e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-url-input-popover")||e.target.closest(".ugb-icon-popover")||e.target.closest(".components-popover"))return;this.state.openPopup||document.body.addEventListener("click",this.outsideClickHandler),this.setState({openPopup:!0})}},{key:"outsideClickHandler",value:function(e){e.target.closest(".ugb-button-container-".concat(this.buttonInstanceId))||e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")?this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-svg-icon-placeholder__button")&&this.hideUrlPopup():this.hideUrlPopup()}},{key:"onKeyPressHandler",value:function(e){e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")||this.hideUrlPopup()}},{key:"render",value:function(){var e,t=this.props,n=t.iconButton,r=t.className,u=void 0===r?"":r,b=t.size,p=void 0===b?"normal":b,g=t.text,m=void 0===g?"":g,d=t.onChange,f=void 0===d?function(){}:d,h=t.design,v=void 0===h?"basic":h,y=t.shadow,w=void 0===y?0:y,O=t.iconPosition,k=void 0===O?"":O,_=t.hoverEffect,j=void 0===_?"":_,C=t.ghostToNormalEffect,x=void 0!==C&&C,E=t.url,S=void 0===E?"":E,T=t.newTab,A=void 0===T?"":T,N=t.noFollow,P=void 0===N?"":N,F=t.onChangeUrl,R=void 0===F?null:F,D=t.onChangeNewTab,M=void 0===D?null:D,z=t.onChangeNoFollow,I=void 0===z?null:z,L=t.onChangeIcon,U=void 0===L?null:L,H=t.icon,W=void 0===H?null:H,G=t.isSelected,V=void 0===G?null:G,q=l()([u,"ugb-button","ugb-button--size-".concat(p)],(B(e={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":x},"ugb--hover-effect-".concat(j),"link"!==v&&j),B(e,"ugb--shadow-".concat(w),"basic"===v&&w),B(e,"ugb-button--design-".concat(v),"basic"!==v),B(e,"ugb-button--has-icon",W),B(e,"ugb-button--icon-position-".concat(k),k),e)),Y=(null===V||V)&&this.state.openPopup;return wp.element.createElement("div",{className:"ugb-button-container ugb-button-container-".concat(this.buttonInstanceId),onClick:this.onButtonClickHandler,onKeyPress:this.onKeyPressHandler,role:"button",tabIndex:"0"},wp.element.createElement("a",{className:q},W&&"link"!==v&&wp.element.createElement(i.Fragment,null,!U&&wp.element.createElement(a.jb,{value:W}),U&&wp.element.createElement(a.kb,{value:W,onChange:U,isOpen:n?Y:null})),!n&&wp.element.createElement(s.RichText,{tagName:"span",className:"link"===v?"":"ugb-button--inner",placeholder:Object(o.__)("Button text",c.i18n),value:m,onChange:f,withoutInteractiveFormatting:!0,keepPlaceholderOnFocus:!0}),Y&&wp.element.createElement(a.ob,{value:S,onChange:R,newTab:A,noFollow:P,onChangeNewTab:M,onChangeNoFollow:I,disableSuggestions:this.props.disableSuggestions})))}}])&&C(n.prototype,r),u&&C(n,u),t}();A.defaultProps={iconButton:!1,disableSuggestions:!1,className:"",size:"normal",text:"",onChange:function(){},design:"basic",shadow:0,iconPosition:"",hoverEffect:"",ghostToNormalEffect:!1,url:"",newTab:"",noFollow:"",onChangeUrl:null,onChangeNewTab:null,onChangeNoFollow:null,onChangeIcon:null,icon:null,isSelected:null},A.Content=function(e){var t,n=e.iconButton,o=e.className,i=void 0===o?"":o,r=e.size,c=void 0===r?"normal":r,u=e.url,b=void 0===u?"":u,p=e.icon,g=void 0===p?null:p,m=e.text,d=void 0===m?"":m,f=e.design,h=void 0===f?"basic":f,v=e.newTab,y=void 0!==v&&v,w=e.shadow,O=void 0===w?0:w,k=e.iconPosition,_=void 0!==k&&k,j=e.hoverEffect,C=void 0===j?"":j,x=e.noFollow,E=void 0!==x&&x,S=e.ghostToNormalEffect,T=void 0!==S&&S,A=e.target,N=void 0===A?"":A,P=l()([i,"ugb-button","ugb-button--size-".concat(c)],(B(t={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":T},"ugb--hover-effect-".concat(C),"link"!==h&&C),B(t,"ugb--shadow-".concat(O),"basic"===h&&O),B(t,"ugb-button--design-".concat(h),"basic"!==h),B(t,"ugb-button--has-icon",g),B(t,"ugb-button--icon-position-".concat(_),_),t)),F=[];return y&&(F.push("noopener"),F.push("noreferrer")),E&&F.push("nofollow"),wp.element.createElement("div",{className:"ugb-button-container"},(d||n)&&wp.element.createElement("a",{className:P,href:b,target:N||y?N||"_blank":void 0,rel:e.rel||F.join(" ")},g&&"link"!==h&&wp.element.createElement(a.jb.Content,{value:g}),!n&&wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===h?"":"ugb-button--inner",value:d})))};var N=t.i=A},function(e,t){e.exports=wp.blocks},,,,,,,,,,function(e,t){e.exports=wp.apiFetch},,,function(e,t,n){"use strict";n.d(t,"b",function(){return m});var a=n(0),o=n(9),i=n(12),r=n(25),l=n(26),c=n(27),s=n(23),u=n(1),b=n(10),p=n(3);function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var m=function(e){return"string"!=typeof e?null:e.match(/\w*-/)?[e.match(/\w*/),e.match(/\w+-(.*)$/)[1]]:null},d=Object(i.withInstanceId)(Object(i.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,i=e.clickedOnButton,d=e.setState,f=m(e.value),h=function(e){var t=m(e);if(!t)return!1;var n=e.match(/^\w*/)[0];if(!["fab","far","fas"].includes(n))return!1;var a={fab:r.a,far:l.a,fas:c.a};return Object.values(a[n]).filter(function(e){return e.iconName===t[1]}).length>0}(e.value);return wp.element.createElement(o.BaseControl,g({className:"ugb-icon-control ugb-icon-control-".concat(t)},Object(b.omit)(e,["onChange","value"])),wp.element.createElement("div",{className:"ugb-icon-control__wrapper"},wp.element.createElement("div",{className:"ugb-icon-control__button-wrapper"},wp.element.createElement(o.Button,{isDefault:!0,className:"ugb-icon-control__icon-button",onClick:function(){d(i?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},h&&wp.element.createElement(s.a,{icon:f}),!h&&wp.element.createElement(s.a,{icon:["far","smile"],style:{opacity:.3}})),n&&wp.element.createElement(p.J,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-icon-control-".concat(t))?d({clickedOnButton:!0}):d({openPopover:!1,clickedOnButton:!1})},onClose:function(){return d({openPopover:!1})},onChange:e.onChange})),wp.element.createElement(o.Button,{onClick:function(){e.onChange(""),d({openPopover:!1})},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(a.__)("Reset",u.i18n))))}));d.defaultProps={label:Object(a.__)("Icon",u.i18n),value:"",onChange:function(){}},t.a=d},function(e,t){e.exports=wp.editPost},,,function(e,t,n){"use strict";n.d(t,"a",function(){return s});var a=n(31),o=n(25),i=n(26),r=n(27),l=n(23);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}n(21).c.add(o.a,i.a,r.a);var s=function(e){var t=e.value,n=e.color,o=e.style,i=void 0===o?{}:o,r=e.className,c=void 0===r?"":r,s=Object(a.b)(t);return s&&wp.element.createElement(l.a,{color:n,style:i,icon:s,className:c})};s.Content=function(e){var t=e.value,n=Object(a.b)(t);return n&&wp.element.createElement(l.a,c({focusable:void 0,icon:n},e))}},,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return s});var a=n(2),o=function(e){var t=i(e);if(t){var n=r(t);l(n),c(t)}return t},i=function(e){return document.querySelector(".ugb-panel--".concat(e))},r=function(e){var t=e.closest(".ugb-inspector-panel-controls");if(!t)return null;var n=t.getAttribute("class").match(/ugb-panel-(\w+)/);if(n){var a=n[1];return document.querySelector(".ugb-tab--".concat(a))}return null},l=function(e){e&&(e.classList.contains("is-active")||e.click())},c=function(e){if(e){if(!e.classList.contains("is-opened")){var t=e.querySelector("button");t&&t.click()}s(e)}},s=function(e){var t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar"),o=e.getBoundingClientRect().top+2;if(o-=t?t.getBoundingClientRect().height:0,o-=n.getBoundingClientRect().top,!Object(a.cb)()){var i=document.querySelector(".edit-post-sidebar-header");o-=i?i.getBoundingClientRect().height-1:0}document.querySelector(".edit-post-sidebar").scrollTop+=o}},function(e,t){e.exports=wp.richText},,,,,,function(e,t){e.exports=wp.codeEditor},function(e,t){e.exports=wp.plugins},function(e,t){e.exports="dist/videos/help/alignment-image.mp4"},function(e,t){e.exports="dist/videos/help/spacing-image.mp4"},function(e,t){e.exports=wp.api},,,,,,,,,function(e,t){e.exports="dist/videos/help/typography-family.mp4"},function(e,t){e.exports="dist/videos/help/alignment-title.mp4"},function(e,t){e.exports="dist/videos/help/spacing-title.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-margins.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-paddings.mp4"},function(e,t){e.exports="dist/videos/help/accordion-border-size.mp4"},,function(e,t){e.exports=wp.date},,,,,,,,,,,,,,,,,function(e,t){e.exports="dist/images/components-image-shape-control-default.f59a6f2.png"},function(e,t){e.exports="dist/images/components-image-shape-control-square.54ea536.png"},function(e,t){e.exports="dist/images/components-image-shape-control-circle.9bd9f74.png"},function(e,t){e.exports="dist/images/components-image-shape-control-blob1.8e07b2a.png"},,function(e){e.exports=JSON.parse('[{"family":"ABeeZee","variants":["regular","italic"],"subsets":["latin"]},{"family":"Abel","variants":["regular"],"subsets":["latin"]},{"family":"Abhaya Libre","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Abril Fatface","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aclonica","variants":["regular"],"subsets":["latin"]},{"family":"Acme","variants":["regular"],"subsets":["latin"]},{"family":"Actor","variants":["regular"],"subsets":["latin"]},{"family":"Adamina","variants":["regular"],"subsets":["latin"]},{"family":"Advent Pro","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","latin","latin-ext"]},{"family":"Aguafina Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Akronim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aladin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alata","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alatsi","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aldrich","variants":["regular"],"subsets":["latin"]},{"family":"Alef","variants":["regular","700"],"subsets":["hebrew","latin"]},{"family":"Alegreya","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya SC","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans SC","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Aleo","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Alex Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alfa Slab One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alice","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Alike","variants":["regular"],"subsets":["latin"]},{"family":"Alike Angular","variants":["regular"],"subsets":["latin"]},{"family":"Allan","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Allerta","variants":["regular"],"subsets":["latin"]},{"family":"Allerta Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Allura","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almarai","variants":["300","regular","700","800"],"subsets":["arabic"]},{"family":"Almendra","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Almendra Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almendra SC","variants":["regular"],"subsets":["latin"]},{"family":"Amarante","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Amaranth","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Amatic SC","variants":["regular","700"],"subsets":["cyrillic","hebrew","latin","latin-ext","vietnamese"]},{"family":"Amethysta","variants":["regular"],"subsets":["latin"]},{"family":"Amiko","variants":["regular","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Amiri","variants":["regular","italic","700","700italic"],"subsets":["arabic","latin","latin-ext"]},{"family":"Amita","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Anaheim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andada","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andika","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Angkor","variants":["regular"],"subsets":["khmer"]},{"family":"Annie Use Your Telescope","variants":["regular"],"subsets":["latin"]},{"family":"Anonymous Pro","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Antic","variants":["regular"],"subsets":["latin"]},{"family":"Antic Didone","variants":["regular"],"subsets":["latin"]},{"family":"Antic Slab","variants":["regular"],"subsets":["latin"]},{"family":"Anton","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Arapey","variants":["regular","italic"],"subsets":["latin"]},{"family":"Arbutus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arbutus Slab","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Architects Daughter","variants":["regular"],"subsets":["latin"]},{"family":"Archivo","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Archivo Black","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Archivo Narrow","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aref Ruqaa","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Arimo","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Arizonia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Armata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arsenal","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Artifika","variants":["regular"],"subsets":["latin"]},{"family":"Arvo","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Arya","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asap","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asap Condensed","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asar","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asset","variants":["regular"],"subsets":["latin"]},{"family":"Assistant","variants":["200","300","regular","600","700","800"],"subsets":["hebrew","latin"]},{"family":"Astloch","variants":["regular","700"],"subsets":["latin"]},{"family":"Asul","variants":["regular","700"],"subsets":["latin"]},{"family":"Athiti","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Atma","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Atomic Age","variants":["regular"],"subsets":["latin"]},{"family":"Aubrey","variants":["regular"],"subsets":["latin"]},{"family":"Audiowide","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Autour One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Gruesa Libre","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Sans Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Serif Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612 Mono","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Bad Script","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Bahiana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bahianita","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bai Jamjuree","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Baloo 2","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhai 2","variants":["regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhaina 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","oriya","vietnamese"]},{"family":"Baloo Chettan 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","malayalam","vietnamese"]},{"family":"Baloo Da 2","variants":["regular","500","600","700","800"],"subsets":["bengali","latin","latin-ext","vietnamese"]},{"family":"Baloo Paaji 2","variants":["regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext","vietnamese"]},{"family":"Baloo Tamma 2","variants":["regular","500","600","700","800"],"subsets":["kannada","latin","latin-ext","vietnamese"]},{"family":"Baloo Tammudu 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","telugu","vietnamese"]},{"family":"Baloo Thambi 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Balsamiq Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Balthazar","variants":["regular"],"subsets":["latin"]},{"family":"Bangers","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Semi Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barriecito","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barrio","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Basic","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Baskervville","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Battambang","variants":["regular","700"],"subsets":["khmer"]},{"family":"Baumans","variants":["regular"],"subsets":["latin"]},{"family":"Bayon","variants":["regular"],"subsets":["khmer"]},{"family":"Be Vietnam","variants":["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Belgrano","variants":["regular"],"subsets":["latin"]},{"family":"Bellefair","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Belleza","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bellota","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Bellota Text","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"BenchNine","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bentham","variants":["regular"],"subsets":["latin"]},{"family":"Berkshire Swash","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Beth Ellen","variants":["regular"],"subsets":["latin"]},{"family":"Bevan","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Display","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Text","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bigelow Rules","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bigshot One","variants":["regular"],"subsets":["latin"]},{"family":"Bilbo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bilbo Swash Caps","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme Expanded","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Biryani","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Bitter","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Black And White Picture","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Han Sans","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Ops One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Blinker","variants":["100","200","300","regular","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Bokor","variants":["regular"],"subsets":["khmer"]},{"family":"Bonbon","variants":["regular"],"subsets":["latin"]},{"family":"Boogaloo","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brawler","variants":["regular"],"subsets":["latin"]},{"family":"Bree Serif","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubblegum Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubbler One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Buda","variants":["300"],"subsets":["latin"]},{"family":"Buenard","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bungee","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Hairline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Inline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Outline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Shade","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Butcherman","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Butterfly Kids","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cabin","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Condensed","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Sketch","variants":["regular","700"],"subsets":["latin"]},{"family":"Caesar Dressing","variants":["regular"],"subsets":["latin"]},{"family":"Cagliostro","variants":["regular"],"subsets":["latin"]},{"family":"Cairo","variants":["200","300","regular","600","700","900"],"subsets":["arabic","latin","latin-ext"]},{"family":"Caladea","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Calistoga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Calligraffitti","variants":["regular"],"subsets":["latin"]},{"family":"Cambay","variants":["regular","italic","700","700italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Cambo","variants":["regular"],"subsets":["latin"]},{"family":"Candal","variants":["regular"],"subsets":["latin"]},{"family":"Cantarell","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Cantata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cantora One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Capriola","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cardo","variants":["regular","italic","700"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Carme","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic SC","variants":["regular"],"subsets":["latin"]},{"family":"Carter One","variants":["regular"],"subsets":["latin"]},{"family":"Catamaran","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tamil"]},{"family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Caveat","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Caveat Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cedarville Cursive","variants":["regular"],"subsets":["latin"]},{"family":"Ceviche One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chakra Petch","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Changa","variants":["200","300","regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext"]},{"family":"Changa One","variants":["regular","italic"],"subsets":["latin"]},{"family":"Chango","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Charm","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Charmonman","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Chathura","variants":["100","300","regular","700","800"],"subsets":["latin","telugu"]},{"family":"Chau Philomene One","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Chela One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chelsea Market","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chenla","variants":["regular"],"subsets":["khmer"]},{"family":"Cherry Cream Soda","variants":["regular"],"subsets":["latin"]},{"family":"Cherry Swash","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Chewy","variants":["regular"],"subsets":["latin"]},{"family":"Chicle","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chilanka","variants":["regular"],"subsets":["latin","malayalam"]},{"family":"Chivo","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Chonburi","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Cinzel","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Cinzel Decorative","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Clicker Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Coda","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Coda Caption","variants":["800"],"subsets":["latin","latin-ext"]},{"family":"Codystar","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Coiny","variants":["regular"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Combo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Comfortaa","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Comic Neue","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Coming Soon","variants":["regular"],"subsets":["latin"]},{"family":"Concert One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Condiment","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Content","variants":["regular","700"],"subsets":["khmer"]},{"family":"Contrail One","variants":["regular"],"subsets":["latin"]},{"family":"Convergence","variants":["regular"],"subsets":["latin"]},{"family":"Cookie","variants":["regular"],"subsets":["latin"]},{"family":"Copse","variants":["regular"],"subsets":["latin"]},{"family":"Corben","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Cormorant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Garamond","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Infant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant SC","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Unicase","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Upright","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Courgette","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Courier Prime","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Cousine","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Coustard","variants":["regular","900"],"subsets":["latin"]},{"family":"Covered By Your Grace","variants":["regular"],"subsets":["latin"]},{"family":"Crafty Girls","variants":["regular"],"subsets":["latin"]},{"family":"Creepster","variants":["regular"],"subsets":["latin"]},{"family":"Crete Round","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Crimson Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Crimson Text","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Croissant One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Crushed","variants":["regular"],"subsets":["latin"]},{"family":"Cuprum","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cute Font","variants":["regular"],"subsets":["korean","latin"]},{"family":"Cutive","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cutive Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"DM Mono","variants":["300","300italic","regular","italic","500","500italic"],"subsets":["latin","latin-ext"]},{"family":"DM Sans","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Display","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Text","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Damion","variants":["regular"],"subsets":["latin"]},{"family":"Dancing Script","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dangrek","variants":["regular"],"subsets":["khmer"]},{"family":"Darker Grotesque","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"David Libre","variants":["regular","500","700"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Dawning of a New Day","variants":["regular"],"subsets":["latin"]},{"family":"Days One","variants":["regular"],"subsets":["latin"]},{"family":"Dekko","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Delius","variants":["regular"],"subsets":["latin"]},{"family":"Delius Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Delius Unicase","variants":["regular","700"],"subsets":["latin"]},{"family":"Della Respira","variants":["regular"],"subsets":["latin"]},{"family":"Denk One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Devonshire","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dhurjati","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Didact Gothic","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Diplomata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Diplomata SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Do Hyeon","variants":["regular"],"subsets":["korean","latin"]},{"family":"Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Domine","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Donegal One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Doppio One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dorsa","variants":["regular"],"subsets":["latin"]},{"family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dr Sugiyama","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Duru Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dynalight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"EB Garamond","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Eagle Lake","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"East Sea Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Eater","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Economica","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Eczar","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"El Messiri","variants":["regular","500","600","700"],"subsets":["arabic","cyrillic","latin"]},{"family":"Electrolize","variants":["regular"],"subsets":["latin"]},{"family":"Elsie","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Elsie Swash Caps","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Emblema One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Emilys Candy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Encode Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Engagement","variants":["regular"],"subsets":["latin"]},{"family":"Englebert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Enriqueta","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Erica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Esteban","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Euphoria Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ewert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Exo","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Exo 2","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Expletus Sans","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Fahkwang","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Fanwood Text","variants":["regular","italic"],"subsets":["latin"]},{"family":"Farro","variants":["300","regular","500","700"],"subsets":["latin","latin-ext"]},{"family":"Farsan","variants":["regular"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Fascinate","variants":["regular"],"subsets":["latin"]},{"family":"Fascinate Inline","variants":["regular"],"subsets":["latin"]},{"family":"Faster One","variants":["regular"],"subsets":["latin"]},{"family":"Fasthand","variants":["regular"],"subsets":["khmer"]},{"family":"Fauna One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Faustina","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Federant","variants":["regular"],"subsets":["latin"]},{"family":"Federo","variants":["regular"],"subsets":["latin"]},{"family":"Felipa","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fenix","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Finger Paint","variants":["regular"],"subsets":["latin"]},{"family":"Fira Code","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Mono","variants":["regular","500","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Extra Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fjalla One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fjord One","variants":["regular"],"subsets":["latin"]},{"family":"Flamenco","variants":["300","regular"],"subsets":["latin"]},{"family":"Flavors","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fondamento","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Fontdiner Swanky","variants":["regular"],"subsets":["latin"]},{"family":"Forum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Francois One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Frank Ruhl Libre","variants":["300","regular","500","700","900"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Freckle Face","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredericka the Great","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredoka One","variants":["regular"],"subsets":["latin"]},{"family":"Freehand","variants":["regular"],"subsets":["khmer"]},{"family":"Fresca","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Frijole","variants":["regular"],"subsets":["latin"]},{"family":"Fruktur","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fugaz One","variants":["regular"],"subsets":["latin"]},{"family":"GFS Didot","variants":["regular"],"subsets":["greek"]},{"family":"GFS Neohellenic","variants":["regular","italic","700","700italic"],"subsets":["greek"]},{"family":"Gabriela","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["korean","latin"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Galada","variants":["regular"],"subsets":["bengali","latin"]},{"family":"Galdeano","variants":["regular"],"subsets":["latin"]},{"family":"Galindo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gamja Flower","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gayathri","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Gelasio","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gentium Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Gentium Book Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Geo","variants":["regular","italic"],"subsets":["latin"]},{"family":"Geostar","variants":["regular"],"subsets":["latin"]},{"family":"Geostar Fill","variants":["regular"],"subsets":["latin"]},{"family":"Germania One","variants":["regular"],"subsets":["latin"]},{"family":"Gidugu","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Gilda Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Girassol","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Give You Glory","variants":["regular"],"subsets":["latin"]},{"family":"Glass Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Glegoo","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Gloria Hallelujah","variants":["regular"],"subsets":["latin"]},{"family":"Goblin One","variants":["regular"],"subsets":["latin"]},{"family":"Gochi Hand","variants":["regular"],"subsets":["latin"]},{"family":"Gorditas","variants":["regular","700"],"subsets":["latin"]},{"family":"Gothic A1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin"]},{"family":"Gotu","variants":["regular"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Goudy Bookletter 1911","variants":["regular"],"subsets":["latin"]},{"family":"Graduate","variants":["regular"],"subsets":["latin"]},{"family":"Grand Hotel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gravitas One","variants":["regular"],"subsets":["latin"]},{"family":"Great Vibes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grenze","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Griffy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gruppo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gudea","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Gugi","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gupter","variants":["regular","500","700"],"subsets":["latin"]},{"family":"Gurajada","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Habibi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Halant","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hammersmith One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei Fill","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Handlee","variants":["regular"],"subsets":["latin"]},{"family":"Hanuman","variants":["regular","700"],"subsets":["khmer"]},{"family":"Happy Monkey","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Harmattan","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Headland One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Heebo","variants":["100","300","regular","500","700","800","900"],"subsets":["hebrew","latin"]},{"family":"Henny Penny","variants":["regular"],"subsets":["latin"]},{"family":"Hepta Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Herr Von Muellerhoff","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hi Melody","variants":["regular"],"subsets":["korean","latin"]},{"family":"Hind","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hind Guntur","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","telugu"]},{"family":"Hind Madurai","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","tamil"]},{"family":"Hind Siliguri","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Hind Vadodara","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Holtwood One SC","variants":["regular"],"subsets":["latin"]},{"family":"Homemade Apple","variants":["regular"],"subsets":["latin"]},{"family":"Homenaje","variants":["regular"],"subsets":["latin"]},{"family":"IBM Plex Mono","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"IBM Plex Serif","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IM Fell DW Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell DW Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Double Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Double Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell English","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell English SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell French Canon","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell French Canon SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Great Primer","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Great Primer SC","variants":["regular"],"subsets":["latin"]},{"family":"Ibarra Real Nova","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imprima","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Inconsolata","variants":["200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Inder","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Indie Flower","variants":["regular"],"subsets":["latin"]},{"family":"Inika","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Inknut Antiqua","variants":["300","regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Inria Sans","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inria Serif","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inter","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Irish Grover","variants":["regular"],"subsets":["latin"]},{"family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Italiana","variants":["regular"],"subsets":["latin"]},{"family":"Italianno","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Itim","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Jacques Francois","variants":["regular"],"subsets":["latin"]},{"family":"Jacques Francois Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Jaldi","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Jim Nightshade","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jockey One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jolly Lodger","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jomhuria","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Jomolhari","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Josefin Sans","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Josefin Slab","variants":["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Jost","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Joti One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jua","variants":["regular"],"subsets":["korean","latin"]},{"family":"Judson","variants":["regular","italic","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Julee","variants":["regular"],"subsets":["latin"]},{"family":"Julius Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Junge","variants":["regular"],"subsets":["latin"]},{"family":"Jura","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Just Another Hand","variants":["regular"],"subsets":["latin"]},{"family":"Just Me Again Down Here","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"K2D","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kadwa","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Kalam","variants":["300","regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kameron","variants":["regular","700"],"subsets":["latin"]},{"family":"Kanit","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kantumruy","variants":["300","regular","700"],"subsets":["khmer"]},{"family":"Karla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Karma","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Katibeh","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Kaushan Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kavivanar","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Kavoon","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kdam Thmor","variants":["regular"],"subsets":["khmer"]},{"family":"Keania One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kelly Slab","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Kenia","variants":["regular"],"subsets":["latin"]},{"family":"Khand","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Khmer","variants":["regular"],"subsets":["khmer"]},{"family":"Khula","variants":["300","regular","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kirang Haerang","variants":["regular"],"subsets":["korean","latin"]},{"family":"Kite One","variants":["regular"],"subsets":["latin"]},{"family":"Knewave","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"KoHo","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kodchasan","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kosugi","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kosugi Maru","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kotta One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Koulen","variants":["regular"],"subsets":["khmer"]},{"family":"Kranky","variants":["regular"],"subsets":["latin"]},{"family":"Kreon","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Kristi","variants":["regular"],"subsets":["latin"]},{"family":"Krona One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Krub","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kulim Park","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Kumar One","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumar One Outline","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kurale","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"La Belle Aurore","variants":["regular"],"subsets":["latin"]},{"family":"Lacquer","variants":["regular"],"subsets":["latin"]},{"family":"Laila","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Lakki Reddy","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Lalezar","variants":["regular"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lancelot","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lateef","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"League Script","variants":["regular"],"subsets":["latin"]},{"family":"Leckerli One","variants":["regular"],"subsets":["latin"]},{"family":"Ledger","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Lekton","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Lemon","variants":["regular"],"subsets":["latin"]},{"family":"Lemonada","variants":["300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lexend Deca","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Exa","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Giga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Mega","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Peta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Tera","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Zetta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Libre Barcode 128","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 128 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Text","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Franklin","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Life Savers","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Lilita One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lily Script One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Limelight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Linden Hill","variants":["regular","italic"],"subsets":["latin"]},{"family":"Literata","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Liu Jian Mao Cao","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Livvic","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lobster","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Lobster Two","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Londrina Outline","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Sketch","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Solid","variants":["100","300","regular","900"],"subsets":["latin"]},{"family":"Long Cang","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Lora","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Love Ya Like A Sister","variants":["regular"],"subsets":["latin"]},{"family":"Loved by the King","variants":["regular"],"subsets":["latin"]},{"family":"Lovers Quarrel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Luckiest Guy","variants":["regular"],"subsets":["latin"]},{"family":"Lusitana","variants":["regular","700"],"subsets":["latin"]},{"family":"Lustria","variants":["regular"],"subsets":["latin"]},{"family":"M PLUS 1p","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS Rounded 1c","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"Ma Shan Zheng","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Macondo","variants":["regular"],"subsets":["latin"]},{"family":"Macondo Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Mada","variants":["200","300","regular","500","600","700","900"],"subsets":["arabic","latin"]},{"family":"Magra","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Maiden Orange","variants":["regular"],"subsets":["latin"]},{"family":"Maitree","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Major Mono Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mako","variants":["regular"],"subsets":["latin"]},{"family":"Mali","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Mallanna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Mandali","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Manjari","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Manrope","variants":["200","300","regular","500","600","700","800"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Mansalva","variants":["regular"],"subsets":["latin"]},{"family":"Manuale","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Marcellus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marcellus SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marck Script","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Margarine","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Markazi Text","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Marko One","variants":["regular"],"subsets":["latin"]},{"family":"Marmelad","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Martel","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Martel Sans","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Marvel","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Mate","variants":["regular","italic"],"subsets":["latin"]},{"family":"Mate SC","variants":["regular"],"subsets":["latin"]},{"family":"Maven Pro","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"McLaren","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Meddon","variants":["regular"],"subsets":["latin"]},{"family":"MedievalSharp","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Medula One","variants":["regular"],"subsets":["latin"]},{"family":"Meera Inimai","variants":["regular"],"subsets":["latin","tamil"]},{"family":"Megrim","variants":["regular"],"subsets":["latin"]},{"family":"Meie Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Merienda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Merienda One","variants":["regular"],"subsets":["latin"]},{"family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Merriweather Sans","variants":["300","300italic","regular","italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Metal","variants":["regular"],"subsets":["khmer"]},{"family":"Metal Mania","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metamorphous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metrophobic","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Michroma","variants":["regular"],"subsets":["latin"]},{"family":"Milonga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Miltonian","variants":["regular"],"subsets":["latin"]},{"family":"Miltonian Tattoo","variants":["regular"],"subsets":["latin"]},{"family":"Mina","variants":["regular","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Miniver","variants":["regular"],"subsets":["latin"]},{"family":"Miriam Libre","variants":["regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Mirza","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Miss Fajardose","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mitr","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Modak","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Modern Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mogra","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Molengo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Molle","variants":["italic"],"subsets":["latin","latin-ext"]},{"family":"Monda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Monofett","variants":["regular"],"subsets":["latin"]},{"family":"Monoton","variants":["regular"],"subsets":["latin"]},{"family":"Monsieur La Doulaise","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Montaga","variants":["regular"],"subsets":["latin"]},{"family":"Montez","variants":["regular"],"subsets":["latin"]},{"family":"Montserrat","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Alternates","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Subrayada","variants":["regular","700"],"subsets":["latin"]},{"family":"Moul","variants":["regular"],"subsets":["khmer"]},{"family":"Moulpali","variants":["regular"],"subsets":["khmer"]},{"family":"Mountains of Christmas","variants":["regular","700"],"subsets":["latin"]},{"family":"Mouse Memoirs","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Bedfort","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Dafoe","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr De Haviland","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Saint Delafield","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Sheppards","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mukta","variants":["200","300","regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Mukta Mahee","variants":["200","300","regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Mukta Malar","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil"]},{"family":"Mukta Vaani","variants":["200","300","regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Muli","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mystery Quest","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"NTR","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Nanum Brush Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Nanum Gothic","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Gothic Coding","variants":["regular","700"],"subsets":["korean","latin"]},{"family":"Nanum Myeongjo","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Pen Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Neucha","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Neuton","variants":["200","300","regular","italic","700","800"],"subsets":["latin","latin-ext"]},{"family":"New Rocker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Niconne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Niramit","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Nixie One","variants":["regular"],"subsets":["latin"]},{"family":"Nobile","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Nokora","variants":["regular","700"],"subsets":["khmer"]},{"family":"Norican","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Nosifer","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Notable","variants":["regular"],"subsets":["latin"]},{"family":"Nothing You Could Do","variants":["regular"],"subsets":["latin"]},{"family":"Noticia Text","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans HK","variants":["100","300","regular","500","700","900"],"subsets":["chinese-hongkong","latin"]},{"family":"Noto Sans JP","variants":["100","300","regular","500","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Sans KR","variants":["100","300","regular","500","700","900"],"subsets":["korean","latin"]},{"family":"Noto Sans SC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif JP","variants":["200","300","regular","500","600","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Serif KR","variants":["200","300","regular","500","600","700","900"],"subsets":["korean","latin"]},{"family":"Noto Serif SC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Serif TC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Nova Cut","variants":["regular"],"subsets":["latin"]},{"family":"Nova Flat","variants":["regular"],"subsets":["latin"]},{"family":"Nova Mono","variants":["regular"],"subsets":["greek","latin"]},{"family":"Nova Oval","variants":["regular"],"subsets":["latin"]},{"family":"Nova Round","variants":["regular"],"subsets":["latin"]},{"family":"Nova Script","variants":["regular"],"subsets":["latin"]},{"family":"Nova Slim","variants":["regular"],"subsets":["latin"]},{"family":"Nova Square","variants":["regular"],"subsets":["latin"]},{"family":"Numans","variants":["regular"],"subsets":["latin"]},{"family":"Nunito","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Nunito Sans","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Odibee Sans","variants":["regular"],"subsets":["latin"]},{"family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer"]},{"family":"Offside","variants":["regular"],"subsets":["latin"]},{"family":"Old Standard TT","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Oldenburg","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script Swash Caps","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Open Sans","variants":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Oranienbaum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orbitron","variants":["regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Oregano","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Orienta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Original Surfer","variants":["regular"],"subsets":["latin"]},{"family":"Oswald","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Over the Rainbow","variants":["regular"],"subsets":["latin"]},{"family":"Overlock","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overlock SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Overpass","variants":["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overpass Mono","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Ovo","variants":["regular"],"subsets":["latin"]},{"family":"Oxanium","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Oxygen","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oxygen Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"PT Mono","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Caption","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Narrow","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif Caption","variants":["regular","italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Pacifico","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Padauk","variants":["regular","700"],"subsets":["latin","myanmar"]},{"family":"Palanquin","variants":["100","200","300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Palanquin Dark","variants":["regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Pangolin","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Paprika","variants":["regular"],"subsets":["latin"]},{"family":"Parisienne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passero One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passion One","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Pathway Gothic One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Patrick Hand","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Patrick Hand SC","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Pattaya","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","thai","vietnamese"]},{"family":"Patua One","variants":["regular"],"subsets":["latin"]},{"family":"Pavanam","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Paytone One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Peddana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Peralta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Permanent Marker","variants":["regular"],"subsets":["latin"]},{"family":"Petit Formal Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Petrona","variants":["regular"],"subsets":["latin"]},{"family":"Philosopher","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Piedra","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Pinyon Script","variants":["regular"],"subsets":["latin"]},{"family":"Pirata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Plaster","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Play","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Playball","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Playfair Display","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Podkova","variants":["regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Poiret One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Poller One","variants":["regular"],"subsets":["latin"]},{"family":"Poly","variants":["regular","italic"],"subsets":["latin"]},{"family":"Pompiere","variants":["regular"],"subsets":["latin"]},{"family":"Pontano Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Poor Story","variants":["regular"],"subsets":["korean","latin"]},{"family":"Poppins","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Port Lligat Sans","variants":["regular"],"subsets":["latin"]},{"family":"Port Lligat Slab","variants":["regular"],"subsets":["latin"]},{"family":"Pragati Narrow","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Prata","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Preahvihear","variants":["regular"],"subsets":["khmer"]},{"family":"Press Start 2P","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Pridi","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Princess Sofia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Prociono","variants":["regular"],"subsets":["latin"]},{"family":"Prompt","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Prosto One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Proza Libre","variants":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Public Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Puritan","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Purple Purse","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quando","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quantico","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Quattrocento","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Quattrocento Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Questrial","variants":["regular"],"subsets":["latin"]},{"family":"Quicksand","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quintessential","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qwigley","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Racing Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Radley","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rajdhani","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rakkas","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Raleway","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Raleway Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ramabhadra","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Ramaraja","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Rambla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Rammetto One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ranchers","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rancho","variants":["regular"],"subsets":["latin"]},{"family":"Ranga","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rasa","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Rationale","variants":["regular"],"subsets":["latin"]},{"family":"Ravi Prakash","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Red Hat Display","variants":["regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Text","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Redressed","variants":["regular"],"subsets":["latin"]},{"family":"Reem Kufi","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Reenie Beanie","variants":["regular"],"subsets":["latin"]},{"family":"Revalia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rhodium Libre","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Ribeye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ribeye Marrow","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Righteous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Risque","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Roboto","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Mono","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Rochester","variants":["regular"],"subsets":["latin"]},{"family":"Rock Salt","variants":["regular"],"subsets":["latin"]},{"family":"Rokkitt","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Romanesco","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ropa Sans","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rosario","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rosarivo","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rouge Script","variants":["regular"],"subsets":["latin"]},{"family":"Rozha One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rubik","variants":["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","hebrew","latin","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruda","variants":["regular","500","600","700","800","900"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Rufina","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Ruge Boogie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruluko","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rum Raisin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruslan Display","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Russo One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruthie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sacramento","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sahitya","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Sail","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Saira","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Extra Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Stencil One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Salsa","variants":["regular"],"subsets":["latin"]},{"family":"Sanchez","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Sancreek","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sansita","variants":["regular","italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Sarabun","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Sarala","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sarina","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sarpanch","variants":["regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Satisfy","variants":["regular"],"subsets":["latin"]},{"family":"Sawarabi Gothic","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Sawarabi Mincho","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Scada","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Scheherazade","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Schoolbell","variants":["regular"],"subsets":["latin"]},{"family":"Scope One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seaweed Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Secular One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sedgwick Ave","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sedgwick Ave Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sen","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sevillana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seymour One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Shadows Into Light","variants":["regular"],"subsets":["latin"]},{"family":"Shadows Into Light Two","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Shanti","variants":["regular"],"subsets":["latin"]},{"family":"Share","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Share Tech","variants":["regular"],"subsets":["latin"]},{"family":"Share Tech Mono","variants":["regular"],"subsets":["latin"]},{"family":"Shojumaru","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Short Stack","variants":["regular"],"subsets":["latin"]},{"family":"Shrikhand","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Siemreap","variants":["regular"],"subsets":["khmer"]},{"family":"Sigmar One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Signika Negative","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Simonetta","variants":["regular","italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Single Day","variants":["regular"],"subsets":["korean"]},{"family":"Sintony","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sirin Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Six Caps","variants":["regular"],"subsets":["latin"]},{"family":"Skranji","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Slabo 13px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slabo 27px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slackey","variants":["regular"],"subsets":["latin"]},{"family":"Smokum","variants":["regular"],"subsets":["latin"]},{"family":"Smythe","variants":["regular"],"subsets":["latin"]},{"family":"Sniglet","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Snippet","variants":["regular"],"subsets":["latin"]},{"family":"Snowburst One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sofadi One","variants":["regular"],"subsets":["latin"]},{"family":"Sofia","variants":["regular"],"subsets":["latin"]},{"family":"Solway","variants":["300","regular","500","700","800"],"subsets":["latin"]},{"family":"Song Myung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sonsie One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sorts Mill Goudy","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Source Code Pro","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Source Sans Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Serif Pro","variants":["regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Space Mono","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Spartan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Special Elite","variants":["regular"],"subsets":["latin"]},{"family":"Spectral","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spectral SC","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spicy Rice","variants":["regular"],"subsets":["latin"]},{"family":"Spinnaker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Spirax","variants":["regular"],"subsets":["latin"]},{"family":"Squada One","variants":["regular"],"subsets":["latin"]},{"family":"Sree Krushnadevaraya","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Sriracha","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Srisakdi","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Staatliches","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalemate","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalinist One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Stardos Stencil","variants":["regular","700"],"subsets":["latin"]},{"family":"Stint Ultra Condensed","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stint Ultra Expanded","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stoke","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Strait","variants":["regular"],"subsets":["latin"]},{"family":"Stylish","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sue Ellen Francisco","variants":["regular"],"subsets":["latin"]},{"family":"Suez One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sulphur Point","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sumana","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sunflower","variants":["300","500","700"],"subsets":["korean","latin"]},{"family":"Sunshiney","variants":["regular"],"subsets":["latin"]},{"family":"Supermercado One","variants":["regular"],"subsets":["latin"]},{"family":"Sura","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Suranna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suravaram","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suwannaphum","variants":["regular"],"subsets":["khmer"]},{"family":"Swanky and Moo Moo","variants":["regular"],"subsets":["latin"]},{"family":"Syncopate","variants":["regular","700"],"subsets":["latin"]},{"family":"Tajawal","variants":["200","300","regular","500","700","800","900"],"subsets":["arabic","latin"]},{"family":"Tangerine","variants":["regular","700"],"subsets":["latin"]},{"family":"Taprom","variants":["regular"],"subsets":["khmer"]},{"family":"Tauri","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Taviraj","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Teko","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Telex","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tenali Ramakrishna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tenor Sans","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Text Me One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Thasadith","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"The Girl Next Door","variants":["regular"],"subsets":["latin"]},{"family":"Tienne","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Tillana","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Timmana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Titan One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin","latin-ext"]},{"family":"Tomorrow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Trade Winds","variants":["regular"],"subsets":["latin"]},{"family":"Trirong","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Trykker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tulpen One","variants":["regular"],"subsets":["latin"]},{"family":"Turret Road","variants":["200","300","regular","500","700","800"],"subsets":["latin","latin-ext"]},{"family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Condensed","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ultra","variants":["regular"],"subsets":["latin"]},{"family":"Uncial Antiqua","variants":["regular"],"subsets":["latin"]},{"family":"Underdog","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Unica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"UnifrakturCook","variants":["700"],"subsets":["latin"]},{"family":"UnifrakturMaguntia","variants":["regular"],"subsets":["latin"]},{"family":"Unkempt","variants":["regular","700"],"subsets":["latin"]},{"family":"Unlock","variants":["regular"],"subsets":["latin"]},{"family":"Unna","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"VT323","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vampiro One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela Round","variants":["regular"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Vast Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Vesper Libre","variants":["regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Viaoda Libre","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Vibes","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Vibur","variants":["regular"],"subsets":["latin"]},{"family":"Vidaloka","variants":["regular"],"subsets":["latin"]},{"family":"Viga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Voces","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Volkhov","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Vollkorn","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Vollkorn SC","variants":["regular","600","700","900"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Voltaire","variants":["regular"],"subsets":["latin"]},{"family":"Waiting for the Sunrise","variants":["regular"],"subsets":["latin"]},{"family":"Wallpoet","variants":["regular"],"subsets":["latin"]},{"family":"Walter Turncoat","variants":["regular"],"subsets":["latin"]},{"family":"Warnes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wellfleet","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wendy One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wire One","variants":["regular"],"subsets":["latin"]},{"family":"Work Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yanone Kaffeesatz","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Yantramanav","variants":["100","300","regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yatra One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yellowtail","variants":["regular"],"subsets":["latin"]},{"family":"Yeon Sung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Yeseva One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Yesteryear","variants":["regular"],"subsets":["latin"]},{"family":"Yrsa","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"ZCOOL KuaiLe","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL QingKe HuangYou","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL XiaoWei","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zeyada","variants":["regular"],"subsets":["latin"]},{"family":"Zhi Mang Xing","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zilla Slab","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Zilla Slab Highlight","variants":["regular","700"],"subsets":["latin","latin-ext"]}]')},function(e,t){e.exports="dist/images/components-design-separator-control-curve-1.a61eacd.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-2.7a9883c.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-3.b42e517.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-1.d2b77d9.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-2.e6d5edc.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-3.54719e2.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-1.1a7bbee.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-2.622c736.png"},function(e,t){e.exports="dist/images/components-design-separator-control-straight-1.3d6e794.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-1.479a6de.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-2.8ad6a1d.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-3.6db0486.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-4.5f9e008.png"},function(e,t){e.exports="dist/images/components-button-controls-basic.b11a0a1.png"},function(e,t){e.exports="dist/images/components-button-controls-ghost.693bd0a.png"},function(e,t){e.exports="dist/images/components-button-controls-link.5941222.png"},function(e,t){e.exports="dist/images/components-button-controls-plain.9a9337a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1.b25dc1c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2.251f715.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3.a91efa1.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1.4c4319a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2.c441aac.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3.2409bb5.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4.9b307d9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1.ec684b9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2.4601b46.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3.4ef0451.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-grid.c178b51.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-grid.9c461c0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-grid.3921dc3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-grid.fe6e028.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-grid.5c04307.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-grid.111efd7.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-grid.ef73de3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-grid.146feaa.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-grid.5d65a3e.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-grid.906e9b0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-uneven.7045e09.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-uneven.a4f271c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-uneven.1983521.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-uneven.929b1cf.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-uneven.a346601.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-uneven.84b5000.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-uneven.42a4995.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-uneven.430f93a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-uneven.f1a848f.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-uneven.8099e5e.png"},,function(e,t){e.exports="dist/videos/help/full-height.mp4"},function(e,t){e.exports="dist/videos/help/general-restrict-content.mp4"},function(e,t){e.exports="dist/videos/help/general-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/general-shadow.mp4"},function(e,t){e.exports="dist/videos/help/alignment-all.mp4"},function(e,t){e.exports="dist/videos/help/general-columns.mp4"},function(e,t){e.exports="dist/videos/help/column-background-on-off.mp4"},function(e,t){e.exports="dist/videos/help/image-shape.mp4"},function(e,t){e.exports="dist/videos/help/image-size.mp4"},function(e,t){e.exports="dist/videos/help/image-size-no-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-width-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-height-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-square.mp4"},function(e,t){e.exports="dist/videos/help/image-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/image-shadow.mp4"},function(e,t){e.exports="dist/videos/help/typography-size.mp4"},function(e,t){e.exports="dist/videos/help/typography-weight.mp4"},function(e,t){e.exports="dist/videos/help/typography-transform.mp4"},function(e,t){e.exports="dist/videos/help/typography-line-height.mp4"},function(e,t){e.exports="dist/videos/help/typography-letter-spacing.mp4"},function(e,t){e.exports="dist/videos/help/alignment-description.mp4"},function(e,t){e.exports="dist/videos/help/alignment-button.mp4"},function(e,t){e.exports="dist/videos/help/button-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-vertical-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-horizontal-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-size.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-opacity.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-color.mp4"},function(e,t){e.exports="dist/videos/help/button-shadow.mp4"},function(e,t){e.exports="dist/videos/help/button-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/button-color-type.mp4"},function(e,t){e.exports="dist/videos/help/button-to-normal.mp4"},function(e,t){e.exports="dist/videos/help/button-collapse.mp4"},function(e,t){e.exports="dist/videos/help/spacing.mp4"},function(e,t){e.exports="dist/videos/help/spacing-block-title.mp4"},function(e,t){e.exports="dist/videos/help/spacing-block-description.mp4"},function(e,t){e.exports="dist/videos/help/spacing-description.mp4"},function(e,t){e.exports="dist/videos/help/spacing-button.mp4"},function(e,t){e.exports="dist/videos/help/spacing-button-gap.mp4"},function(e,t){e.exports="dist/videos/help/hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/background-on-off.mp4"},function(e,t){e.exports="dist/videos/help/background-color-opacity.mp4"},function(e,t){e.exports="dist/videos/help/background-tint.mp4"},function(e,t){e.exports="dist/videos/help/background-color-type.mp4"},function(e,t){e.exports="dist/videos/help/background-fixed.mp4"},function(e,t){e.exports="dist/videos/help/gradient-direction.mp4"},function(e,t){e.exports="dist/videos/help/gradient-location.mp4"},function(e,t){e.exports="dist/videos/help/background-image-position.mp4"},function(e,t){e.exports="dist/videos/help/background-image-repeat.mp4"},function(e,t){e.exports="dist/videos/help/background-image-size.mp4"},function(e,t){e.exports="dist/videos/help/background-blend-mode.mp4"},function(e,t){e.exports="dist/videos/help/separator-top-on.mp4"},function(e,t){e.exports="dist/videos/help/separator-bottom-on.mp4"},function(e,t){e.exports="dist/videos/help/separator-height.mp4"},function(e,t){e.exports="dist/videos/help/separator-width.mp4"},function(e,t){e.exports="dist/videos/help/separator-shadow.mp4"},function(e,t){e.exports="dist/videos/help/separator-bring-to-front.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer2.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer3.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer-opacity.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer-blend-mode.mp4"},function(e,t){e.exports="dist/videos/help/advanced-opacity.mp4"},function(e,t){e.exports="dist/videos/help/advanced-zindex.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-paddings.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-height.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-content-width.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-horizontal-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-gap.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-column-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-height.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-content-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/accordion-adjacent-open.mp4"},function(e,t){e.exports="dist/videos/help/accordion-closed-state-background-color.mp4"},function(e,t){e.exports="dist/videos/help/accordion-padding.mp4"},function(e,t){e.exports="dist/videos/help/accordion-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-column-width.mp4"},function(e,t){e.exports="dist/videos/help/feature-container-width.mp4"},function(e,t){e.exports="dist/videos/help/feature-container-offset.mp4"},function(e,t){e.exports="dist/videos/help/icon-list-grid.mp4"},function(e,t){e.exports="dist/videos/help/icon-list-gap.mp4"},function(e,t){e.exports="dist/videos/help/image-box-height.mp4"},function(e,t){e.exports="dist/videos/help/notification-dismissible.mp4"},function(e,t){e.exports="dist/videos/help/posts-content-order.mp4"},function(e,t){e.exports="dist/videos/help/posts-meta-separator.mp4"},function(e,t){e.exports="dist/videos/help/divider-margin.mp4"},function(e,t){e.exports="dist/videos/help/pricing-image-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-title-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-price-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-subprice-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-button-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-description-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-image-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-price-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-subprice-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-button-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-description-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-overlay.mp4"},function(e,t){e.exports="dist/videos/help/image-box-overlay-hover.mp4"},function(e,t){e.exports="dist/videos/help/image-box-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/image-box-box-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/image-box-subtitle-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-line-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-description-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-arrow-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-subtitle-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-title-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-description-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-arrow-align.mp4"},function(e,t){e.exports="dist/videos/help/video-popup-width.mp4"},function(e,t){e.exports="dist/videos/help/video-popup-height.mp4"},function(e,t){e.exports="dist/videos/help/container-image-width.mp4"},function(e,t){e.exports="dist/videos/help/container-image-height.mp4"},function(e,t){e.exports="dist/videos/help/column-row-gap.mp4"},function(e,t){e.exports="dist/videos/help/no-padding.mp4"},function(e,t){e.exports="dist/videos/help/column-width.mp4"},function(e,t){e.exports="dist/videos/help/column-arrangement.mp4"},function(e,t){e.exports="dist/images/block-accordion-basic.b0f3789.png"},function(e,t){e.exports="dist/images/block-accordion-plain.2aeac8f.png"},function(e,t){e.exports="dist/images/block-blockquote-basic.0a574ba.png"},function(e,t){e.exports="dist/images/block-blockquote-plain.cd0c86f.png"},function(e,t){e.exports="dist/images/block-blog-posts-basic.0431caf.png"},function(e,t){e.exports="dist/images/block-blog-posts-list.78b14dd.png"},function(e,t){e.exports=wp.htmlEntities},function(e,t){e.exports="dist/images/block-button-basic.cf5349e.png"},function(e,t){e.exports="dist/images/block-button-fullwidth.f370f41.png"},function(e,t){e.exports="dist/images/block-button-grouped-1.6509764.png"},function(e,t){e.exports="dist/images/block-button-grouped-2.45eb41b.png"},function(e,t){e.exports="dist/images/block-button-spread.a2b3bf6.png"},function(e,t){e.exports="dist/images/block-call-to-action-basic.82b89ff.png"},function(e,t){e.exports="dist/images/block-call-to-action-plain.aeb4b5d.png"},function(e,t){e.exports="dist/images/block-card-basic.ed15cbf.png"},function(e,t){e.exports="dist/images/block-card-plain.01b366e.png"},function(e,t){e.exports="dist/images/block-column-basic.eeda154.png"},function(e,t){e.exports="dist/images/block-column-plain.dd6702f.png"},function(e,t){e.exports="dist/images/block-columns-grid.74cce02.png"},function(e,t){e.exports="dist/images/block-columns-plain.f83145c.png"},function(e,t){e.exports="dist/images/block-container-basic.9b80141.png"},function(e,t){e.exports="dist/images/block-container-plain.b0bf4b9.png"},function(e,t){e.exports="dist/images/block-count-up-plain.9350896.png"},function(e,t){e.exports="dist/images/block-count-up-plain-2.ba5ab0d.png"},function(e,t){e.exports="dist/images/block-divider-basic.728eebd.png"},function(e,t){e.exports="dist/images/block-divider-bar.38cc0b7.png"},function(e,t){e.exports="dist/images/block-divider-dots.6f31a0f.png"},function(e,t){e.exports="dist/images/block-divider-asterisks.d07ce3c.png"},function(e,t){e.exports="dist/images/block-feature-grid-basic.d153b82.png"},function(e,t){e.exports="dist/images/block-feature-grid-plain.d4efae7.png"},function(e,t){e.exports="dist/images/block-feature-basic.21129f8.png"},function(e,t){e.exports="dist/images/block-feature-plain.705697f.png"},function(e,t){e.exports="dist/images/block-header-basic.a9cc4da.png"},function(e,t){e.exports="dist/images/block-header-plain.aeccf8f.png"},function(e,t){e.exports="dist/images/block-image-box-basic.f577755.png"},function(e,t){e.exports="dist/images/block-image-box-plain.7482e86.png"},function(e,t){e.exports="dist/images/block-notification-basic.a1f0aae.png"},function(e,t){e.exports="dist/images/block-notification-plain.eccdf36.png"},function(e,t){e.exports="dist/images/block-number-box-basic.3d5ce27.png"},function(e,t){e.exports="dist/images/block-number-box-plain.1e11a36.png"},function(e,t){e.exports="dist/images/block-pricing-box-basic.f439dd1.png"},function(e,t){e.exports="dist/images/block-pricing-box-plain.d7c8289.png"},function(e,t){e.exports="dist/images/block-team-member-basic.53fb1db.png"},function(e,t){e.exports="dist/images/block-team-member-plain.c44209b.png"},function(e,t){e.exports="dist/images/block-testimonial-basic.13e214f.png"},function(e,t){e.exports="dist/images/block-testimonial-plain.8208cdb.png"},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var a={"./accordion/index.js":386,"./blockquote/index.js":384,"./blog-posts/index.js":388,"./button/index.js":400,"./call-to-action/index.js":391,"./card/index.js":392,"./column/index.js":403,"./columns/index.js":401,"./container/index.js":402,"./count-up/index.js":389,"./design-library/index.js":409,"./divider/index.js":404,"./expand/index.js":405,"./feature-grid/index.js":393,"./feature/index.js":394,"./header/index.js":395,"./icon-list/index.js":383,"./image-box/index.js":390,"./notification/index.js":387,"./number-box/index.js":396,"./pricing-box/index.js":397,"./separator/index.js":382,"./spacer/index.js":406,"./team-member/index.js":398,"./testimonial/index.js":399,"./video-popup/index.js":385};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=i,e.exports=o,o.id=376},,,,,function(e,t,n){"use strict";n.r(t);var a=n(21),o=n(25),i=n(26),r=n(27);a.a.autoAddCss=!1,a.a.autoReplaceSvg=!1,a.a.familyPrefix="ugbfa",a.a.keepOriginalSource=!1,a.a.observeMutations=!1,a.a.showMissingIcons=!1,a.c.add(o.a,i.a,r.a);var l=n(3),c=n(2),s=n(1),u=n(9),b=n(45),p=n(6),g=n(0),m=n(7),d=n(12),f=n(20),h=n(14);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e,t,n){return t?n?Object(b.applyFormat)(e,{type:"ugb/highlight",attributes:{style:"color: ".concat(Object(c.hb)("",t),"; background-color: ").concat(t,";")}}):Object(b.applyFormat)(e,{type:"ugb/highlight",attributes:{style:"color: ".concat(t,";")}}):Object(b.removeFormat)(e,"ugb/highlight")},j=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=w(t).apply(this,arguments))||"object"!==v(a)&&"function"!=typeof a?O(n):a).state={isOpen:!1},e.handleFocusOutside=e.handleFocusOutside.bind(O(e)),e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(t,m["Component"]),n=t,(a=[{key:"handleFocusOutside",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.activeAttributes,a=t.isActive,o=t.onChange,i=t.value,r="",c=!1;if(a){var b=n.style.match(/background-color:\s*([#\d\w]+)/);if(b)c=!0,r=b[1];else{var m=n.style.match(/color:\s*([#\d\w]+)/);m&&(r=m[1])}}return wp.element.createElement(p.BlockControls,null,wp.element.createElement(u.Toolbar,{className:"stackable-components-toolbar"},wp.element.createElement(u.IconButton,{className:"components-button components-icon-button components-toolbar__control",icon:"editor-textcolor","aria-haspopup":"true",tooltip:Object(g.__)("Color & Highlight",s.i18n),onClick:function(){return e.setState({isOpen:!e.state.isOpen})}},wp.element.createElement("span",{className:"components-stackable-highlight-color__indicator",style:{backgroundColor:r}})),this.state.isOpen&&wp.element.createElement(u.Popover,{position:"bottom center",className:"components-stackable-highlight__popover",focusOnMount:"container"},wp.element.createElement("div",{className:"components-stackable-highlight__inner"},wp.element.createElement("div",{className:"ugb-highlight-format__color-picker"},wp.element.createElement(l.r,{label:Object(g.__)("Text Color",s.i18n),value:r,onChange:function(e){o(_(i,e,c),{withoutHistory:!0})}})),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Highlight Text",s.i18n),checked:c,onChange:function(e){o(_(i,r||"#8c33da",e))}})))))}}])&&y(n.prototype,a),o&&y(n,o),t}();Object(b.registerFormatType)("ugb/highlight",{title:Object(g.__)("Highlight Text",s.i18n),tagName:"span",className:"ugb-highlight",edit:Object(d.compose)(u.withFocusOutside)(j),attributes:{style:"style"}}),Object(f.a)(function(){Object(h.select)("core/edit-post").isFeatureActive("disableEditorsKitColorsFormats")||Object(h.dispatch)("core/edit-post").toggleFeature("disableEditorsKitColorsFormats"),Object(h.select)("core/edit-post").isFeatureActive("disableEditorsKitHighlightFormats")||Object(h.dispatch)("core/edit-post").toggleFeature("disableEditorsKitHighlightFormats")});var C=n(18),x=n(62),E=n(24),S=n(10);function B(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var T=["style","svg"],A=function(e){return!!e.args&&(4===e.args.length&&("string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&("class"===e.args[1]&&!Object(S.isEqual)(e.args[2].match(/ugb-[^\s]+/g),e.args[3].match(/ugb-[^\s]+/g)))))},N=function(e){return!!e.args&&(4===e.args.length&&("string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&("class"===e.args[1]&&(e.args[2].match(/wp-image-\d+/)&&!e.args[3].match(/wp-image-\d+/)||!e.args[2].match(/wp-image-\d+/)&&e.args[3].match(/wp-image-\d+/)))))},P=function(e){return!!e.args&&(3===e.args.length&&("style"===e.args[1]&&"style"!==e.args[2]||"style"!==e.args[1]&&"style"===e.args[2]))},F=function(e){var t,n=e.name,a=e.attributes,o=e.innerBlocks,i=e.originalContent;if(e.isValid)return!1;try{t=Object(C.getSaveContent)(n,a,o)}catch(e){return!1}return function(e,t){var n=B([e,t].map(function(e){return function(e){try{return new x.Tokenizer(new E.DecodeEntityParser).tokenize(e)}catch(e){}return null}(e)}),2),a=n[0],o=n[1];if(!a||!o)return!1;var i,r,l=[];for(;i=Object(E.getNextNonWhitespaceToken)(a);){if(r=Object(E.getNextNonWhitespaceToken)(o),"StartTag"===i.type&&l.push(i.tagName.toLowerCase()),!r)return l;if(i.type!==r.type)return l;var c=E.isEqualTokensOfType[i.type];if(c&&!c(i,r))return l;"StartTag"===i.type&&!0===i.selfClosing?l.pop():"EndTag"===i.type&&l.pop(),Object(E.isClosedByToken)(i,o[0])?Object(E.getNextNonWhitespaceToken)(o):Object(E.isClosedByToken)(r,a[0])&&Object(E.getNextNonWhitespaceToken)(a)}return!1}(i,t)};var R=function e(t){t.forEach(function(t){if(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,n=e.name,a=e.isValid,o=e.validationIssues;if(!n||!n.match(/^ugb\//))return!1;if(a)return!1;if(!o.length)return!1;if(A(o[0]))return!0;if(P(o[0]))return!0;if(N(o[0]))return!0;var i=F(e);return!!i&&i.some(function(e){return t.includes(e)})}(t)){Object(h.dispatch)("core/block-editor").replaceBlock(t.clientId,(a=(n=t).name,o=n.attributes,i=n.innerBlocks,Object(C.createBlock)(a,o,i)))}var n,a,o,i;t.innerBlocks&&t.innerBlocks.length&&e(t.innerBlocks)})};Object(f.a)(function(){window._wpLoadBlockEditor&&window._wpLoadBlockEditor.then(function(){R(Object(h.select)("core/editor").getEditorBlocks())})});var D="https://raw.githubusercontent.com/gambitph/Stackable/feat-three-tabs/dist/deprecation-tests.json",M=function(e){try{var t=Object(C.parse)(e.replace(/\n/g,"").replace(/\t/g,""))[0],n=function(e){var t=(e.match(/<!--\s*[^:]*:([\/\w\d-]+)/i)||[])[1];return"string"!=typeof t?"":t.match(/^[^\/]+\//)?t:"core/".concat(t)}(e);return t.name!==n?"Block rendered as: ".concat(t.name):t.isValid&&t.name===n}catch(e){return!1}},z=n(8),I=n.n(z);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function U(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(n,!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var X=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=q(t).apply(this,arguments))||"object"!==L(a)&&"function"!=typeof a?Y(n):a).state={tests:[],testBlockNames:[],show:[],loaded:!1,isLoading:!1},e.onClick=e.onClick.bind(Y(e)),e.onClickLocal=e.onClickLocal.bind(Y(e)),e.onRunAllTests=e.onRunAllTests.bind(Y(e)),e.onRunTest=e.onRunTest.bind(Y(e)),e.onShowToggle=e.onShowToggle.bind(Y(e)),e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K(e,t)}(t,m["Component"]),n=t,(a=[{key:"updateTestState",value:function(e){this.setState({tests:e.map(function(e){return W({},e,{passed:null})}),testBlockNames:U(new Set(e.map(function(e){return e.block})))})}},{key:"fetchTests",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D;this.setState({isLoading:!0}),fetch(t).then(function(t){return e.setState({isLoading:!1,loaded:!0}),t.json()}).then(function(t){e.updateTestState(t)})}},{key:"onClick",value:function(){this.fetchTests(D)}},{key:"onClickLocal",value:function(){this.fetchTests(Object(g.sprintf)("%s/dist/deprecation-tests.json",s.srcUrl))}},{key:"onRunAllTests",value:function(){var e=this.state.tests.map(function(e){return e.skip?W({},e,{passed:!0}):W({},e,{passed:M(e.html)})});this.setState({tests:e})}},{key:"onRunTest",value:function(e){var t=this.state.tests.map(function(t){return t.block!==e?t:t.skip?W({},t,{passed:!0}):W({},t,{passed:M(t.html)})});this.setState({tests:t})}},{key:"onShowToggle",value:function(e){this.setState({show:this.state.show.includes(e)?this.state.show.filter(function(t){return t!==e}):this.state.show.concat(e)})}},{key:"render",value:function(){var e=this,t=I()(["ugb-deprecated-tester"],{"ugb-deprecated-tester--loading":this.state.isLoading});return wp.element.createElement("div",{className:t},wp.element.createElement(u.BaseControl,null,wp.element.createElement("p",{className:"components-base-control__help"},Object(g.__)("When Stackable blocks are updated, block internal workings may change & editing existing blocks may result in errors if the changes are not backward compatible. This area tests multiple outdated blocks on whether they can migrate properly to newer versions.",s.i18n)),wp.element.createElement(u.Button,{className:"ugb-deprecated-tester__load-button",isDefault:!0,onClick:this.onClick,disabled:this.state.isLoading},wp.element.createElement(u.Dashicon,{icon:"image-rotate",size:"12"}),Object(g.__)("Load Tests from Server",s.i18n)),!1),this.state.loaded&&wp.element.createElement(m.Fragment,null,wp.element.createElement("hr",null),wp.element.createElement("p",{className:"ugb-deprecated-tester--row ugb--first"},wp.element.createElement(u.Button,{isPrimary:!0,isSmall:!0,onClick:this.onRunAllTests},Object(g.__)("Run All Tests",s.i18n)))),this.state.loaded&&this.state.testBlockNames.map(function(t,n){var a=e.state.tests.filter(function(e){return e.block===t}),o=a.length,i=a.filter(function(e){return e.passed}).length;return wp.element.createElement(m.Fragment,{key:n},wp.element.createElement("div",{key:n,className:"ugb-deprecated-tester--row"},wp.element.createElement("span",{className:"ugb-deprecated-tester--name"},t,wp.element.createElement(u.IconButton,{isDefault:!1,icon:"editor-help",onClick:function(){return e.onShowToggle(t)}})),wp.element.createElement("span",{className:o===i?"ugb--green":""},Object(g.sprintf)(Object(g.__)("%d / %d Tests",s.i18n),i,o),wp.element.createElement(u.IconButton,{isDefault:!1,onClick:function(){return e.onRunTest(t)},icon:"controls-play"}))),e.state.show.includes(t)&&wp.element.createElement("div",{className:"ugb-deprecated-tester--test-detail-wrapper"},a.map(function(e,t){var n=e.html.replace(/(<!--[\s\S]*?-->)/g,function(e,t){return t.replace(/\n/g,"\\n").replace(/\t/g,"\\t")});return wp.element.createElement("div",{key:t},wp.element.createElement("div",null,e.description,!e.skip&&!0===e.passed&&wp.element.createElement("small",{className:"ugb--passed"},Object(g.__)("Passed",s.i18n)),!e.skip&&!1===e.passed&&wp.element.createElement("small",{className:"ugb--failed"},Object(g.__)("Failed",s.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped"},Object(g.__)("Skipped",s.i18n))),wp.element.createElement("div",{className:"ugb-deprecated-tester--test-details"},wp.element.createElement("small",{className:"ugb--version"},Object(g.sprintf)(Object(g.__)("v%s",s.i18n),e.version)),e.plan&&wp.element.createElement("small",{className:"ugb--plan ugb--plan-".concat(e.plan)},e.plan),wp.element.createElement(u.ClipboardButton,{isDefault:!1,isLink:!0,text:n},Object(g.__)("Copy code",s.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped-note"},wp.element.createElement("span",{role:"img","aria-label":Object(g.__)("Note",s.i18n)},"⚠️")," ",e.skip)))})))}))}}])&&V(n.prototype,a),o&&V(n,o),t}();function J(e){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Z(e){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var te={codemirror:{mode:"html"}},ne=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Z(t).apply(this,arguments))||"object"!==J(a)&&"function"!=typeof a?Q(n):a).state={value:e.props.value,isValid:M(e.props.value)},e.onChange=e.onChange.bind(Q(e)),e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ee(e,t)}(t,m["Component"]),n=t,(a=[{key:"onChange",value:function(e){this.setState({value:e,isValid:M(e)})}},{key:"render",value:function(){return wp.element.createElement(u.BaseControl,{className:"ugb-html-validator"},wp.element.createElement("p",{className:"components-base-control__help"},Object(g.__)("Enter some HTML below to see whether it renders correctly as a block. Check the browser console for block errors.",s.i18n)),wp.element.createElement(l.q,{value:this.state.value,onChange:this.onChange,editorSettings:te}),!0===this.state.isValid&&wp.element.createElement("div",{className:"ugb-html-validator--valid"},wp.element.createElement("span",{role:"img","aria-label":Object(g.__)("Valid",s.i18n)},"✔️"),Object(g.__)("Valid",s.i18n)),!0!==this.state.isValid&&wp.element.createElement("div",{className:"ugb-html-validator--invalid"},wp.element.createElement("span",{role:"img","aria-label":Object(g.__)("Invalid",s.i18n)},"️️⚠️"),Object(g.__)("Invalid",s.i18n),wp.element.createElement("br",null),this.state.isValid))}}])&&$(n.prototype,a),o&&$(n,o),t}();ne.defaultProps={value:"\x3c!-- wp:paragraph --\x3e\n<p>Some sample code</p>\n\x3c!-- /wp:paragraph --\x3e"};var ae=ne,oe=n(32),ie=function(){return wp.element.createElement(m.Fragment,null,wp.element.createElement(oe.PluginSidebarMoreMenuItem,{target:"stackable-block-tester"},Object(g.__)("Stackable Debugger",s.i18n)),wp.element.createElement(oe.PluginSidebar,{name:"stackable-block-tester",isPinnable:!1,title:Object(g.__)("Stackable Debugger",s.i18n)},wp.element.createElement("div",{className:"ugb-debugger-panel"},wp.element.createElement("p",{className:"components-base-control__help"},Object(g.__)("This area contains a number of testing and debugging tools made specifically for Stackable.",s.i18n))),wp.element.createElement(u.PanelBody,{initialOpen:!1,title:Object(g.__)("Block Validity Checker",s.i18n)},wp.element.createElement(ae,null)),wp.element.createElement(u.PanelBody,{initialOpen:!1,title:Object(g.__)("Block Migration Tests",s.i18n)},wp.element.createElement(X,null))))},re=n(52);Object(re.registerPlugin)("stackable-convert-to-container-button",{render:l.v}),s.devMode&&(Object(re.registerPlugin)("stackable-block-tester",{icon:"clipboard",render:ie}),Object(re.registerPlugin)("stackable-block-attributes-get-button",{render:l.G}));var le=n(142),ce=n.n(le),se=n(143),ue=n.n(se),be=n(144),pe=n.n(be),ge=n(145),me=n.n(ge),de=n(146),fe=n.n(de),he=n(147),ve=n.n(he),ye=n(148),we=n.n(ye),Oe=n(149),ke=n.n(Oe),_e=n(150),je=n.n(_e),Ce=n(151),xe=n.n(Ce),Ee=n(152),Se=n.n(Ee),Be=n(153),Te=n.n(Be),Ae=n(154),Ne=n.n(Ae),Pe=n(155),Fe=n.n(Pe),Re=n(156),De=n.n(Re),Me=n(64),ze=n.n(Me),Ie=n(157),Le=n.n(Ie),Ue=n(158),He=n.n(Ue),We=n(159),Ge=n.n(We),Ve=n(160),qe=n.n(Ve),Ye=n(161),Ke=n.n(Ye),Xe=n(53),Je=n.n(Xe),$e=n(65),Ze=n.n($e),Qe=n(162),et=n.n(Qe),tt=n(163),nt=n.n(tt),at=n(164),ot=n.n(at),it=n(165),rt=n.n(it),lt=n(166),ct=n.n(lt),st=n(167),ut=n.n(st),bt=n(168),pt=n.n(bt),gt=n(169),mt=n.n(gt),dt=n(170),ft=n.n(dt),ht=n(171),vt=n.n(ht),yt=n(172),wt=n.n(yt),Ot=n(173),kt=n.n(Ot),_t=n(174),jt=n.n(_t),Ct=n(175),xt=n.n(Ct),Et=n(176),St=n.n(Et),Bt=n(177),Tt=n.n(Bt),At=n(178),Nt=n.n(At),Pt=n(54),Ft=n.n(Pt),Rt=n(66),Dt=n.n(Rt),Mt=n(179),zt=n.n(Mt),It=n(180),Lt=n.n(It),Ut=n(181),Ht=n.n(Ut),Wt=n(182),Gt=n.n(Wt),Vt=n(183),qt=n.n(Vt),Yt=n(184),Kt=n.n(Yt),Xt=n(185),Jt=n.n(Xt),$t=n(186),Zt=n.n($t),Qt=n(187),en=n.n(Qt),tn=n(188),nn=n.n(tn),an=n(189),on=n.n(an),rn=n(190),ln=n.n(rn),cn=n(191),sn=n.n(cn),un=n(192),bn=n.n(un),pn=n(193),gn=n.n(pn),mn=n(194),dn=n.n(mn),fn=n(195),hn=n.n(fn),vn=n(196),yn=n.n(vn),wn=n(197),On=n.n(wn),kn=n(198),_n=n.n(kn),jn=n(199),Cn=n.n(jn),xn=n(200),En=n.n(xn),Sn=n(201),Bn=n.n(Sn),Tn=n(202),An=n.n(Tn),Nn=n(203),Pn=n.n(Nn),Fn=n(204),Rn=n.n(Fn),Dn=n(205),Mn=n.n(Dn),zn=n(67),In=n.n(zn),Ln=n(206),Un=n.n(Ln),Hn=n(207),Wn=n.n(Hn),Gn=n(208),Vn=n.n(Gn),qn=n(209),Yn=n.n(qn),Kn=n(210),Xn=n.n(Kn),Jn=n(68),$n=n.n(Jn),Zn=n(211),Qn=n.n(Zn),ea=n(212),ta=n.n(ea),na=n(213),aa=n.n(na),oa=n(214),ia=n.n(oa),ra=n(215),la=n.n(ra),ca=n(216),sa=n.n(ca),ua=n(217),ba=n.n(ua),pa=n(218),ga=n.n(pa),ma=n(69),da=n.n(ma),fa=n(219),ha=n.n(fa),va=n(220),ya=n.n(va),wa=n(221),Oa=n.n(wa),ka=n(222),_a=n.n(ka),ja=n(223),Ca=n.n(ja),xa=n(224),Ea=n.n(xa),Sa=n(225),Ba=n.n(Sa),Ta=n(226),Aa=n.n(Ta),Na=n(227),Pa=n.n(Na),Fa=n(228),Ra=n.n(Fa),Da=n(229),Ma=n.n(Da),za=n(230),Ia=n.n(za),La=n(231),Ua=n.n(La),Ha=n(232),Wa=n.n(Ha),Ga=n(233),Va=n.n(Ga),qa=n(234),Ya=n.n(qa),Ka=n(235),Xa=n.n(Ka),Ja=n(236),$a=n.n(Ja),Za=n(237),Qa=n.n(Za),eo=n(238),to=n.n(eo),no=n(239),ao=n.n(no),oo=n(240),io=n.n(oo),ro=n(241),lo=n.n(ro),co=n(242),so=n.n(co),uo=n(243),bo=n.n(uo),po=n(244),go=n.n(po),mo=n(245),fo=n.n(mo),ho=n(246),vo=n.n(ho),yo=n(247),wo=n.n(yo),Oo=n(248),ko=n.n(Oo),_o=n(249),jo=n.n(_o),Co=n(250),xo=n.n(Co),Eo=n(251),So=n.n(Eo),Bo=n(252),To=n.n(Bo),Ao=n(253),No=n.n(Ao),Po=n(254),Fo=n.n(Po),Ro=n(255),Do=n.n(Ro),Mo=n(256),zo=n.n(Mo),Io=n(257),Lo=n.n(Io),Uo=n(258),Ho=n.n(Uo),Wo=n(259),Go=n.n(Wo),Vo=n(260),qo=n.n(Vo),Yo=n(261),Ko=n.n(Yo),Xo={fullHeight:{video:ce.a,title:Object(g.__)("Full Height",s.i18n),description:Object(g.__)("Block height takes up the full height of the screen",s.i18n)},generalRestrictContent:{video:ue.a,title:Object(g.__)("Restrict to Content Width",s.i18n),description:Object(g.__)("Restricts content to a narrower space when block width is set to full width",s.i18n)},generalBorderRadius:{video:pe.a,title:Object(g.__)("Border Radius",s.i18n),description:Object(g.__)("Adjusts the radius of block corners to make them more rounded",s.i18n)},generalShadow:{video:me.a,title:Object(g.__)("Shadow/Outline",s.i18n),description:Object(g.__)("Adjusts the intensity of the shadow/outline of the block and the appearance of the block border",s.i18n)},alignmentAll:{video:fe.a,title:Object(g.__)("Align (general / all)",s.i18n),description:Object(g.__)("Adjusts the placement of all content in the block to align left, center or right",s.i18n)},generalColumns:{video:ve.a,title:Object(g.__)("Columns",s.i18n),description:Object(g.__)("Sets the number of columns",s.i18n)},columnBackgroundOnOff:{video:we.a,title:Object(g.__)("Column / Container Background",s.i18n),description:Object(g.__)("Background settings for the container or columns.",s.i18n)},imageShape:{video:ke.a,title:Object(g.__)("Shape",s.i18n),description:Object(g.__)("Change the shape of the image",s.i18n)},imageSize:{video:je.a,title:Object(g.__)("Image size",s.i18n),description:Object(g.__)("Sets the image display size to thumbnail, medium, large or full size. A smaller image size will also load faster.",s.i18n)},imageSizeNoCrop:{video:xe.a,title:Object(g.__)("Image size",s.i18n),description:Object(g.__)("Adjusts the image size / width while preseving the aspect ratio",s.i18n)},imageWidthCrop:{video:Se.a,title:Object(g.__)("Image width",s.i18n),description:Object(g.__)("Adjusts the image width",s.i18n)},imageHeightCrop:{video:Te.a,title:Object(g.__)("Image height",s.i18n),description:Object(g.__)("Adjusts the image height",s.i18n)},imageSquare:{video:Ne.a,title:Object(g.__)("Force Square Image",s.i18n),description:Object(g.__)("Crops image into a square",s.i18n)},imageBorderRadius:{video:Fe.a,title:Object(g.__)("Border radius (of image)",s.i18n),description:Object(g.__)("Adjusts the radius of image corners to make them more rounded",s.i18n)},imageShadow:{video:De.a,title:Object(g.__)("Shadow (of image)",s.i18n),description:Object(g.__)("Adjusts the intensity of the image shadow",s.i18n)},typography:{video:ze.a,title:Object(g.__)("Typography",s.i18n),description:Object(g.__)("Change the font family, size, weight and spacing of the font of this text",s.i18n)},typographyFamily:{video:ze.a,title:Object(g.__)("Font family",s.i18n),description:Object(g.__)("Sets the font set to be used for the element",s.i18n)},typographySize:{video:Le.a,title:Object(g.__)("Font size",s.i18n),description:Object(g.__)("Sets the size of text characters",s.i18n)},typographyWeight:{video:He.a,title:Object(g.__)("Font weight",s.i18n),description:Object(g.__)("Sets the thinness or thickness of text characters",s.i18n)},typographyTransform:{video:Ge.a,title:Object(g.__)("Transform",s.i18n),description:Object(g.__)("Sets the usage of upper or lower case",s.i18n)},typographyLineHeight:{video:qe.a,title:Object(g.__)("Line height",s.i18n),description:Object(g.__)("Sets the vertical distance between lines of text",s.i18n)},typographyLetterSpacing:{video:Ke.a,title:Object(g.__)("Letter spacing",s.i18n),description:Object(g.__)("Sets the distance or space between letters",s.i18n)},alignmentImage:{video:Je.a,title:Object(g.__)("Image alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the image to align left, center or right",s.i18n)},alignmentNumber:{video:Je.a,title:Object(g.__)("Number alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the number to align left, center or right",s.i18n)},alignmentIcon:{video:Je.a,title:Object(g.__)("Icon alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the icon to align left, center or right",s.i18n)},alignmentTitle:{video:Ze.a,title:Object(g.__)("Title / subtitle alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the title or subtitle to align left, center or right",s.i18n)},alignmentName:{video:Ze.a,title:Object(g.__)("Name / position alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the name or position to align left, center or right",s.i18n)},alignmentDescription:{video:et.a,title:Object(g.__)("Description / text alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the text to align left, center or right",s.i18n)},alignmentButton:{video:nt.a,title:Object(g.__)("Button / link alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the button or link to align left, center or right",s.i18n)},buttonPadding:{video:ot.a,title:Object(g.__)("Button padding",s.i18n),description:Object(g.__)("Adjusts the space between the button text and button borders",s.i18n)},buttonVerticalPadding:{video:rt.a,title:Object(g.__)("Button vertical padding",s.i18n),description:Object(g.__)("Adjusts the space between the button text and button's top and bottom borders",s.i18n)},buttonHorizontalPadding:{video:ct.a,title:Object(g.__)("Button horizontal padding",s.i18n),description:Object(g.__)("Adjusts the space between the button text and button's side borders",s.i18n)},buttonSize:{video:ut.a,title:Object(g.__)("Button size",s.i18n),description:Object(g.__)("Sets the size of the button. Choose from tiny, small, normal, medium or large.",s.i18n)},buttonHoverEffect:{video:pt.a,title:Object(g.__)("Hover effect",s.i18n),description:Object(g.__)("Triggers animation or effects when you mouse over",s.i18n)},buttonHoverOpacity:{video:mt.a,title:Object(g.__)("Hover opacity",s.i18n),description:Object(g.__)("Adjusts the transparency of the button when you mouse over",s.i18n)},buttonHoverColor:{video:ft.a,title:Object(g.__)("Hover colors",s.i18n),description:Object(g.__)("Triggers a change in color when you mouse over",s.i18n)},buttonShadow:{video:vt.a,title:Object(g.__)("Button shadow",s.i18n),description:Object(g.__)("Adjusts the intensity of the button shadow",s.i18n)},buttonBorderRadius:{video:wt.a,title:Object(g.__)("Button border radius",s.i18n),description:Object(g.__)("Adjusts the radius of button corners to make them more rounded",s.i18n)},buttonColorType:{video:kt.a,title:Object(g.__)("Button color type",s.i18n),description:Object(g.__)("Sets the button color type to single or gradient",s.i18n)},buttonToNormal:{video:jt.a,title:Object(g.__)("Change to normal button on hover",s.i18n),description:Object(g.__)("Triggers change from ghost to normal button when you mouse over",s.i18n)},buttonCollapse:{video:xt.a,title:Object(g.__)("Collapse buttons on",s.i18n),description:Object(g.__)("Sets when buttons will be triggered to arrange vertically",s.i18n)},spacing:{video:St.a,title:Object(g.__)("Spacing",s.i18n),description:Object(g.__)("Adjusts the space between block elements",s.i18n)},spacingBlockTitle:{video:Tt.a,title:Object(g.__)("Block title spacing",s.i18n),description:Object(g.__)("Adjusts the space below the block title",s.i18n)},spacingBlockDescription:{video:Nt.a,title:Object(g.__)("Block description spacing",s.i18n),description:Object(g.__)("Adjusts the space below the block description",s.i18n)},spacingImage:{video:Ft.a,title:Object(g.__)("Image spacing",s.i18n),description:Object(g.__)("Adjusts the space below the image",s.i18n)},spacingNumber:{video:Ft.a,title:Object(g.__)("Number spacing",s.i18n),description:Object(g.__)("Adjusts the space below the number",s.i18n)},spacingIcon:{video:Ft.a,title:Object(g.__)("Icon spacing",s.i18n),description:Object(g.__)("Adjusts the space below the icon",s.i18n)},spacingTitle:{video:Dt.a,title:Object(g.__)("Title spacing",s.i18n),description:Object(g.__)("Adjusts the space below the title",s.i18n)},spacingName:{video:Dt.a,title:Object(g.__)("Name / position spacing",s.i18n),description:Object(g.__)("Adjusts the space below the name / position",s.i18n)},spacingDescription:{video:zt.a,title:Object(g.__)("Description Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the description",s.i18n)},spacingButton:{video:Lt.a,title:Object(g.__)("Button spacing",s.i18n),description:Object(g.__)("Adjusts the space beloe the button",s.i18n)},spacingButtonGap:{video:Ht.a,title:Object(g.__)("Button spacing gap",s.i18n),description:Object(g.__)("Adjusts the gap between the buttons",s.i18n)},hoverEffect:{video:Gt.a,title:Object(g.__)("Hover effect",s.i18n),description:Object(g.__)("Triggers animation or effects when you mouse over",s.i18n)},backgroundOnOff:{video:qt.a,title:Object(g.__)("Background Toggle On/Off",s.i18n),description:Object(g.__)("Turns the block background on/off. Turn on to enable different background settings.",s.i18n),learnMore:"https://wpstackable.com/blog/column-backgrounds-and-block-backgrounds/?utm_medium=Help%20Tooltip&utm_campaign=Help%20Tooltip&utm_source=Plugin"},backgroundColorOpacity:{video:Kt.a,title:Object(g.__)("Background Color Opacity",s.i18n),description:Object(g.__)("Adjusts the transparency of the background color",s.i18n)},backgroundTint:{video:Jt.a,title:Object(g.__)("Background Media Tint Strength",s.i18n),description:Object(g.__)("Adjusts the intensity of the background media tint",s.i18n)},backgroundColorType:{video:Zt.a,title:Object(g.__)("Color type",s.i18n),description:Object(g.__)("Sets the color to either a single color or a gradient",s.i18n)},backgroundFixed:{video:en.a,title:Object(g.__)("Fixed Background",s.i18n),description:Object(g.__)("Keeps the background image fixed in place while scrolling",s.i18n)},gradientDirection:{video:nn.a,title:Object(g.__)("Gradient direction",s.i18n),description:Object(g.__)("Sets the direction (in degrees) of the colors",s.i18n)},gradientLocation:{video:on.a,title:Object(g.__)("Gradient Color location",s.i18n),description:Object(g.__)("Sets the placement of each color in relation to the other color",s.i18n)},backgroundImagePosition:{video:ln.a,title:Object(g.__)("Image Position",s.i18n),description:Object(g.__)("Chooses which part of the background image will be the focal point",s.i18n)},backgroundImageRepeat:{video:sn.a,title:Object(g.__)("Image Repeat",s.i18n),description:Object(g.__)("Covers the background with tiled images",s.i18n)},backgroundImageSize:{video:bn.a,title:Object(g.__)("Image Size",s.i18n),description:Object(g.__)("Sets the display image size",s.i18n)},backgroundBlendMode:{video:gn.a,title:Object(g.__)("Image Blend Mode",s.i18n),description:Object(g.__)("Sets how this background gradient/image blends into the other background",s.i18n)},separatorTopOn:{video:dn.a,title:Object(g.__)("Separator Top On and Off",s.i18n),description:Object(g.__)("Turns the top separator on/off. Turn on to enable different separator settings.",s.i18n)},separatorBottomOn:{video:hn.a,title:Object(g.__)("Separator Bottom On and Off",s.i18n),description:Object(g.__)("Turns the bottom separator on/off. Turn on to enable different separator settings.",s.i18n)},separatorHeight:{video:yn.a,title:Object(g.__)("Separator height",s.i18n),description:Object(g.__)("Adjusts the height of the separator to stretch or compress vertically",s.i18n)},separatorWidth:{video:On.a,title:Object(g.__)("Separator width",s.i18n),description:Object(g.__)("Adusts the width of the separator to stretch or compress horizantally",s.i18n)},separatorShadow:{video:_n.a,title:Object(g.__)("Shadow",s.i18n),description:Object(g.__)("Adjusts the intensity of the separator shadow and makes the separator more prominent",s.i18n)},separatorBringToFront:{video:Cn.a,title:Object(g.__)("Bring to Front",s.i18n),description:Object(g.__)("Brings the separator layer in front of other block elements",s.i18n)},separatorLayer2:{video:En.a,title:Object(g.__)("Layer 2",s.i18n),description:Object(g.__)("Turns a second separator layer on/off. Turn on to enable the separate layer settings.",s.i18n)},separatorLayer3:{video:Bn.a,title:Object(g.__)("Layer 3",s.i18n),description:Object(g.__)("Turns a third separator layer on/off. Turn on to enable the separate layer settings.",s.i18n)},separatorLayerOpacity:{video:An.a,title:Object(g.__)("Layer Opacity",s.i18n),description:Object(g.__)("Adjusts the transparency of the separator layer",s.i18n)},separatorLayerBlendMode:{video:Pn.a,title:Object(g.__)("Layer blend mode",s.i18n),description:Object(g.__)("Sets how the sepator layer is blended into the background",s.i18n)},advancedOpacity:{video:Rn.a,title:Object(g.__)("Opacity",s.i18n),description:Object(g.__)("Adjusts the transparency of the entire block",s.i18n)},advancedZindex:{video:Mn.a,title:Object(g.__)("Z-Index",s.i18n),description:Object(g.__)("Sets the stack order of different blocks to make one appear in front of another. A block with a higher z-index will show up on top of another block with a lower z-index.",s.i18n)},advancedBlockSpacing:{video:In.a,title:Object(g.__)("Block Spacing",s.i18n),description:Object(g.__)("Set margins, paddings and alignment of the block and its content",s.i18n)},advancedBlockMargins:{video:In.a,title:Object(g.__)("Block Margins",s.i18n),description:Object(g.__)("Sets the block margin, i.e. the space outside the block between the block border and the next block",s.i18n)},advancedBlockPaddings:{video:Un.a,title:Object(g.__)("Block Padding",s.i18n),description:Object(g.__)("Sets the block padding, i.e. the space inside the block between the column container and the block border",s.i18n)},advancedBlockHeight:{video:Wn.a,title:Object(g.__)("Min Block Height",s.i18n),description:Object(g.__)("Adjusts the minimum allowable height of the block",s.i18n)},advancedBlockVerticalAlign:{video:Vn.a,title:Object(g.__)("Content Vertical Align",s.i18n),description:Object(g.__)("Sets the placement of the column container to top, center or bottom. Available when the min. block height is set to higher than default.",s.i18n)},advancedBlockContentWidth:{video:Yn.a,title:Object(g.__)("Max Content Width",s.i18n),description:Object(g.__)("Adjusts the maximum allowable width of the block. The settings will depend on the block width you set on the toolbar.",s.i18n)},advancedBlockHorizontalAlign:{video:Xn.a,title:Object(g.__)("Content Horizontal Align",s.i18n),description:Object(g.__)("Sets the placement of the column container to left, center or right. Not available when block width is set to full width.",s.i18n)},advancedColumnSpacing:{video:$n.a,title:Object(g.__)("Column Spacing & More",s.i18n),description:Object(g.__)("Sets column paddings, the space inside the block between the block elements and the column container border",s.i18n)},advancedColumnPaddings:{video:$n.a,title:Object(g.__)("Column Paddings",s.i18n),description:Object(g.__)("Sets the column padding, the space inside the block between the block elements and the column container border",s.i18n)},advancedColumnGap:{video:Qn.a,title:Object(g.__)("Column Gap",s.i18n),description:Object(g.__)("Sets the distance between two or more columns",s.i18n)},advancedColumnColumnVerticalAlign:{video:ta.a,title:Object(g.__)("Column Vertical Align",s.i18n),description:Object(g.__)("Sets the placement of the column container to top, center, bottom or stretch. Available when column heights are different.",s.i18n)},advancedColumnHeight:{video:aa.a,title:Object(g.__)("Min Column Height",s.i18n),description:Object(g.__)("Adjusts the minimum allowable height of the column container",s.i18n)},advancedColumnContentVerticalAlign:{video:ia.a,title:Object(g.__)("Content Vertical Align",s.i18n),description:Object(g.__)("Sets the placement of the block elements to top, center, bottom or stretch. Available when column heights are different or when min. column height is set to higher than default.",s.i18n)},accordionAdjacentOpen:{video:la.a,title:Object(g.__)("Close adjacent on open",s.i18n),description:Object(g.__)("Automatically closes adjacent accordion panels when clicked",s.i18n)},accordionClosedStateBackgroundColor:{video:sa.a,title:Object(g.__)("Closed state Background Color",s.i18n),description:Object(g.__)("Sets color of the panel when closed",s.i18n)},accordionPadding:{video:ba.a,title:Object(g.__)("Accordion Padding",s.i18n),description:Object(g.__)("Sets the accordion padding, i.e. the space inside the block between the panel elements and the panel border",s.i18n)},accordionTitleSpacing:{video:ga.a,title:Object(g.__)("Accordion Title Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the title",s.i18n)},accordionBorder:{video:da.a,title:Object(g.__)("Border",s.i18n),description:Object(g.__)("Adjusts the thickness and color of the border of a closed panel for the Lined to Colored layout",s.i18n)},accordionBorderSize:{video:da.a,title:Object(g.__)("Border Size",s.i18n),description:Object(g.__)("Adjusts the thickness of the border of a closed panel for the Lined to Colored layout",s.i18n)},imageColumnWidth:{video:ha.a,title:Object(g.__)("Image Column Width",s.i18n),description:Object(g.__)("Adjusts the width of the image",s.i18n)},featureContainerWidth:{video:ya.a,title:Object(g.__)("Container Width",s.i18n),description:Object(g.__)("Adjusts the width of the text and button container",s.i18n)},featureContainerOffset:{video:Oa.a,title:Object(g.__)("Container Offset",s.i18n),description:Object(g.__)("Adjusts the relative arrangement of the image and the text and button contianer",s.i18n)},iconListGrid:{video:_a.a,title:Object(g.__)("Display as a grid",s.i18n),description:Object(g.__)("Displays the list in an evenly-spaced grid arrangement",s.i18n)},iconListGap:{video:Ca.a,title:Object(g.__)("List Gap",s.i18n),description:Object(g.__)("Adjusts the space between different list lines",s.i18n)},imageBoxHeight:{video:Ea.a,title:Object(g.__)("Height",s.i18n),description:Object(g.__)("Adjusts the height of the image box",s.i18n)},notificationDismissible:{video:Ba.a,title:Object(g.__)("Dismissible",s.i18n),description:Object(g.__)("Provides option to close the notification",s.i18n)},postsContentOrder:{video:Aa.a,title:Object(g.__)("Content Order",s.i18n),description:Object(g.__)("Sets the order of the items displayed (category, title, meta, excerpt) for each post",s.i18n)},postsMetaSeparator:{video:Pa.a,title:Object(g.__)("Meta Separator",s.i18n),description:Object(g.__)("Sets the separators between meta items (dot, space, comma, dash, pipe)",s.i18n)},dividerMargin:{video:Ra.a,title:Object(g.__)("Vertical Margin",s.i18n),description:Object(g.__)("Adjusts the space between the divider and the vertically adjacent blocks",s.i18n)},pricingImageAlign:{video:Ma.a,title:Object(g.__)("Image Align",s.i18n),description:Object(g.__)("Adjusts the placement of the image to align left, center or right",s.i18n)},pricingTitleAlign:{video:Ia.a,title:Object(g.__)("Title Align",s.i18n),description:Object(g.__)("Adjusts the placement of the title to align left, center or right",s.i18n)},pricingPriceAlign:{video:Ua.a,title:Object(g.__)("Price Align",s.i18n),description:Object(g.__)("Adjusts the placement of the price to align left, center or right",s.i18n)},pricingSubpriceAlign:{video:Wa.a,title:Object(g.__)("Sub Price Align",s.i18n),description:Object(g.__)("Adjusts the placement of the subtitle to align left, center or right",s.i18n)},pricingButtonAlign:{video:Va.a,title:Object(g.__)("Button Align",s.i18n),description:Object(g.__)("Adjusts the placement of the button to align left, center or right",s.i18n)},pricingDescriptionAlign:{video:Ya.a,title:Object(g.__)("Description Align",s.i18n),description:Object(g.__)("Adjusts the placement of the description to align left, center or right",s.i18n)},pricingImageSpacing:{video:Xa.a,title:Object(g.__)("Image Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the image",s.i18n)},pricingTitleSpacing:{video:$a.a,title:Object(g.__)("Title Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the title",s.i18n)},pricingPriceSpacing:{video:Qa.a,title:Object(g.__)("Price Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the price",s.i18n)},pricingSubpriceSpacing:{video:to.a,title:Object(g.__)("Sub Price Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the subtitle",s.i18n)},pricingButtonSpacing:{video:ao.a,title:Object(g.__)("Button Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the button",s.i18n)},pricingDescriptionSpacing:{video:io.a,title:Object(g.__)("Description Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the description",s.i18n)},imageBoxOverlay:{video:lo.a,title:Object(g.__)("Overlay Color",s.i18n),description:Object(g.__)("Sets the overlay color of all image boxes",s.i18n)},imageBoxOverlayHover:{video:so.a,title:Object(g.__)("Overlay Hover Color",s.i18n),description:Object(g.__)("Triggers change in overlay color when you mouse over",s.i18n)},imageBoxHoverEffect:{video:bo.a,title:Object(g.__)("Image Hover Effect",s.i18n),description:Object(g.__)("Sets an effect that animates the image",s.i18n)},imageBoxBoxHoverEffect:{video:go.a,title:Object(g.__)("Box Hover Effect",s.i18n),description:Object(g.__)("Sets an effect that animates the container of the image",s.i18n)},imageBoxSubtitleSpacing:{video:fo.a,title:Object(g.__)("Subtitle Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the subtitle",s.i18n)},imageBoxTitleSpacing:{video:vo.a,title:Object(g.__)("Title Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the title",s.i18n)},imageBoxLineSpacing:{video:wo.a,title:Object(g.__)("Line Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the line",s.i18n)},imageBoxDescriptionSpacing:{video:ko.a,title:Object(g.__)("Description Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the description",s.i18n)},imageBoxArrowSpacing:{video:jo.a,title:Object(g.__)("Arrow Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the arrow",s.i18n)},imageBoxSubtitleAlign:{video:xo.a,title:Object(g.__)("Subtitle Align",s.i18n),description:Object(g.__)("Adjusts the placement of the subtitle to align left, center or right",s.i18n)},imageBoxTitleAlign:{video:So.a,title:Object(g.__)("Title Align",s.i18n),description:Object(g.__)("Adjusts the placement of the title to align left, center or right",s.i18n)},imageBoxDescriptionAlign:{video:To.a,title:Object(g.__)("Description Align",s.i18n),description:Object(g.__)("Adjusts the placement of the description to align left, center or right",s.i18n)},imageBoxArrowAlign:{video:No.a,title:Object(g.__)("Arrow Align",s.i18n),description:Object(g.__)("Adjusts the placement of the arrow to align left, center or right",s.i18n)},videoPopupWidth:{video:Fo.a,title:Object(g.__)("Video popup width",s.i18n),description:Object(g.__)("Adjusts the width of the video popup container",s.i18n)},videoPopupHeight:{video:Do.a,title:Object(g.__)("Video popup height",s.i18n),description:Object(g.__)("Adjusts the height of the video popup container",s.i18n)},containerImageWidth:{video:zo.a,title:Object(g.__)("Image width",s.i18n),description:Object(g.__)("Adjusts the image width",s.i18n)},containerImageHeight:{video:Lo.a,title:Object(g.__)("Image height",s.i18n),description:Object(g.__)("Adjusts the image height",s.i18n)},columnRowGap:{video:Ho.a,title:Object(g.__)("Row gap",s.i18n),description:Object(g.__)("Adjusts the vertical row gap between columns",s.i18n)},noPadding:{video:Go.a,title:Object(g.__)("No paddings",s.i18n),description:Object(g.__)("Removes all outer paddings of the block",s.i18n)},columnWidth:{video:qo.a,title:Object(g.__)("Column widths",s.i18n),description:Object(g.__)("Adjust the individual widths of each column",s.i18n)},columnArrangement:{video:Ko.a,title:Object(g.__)("Column arrangement",s.i18n),description:Object(g.__)("Rearrange and move columns around by dragging each handle",s.i18n)}},Jo=function(e){var t=e.getAnchorRect,n=e.title,a=e.videoUrl,o=e.description,i=e.learnMoreUrl,r=e.learnMore,l=Object(m.useRef)();return Object(m.useEffect)(function(){var e=l.current;e.muted=!0,e&&!e.playing&&e.play()},[]),Object(m.useEffect)(function(){window.dispatchEvent(new window.Event("resize"))},[e.videoUrl]),wp.element.createElement(u.Popover,{title:n,focusOnMount:"container",className:"ugb-help-tooltip-video",position:"middle left",getAnchorRect:t},wp.element.createElement(u.PanelBody,null,wp.element.createElement("button",{className:"ugb-help-tooltip-video__remove","data-testid":"close-button",onClick:e.onClickClose},wp.element.createElement(u.Dashicon,{icon:"no"})),a&&wp.element.createElement(m.Fragment,null,wp.element.createElement("video",{ref:l,width:"600",autoPlay:!0,loop:!0,muted:!0,role:"img","aria-labelledby":"ugb-help-tooltip-video__description",src:a}),(!l.current||!l.current.playing)&&wp.element.createElement(u.Spinner,null)),wp.element.createElement("div",{className:"ugb-help-tooltip-video__description",id:"ugb-help-tooltip-video__description"},n&&wp.element.createElement("h4",null,n),o,i&&wp.element.createElement("div",{className:"ugb-help-tooltip-video__link"},wp.element.createElement("a",{href:i,target:"_learn"},r," ",wp.element.createElement(u.Dashicon,{icon:"external"}))),wp.element.createElement(u.CheckboxControl,{label:Object(g.__)("Stop showing tooltips",s.i18n),className:"ugb-help-tooltip__checkbox",checked:!e.tooltipsEnabled,onChange:function(t){return e.onTooltipsEnabledChange(!t)}}))))};Jo.defaultProps={onClickClose:function(){},getAnchorRect:null,title:Object(g.__)("Help",s.i18n),description:"",videoUrl:"",learnMoreUrl:"",learnMore:Object(g.__)("Learn more",s.i18n),tooltipsEnabled:!0,onTooltipsEnabledChange:function(){}};var $o=Jo,Zo=n(5),Qo=n(55),ei=null,ti={},ni={},ai={},oi=function(e){return e.closest('[class*="ugb--help-tip-"]')},ii=function(){!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};ti[e]=function(n){var a=n.target.closest(e);a&&ei!==a&&(ei=a,t(a))},ni[e]=function(t){var a=t.target.closest(e);t.relatedTarget&&a===t.relatedTarget.closest(e)||a&&ei===a&&(n(ei),ei=null)},document.body.addEventListener("mouseover",ti[e]),document.body.addEventListener("mouseout",ni[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label','[class*="ugb--help-tip-"].components-panel__body .components-panel__body-toggle'].join(", "),function(e){return Object(Zo.doAction)("stackable.help-video.control.hover.in",e,oi(e))},function(){return Object(Zo.doAction)("stackable.help-video.control.hover.out")}),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};ai[e]=function(n){var a=n.target.closest(e);a&&t(a)},document.body.addEventListener("click",ai[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label'].join(", "),function(e){return Object(Zo.doAction)("stackable.help-video.control.click",e,oi(e))})},ri=function(){var e;e=['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label','[class*="ugb--help-tip-"].components-panel__body .components-panel__body-toggle'].join(", "),document.body.removeEventListener("mouseover",ti[e]),document.body.removeEventListener("mouseout",ni[e]),function(e){document.body.removeEventListener("click",ai[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label'].join(", "))};function li(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ci(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var si,ui={show:!1,controlEl:null,target:null},bi=function(e,t){si=setTimeout(function(){gi(e,t)},1500)},pi=function(){si&&clearTimeout(si),si=null},gi=function(e,t){ui=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?li(n,!0).forEach(function(t){ci(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):li(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},ui,{show:!0,controlEl:t,target:e}),Object(Zo.doAction)("stackable.help-video.show",e)},mi=function(){ui.show=!1,Object(Zo.doAction)("stackable.help-video.hide")};function di(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var fi,hi=function(e){return"".concat(s.cdnUrl,"/").concat(e)};Qo.loadPromise.then(function(){fi=new Qo.models.Settings});var vi=function(e){var t=di(Object(m.useState)(null),2),n=t[0],a=t[1],o=di(Object(m.useState)(!1),2),i=o[0],r=o[1],l=di(Object(m.useState)(""),2),c=l[0],s=l[1],u=di(Object(m.useState)(!1),2),b=u[0],p=u[1],g=function(e){document.activeElement&&document.activeElement.blur();var t,n="string"!=typeof e&&e,o=e&&"string"!=typeof e?(t=e)&&t.closest('[class*="ugb--help-tip-"]')&&Object(S.camelCase)((t.closest('[class*="ugb--help-tip-"]').getAttribute("class").match(/ugb--help-tip-([\w\d-_]+)/)||["",""])[1]):e;a(n),s(o),r(!0)},d=function(){r(!1);var e=document.querySelector(".components-popover .components-popover__content");e&&e.focus()};if(Object(m.useEffect)(function(){return fi.fetch().then(function(e){p(!e.stackable_help_tooltip_disabled)}),Object(Zo.addAction)("stackable.help-video.show","stackable/help",g),Object(Zo.addAction)("stackable.help-video.hide","stackable/help",d),function(){Object(Zo.removeAction)("stackable.help-video.show","stackable/help"),Object(Zo.removeAction)("stackable.help-video.hide","stackable/help")}},[]),Object(m.useEffect)(function(){b?(ii(),document.body.classList.add("ugb--help-tips-enabled"),Object(Zo.addAction)("stackable.help-video.control.hover.in","stackable/help/hoverin",bi),Object(Zo.addAction)("stackable.help-video.control.hover.out","stackable/help/hoverout",pi),Object(Zo.addAction)("stackable.help-video.control.click","stackable/help/click",function(e,t){if(!ui.show)return gi(e,t);e===ui.target?mi():gi(e,t)}),document.body.addEventListener("click",function(e){ui.show&&(e.target.closest(".ugb-help-tooltip-video")||oi(e.target)===ui.controlEl||mi())})):(document.body.classList.remove("ugb--help-tips-enabled"),ri(),Object(Zo.removeAction)("stackable.help-video.control.hover.in","stackable/help/hoverin"),Object(Zo.removeAction)("stackable.help-video.control.hover.out","stackable/help/hoverout"),Object(Zo.removeAction)("stackable.help-video.control.click","stackable/help/click"))},[b]),!i)return null;if(void 0===e.tooltipData[c])return null;var f=e.tooltipData[c],h=f.title,v=f.video,y=f.description,w=f.learnMore;return wp.element.createElement($o,{onClickClose:d,getAnchorRect:function(){if(!n)return null;var e=n.getBoundingClientRect(),t=document.querySelector(".edit-post-sidebar");if(t){var a=t.getBoundingClientRect();e.x=a.x,e.width=a.width}return e},title:h,description:y,videoUrl:hi(v),learnMoreUrl:w,tooltipsEnabled:b,onTooltipsEnabledChange:function(e){!function(e){new Qo.models.Settings({stackable_help_tooltip_disabled:e?"":"1"}).save()}(e),p(e)}})};vi.defaultProps={tooltipData:Xo};var yi=vi,wi=n(28),Oi=n.n(wi);function ki(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var _i=!1,ji=Object(d.createHigherOrderComponent)(function(e){return function(t){var n=t.isSelected,a=t.name,o=ki(Object(m.useState)(!1),2),i=o[0],r=o[1],c=ki(Object(m.useState)(null),2),s=c[0],u=c[1];return Object(m.useEffect)(function(){return n&&a.match(/^ugb\//)&&!i&&!_i&&u(setTimeout(function(){_i||(_i=!0,u(null),r(!0))},1e3)),function(){s&&clearTimeout(s)}},[i,n]),wp.element.createElement(m.Fragment,null,wp.element.createElement(e,t),i&&wp.element.createElement(l.X,{onRequestClose:function(){r(!1),Oi()({path:"/wp/v2/stk_welcome_video_closed",method:"POST"})}}))}},"withWelcomeTutorialModal");Object(f.a)(function(){if(Element.prototype.closest){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(m.render)(wp.element.createElement(yi,null),e)}}),s.displayWelcomeVideo&&Object(Zo.addFilter)("editor.BlockEdit","stackable/with-welcome-tutorial-modal",ji);var Ci=n(16),xi=n(15),Ei=n.n(xi);function Si(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Bi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Si(n,!0).forEach(function(t){Ti(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Si(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ti(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ai=function(e,t){return function(n,a){var o=a.setAttributes,i=a.attributes.blockTag,r=void 0===i?"div":i;return wp.element.createElement(m.Fragment,null,n,wp.element.createElement(u.PanelBody,{title:Object(g.__)("General",s.i18n),initialOpen:!1},Object(Zo.applyFilters)("stackable.".concat(e,".edit.advanced.general.before"),null,a),t.blockTag&&wp.element.createElement(u.SelectControl,{label:Object(g.sprintf)(Object(g._x)("%s HTML Tag","component"),Object(g.__)("Block",s.i18n)),value:r,options:[{value:"",label:Object(g.__)("Default",s.i18n)},{value:"div",label:Object(g._x)("Div","HTML Tag",s.i18n)},{value:"blockquote",label:Object(g._x)("Blockquote","HTML Tag",s.i18n)},{value:"section",label:Object(g._x)("Section","HTML Tag",s.i18n)},{value:"article",label:Object(g._x)("Article","HTML Tag",s.i18n)},{value:"aside",label:Object(g._x)("Aside","HTML Tag",s.i18n)},{value:"main",label:Object(g._x)("Main","HTML Tag",s.i18n)},{value:"header",label:Object(g._x)("Header","HTML Tag",s.i18n)},{value:"footer",label:Object(g._x)("Footer","HTML Tag",s.i18n)},{value:"nav",label:Object(g._x)("Nav","HTML Tag",s.i18n)},{value:"address",label:Object(g._x)("Address","HTML Tag",s.i18n)},{value:"hgroup",label:Object(g._x)("Hgroup","HTML Tag",s.i18n)}],onChange:function(e){return o({blockTag:e})}}),t.opacity&&wp.element.createElement(l.db,{attrNameTemplate:"%sBlockOpacity",setAttributes:o,blockAttributes:a.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Opacity",s.i18n),min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-advanced-opacity"})),t.zIndex&&wp.element.createElement(l.db,{attrNameTemplate:"%sBlockZIndex",setAttributes:o,blockAttributes:a.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Z-Index",s.i18n),min:-100,max:1e3,allowReset:!0,placeholder:"1",className:"ugb--help-tip-advanced-zindex"})),Object(Zo.applyFilters)("stackable.".concat(e,".edit.advanced.general.after"),null,a)))}},Ni=function(){return function(e,t){var n,a=Object(c.b)(t.attributes),o=".".concat(t.mainClassName),i=(Ti(n={},o,{zIndex:Object(c.c)(a("blockZIndex")),opacity:Object(c.c)(a("blockOpacity"))}),Ti(n,"tablet",Ti({},o,{zIndex:Object(c.c)(a("tabletBlockZIndex")),opacity:Object(c.c)(a("tabletBlockOpacity"))})),Ti(n,"mobile",Ti({},o,{zIndex:Object(c.c)(a("mobileBlockZIndex")),opacity:Object(c.c)(a("mobileBlockOpacity"))})),n);return Ei.a.all([e,i])}},Pi=function(e){return Bi({},e,{blockTag:{type:"string",default:""}},Object(c.h)("%sBlockOpacity",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(c.h)("%sBlockZIndex",{type:"number",default:""},["","Tablet","Mobile"]))},Fi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Bi({blockTag:!0,opacity:!0,zIndex:!0,modifyStyles:!0},t);Object(Zo.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-general"),Ai(e,n),2),n.modifyStyles&&Object(Zo.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-general"),Ni()),Object(Zo.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-general"),Pi),Object(Zo.doAction)("stackable.module.advanced-general",e)};function Ri(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Di(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ri(n,!0).forEach(function(t){Mi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ri(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(Zo.removeFilter)("stackable.setAttributes","stackable/module/block-spacing"),Object(Zo.addFilter)("stackable.setAttributes","stackable/module/block-spacing",function(e,t){return void 0===e.align?e:("full"===e.align&&"full"!==t.align&&(e.marginRight="",e.marginLeft="",e.tabletMarginRight="",e.tabletMarginLeft="",e.tabletPaddingRight="",e.tabletPaddingLeft=""),e)});var zi=function(e,t){return function(n,a){var o=a.setAttributes,i=a.attributes,r=i.align,c=void 0!==r&&r,u=i.blockInnerWidth,b=void 0===u?"":u,p=i.marginTop,d=void 0===p?"":p,f=i.marginRight,h=void 0===f?"":f,v=i.marginBottom,y=void 0===v?"":v,w=i.marginLeft,O=void 0===w?"":w,k=i.marginUnit,_=void 0===k?"px":k,j=i.tabletMarginTop,C=void 0===j?"":j,x=i.tabletMarginRight,E=void 0===x?"":x,S=i.tabletMarginBottom,B=void 0===S?"":S,T=i.tabletMarginLeft,A=void 0===T?"":T,N=i.tabletMarginUnit,P=void 0===N?"px":N,F=i.mobileMarginTop,R=void 0===F?"":F,D=i.mobileMarginRight,M=void 0===D?"":D,z=i.mobileMarginBottom,I=void 0===z?"":z,L=i.mobileMarginLeft,U=void 0===L?"":L,H=i.mobileMarginUnit,W=void 0===H?"px":H,G=i.paddingTop,V=void 0===G?"":G,q=i.paddingBottom,Y=void 0===q?"":q,K=i.paddingRight,X=void 0===K?"":K,J=i.paddingLeft,$=void 0===J?"":J,Z=i.paddingUnit,Q=void 0===Z?"px":Z,ee=i.tabletPaddingTop,te=void 0===ee?"":ee,ne=i.tabletPaddingBottom,ae=void 0===ne?"":ne,oe=i.tabletPaddingRight,ie=void 0===oe?"":oe,re=i.tabletPaddingLeft,le=void 0===re?"":re,ce=i.tabletPaddingUnit,se=void 0===ce?"px":ce,ue=i.mobilePaddingTop,be=void 0===ue?"":ue,pe=i.mobilePaddingBottom,ge=void 0===pe?"":pe,me=i.mobilePaddingRight,de=void 0===me?"":me,fe=i.mobilePaddingLeft,he=void 0===fe?"":fe,ve=i.mobilePaddingUnit,ye=void 0===ve?"px":ve,we=i.blockHeight,Oe=void 0===we?"":we,ke=i.blockHeightUnit,_e=void 0===ke?"px":ke,je=i.tabletBlockHeight,Ce=void 0===je?"":je,xe=i.tabletBlockHeightUnit,Ee=void 0===xe?"px":xe,Se=i.mobileBlockHeight,Be=void 0===Se?"":Se,Te=i.mobileBlockHeightUnit,Ae=void 0===Te?"px":Te,Ne=i.blockWidth,Pe=void 0===Ne?"":Ne,Fe=i.blockWidthUnit,Re=void 0===Fe?"px":Fe,De=i.tabletBlockWidth,Me=void 0===De?"":De,ze=i.tabletBlockWidthUnit,Ie=void 0===ze?"px":ze,Le=i.mobileBlockWidth,Ue=void 0===Le?"":Le,He=i.mobileBlockWidthUnit,We=void 0===He?"px":He,Ge=i.blockHorizontalAlign,Ve=void 0===Ge?"":Ge,qe=i.tabletBlockHorizontalAlign,Ye=void 0===qe?"":qe,Ke=i.mobileBlockHorizontalAlign,Xe=void 0===Ke?"":Ke,Je=i.blockVerticalAlign,$e=void 0===Je?"":Je,Ze=i.tabletBlockVerticalAlign,Qe=void 0===Ze?"":Ze,et=i.mobileBlockVerticalAlign,tt=void 0===et?"":et;return wp.element.createElement(m.Fragment,null,n,wp.element.createElement(l.Y,{title:Object(g.__)("Block Spacing",s.i18n),initialOpen:!1,className:"ugb--help-tip-advanced-block-spacing"},Object(Zo.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.before"),null,a),t.height&&wp.element.createElement(m.Fragment,null,wp.element.createElement(l.pb,null,wp.element.createElement(l.b,{label:Object(g.__)("Min. Block Height",s.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:Oe,unit:_e,onChange:function(e){return o({blockHeight:e})},onChangeUnit:function(e){return o({blockHeightUnit:e})},initialPosition:"100",className:"ugb--help-tip-advanced-block-height"})),wp.element.createElement(l.pb,{screen:"tablet"},wp.element.createElement(l.b,{label:Object(g.__)("Min. Block Height",s.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:Ce,unit:Ee,onChange:function(e){return o({tabletBlockHeight:e})},onChangeUnit:function(e){return o({tabletBlockHeightUnit:e})},className:"ugb--help-tip-advanced-block-height"})),wp.element.createElement(l.pb,{screen:"mobile"},wp.element.createElement(l.b,{label:Object(g.__)("Min. Block Height",s.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:Be,unit:Ae,onChange:function(e){return o({mobileBlockHeight:e})},onChangeUnit:function(e){return o({mobileBlockHeightUnit:e})},className:"ugb--help-tip-advanced-block-height"}))),t.verticalAlign&&wp.element.createElement(m.Fragment,null,""!==Oe&&wp.element.createElement(l.pb,null,wp.element.createElement(l.d,{label:Object(g.__)("Content Vertical Align",s.i18n),controls:"flex-vertical",value:$e,onChange:function(e){return o({blockVerticalAlign:$e!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"})),""!==Ce&&wp.element.createElement(l.pb,{screen:"tablet"},wp.element.createElement(l.d,{label:Object(g.__)("Content Vertical Align",s.i18n),controls:"flex-vertical",value:Qe,onChange:function(e){return o({tabletBlockVerticalAlign:Qe!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"})),""!==Be&&wp.element.createElement(l.pb,{screen:"mobile"},wp.element.createElement(l.d,{label:Object(g.__)("Content Vertical Align",s.i18n),controls:"flex-vertical",value:tt,onChange:function(e){return o({mobileBlockVerticalAlign:tt!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"}))),t.width&&wp.element.createElement(m.Fragment,null,wp.element.createElement(l.pb,null,wp.element.createElement(l.b,{label:Object(g.__)("Max. Content Width",s.i18n),units:["px","%"],min:[100,10],max:[2e3,100],step:[1,1],allowReset:!0,value:Pe,unit:Re,onChange:function(e){return o({blockWidth:e})},onChangeUnit:function(e){return o({blockWidthUnit:e})},initialPosition:"2000",className:"ugb--help-tip-advanced-block-content-width"})),wp.element.createElement(l.pb,{screen:"tablet"},wp.element.createElement(l.b,{label:Object(g.__)("Max. Content Width",s.i18n),units:["px","%"],min:[100,10],max:[1500,100],step:[1,1],allowReset:!0,value:Me,unit:Ie,onChange:function(e){return o({tabletBlockWidth:e})},onChangeUnit:function(e){return o({tabletBlockWidthUnit:e})},className:"ugb--help-tip-advanced-block-content-width"})),wp.element.createElement(l.pb,{screen:"mobile"},wp.element.createElement(l.b,{label:Object(g.__)("Max. Content Width",s.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:Ue,unit:We,onChange:function(e){return o({mobileBlockWidth:e})},onChangeUnit:function(e){return o({mobileBlockWidthUnit:e})},className:"ugb--help-tip-advanced-block-content-width"}))),(t.horizontalAlign||""!==b&&"full"!==b)&&wp.element.createElement(m.Fragment,null,(""!==Pe||""!==b&&"full"!==b)&&wp.element.createElement(l.pb,null,wp.element.createElement(l.d,{label:Object(g.__)("Content Horizontal Align",s.i18n),controls:"flex-horizontal",value:Ve,onChange:function(e){return o({blockHorizontalAlign:Ve!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"})),(""!==Me||""!==b&&"full"!==b)&&wp.element.createElement(l.pb,{screen:"tablet"},wp.element.createElement(l.d,{label:Object(g.__)("Content Horizontal Align",s.i18n),controls:"flex-horizontal",value:Ye,onChange:function(e){return o({tabletBlockHorizontalAlign:Ye!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"})),(""!==Ue||""!==b&&"full"!==b)&&wp.element.createElement(l.pb,{screen:"mobile"},wp.element.createElement(l.d,{label:Object(g.__)("Content Horizontal Align",s.i18n),controls:"flex-horizontal",value:Xe,onChange:function(e){return o({mobileBlockHorizontalAlign:Xe!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"}))),t.margins&&wp.element.createElement(m.Fragment,null,wp.element.createElement(l.pb,{screen:"desktop"},wp.element.createElement(l.F,{label:Object(g.__)("Block Margins",s.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:d,bottom:y,right:h,left:O,unit:_,min:[-500,-100],max:[500,100],onChange:function(e){o({marginTop:e.top||0===e.top?parseInt(e.top,10):"",marginRight:e.right||0===e.right?parseInt(e.right,10):"",marginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",marginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({marginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==c&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==c&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"})),wp.element.createElement(l.pb,{screen:"tablet"},wp.element.createElement(l.F,{label:Object(g.__)("Block Margins",s.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:C,bottom:B,right:E,left:A,unit:P,min:[-500,-100],max:[500,100],onChange:function(e){o({tabletMarginTop:e.top||0===e.top?parseInt(e.top,10):"",tabletMarginRight:e.right||0===e.right?parseInt(e.right,10):"",tabletMarginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",tabletMarginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({tabletMarginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==c&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==c&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"})),wp.element.createElement(l.pb,{screen:"mobile"},wp.element.createElement(l.F,{label:Object(g.__)("Block Margins",s.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:R,bottom:I,right:M,left:U,unit:W,min:[-500,-100],max:[500,100],onChange:function(e){o({mobileMarginTop:e.top||0===e.top?parseInt(e.top,10):"",mobileMarginRight:e.right||0===e.right?parseInt(e.right,10):"",mobileMarginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",mobileMarginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({mobileMarginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==c&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==c&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"}))),t.paddings&&wp.element.createElement(m.Fragment,null,wp.element.createElement(l.pb,{screen:"desktop"},wp.element.createElement(l.F,{label:Object(g.__)("Block Paddings",s.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:V,bottom:Y,right:X,left:$,unit:Q,min:[0,0,0],max:[500,30,100],onChange:function(e){o({paddingTop:e.top||0===e.top?parseInt(e.top,10):"",paddingRight:e.right||0===e.right?parseInt(e.right,10):"",paddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",paddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({paddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,initialPosition:"10",className:"ugb--help-tip-advanced-block-paddings"})),wp.element.createElement(l.pb,{screen:"tablet"},wp.element.createElement(l.F,{label:Object(g.__)("Block Paddings",s.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:te,bottom:ae,right:ie,left:le,unit:se,min:[0,0,0],max:[500,30,100],onChange:function(e){o({tabletPaddingTop:e.top||0===e.top?parseInt(e.top,10):"",tabletPaddingRight:e.right||0===e.right?parseInt(e.right,10):"",tabletPaddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",tabletPaddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({tabletPaddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,className:"ugb--help-tip-advanced-block-paddings"})),wp.element.createElement(l.pb,{screen:"mobile"},wp.element.createElement(l.F,{label:Object(g.__)("Block Paddings",s.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:be,bottom:ge,right:de,left:he,unit:ye,min:[0,0,0],max:[500,30,100],onChange:function(e){o({mobilePaddingTop:e.top||0===e.top?parseInt(e.top,10):"",mobilePaddingRight:e.right||0===e.right?parseInt(e.right,10):"",mobilePaddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",mobilePaddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({mobilePaddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,className:"ugb--help-tip-advanced-block-paddings"}))),Object(Zo.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.after"),null,a)))}},Ii=function(e){return function(t,n){var a,o,i,r,l,s=Object(c.b)(n.attributes),u=n.attributes,b=u.blockInnerWidth,p=void 0===b?"":b,g=u.marginUnit,m=void 0===g?"px":g,d=u.tabletMarginUnit,f=void 0===d?"px":d,h=u.mobileMarginUnit,v=void 0===h?"px":h,y=u.paddingUnit,w=void 0===y?"px":y,O=u.tabletPaddingUnit,k=void 0===O?"px":O,_=u.mobilePaddingUnit,j=void 0===_?"px":_,C=u.blockHeightUnit,x=void 0===C?"px":C,E=u.tabletBlockHeightUnit,S=void 0===E?"px":E,B=u.mobileBlockHeightUnit,T=void 0===B?"px":B,A=u.blockWidthUnit,N=void 0===A?"px":A,P=u.tabletBlockWidthUnit,F=void 0===P?"px":P,R=u.mobileBlockWidthUnit,D=void 0===R?"px":R,M=".".concat(n.mainClassName),z=Object(Zo.applyFilters)("stackable.".concat(e,".advanced-block-spacing.margins"),(Mi(a={},M,{marginTop:Object(c.c)(s("marginTop","%s".concat(m))),marginRight:Object(c.c)(s("marginRight","%s".concat(m))),marginBottom:Object(c.c)(s("marginBottom","%s".concat(m))),marginLeft:Object(c.c)(s("marginLeft","%s".concat(m)))}),Mi(a,"tablet",Mi({},M,{marginTop:Object(c.c)(s("tabletMarginTop","%s".concat(f))),marginRight:Object(c.c)(s("tabletMarginRight","%s".concat(f))),marginBottom:Object(c.c)(s("tabletMarginBottom","%s".concat(f))),marginLeft:Object(c.c)(s("tabletMarginLeft","%s".concat(f)))})),Mi(a,"mobile",Mi({},M,{marginTop:Object(c.c)(s("mobileMarginTop","%s".concat(v))),marginRight:Object(c.c)(s("mobileMarginRight","%s".concat(v))),marginBottom:Object(c.c)(s("mobileMarginBottom","%s".concat(v))),marginLeft:Object(c.c)(s("mobileMarginLeft","%s".concat(v)))})),a)),I=Object(Zo.applyFilters)("stackable.".concat(e,".advanced-block-spacing.paddings"),(Mi(o={},M,{paddingTop:Object(c.c)(s("paddingTop","%s".concat(w))),paddingRight:Object(c.c)(s("paddingRight","%s".concat(w))),paddingBottom:Object(c.c)(s("paddingBottom","%s".concat(w))),paddingLeft:Object(c.c)(s("paddingLeft","%s".concat(w)))}),Mi(o,"tablet",Mi({},M,{paddingTop:Object(c.c)(s("tabletPaddingTop","%s".concat(k))),paddingRight:Object(c.c)(s("tabletPaddingRight","%s".concat(k))),paddingBottom:Object(c.c)(s("tabletPaddingBottom","%s".concat(k))),paddingLeft:Object(c.c)(s("tabletPaddingLeft","%s".concat(k)))})),Mi(o,"mobile",Mi({},M,{paddingTop:Object(c.c)(s("mobilePaddingTop","%s".concat(j))),paddingRight:Object(c.c)(s("mobilePaddingRight","%s".concat(j))),paddingBottom:Object(c.c)(s("mobilePaddingBottom","%s".concat(j))),paddingLeft:Object(c.c)(s("mobilePaddingLeft","%s".concat(j)))})),o)),L=(Mi(l={},M,{minHeight:s("blockHeight","%s".concat(x)),justifyContent:s("blockHorizontalAlign"),alignItems:s("blockVerticalAlign")}),Mi(l,"".concat(M," > .ugb-inner-block"),{width:Object(c.c)(s("blockWidth","%s".concat(N))),minWidth:"wide"===p&&s("blockWidth")?"auto !important":void 0}),Mi(l,"tablet",(Mi(i={},M,{minHeight:s("tabletBlockHeight","%s".concat(S)),justifyContent:s("tabletBlockHorizontalAlign"),alignItems:s("tabletBlockVerticalAlign")}),Mi(i,"".concat(M," > .ugb-inner-block"),{width:Object(c.c)(s("tabletBlockWidth","%s".concat(F))),minWidth:"wide"===p&&s("tabletBlockWidth")?"auto !important":void 0}),i)),Mi(l,"mobile",(Mi(r={},M,{minHeight:Object(c.c)(s("mobileBlockHeight","%s".concat(T))),justifyContent:s("mobileBlockHorizontalAlign"),alignItems:s("mobileBlockVerticalAlign")}),Mi(r,"".concat(M," > .ugb-inner-block"),{width:Object(c.c)(s("mobileBlockWidth","%s".concat(D))),minWidth:"wide"===p&&s("mobileBlockWidth")?"auto !important":void 0}),r)),Mi(l,"ie11",Mi({},M,{height:s("blockHeight","%s".concat(x))})),l);return Ei.a.all([t,z,I,L])}},Li=function(e){return Di({},e,{},Object(c.h)("%sMargin%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(c.h)("%sMarginUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(c.h)("%sPadding%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(c.h)("%sPaddingUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(c.h)("%sBlockHeight",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(c.h)("%sBlockHeightUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(c.h)("%sBlockWidth",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(c.h)("%sBlockWidthUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(c.h)("%sBlock%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]))},Ui=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Di({margins:!0,paddings:!0,height:!0,width:!0,horizontalAlign:!0,verticalAlign:!0,modifyStyles:!0,enableMarginTop:!0,enableMarginRight:!0,enableMarginBottom:!0,enableMarginLeft:!0,enablePaddingTop:!0,enablePaddingRight:!0,enablePaddingBottom:!0,enablePaddingLeft:!0},t);Object(Zo.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-block-spacing"),zi(e,n),5),n.modifyStyles&&Object(Zo.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-block-spacing"),Ii(e)),Object(Zo.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-block-spacing"),Li),Object(Zo.doAction)("stackable.module.advanced-block-spacing",e)};function Hi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Wi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gi=function(e){return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(l.Y,{title:Object(g.__)("Column Spacing & More",s.i18n),initialOpen:!1,className:"ugb--help-tip-advanced-column-spacing"},wp.element.createElement(l.bb,{type:"advanced"})))},Vi=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hi(n,!0).forEach(function(t){Wi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},Object(c.h)("%sColumnPadding%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(c.h)("%sColumnPaddingUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(c.h)("%sColumnGap",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(c.h)("%sColumnHeight",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(c.h)("%sColumnContent%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]),{},Object(c.h)("%sColumn%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]))},qi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s.showProNotice&&Object(Zo.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/fine-grained"),Gi,6),Object(Zo.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-column-spacing"),Vi),Object(Zo.doAction)("stackable.module.advanced-column-spacing",e,t)};function Yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ki(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yi(n,!0).forEach(function(t){Xi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ji=function(e,t){var n=t.attributes,a=n.hideDesktop,o=void 0!==a&&a,i=n.hideTablet,r=void 0!==i&&i,l=n.hideMobile;return Ki({},e,{"ugb--hide-desktop":o,"ugb--hide-tablet":r,"ugb--hide-mobile":void 0!==l&&l})},$i=function(e){return Ki({},e,{hideDesktop:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1}})},Zi=function(e){Object(Zo.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-responsive"),function(e){return function(t,n){var a=n.setAttributes,o=n.attributes,i=o.hideDesktop,r=void 0!==i&&i,l=o.hideTablet,c=void 0!==l&&l,b=o.hideMobile,p=void 0!==b&&b;return wp.element.createElement(m.Fragment,null,t,wp.element.createElement(u.PanelBody,{title:Object(g.__)("Responsive",s.i18n),initialOpen:!1},Object(Zo.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.before"),null,n),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Hide on Desktop",s.i18n),checked:r,onChange:function(e){return a({hideDesktop:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Hide on Tablet",s.i18n),checked:c,onChange:function(e){return a({hideTablet:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Hide on Mobile",s.i18n),checked:p,onChange:function(e){return a({hideMobile:e})}}),Object(Zo.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.after"),null,n)))}}(e),19),Object(Zo.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-responsive"),$i),Object(Zo.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/advanced-responsive"),Ji),Object(Zo.doAction)("stackable.module.advanced-responsive",e)};function Qi(){return(Qi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function tr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?er(n,!0).forEach(function(t){nr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ar=[],or=function(e){return tr({},e,{supports:tr({},e.supports,{align:null})})},ir=function(e){return Object(S.includes)(["center","wide","full"],e)},rr=Object(d.createHigherOrderComponent)(Object(d.compose)([Object(h.withSelect)(function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}}),function(e){return function(t){var n=t.attributes,a=t.name,o=n.align,i=t.wrapperProps;return ar.includes(a)&&ir(o)&&(i=tr({},i,{"data-align":o})),wp.element.createElement(e,Qi({},t,{wrapperProps:i}))}}]));function lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function cr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lr(n,!0).forEach(function(t){sr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ur(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(Zo.addFilter)("editor.BlockListBlock","stackable/with-data-align",rr),Object(Zo.addFilter)("blocks.getSaveContent.extraProps","stackable/addAssignedAlign",function(e,t,n){var a=t.name,o=n.align;return ar.includes(a)?(ir(o)&&(e.className=I()("align".concat(o),e.className)),e):e}),Object(Zo.removeFilter)("stackable.setAttributes","stackable/module/block-background/show"),Object(Zo.addFilter)("stackable.setAttributes","stackable/module/block-background/show",function(e,t){if(void 0===e.showBlockBackground)return e;var n=t.attributes,a=n.align,o=void 0===a?"":a,i=n.blockInnerWidth,r=void 0===i?"":i;return e.align=e.showBlockBackground?"full":r||"center",e.blockInnerWidth=e.showBlockBackground?o||"center":"",e});var br=function(e,t){var n=t.setAttributes,a=t.attributes,o=a.showBlockBackground,i=void 0!==o&&o,r=a.noPaddings,b=void 0===r?"":r;return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(l.Y,{title:Object(g.__)("Block Background",s.i18n),id:"block-background",checked:i,onChange:function(e){return n({showBlockBackground:e})},toggleOnSetAttributes:[].concat(ur(Object(c.i)("blockBackground%s")),["noPaddings"]),toggleAttributeName:"showBlockBackground",className:"ugb--help-tip-background-on-off"},wp.element.createElement(l.u,null),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("No Paddings",s.i18n),checked:b,onChange:function(e){return n({noPaddings:e})},className:"ugb--help-tip-no-padding"}),wp.element.createElement(l.g,{attrNameTemplate:"blockBackground%s",setAttributes:n,blockAttributes:t.attributes})))},pr=function(e,t){var n=t.setAttributes,a=t.attributes,o=a.showBlockBackground,i=void 0!==o&&o,r=a.align,l=void 0===r?"":r,c=a.blockInnerWidth,b=void 0===c?"":c;return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(p.BlockControls,null,!i&&wp.element.createElement(p.BlockAlignmentToolbar,{value:l,onChange:function(e){var t=i&&!e?"full":e;n(i?{align:"full",blockInnerWidth:"center"===t?"":t}:{align:t})},controls:["center","wide","full"]}),i&&wp.element.createElement(u.Toolbar,{label:Object(g.__)("Change Alignment",s.i18n),controls:[{icon:"align-center",title:Object(g.__)("Align center",s.i18n),isActive:""===b||"center"===b,onClick:function(){n({blockInnerWidth:"center"})}},{icon:"align-wide",title:Object(g.__)("Wide width",s.i18n),isActive:"wide"===b,onClick:function(){n({blockInnerWidth:"wide"})}},{icon:"align-full-width",title:Object(g.__)("Full width",s.i18n),isActive:"full"===b,onClick:function(){n({blockInnerWidth:"full"})}}]})))},gr=function(e){return cr({},e,{supports:cr({},e.supports,{align:["center","wide","full"]})})},mr=function(e){return cr({},e,{showBlockBackground:{type:"boolean",default:!1},blockInnerWidth:{type:"string",default:""},align:{type:"string"},noPaddings:{type:"boolean",default:""}},Object(c.j)("blockBackground%s"))},dr=function(e,t){var n,a=t.attributes,o=a.showBlockBackground,i=void 0!==o&&o,r=a.blockInnerWidth,l=void 0===r?"":r;return i?cr({},e,(sr(n={},"ugb-main-block--inner-".concat(l),l),sr(n,"ugb--has-block-background",i),sr(n,"ugb--has-background-overlay",Object(c.M)("blockBackground%s",t.attributes)),n)):e},fr=function(e,t,n){return n.attributes.showBlockBackground?wp.element.createElement(m.Fragment,null,e,Object(c.E)("blockBackground%s",n)):e},hr=function(e,t){var n,a,o,i=Object(c.b)(t.attributes);if(!t.attributes.showBlockBackground)return e;var r=(sr(o={},".".concat(t.mainClassName),cr({},Object(c.m)("blockBackground%s","desktop",t.attributes))),sr(o,"",{padding:i("noPaddings")?"0 !important":void 0}),sr(o,".".concat(t.mainClassName,":before"),cr({},Object(c.k)("blockBackground%s","desktop",t.attributes))),sr(o,"tablet",(sr(n={},".".concat(t.mainClassName),cr({},Object(c.m)("blockBackground%s","tablet",t.attributes))),sr(n,".".concat(t.mainClassName,":before"),cr({},Object(c.k)("blockBackground%s","tablet",t.attributes))),n)),sr(o,"mobile",(sr(a={},".".concat(t.mainClassName),cr({},Object(c.m)("blockBackground%s","mobile",t.attributes))),sr(a,".".concat(t.mainClassName,":before"),cr({},Object(c.k)("blockBackground%s","mobile",t.attributes))),a)),o);return Ei()(e,r)},vr=function(e){return Object(S.omit)(e,["blockBackgroundBackgroundMediaId"])};function yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function wr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yr(n,!0).forEach(function(t){Or(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a=n.setAttributes,o=n.attributes,i=o.showTopSeparator,r=void 0!==i&&i,c=o.topSeparatorDesign,b=void 0===c?"wave-1":c,p=o.topSeparatorColor,d=void 0===p?"":p,f=o.topSeparatorWidth,h=void 0===f?"":f,v=o.topSeparatorFlipHorizontally,y=void 0!==v&&v,w=o.topSeparatorFlipVertically,O=void 0!==w&&w,k=o.topSeparatorShadow,_=void 0===k||k,j=o.topSeparatorBringToFront,C=void 0!==j&&j,x=o.showBottomSeparator,E=void 0!==x&&x,S=o.bottomSeparatorDesign,B=void 0===S?"wave-1":S,T=o.bottomSeparatorColor,A=void 0===T?"":T,N=o.bottomSeparatorWidth,P=void 0===N?"":N,F=o.bottomSeparatorFlipHorizontally,R=void 0!==F&&F,D=o.bottomSeparatorFlipVertically,M=void 0!==D&&D,z=o.bottomSeparatorShadow,I=void 0===z||z,L=o.bottomSeparatorBringToFront,U=void 0!==L&&L;return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(l.Y,{title:Object(g.__)("Top Separator",s.i18n),id:"top-separator",checked:r,onChange:function(e){return a({showTopSeparator:e})},toggleOnSetAttributes:["topSeparatorDesign","topSeparatorColor","topSeparatorHeight","topSeparatorTabletHeight","topSeparatorMobileHeight","topSeparatorWidth","topSeparatorFlipHorizontally","topSeparatorFlipVertically","topSeparatorShadow","topSeparatorBringToFront","showTopSeparatorLayer2","showTopSeparatorLayer3","topSeparatorLayer2Color","topSeparatorLayer3Color","topSeparatorLayer2BlendMode","topSeparatorLayer3BlendMode","topSeparatorLayer2Height","topSeparatorLayer3Height","topSeparatorLayer2Width","topSeparatorLayer3Width","topSeparatorLayer2Opacity","topSeparatorLayer3Opacity","topSeparatorLayer2FlipHorizontally","topSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showTopSeparator",className:"ugb-top-block-separator-panel ugb--help-tip-separator-top-on"},wp.element.createElement(l.B,{label:Object(g.__)("Design",s.i18n),selected:b,onChange:function(e){return a({topSeparatorDesign:e})}}),wp.element.createElement(l.r,{label:Object(g.__)("Color",s.i18n),value:d,onChange:function(e){return a({topSeparatorColor:e})}}),wp.element.createElement(l.db,{attrNameTemplate:"topSeparator%sHeight",setAttributes:a,blockAttributes:n.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Height",s.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200",className:"ugb--help-tip-separator-height"})),wp.element.createElement(l.b,{label:Object(g.__)("Width",s.i18n),min:"1",max:"4",step:"0.1",value:h,onChange:function(e){return a({topSeparatorWidth:e})},allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-separator-width"}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Flip Horizontally",s.i18n),checked:y,onChange:function(e){return a({topSeparatorFlipHorizontally:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Flip Vertically",s.i18n),checked:O,onChange:function(e){return a({topSeparatorFlipVertically:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Shadow",s.i18n),checked:_,onChange:function(e){return a({topSeparatorShadow:e})},className:"ugb--help-tip-separator-shadow"}),t.enableBringToFront&&wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Bring to Front",s.i18n),checked:C,onChange:function(e){return a({topSeparatorBringToFront:e})},className:"ugb--help-tip-separator-bring-to-front"}),Object(Zo.applyFilters)("stackable.block-separators.edit.top",null,n),s.showProNotice&&wp.element.createElement(l.cb,{title:Object(g.__)("Say Hello to Gorgeous Separators 👋",s.i18n),description:Object(g.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",s.i18n)})),wp.element.createElement(l.Y,{title:Object(g.__)("Bottom Separator",s.i18n),id:"bottom-separator",checked:E,onChange:function(e){return a({showBottomSeparator:e})},toggleOnSetAttributes:["bottomSeparatorDesign","bottomSeparatorColor","bottomSeparatorHeight","bottomSeparatorTabletHeight","bottomSeparatorMobileHeight","bottomSeparatorWidth","bottomSeparatorFlipHorizontally","bottomSeparatorFlipVertically","bottomSeparatorShadow","bottomSeparatorBringToFront","showBottomSeparatorLayer2","showBottomSeparatorLayer3","bottomSeparatorLayer2Color","bottomSeparatorLayer3Color","bottomSeparatorLayer2BlendMode","bottomSeparatorLayer3BlendMode","bottomSeparatorLayer2Height","bottomSeparatorLayer3Height","bottomSeparatorLayer2Width","bottomSeparatorLayer3Width","bottomSeparatorLayer2Opacity","bottomSeparatorLayer3Opacity","bottomSeparatorLayer2FlipHorizontally","bottomSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showBottomSeparator",className:"ugb-bottom-block-separator-panel ugb--help-tip-separator-bottom-on"},wp.element.createElement(l.B,{label:Object(g.__)("Design",s.i18n),selected:B,onChange:function(e){return a({bottomSeparatorDesign:e})}}),wp.element.createElement(l.r,{label:Object(g.__)("Color",s.i18n),value:A,onChange:function(e){return a({bottomSeparatorColor:e})}}),wp.element.createElement(l.db,{attrNameTemplate:"bottomSeparator%sHeight",setAttributes:a,blockAttributes:n.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Height",s.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200",className:"ugb--help-tip-separator-height"})),wp.element.createElement(l.b,{label:Object(g.__)("Width",s.i18n),min:"1",max:"4",step:"0.1",value:P,onChange:function(e){return a({bottomSeparatorWidth:e})},allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-separator-width"}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Flip Horizontally",s.i18n),checked:R,onChange:function(e){return a({bottomSeparatorFlipHorizontally:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Flip Vertically",s.i18n),checked:M,onChange:function(e){return a({bottomSeparatorFlipVertically:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Shadow",s.i18n),checked:I,onChange:function(e){return a({bottomSeparatorShadow:e})},className:"ugb--help-tip-separator-shadow"}),t.enableBringToFront&&wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Bring to Front",s.i18n),checked:U,onChange:function(e){return a({bottomSeparatorBringToFront:e})},className:"ugb--help-tip-separator-bring-to-front"}),Object(Zo.applyFilters)("stackable.block-separators.edit.bottom",null,n),s.showProNotice&&wp.element.createElement(l.cb,{title:Object(g.__)("Say Hello to Gorgeous Separators 👋",s.i18n),description:Object(g.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",s.i18n)})))}},_r=function(e){return wr({},e,{},Object(c.h)("Show%sSeparator",{type:"boolean",default:""},["Top","Bottom"]),{},Object(c.h)("%sSeparator%s",{type:"string",default:"wave-1"},["Top","Bottom"],["Design"]),{},Object(c.h)("%sSeparator%s",{type:"string",default:""},["Top","Bottom"],["Color"]),{},Object(c.h)("%sSeparator%s",{type:"number",default:""},["Top","Bottom"],["Height","TabletHeight","MobileHeight","Width"]),{},Object(c.h)("%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["FlipHorizontally","FlipVertically","BringToFront"]),{},Object(c.h)("%sSeparatorShadow",{type:"boolean",default:!0},["Top","Bottom"]),{},Object(c.h)("Show%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["Layer2","Layer3"]),{},Object(c.h)("%sSeparator%s",{type:"string",default:""},["Top","Bottom"],["Layer2Color","Layer3Color","Layer2BlendMode","Layer3BlendMode"]),{},Object(c.h)("%sSeparator%s",{type:"number",default:""},["Top","Bottom"],["Layer2Height","Layer3Height","Layer2Width","Layer3Width","Layer2Opacity","Layer3Opacity"]),{},Object(c.h)("%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["Layer2FlipHorizontally","Layer3FlipHorizontally"]))},jr=function(e,t,n){var a=n.attributes,o=a.showTopSeparator,i=void 0!==o&&o,r=a.topSeparatorDesign,c=void 0===r?"wave-1":r,s=a.topSeparatorFlipVertically,u=void 0!==s&&s,b=a.topSeparatorShadow,p=void 0===b||b,g=a.showBottomSeparator,d=void 0!==g&&g,f=a.bottomSeparatorDesign,h=void 0===f?"wave-1":f,v=a.bottomSeparatorFlipVertically,y=void 0!==v&&v,w=a.bottomSeparatorShadow,O=void 0===w||w;return wp.element.createElement(m.Fragment,null,e,i&&wp.element.createElement(m.Fragment,null,wp.element.createElement("div",{className:"ugb-top-separator"},wp.element.createElement(l.eb,{design:c,shadow:p,inverted:u},Object(Zo.applyFilters)("stackable.module.block-separator.output.top.after",null,n)))),d&&wp.element.createElement(m.Fragment,null,wp.element.createElement("div",{className:"ugb-bottom-separator"},wp.element.createElement(l.eb,{design:h,shadow:O,inverted:y},Object(Zo.applyFilters)("stackable.module.block-separator.output.bottom.after",null,n)))))},Cr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,o=n.attributes,i=o.showTopSeparator,r=void 0!==i&&i,l=o.topSeparatorColor,c=void 0===l?"":l,s=o.topSeparatorHeight,u=void 0===s?"":s,b=o.topSeparatorTabletHeight,p=void 0===b?"":b,g=o.topSeparatorMobileHeight,m=void 0===g?"":g,d=o.topSeparatorWidth,f=void 0===d?"":d,h=o.topSeparatorFlipHorizontally,v=void 0!==h&&h,y=o.topSeparatorBringToFront,w=void 0!==y&&y;if(!r)return e;var O=(Or(a={},".ugb-top-separator",{zIndex:t.enableBringToFront&&w?6:void 0,transform:v?"scale(-1)":void 0}),Or(a,".ugb-top-separator svg",{fill:""!==c?c:void 0}),Or(a,".ugb-top-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0,transform:""!==f?"scaleX(".concat(f,")"):void 0}),Or(a,"tablet",Or({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),Or(a,"mobile",Or({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==m?"".concat(m,"px"):void 0})),a);return Ei()(e,O)}},xr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,o=n.attributes,i=o.showBottomSeparator,r=void 0!==i&&i,l=o.bottomSeparatorColor,c=void 0===l?"":l,s=o.bottomSeparatorHeight,u=void 0===s?"":s,b=o.bottomSeparatorTabletHeight,p=void 0===b?"":b,g=o.bottomSeparatorMobileHeight,m=void 0===g?"":g,d=o.bottomSeparatorWidth,f=void 0===d?"":d,h=o.bottomSeparatorFlipHorizontally,v=void 0!==h&&h,y=o.bottomSeparatorBringToFront,w=void 0!==y&&y;if(!r)return e;var O=(Or(a={},".ugb-bottom-separator",{zIndex:t.enableBringToFront&&w?6:void 0,transform:v?"scaleX(-1)":void 0}),Or(a,".ugb-bottom-separator svg",{fill:""!==c?c:void 0}),Or(a,".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0,transform:""!==f?"scaleX(".concat(f,")"):void 0}),Or(a,"tablet",Or({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),Or(a,"mobile",Or({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==m?"".concat(m,"px"):void 0})),a);return Ei()(e,O)}},Er=function(e,t){var n=t.attributes,a=n.showTopSeparator,o=void 0!==a&&a,i=n.showBottomSeparator;return wr({},e,{"ugb--has-top-separator":o,"ugb--has-bottom-separator":void 0!==i&&i})};function Sr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Br(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sr(n,!0).forEach(function(t){Tr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ar(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Nr=function(e,t){var n=t.setAttributes,a=t.attributes,o=a.showBlockTitle,i=void 0!==o&&o,r=a.blockTitleTag,u=void 0===r?"":r,b=a.blockTitleColor,p=void 0===b?"":b,d=a.showBlockDescription,f=void 0!==d&&d,h=a.blockDescriptionColor,v=void 0===h?"":h,y=a.blockTitle,w=void 0===y?"":y,O=a.blockDescription,k=void 0===O?"":O;return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(l.Y,{title:Object(g.__)("Block Title",s.i18n),id:"block-title",className:"ugb-panel-block-title-module",checked:i,onChange:function(e){var t={showBlockTitle:e};e&&""===w&&(t.blockTitle=Object(g.__)("Title for This Block",s.i18n)),n(t)},toggleOnSetAttributes:[].concat(Ar(Object(c.B)("blockTitle%s")),["blockTitleTag","blockTitleColor"],Ar(Object(c.w)("blockTitle%sAlign"))),toggleAttributeName:"showBlockTitle"},wp.element.createElement(l.mb,{attrNameTemplate:"blockTitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(l.H,{value:u||"h2",onChange:function(e){return n({blockTitleTag:e})}}),wp.element.createElement(l.r,{value:p,onChange:function(e){return n({blockTitleColor:e})},label:Object(g.__)("Title Color",s.i18n)}),wp.element.createElement(l.db,{attrNameTemplate:"BlockTitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.e,{label:Object(g.__)("Align",s.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(l.Y,{title:Object(g.__)("Block Description",s.i18n),id:"block-description",checked:f,onChange:function(e){var t={showBlockDescription:e};e&&""===k&&(t.blockDescription=Object(c.F)()),n(t)},toggleOnSetAttributes:[].concat(Ar(Object(c.B)("blockDescription%s")),["blockDescriptionTag","blockDescriptionColor"],Ar(Object(c.w)("blockDescription%sAlign"))),toggleAttributeName:"showBlockDescription"},wp.element.createElement(l.mb,{attrNameTemplate:"blockDescription%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(l.r,{value:v,onChange:function(e){return n({blockDescriptionColor:e})},label:Object(g.__)("Description Color",s.i18n)}),wp.element.createElement(l.db,{attrNameTemplate:"BlockDescription%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.e,{label:Object(g.__)("Align",s.i18n),className:"ugb--help-tip-alignment-description"}))))},Pr=function(e){return Br({},e,{showBlockTitle:{type:"boolean",default:!1},blockTitle:{source:"html",selector:".ugb-block-title",default:Object(g.__)("Title for This Block",s.i18n)}},Object(c.x)("blockTitle%sBottomMargin",{type:"number",default:""}),{},Object(c.C)("blockTitle%s"),{},Object(c.x)("blockTitle%sAlign",{type:"string",default:""}),{blockTitleColor:{type:"string",default:""},blockTitleTag:{type:"string",default:""},showBlockDescription:{type:"boolean",default:!1},blockDescription:{source:"html",selector:".ugb-block-description",default:Object(c.F)()}},Object(c.x)("blockDescription%sBottomMargin",{type:"number",default:""}),{},Object(c.C)("blockDescription%s"),{},Object(c.x)("blockDescription%sAlign",{type:"string",default:""}),{blockDescriptionColor:{type:"string",default:""}})},Fr=function(e,t,n){var a=n.setAttributes,o=n.attributes,i=o.showBlockTitle,r=void 0!==i&&i,l=o.blockTitle,u=void 0===l?"":l,b=o.blockTitleTag,d=void 0===b?"":b,f=o.showBlockDescription,h=void 0!==f&&f,v=o.blockDescription,y=void 0===v?"":v,w=I()(["ugb-block-title"],{"ugb-block-title--with-subtitle":h&&y});return wp.element.createElement(m.Fragment,null,e,r&&wp.element.createElement(p.RichText,{tagName:d||"h2",value:u,className:w,onChange:function(e){return a({blockTitle:e})},placeholder:Object(g.__)("Title for This Block",s.i18n),keepPlaceholderOnFocus:!0}),h&&wp.element.createElement(p.RichText,{tagName:"p",value:y,className:"ugb-block-description",onChange:function(e){return a({blockDescription:e})},placeholder:Object(c.F)(),keepPlaceholderOnFocus:!0}))},Rr=function(e,t){var n=t.setAttributes,a=t.attributes,o=a.showBlockTitle,i=void 0!==o&&o,r=a.showBlockDescription,c=void 0!==r&&r;return wp.element.createElement(m.Fragment,null,e,i&&wp.element.createElement(l.db,{attrNameTemplate:"blockTitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Block Title",s.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-block-title"})),c&&wp.element.createElement(l.db,{attrNameTemplate:"blockDescription%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Block Description",s.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-block-description"})))},Dr=function(e,t,n){var a=n.attributes,o=a.showBlockTitle,i=void 0!==o&&o,r=a.blockTitle,l=void 0===r?"":r,c=a.blockTitleTag,s=void 0===c?"":c,u=a.showBlockDescription,b=void 0!==u&&u,g=a.blockDescription,d=void 0===g?"":g,f=I()(["ugb-block-title"],{"ugb-block-title--with-subtitle":b&&d});return wp.element.createElement(m.Fragment,null,e,i&&!p.RichText.isEmpty(l)&&wp.element.createElement(p.RichText.Content,{tagName:s||"h2",className:f,value:l}),b&&!p.RichText.isEmpty(d)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-block-description",value:d}))},Mr=function(e,t){var n=Object(c.b)(t.attributes),a=t.attributes,o=a.showBlockTitle,i=void 0!==o&&o,r=a.blockTitleColor,l=void 0===r?"":r,s=a.showBlockDescription,u=void 0!==s&&s,b=a.blockDescriptionColor,p=void 0===b?"":b,g=a.showBlockBackground,m=void 0!==g&&g,d=a.blockBackgroundBackgroundColor,f=void 0===d?"":d,h=[e];return i&&h.push({".ugb-block-title":Br({},Object(c.D)("BlockTitle%s","desktop",t.attributes),{color:Object(c.gb)(l,m&&f),textAlign:n("blockTitleAlign"),marginBottom:n("blockTitleBottomMargin","%spx")}),tablet:{".ugb-block-title":Br({},Object(c.D)("BlockTitle%s","tablet",t.attributes),{textAlign:n("blockTitleTabletAlign"),marginBottom:n("blockTitleTabletBottomMargin","%spx")})},mobile:{".ugb-block-title":Br({},Object(c.D)("BlockTitle%s","mobile",t.attributes),{textAlign:n("blockTitleMobileAlign"),marginBottom:n("blockTitleMobileBottomMargin","%spx")})}}),u&&h.push({".ugb-block-description":Br({},Object(c.D)("BlockDescription%s","desktop",t.attributes),{color:Object(c.gb)(p,m&&f),textAlign:n("blockDescriptionAlign"),marginBottom:n("blockDescriptionBottomMargin","%spx")}),tablet:{".ugb-block-description":Br({},Object(c.D)("BlockDescription%s","tablet",t.attributes),{textAlign:n("blockDescriptionTabletAlign"),marginBottom:n("blockDescriptionTabletBottomMargin","%spx")})},mobile:{".ugb-block-description":Br({},Object(c.D)("BlockDescription%s","mobile",t.attributes),{textAlign:n("blockDescriptionMobileAlign"),marginBottom:n("blockDescriptionMobileBottomMargin","%spx")})}}),Ei.a.all(h)},zr=function(e){return Object(S.omit)(Br({},e,{blockTitle:Object(g.__)("Title for This Block",s.i18n),blockDescription:Object(c.F)()}),[e.showBlockTitle?"blockTitle":"",e.showBlockDescription?"blockDescription":""])},Ir=function(e){return[].concat(Ar(e),["BlockTitle%sAlign","BlockDescription%sAlign"])};function Lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lr(n,!0).forEach(function(t){Hr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wr=function(e){return function(t){return wp.element.createElement(m.Fragment,null,t,wp.element.createElement(u.PanelBody,{title:Object(g.__)("Designs",s.i18n),initialOpen:!0},wp.element.createElement("p",{className:"components-base-control__help"},Object(g.__)("You will not lose your block content when changing designs.",s.i18n)),wp.element.createElement(l.x,{block:"ugb/".concat(e),onSelect:function(e){Object(c.e)(e.attributes)}})))}};function Gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qr=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gr(n,!0).forEach(function(t){Vr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},Object(c.h)("%sContentAlign",{type:"string",default:""},["","Tablet","Mobile"]))},Yr=function(e,t){var n=Object(c.b)(t.attributes),a=[e];return a.push({".ugb-inner-block":{textAlign:n("contentAlign")},tablet:{".ugb-inner-block":{textAlign:n("tabletContentAlign")}},mobile:{".ugb-inner-block":{textAlign:n("mobileContentAlign")}}}),Ei.a.all(a)},Kr=function(e,t){var n=t.setAttributes,a=t.attributes.contentAlign,o=void 0===a?"":a;return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(p.BlockControls,null,wp.element.createElement(p.AlignmentToolbar,{value:o,onChange:function(e){return n({contentAlign:e})}})))};function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $r=function(e){return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(u.PanelBody,{initialOpen:!1,title:Object(g.__)("Custom CSS",s.i18n)},wp.element.createElement(l.bb,{title:Object(g.__)("Say Hello to Custom CSS 👋",s.i18n),description:Object(g.__)("Further tweak this block by adding guided custom CSS rules. This feature is only available on Stackable Premium",s.i18n)})))},Zr=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(n,!0).forEach(function(t){Jr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""}})},Qr=function(e,t,n){var a=n.mainClassName,o=n.attributes,i=o.customCSS,r=void 0===i?"":i,l=o.uniqueClass,s=void 0===l?n.attributes.customCSSUniqueID||"":l,u=Object(c.V)(Object(c.g)(r,a,s),!0);return wp.element.createElement(m.Fragment,null,e,u&&wp.element.createElement("style",null,u))},el={},tl=function(e,t){el[e]=t},nl=function(e){return el[e]},al=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!nl(t)){var a=ol.reduce(function(e,n){var a=n.name,o=n.module;return t===a?o:e},null);a&&tl(t,a)}var o=nl(t);o&&o(e,n)},ol=[{name:"advanced-general",module:Fi},{name:"advanced-responsive",module:Zi},{name:"advanced-block-spacing",module:Ui},{name:"advanced-column-spacing",module:qi},{name:"block-background",module:function(e){Object(Zo.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-background"),br,18),Object(Zo.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-background"),mr),Object(Zo.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/block-background"),pr),Object(Zo.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),gr),Object(Zo.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-background"),dr),Object(Zo.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-background"),hr),Object(Zo.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),fr),Object(Zo.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),fr),Object(Zo.addFilter)("stackable.".concat(e,".design.filtered-block-attributes"),"stackable/".concat(e,"/block-separators"),vr),Object(Zo.doAction)("stackable.module.block-background",e),function(e){Object(Zo.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),or,99),ar.push("ugb/".concat(e))}(e)}},{name:"block-separators",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=wr({enableBringToFront:!0},t);Object(Zo.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-separators"),kr(e,n),18),Object(Zo.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-separators"),_r),Object(Zo.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),jr),Object(Zo.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),jr),Object(Zo.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/top"),Cr(e,n)),Object(Zo.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/bottom"),xr(e,n)),Object(Zo.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-separators"),Er),Object(Zo.doAction)("stackable.module.block-separators",e)}},{name:"block-title",module:function(e){Object(Zo.removeFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title"),Object(Zo.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-title"),Nr,17),Object(Zo.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-title"),Pr),Object(Zo.addFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title",Rr),Object(Zo.addFilter)("stackable.".concat(e,".edit.output.before"),"stackable/".concat(e,"/block-title"),Fr),Object(Zo.addFilter)("stackable.".concat(e,".save.output.before"),"stackable/".concat(e,"/block-title"),Dr),Object(Zo.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-title"),Mr),Object(Zo.addFilter)("stackable.with-content-align-reseter.attributeNamesToReset","stackable/".concat(e,"/block-title"),Ir),Object(Zo.addFilter)("stackable.".concat(e,".design.filtered-block-attributes"),"stackable/".concat(e,"/block-title"),zr),Object(Zo.doAction)("stackable.module.block-title",e)}},{name:"block-designs",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Ur({},t);Object(Zo.addFilter)("stackable.".concat(e,".edit.inspector.layout.before"),"stackable/".concat(e,"/block-designs"),Wr(e),20),Object(Zo.doAction)("stackable.module.block-designs",e)}},{name:"content-align",module:function(e){Object(Zo.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/content-align"),Kr,11),Object(Zo.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/content-align"),qr),Object(Zo.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/content-align"),Yr,9),Object(Zo.doAction)("stackable.module.content-align",e)}},{name:"custom-css",module:function(e){s.showProNotice&&Object(Zo.addFilter)("stackable.".concat(e,".edit.inspector.advanced.after"),"stackable/".concat(e,"/custom-css"),$r,20),Object(Zo.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/custom-css"),Zr),s.isPro||Object(Zo.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/pro/".concat(e,"/custom-css/downgrade"),Qr),Object(Zo.doAction)("stackable.module.custom-css",e)}}],il=n(11);function rl(e){return(rl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ll(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function cl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ll(n,!0).forEach(function(t){sl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ll(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ul,bl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(C.getBlockType)(e)){var n=e.replace(/^\w+\//g,""),a=cl({},t,{category:Object(c.bb)()?t.category:"stackable",modules:Object(Zo.applyFilters)("stackable.".concat(n,".modules"),t.modules||{}),deprecated:(t.deprecated||[]).map(function(t){return cl({},t,{save:Object(il.f)(e)(t.save)})})});return Object.keys(a.modules).forEach(function(e){var t=a.modules[e];t&&al(n,e,"object"===rl(t)?t:{})}),a.attributes=Object(Zo.applyFilters)("stackable.block.attributes",a.attributes),a.attributes=Object(Zo.applyFilters)("stackable.".concat(n,".attributes"),a.attributes),a.edit=Object(il.f)(e)(a.edit),a.save=Object(il.f)(e)(a.save),Object(C.registerBlockType)(e,Object(Zo.applyFilters)("stackable.".concat(n,".settings"),a)),a}};Object(c.bb)()?Object(C.registerBlockCollection)("ugb",{title:Object(g.__)("Stackable",s.i18n),icon:Ci.t}):Object(C.setCategories)([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(ul=Object(C.getCategories)())||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(ul)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}(),[{slug:"stackable",title:Object(g.__)("Stackable",s.i18n),icon:Ci.t}]));var pl;(pl=n(376)).keys().forEach(function(e){var t=pl(e),n=t.name,a=t.settings;try{return n&&a&&bl(n,a)}catch(e){console.error("Could not register ".concat(n," block"))}})},function(e,t,n){"use strict";n.r(t);var a=n(4),o=n.n(a);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var r=o.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),l=function(e){return o.a.createElement("svg",i({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),r)};function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=o.a.createElement("filter",{id:"curve-1-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),u=o.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),b=function(e){return o.a.createElement("svg",c({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),s,u)};function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=o.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),m=function(e){return o.a.createElement("svg",p({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),g)};function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var f=o.a.createElement("filter",{id:"curve-2-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),h=o.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),v=function(e){return o.a.createElement("svg",d({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),f,h)};function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var w=o.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),O=function(e){return o.a.createElement("svg",y({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),w)};function k(){return(k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _=o.a.createElement("filter",{id:"curve-3-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),j=o.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),C=function(e){return o.a.createElement("svg",k({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),_,j)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=o.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),S=function(e){return o.a.createElement("svg",x({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),E)};function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=o.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),A=o.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),N=function(e){return o.a.createElement("svg",B({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),T,A)};function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var F=o.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),R=function(e){return o.a.createElement("svg",P({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),F)};function D(){return(D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var M=o.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),z=o.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),I=function(e){return o.a.createElement("svg",D({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),M,z)};function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var U=o.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),H=function(e){return o.a.createElement("svg",L({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),U)};function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var G=o.a.createElement("filter",{id:"slant-1-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),V=o.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),q=function(e){return o.a.createElement("svg",W({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),G,V)};function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var K=o.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),X=function(e){return o.a.createElement("svg",Y({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),K)};function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $=o.a.createElement("filter",{id:"slant-2-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Z=o.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Q=function(e){return o.a.createElement("svg",J({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),$,Z)};function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=o.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),ne=function(e){return o.a.createElement("svg",ee({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),te)};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var oe=o.a.createElement("filter",{id:"wave-1-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ie=o.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),re=function(e){return o.a.createElement("svg",ae({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),oe,ie)};function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=o.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),se=function(e){return o.a.createElement("svg",le({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ce)};function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var be=o.a.createElement("filter",{id:"wave-2-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),pe=o.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),ge=function(e){return o.a.createElement("svg",ue({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),be,pe)};function me(){return(me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var de=o.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),fe=function(e){return o.a.createElement("svg",me({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),de)};function he(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ve=o.a.createElement("filter",{id:"wave-3-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ye=o.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),we={"wave-1":ne,"wave-2":se,"wave-3":fe,"curve-1":l,"curve-2":m,"curve-3":O,"slant-1":H,"slant-2":X,"rounded-1":S,"rounded-2":R},Oe={"wave-1":re,"wave-2":ge,"wave-3":function(e){return o.a.createElement("svg",he({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ve,ye)},"curve-1":b,"curve-2":v,"curve-3":C,"slant-1":q,"slant-2":Q,"rounded-1":N,"rounded-2":I},ke=n(5),_e=n(8),je=n.n(_e),Ce=[{attributes:{align:{type:"string",default:"full"},design:{type:"string",default:"wave-1"},height:{type:"number",default:200},flipVertically:{type:"boolean",default:!1},flipHorizontally:{type:"boolean",default:!1},backgroundColor:{type:"string",default:""},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingBottom:{type:"number",default:0},layer1Color:{type:"string",default:""},layer1Width:{type:"number",default:1},layer1Flip:{type:"boolean",default:!1},layer1Shadow:{type:"boolean",default:!1},layer2:{type:"boolean",default:!1},layer2Color:{type:"string",default:""},layer2Height:{type:"number",default:1},layer2Width:{type:"number",default:1},layer2Flip:{type:"boolean",default:!1},layer2Opacity:{type:"number",default:.5},layer3:{type:"boolean",default:!1},layer3Color:{type:"string",default:""},layer3Height:{type:"number",default:1},layer3Width:{type:"number",default:1},layer3Flip:{type:"boolean",default:!1},layer3Opacity:{type:"number",default:.5},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.height,o=n.design,i=void 0===o?"wave-1":o,r=n.marginTop,l=void 0===r?0:r,c=n.marginBottom,s=void 0===c?0:c,u=n.paddingTop,b=void 0===u?0:u,p=n.paddingBottom,g=void 0===p?0:p,m=n.backgroundColor,d=void 0===m?"":m,f=n.flipVertically,h=void 0!==f&&f,v=n.flipHorizontally,y=void 0!==v&&v,w=n.layer1Color,O=void 0===w?"":w,k=n.layer1Width,_=void 0===k?1:k,j=n.layer1Flip,C=void 0!==j&&j,x=n.layer1Shadow,E=void 0!==x&&x,S=je()([t,"ugb-separator","ugb-separator--design-".concat(i)],Object(ke.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":h,"ugb-separator--flip-horizontal":y},i,e)),B={backgroundColor:d||void 0,marginTop:"".concat(l-1,"px"),marginBottom:"".concat(s-1,"px")},T={height:"".concat(g,"px"),background:O||void 0},A={height:"".concat(b,"px"),background:d||void 0},N={height:a+"px"},P={fill:O||void 0,transform:_?"scaleX(".concat(_,")"):void 0};C&&(P.transform=P.transform?"".concat(P.transform," scaleX(-1)"):"scaleX(-1)");var F=we[i],R=Oe[i];return wp.element.createElement("div",{className:S,style:B,"aria-hidden":"true"},Object(ke.applyFilters)("stackable.separator.save.output.before_1_15",null,i,e),wp.element.createElement("div",{className:"ugb-separator__top-pad",style:A}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper",style:N},wp.element.createElement("div",{className:"ugb-separator__svg-inner"},E&&wp.element.createElement(R,{preserveAspectRatio:"none",style:P}),wp.element.createElement(F,{preserveAspectRatio:"none",style:P}),Object(ke.applyFilters)("stackable.separator.save.output.layers_1_15",null,i,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad",style:T}))}}],xe=n(3),Ee=n(1),Se=n(0),Be=n(7);Ee.showProNotice&&Object(ke.addFilter)("stackable.separator.edit.inspector.style.after","stackable/separator",function(e){return wp.element.createElement(Be.Fragment,null,e,wp.element.createElement(xe.Y,{initialOpen:!1,title:Object(Se.sprintf)(Object(Se._x)("%s %d","Nth Title",Ee.i18n),Object(Se.__)("Layer",Ee.i18n),2),className:"ugb--help-tip-separator-layer2"},wp.element.createElement(xe.bb,{title:Object(Se.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Se.__)("Add a second layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",Ee.i18n)})),wp.element.createElement(xe.Y,{initialOpen:!1,title:Object(Se.sprintf)(Object(Se._x)("%s %d","Nth Title",Ee.i18n),Object(Se.__)("Layer",Ee.i18n),3),className:"ugb--help-tip-separator-layer3"},wp.element.createElement(xe.bb,{title:Object(Se.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Se.__)("Add a third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",Ee.i18n)})))});var Te=n(11),Ae=n(2),Ne=function(e){var t,n=Object(Ae.b)(e.attributes),a=e.attributes,o=a.backgroundColor,i=void 0===o?"":o,r=a.layer1Color,l=void 0===r?"":r,c=a.layer1Width,s=void 0===c?1:c,u=a.layer1Flip,b=void 0!==u&&u,p=a.marginTop,g=void 0===p?0:p,m=a.marginBottom,d=void 0===m?0:m,f=a.marginUnit,h=void 0===f?"px":f,v=a.tabletMarginTop,y=void 0===v?"":v,w=a.tabletMarginBottom,O=void 0===w?"":w,k=a.tabletMarginUnit,_=void 0===k?"px":k,j=a.mobileMarginTop,C=void 0===j?"":j,x=a.mobileMarginBottom,E=void 0===x?"":x,S=a.mobileMarginUnit,B=void 0===S?"px":S,T=a.paddingTop,A=void 0===T?0:T,N=a.paddingBottom,P=void 0===N?0:N,F=a.paddingUnit,R=void 0===F?"px":F,D=a.tabletPaddingTop,M=void 0===D?"":D,z=a.tabletPaddingBottom,I=void 0===z?"":z,L=a.tabletPaddingUnit,U=void 0===L?"px":L,H=a.mobilePaddingTop,W=void 0===H?"":H,G=a.mobilePaddingBottom,V=void 0===G?"":G,q=a.mobilePaddingUnit,Y=void 0===q?"px":q,K=void 0!==e.mergeBlocks;return{".ugb-separator":{backgroundColor:i||void 0,marginTop:"".concat(g-1+(K?-14:0)).concat(h," !important"),marginBottom:"".concat(d-1+(K?-14:0)).concat(h," !important")},".ugb-separator__bottom-pad":{height:""!==P?"".concat(P).concat(R):void 0,background:l||void 0},".ugb-separator__top-pad":{height:""!==A?"".concat(A).concat(R):void 0,background:i||void 0},".ugb-separator__svg-wrapper":{height:200!==n("height")?Object(Ae.c)(n("height","%spx")):void 0},".ugb-separator__shadow, .ugb-separator__layer-1":{fill:l||void 0,transform:(t=s?"scaleX(".concat(s,")"):void 0,b&&(t=t?"".concat(t," scaleX(-1)"):"scaleX(-1)"),t)},tablet:{".ugb-separator__svg-wrapper":{height:Object(Ae.c)(n("tabletHeight","%spx"))},".ugb-separator":{marginTop:"".concat(y-1).concat(_," !important"),marginBottom:"".concat(O-1).concat(_," !important")},".ugb-separator__bottom-pad":{height:""!==I?"".concat(I).concat(U):void 0},".ugb-separator__top-pad":{height:""!==M?"".concat(M).concat(U):void 0}},mobile:{".ugb-separator__svg-wrapper":{height:Object(Ae.c)(n("mobileHeight","%spx"))},".ugb-separator":{marginTop:"".concat(C-1).concat(B," !important"),marginBottom:"".concat(E-1).concat(B," !important")},".ugb-separator__bottom-pad":{height:""!==V?"".concat(V).concat(Y):void 0},".ugb-separator__top-pad":{height:""!==W?"".concat(W).concat(Y):void 0}}}},Pe=n(9),Fe=n(12);Object(ke.addFilter)("stackable.separator.edit.inspector.layout.before","stackable/separator",function(e,t){var n=t.setAttributes,a=t.attributes.design,o=void 0===a?"wave-1":a;return wp.element.createElement(Be.Fragment,null,e,wp.element.createElement(xe.z,null,wp.element.createElement(xe.B,{onChange:function(e){return n({design:e})},selected:o,excludeDesigns:["straight-1"]})))}),Object(ke.addFilter)("stackable.separator.edit.inspector.style.before","stackable/separator",function(e,t){var n=t.setAttributes,a=t.attributes,o=a.height,i=a.tabletHeight,r=void 0===i?"":i,l=a.mobileHeight,c=void 0===l?"":l,s=a.marginTop,u=void 0===s?0:s,b=a.marginBottom,p=void 0===b?0:b,g=a.marginUnit,m=void 0===g?"px":g,d=a.tabletMarginTop,f=void 0===d?"":d,h=a.tabletMarginBottom,v=void 0===h?"":h,y=a.tabletMarginUnit,w=void 0===y?"px":y,O=a.mobileMarginTop,k=void 0===O?"":O,_=a.mobileMarginBottom,j=void 0===_?"":_,C=a.mobileMarginUnit,x=void 0===C?"px":C,E=a.backgroundColor,S=void 0===E?"":E,B=a.flipVertically,T=void 0!==B&&B,A=a.flipHorizontally,N=void 0!==A&&A,P=a.layer1Color,F=void 0===P?"":P,R=a.layer1Width,D=void 0===R?1:R,M=a.layer1Flip,z=void 0!==M&&M,I=a.layer1Shadow,L=void 0!==I&&I,U=a.paddingTop,H=void 0===U?0:U,W=a.paddingBottom,G=void 0===W?0:W,V=a.paddingUnit,q=void 0===V?"px":V,Y=a.tabletPaddingTop,K=void 0===Y?"":Y,X=a.tabletPaddingBottom,J=void 0===X?"":X,$=a.tabletPaddingUnit,Z=void 0===$?"px":$,Q=a.mobilePaddingTop,ee=void 0===Q?"":Q,te=a.mobilePaddingBottom,ne=void 0===te?"":te,ae=a.mobilePaddingUnit,oe=void 0===ae?"px":ae;return wp.element.createElement(Be.Fragment,null,e,wp.element.createElement(xe.Y,{title:Object(Se.__)("Separator",Ee.i18n),id:"separator"},wp.element.createElement(xe.r,{label:Object(Se.__)("Separator Color",Ee.i18n),value:F,onChange:function(e){return n({layer1Color:e})}}),wp.element.createElement(xe.b,{label:Object(Se.__)("Separator Width",Ee.i18n),value:D,min:"1",max:"4",step:"0.1",onChange:function(e){return n({layer1Width:e})},allowReset:!0,placeholder:"1",className:"ugb--help-tip-separator-width"}),wp.element.createElement(Pe.ToggleControl,{label:Object(Se.__)("Flip Horizontally",Ee.i18n),checked:z,onChange:function(e){return n({layer1Flip:e})}}),wp.element.createElement(Pe.ToggleControl,{label:Object(Se.__)("Shadow",Ee.i18n),checked:L,onChange:function(e){return n({layer1Shadow:e})},className:"ugb--help-tip-separator-shadow"})),wp.element.createElement(Pe.PanelBody,{title:Object(Se.__)("General",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.pb,{screen:"desktop"},wp.element.createElement(xe.b,{label:Object(Se.__)("Height",Ee.i18n),value:o,min:"30",max:"400",onChange:function(e){t.setAttributes({height:e})},allowReset:!0,placeholder:"200"})),wp.element.createElement(xe.pb,{screen:"tablet"},wp.element.createElement(xe.b,{label:Object(Se.__)("Height",Ee.i18n),value:r,min:"30",max:"400",onChange:function(e){t.setAttributes({tabletHeight:e})},allowReset:!0})),wp.element.createElement(xe.pb,{screen:"mobile"},wp.element.createElement(xe.b,{label:Object(Se.__)("Height",Ee.i18n),value:c,min:"30",max:"400",onChange:function(e){t.setAttributes({mobileHeight:e})},allowReset:!0})),wp.element.createElement(Pe.ToggleControl,{label:Object(Se.__)("Flip Vertically",Ee.i18n),checked:T,onChange:function(e){return n({flipVertically:e})}}),wp.element.createElement(Pe.ToggleControl,{label:Object(Se.__)("Flip Horizontally",Ee.i18n),checked:N,onChange:function(e){return n({flipHorizontally:e})}}),wp.element.createElement(xe.r,{label:Object(Se.__)("Background Color",Ee.i18n),value:S,onChange:function(e){return n({backgroundColor:e})}})),wp.element.createElement(Pe.PanelBody,{title:Object(Se.__)("Spacing",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.pb,{screen:"desktop"},wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Top",Ee.i18n),value:H,min:"0",max:"400",onChange:function(e){return n({paddingTop:e})},units:["px","em","%"],unit:q,onChangeUnit:function(e){return n({paddingUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:G,min:"0",max:"400",onChange:function(e){return n({paddingBottom:e})},units:["px","em","%"],unit:q,onChangeUnit:function(e){return n({paddingUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Top",Ee.i18n),value:u,min:-o-H-100,max:"400",onChange:function(e){return n({marginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:m,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:p,min:-o-G-100,max:"400",onChange:function(e){return n({marginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:m,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"})),wp.element.createElement(xe.pb,{screen:"tablet"},wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Top",Ee.i18n),value:K,min:"0",max:"400",onChange:function(e){return n({tabletPaddingTop:e})},units:["px","em","%"],unit:Z,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:J,min:"0",max:"400",onChange:function(e){return n({tabletPaddingBottom:e})},units:["px","em","%"],unit:Z,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Top",Ee.i18n),value:f,min:-r-K-100,max:"400",onChange:function(e){return n({tabletMarginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:w,onChangeUnit:function(e){return n({tabletMarginUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:v,min:-r-J-100,max:"400",onChange:function(e){return n({tabletMarginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:w,onChangeUnit:function(e){return n({tabletMarginUnit:e})},allowReset:!0})),wp.element.createElement(xe.pb,{screen:"mobile"},wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Top",Ee.i18n),value:ee,min:"0",max:"400",onChange:function(e){return n({mobilePaddingTop:e})},units:["px","em","%"],unit:oe,onChangeUnit:function(e){return n({mobilePaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:ne,min:"0",max:"400",onChange:function(e){return n({mobilePaddingBottom:e})},units:["px","em","%"],unit:oe,onChangeUnit:function(e){return n({mobilePaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Top",Ee.i18n),value:k,min:-c-ee-100,max:"400",onChange:function(e){return n({mobileMarginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:x,onChangeUnit:function(e){return n({mobileMarginUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:j,min:-c-ne-100,max:"400",onChange:function(e){return n({mobileMarginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:x,onChangeUnit:function(e){return n({mobileMarginUnit:e})},allowReset:!0}))))});var Re=Object(Fe.compose)(Te.i,Te.g,Te.d,Object(Te.h)(),Object(Te.a)(Ne,{editorMode:!0}),Object(Te.b)([[".ugb-separator__layer-1","separator"]]))(function(e){var t=e.className,n=e.attributes,a=n.design,o=void 0===a?"wave-1":a,i=n.flipVertically,r=void 0!==i&&i,l=n.flipHorizontally,c=void 0!==l&&l,s=n.layer1Shadow,u=void 0!==s&&s,b=je()([t,"ugb-separator--v2","ugb-separator--design-".concat(o)],Object(ke.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":r,"ugb-separator--flip-horizontal":c},o,e));return wp.element.createElement(xe.j.Edit,{mainClass:!1,className:b,"aria-hidden":"true",blockProps:e,render:function(){return wp.element.createElement(Be.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.eb,{design:o,shadow:u,className:"ugb-separator__svg-inner"},Object(ke.applyFilters)("stackable.separator.edit.output.layers",null,o,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad"}))}})}),De=Object(Fe.compose)(Te.i,Object(Te.a)(Ne))(function(e){var t=e.className,n=e.attributes,a=n.design,o=void 0===a?"wave-1":a,i=n.flipVertically,r=void 0!==i&&i,l=n.flipHorizontally,c=void 0!==l&&l,s=n.layer1Shadow,u=void 0!==s&&s,b=je()([t,"ugb-separator--v2","ugb-separator--design-".concat(o)],Object(ke.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":r,"ugb-separator--flip-horizontal":c},o,e));return wp.element.createElement(xe.j.Save,{mainClass:!1,className:b,"aria-hidden":"true",blockProps:e,render:function(){return wp.element.createElement(Be.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.eb,{design:o,shadow:u,className:"ugb-separator__svg-inner"},Object(ke.applyFilters)("stackable.separator.edit.output.layers",null,o,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad"}))}})}),Me=n(16);n.d(t,"schema",function(){return ze}),n.d(t,"name",function(){return Ie}),n.d(t,"settings",function(){return Le});var ze={align:{type:"string",default:"full"},design:{type:"string",default:"wave-1"},height:{type:"number",default:200},tabletHeight:{type:"number",default:""},mobileHeight:{type:"number",default:""},flipVertically:{type:"boolean",default:!1},flipHorizontally:{type:"boolean",default:!1},backgroundColor:{type:"string",default:""},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},tabletMarginTop:{type:"number",default:""},tabletMarginBottom:{type:"number",default:""},mobileMarginTop:{type:"number",default:""},mobileMarginBottom:{type:"number",default:""},paddingTop:{type:"number",default:0},paddingBottom:{type:"number",default:0},tabletPaddingTop:{type:"number",default:""},tabletPaddingBottom:{type:"number",default:""},mobilePaddingTop:{type:"number",default:""},mobilePaddingBottom:{type:"number",default:""},layer1Color:{type:"string",default:""},layer1Width:{type:"number",default:1},layer1Flip:{type:"boolean",default:!1},layer1Shadow:{type:"boolean",default:!1},layer2:{type:"boolean",default:!1},layer2Color:{type:"string",default:""},layer2Height:{type:"number",default:1},layer2Width:{type:"number",default:1},layer2Flip:{type:"boolean",default:!1},layer2Opacity:{type:"number",default:.5},layer2BlendMode:{type:"string",default:""},layer3:{type:"boolean",default:!1},layer3Color:{type:"string",default:""},layer3Height:{type:"number",default:1},layer3Width:{type:"number",default:1},layer3Flip:{type:"boolean",default:!1},layer3Opacity:{type:"number",default:.5}},Ie="ugb/separator",Le={title:Object(Se.__)("Separator",Ee.i18n),description:Object(Se.__)("A fancy separator to be placed between containers and content.",Ee.i18n),icon:Me.v,category:"layout",keywords:[Object(Se.__)("Separator",Ee.i18n),Object(Se.__)("SVG Divider",Ee.i18n),Object(Se.__)("Stackable",Ee.i18n)],attributes:ze,supports:{align:["full"],inserter:!Ee.disabledBlocks.includes(Ie)},deprecated:Ce,save:De,edit:Re,modules:{"advanced-general":!0,"advanced-responsive":!0,"advanced-block-spacing":{enableMarginRight:!1,enableMarginLeft:!1,enablePaddingRight:!1,enablePaddingLeft:!1,height:!1,width:!1,horizontalContentAlign:!1,verticalContentAlign:!1,modifyStyles:!1},"custom-css":{default:Object(ke.applyFilters)("stackable.separator.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),o=n(16),i=n(10),r=n(1),l=n(0),c=n(5);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(c.addFilter)("stackable.icon-list.design.no-text-attributes","stackable/icon-list",function(e){return Object(i.omit)(e,["text"])}),Object(c.addFilter)("stackable.icon-list.edit.designs","stackable/icon-list",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(l.__)("Corporate Light 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-icon-list-design-corporate-light-01.jpg",attributes:{iconShape:"circle",iconColor:"#ff550a",iconSize:25,columns:3,listTextColor:"#707070",listTextFontFamily:"Serif",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffd781",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ff550a",showBlockDescription:!0,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070"}},corporateLight2:{label:Object(l.__)("Corporate Light 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-icon-list-design-corporate-light-02.jpg",attributes:{iconShape:"circle",iconColor:"#1e55d3",iconSize:25,columns:3,listTextColor:"#707070",listTextFontFamily:"Serif",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffffff",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c49732",showBlockDescription:!0,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070"}},corporateDark1:{label:Object(l.__)("Corporate Dark 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-icon-list-design-corporate-dark-01.jpg",attributes:{iconShape:"circle",iconColor:"#c4e558",iconSize:25,columns:3,listTextColor:"#ffffff",listTextFontFamily:"Serif",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#0e2448",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c5dfb4",showBlockDescription:!0,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center"}},corporateDark2:{label:Object(l.__)("Corporate Dark 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-icon-list-design-corporate-dark-02.jpg",attributes:{iconShape:"circle",iconColor:"#06c19d",iconSize:25,columns:3,listTextColor:"#ffffff",listTextFontFamily:"Serif",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#707070",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffffff",showBlockDescription:!0,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}}})});var b=n(7);var p={check:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"}))},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M76.6,144.7l-36.5-36.5l10.6-10.6l25.9,25.9 l68.8-68.8l0,0L156,65.3L76.6,144.7z"}))},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"79.4,112.4 60.7,93.7 50.1,104.3 79.4,133.6 141.7,71.3 131.1,60.7 \t"}),wp.element.createElement("path",{d:"M182.3,57.5C175.1,40.5,163,26,147.9,15.7C132.7,5.5,114.4-0.5,94.7-0.5c-13.1,0-25.6,2.7-37,7.5 C40.7,14.2,26.2,26.2,16,41.4C5.7,56.5-0.3,74.8-0.3,94.5c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8 c15.2,10.2,33.5,16.2,53.1,16.2c13.1,0,25.6-2.7,37-7.5c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1 C189.8,81.4,187.1,68.9,182.3,57.5z M168.5,125.6c-6.1,14.3-16.2,26.6-29,35.2c-12.8,8.6-28.1,13.7-44.7,13.7 c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29c-8.6-12.8-13.7-28.1-13.7-44.7c0-11.1,2.2-21.6,6.3-31.1 C27.1,49,37.2,36.8,50,28.1c12.8-8.6,28.1-13.7,44.7-13.7c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29 c8.6,12.8,13.7,28.1,13.7,44.7C174.8,105.6,172.5,116.1,168.5,125.6z"}))},title:Object(l.__)("Check",r.i18n),value:"check"},plus:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"181.9,87.6 102.6,87.6 102.6,8.4 87.6,8.4 87.6,87.6 8.4,87.6 8.4,102.6 87.6,102.6 87.6,181.8 102.6,181.8 102.6,102.6 181.9,102.6 "}))},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M151,104.5h-46.6v46.6h-15v-46.6H42.8v-15 h46.6V42.9h15v46.6H151V104.5z"}))},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"104.5,55.4 89.5,55.4 89.5,89.5 55.4,89.5 55.4,104.5 89.5,104.5 89.5,138.6 104.5,138.6 104.5,104.5 138.6,104.5 138.6,89.5 104.5,89.5 \t"}),wp.element.createElement("path",{d:"M184.5,60c-7.2-17-19.2-31.5-34.4-41.8C135,8,116.6,2,97,2C83.9,2,71.4,4.7,60,9.5c-17.1,7.2-31.6,19.3-41.8,34.4 S2,77.4,2,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.3,192,97,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4C186,134.9,192,116.6,192,97C192,83.9,189.3,71.4,184.5,60z M170.7,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.9,172,113.6,177,97,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C22,129,17,113.6,17,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C65,22,80.4,17,97,17c11.1,0,21.6,2.2,31.1,6.3 c14.3,6.1,26.6,16.2,35.2,29C171.9,65.1,177,80.4,177,97C177,108.1,174.8,118.6,170.7,128.1z"}))},title:Object(l.__)("Plus",r.i18n),value:"plus"},arrow:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"59.4,177.5 141.8,95.1 59.4,12.8 48.8,23.4 120.6,95.1 48.8,166.9 "}))},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M78.2,150.4L78.2,150.4l-10.6-10.6L110.3,97 L67.6,54.2l10.6-10.6L131.5,97L78.2,150.4z"}))},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"73.1,65.3 104.8,97 73.1,128.7 83.7,139.3 126,97 83.7,54.7 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))},title:Object(l.__)("Arrow",r.i18n),value:"arrow"},cross:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"167.2,33.4 156.6,22.8 94.9,84.5 33.2,22.8 22.6,33.4 84.3,95.1 22.6,156.8 33.2,167.4 94.9,105.7 156.6,167.4 167.2,156.8 105.5,95.1 "}))},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M144.3,133.5l-10.6,10.6l-36.5-36.5l-36.5,36.5 l-10.6-10.6L86.6,97L50.1,60.5l10.6-10.6l36.5,36.5l36.5-36.5l10.6,10.6L107.8,97L144.3,133.5z"}))},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"134.7,70.1 124.1,59.5 97.2,86.4 70.4,59.5 59.7,70.1 86.6,97 59.7,123.9 70.4,134.5 97.2,107.6 124.1,134.5 134.7,123.9 107.8,97 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))},title:Object(l.__)("Cross",r.i18n),value:"cross"},star:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"95.4,6.3 124.6,64.3 188.8,74.2 142.6,119.9 153.1,184 95.4,154.2 37.6,184 48.1,119.9 2,74.2 66.2,64.3 "}))},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M134.7,152.1l-37.8-19.5l-37.8,19.5l6.9-41.9 L35.8,80.3l42-6.4l19.1-38l19.1,38l42,6.4l-30.2,29.9L134.7,152.1z"}))},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}),wp.element.createElement("polygon",{points:"96.9,49.3 82.2,78.5 49.9,83.5 73.1,106.5 67.8,138.7 96.9,123.7 125.9,138.7 120.7,106.5 143.9,83.5 111.6,78.5 "}))},title:Object(l.__)("Star",r.i18n),value:"star"}},g=function(e){return"circle"===e||"outline"===e?"".concat(e,"Func"):"iconFunc"},m=function(e,t,n){var a=g(t),o=d(p[e][a](n),!1);return btoa(o)},d=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(b.renderToString)(e).replace(/viewbox/i,"viewBox");return t?n.replace(/#/g,"%23"):n},f=n(4),h=n.n(f);function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var y=h.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM78.2 150.4l-10.6-10.6L110.3 97 67.6 54.2l10.6-10.6L131.5 97l-53.3 53.4z"}),w=function(e){return h.a.createElement("svg",v({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),y)};function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var k=h.a.createElement("path",{d:"M59.4 177.5l82.4-82.4-82.4-82.3-10.6 10.6 71.8 71.7-71.8 71.8 10.6 10.6z"}),_=function(e){return h.a.createElement("svg",O({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),k)};function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var C=h.a.createElement("path",{d:"M73.1 65.3L104.8 97l-31.7 31.7 10.6 10.6L126 97 83.7 54.7z"}),x=h.a.createElement("path",{d:"M184.4 60c-7.2-17-19.2-31.5-34.4-41.8C134.9 8 116.5 2 96.9 2c-13.1 0-25.6 2.7-37 7.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.2 192 96.9 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),E=function(e){return h.a.createElement("svg",j({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),C,x)};function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var B=h.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM76.6 144.7l-36.5-36.5 10.6-10.6 25.9 25.9 68.8-68.8L156 65.3l-79.4 79.4z"}),T=function(e){return h.a.createElement("svg",S({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),B)};function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var N=h.a.createElement("path",{d:"M173.8 28.4L60.4 141.8 15.7 97.2 5.1 107.8 60.4 163l124-124-10.6-10.6z"}),P=function(e){return h.a.createElement("svg",A({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),N)};function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var R=h.a.createElement("path",{d:"M79.4 112.4L60.7 93.7l-10.6 10.6 29.3 29.3 62.3-62.3-10.6-10.6z"}),D=h.a.createElement("path",{d:"M182.3 57.5c-7.2-17-19.3-31.5-34.4-41.8C132.7 5.5 114.4-.5 94.7-.5c-13.1 0-25.6 2.7-37 7.5-17 7.2-31.5 19.2-41.7 34.4C5.7 56.5-.3 74.8-.3 94.5c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8 15.2 10.2 33.5 16.2 53.1 16.2 13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1.1-13.1-2.6-25.6-7.4-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.6-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29-8.6-12.8-13.7-28.1-13.7-44.7 0-11.1 2.2-21.6 6.3-31.1C27.1 49 37.2 36.8 50 28.1c12.8-8.6 28.1-13.7 44.7-13.7 11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7.1 11.2-2.2 21.7-6.2 31.2z"}),M=function(e){return h.a.createElement("svg",F({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),R,D)};function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var I=h.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zm47.4 131.5l-10.6 10.6-36.5-36.5-36.5 36.5-10.6-10.6L86.6 97 50.1 60.5l10.6-10.6 36.5 36.5 36.5-36.5 10.6 10.6L107.8 97l36.5 36.5z"}),L=function(e){return h.a.createElement("svg",z({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),I)};function U(){return(U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var H=h.a.createElement("path",{d:"M167.2 33.4l-10.6-10.6-61.7 61.7-61.7-61.7-10.6 10.6 61.7 61.7-61.7 61.7 10.6 10.6 61.7-61.7 61.7 61.7 10.6-10.6-61.7-61.7z"}),W=function(e){return h.a.createElement("svg",U({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),H)};function G(){return(G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var V=h.a.createElement("path",{d:"M134.7 70.1l-10.6-10.6-26.9 26.9-26.8-26.9-10.7 10.6L86.6 97l-26.9 26.9 10.7 10.6 26.8-26.9 26.9 26.9 10.6-10.6L107.8 97z"}),q=h.a.createElement("path",{d:"M184.4 60c-7.2-17-19.2-31.5-34.4-41.8C134.9 8 116.5 2 96.9 2c-13.1 0-25.6 2.7-37 7.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.2 192 96.9 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),Y=function(e){return h.a.createElement("svg",G({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),V,q)};function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var X=h.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM151 104.5h-46.6v46.6h-15v-46.6H42.8v-15h46.6V42.9h15v46.6H151v15z"}),J=function(e){return h.a.createElement("svg",K({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),X)};function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=h.a.createElement("path",{d:"M181.9 87.6h-79.3V8.4h-15v79.2H8.4v15h79.2v79.2h15v-79.2h79.3z"}),Q=function(e){return h.a.createElement("svg",$({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),Z)};function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=h.a.createElement("path",{d:"M104.5 55.4h-15v34.1H55.4v15h34.1v34.1h15v-34.1h34.1v-15h-34.1z"}),ne=h.a.createElement("path",{d:"M184.5 60c-7.2-17-19.2-31.5-34.4-41.8C135 8 116.6 2 97 2 83.9 2 71.4 4.7 60 9.5c-17.1 7.2-31.6 19.3-41.8 34.4S2 77.4 2 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.3 192 97 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4C186 134.9 192 116.6 192 97c0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2C128.9 172 113.6 177 97 177c-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C22 129 17 113.6 17 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C65 22 80.4 17 97 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29C171.9 65.1 177 80.4 177 97c0 11.1-2.2 21.6-6.3 31.1z"}),ae=function(e){return h.a.createElement("svg",ee({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),te,ne)};function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ie=h.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zm37.8 150.1l-37.8-19.5-37.8 19.5 6.9-41.9-30.2-29.9 42-6.4 19.1-38 19.1 38 42 6.4-30.2 29.9 6.9 41.9z"}),re=function(e){return h.a.createElement("svg",oe({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),ie)};function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=h.a.createElement("path",{d:"M95.4 6.3l29.2 58 64.2 9.9-46.2 45.7 10.5 64.1-57.7-29.8L37.6 184l10.5-64.1L2 74.2l64.2-9.9z"}),se=function(e){return h.a.createElement("svg",le({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),ce)};function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var be=h.a.createElement("path",{d:"M184.4 60c-7.2-17-19.2-31.5-34.4-41.8C134.9 8 116.5 2 96.9 2c-13.1 0-25.6 2.7-37 7.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.2 192 96.9 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),pe=h.a.createElement("path",{d:"M96.9 49.3L82.2 78.5l-32.3 5 23.2 23-5.3 32.2 29.1-15 29 15-5.2-32.2 23.2-23-32.3-5z"}),ge=function(e){return h.a.createElement("svg",ue({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),be,pe)};function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(n,!0).forEach(function(t){fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var he={check:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(P,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(T,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(M,{style:{fill:e}})},title:Object(l.__)("Check",r.i18n),value:"check"},plus:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(Q,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(J,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(ae,{style:{fill:e}})},title:Object(l.__)("Plus",r.i18n),value:"plus"},arrow:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(_,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(w,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(E,{style:{fill:e}})},title:Object(l.__)("Arrow",r.i18n),value:"arrow"},cross:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(W,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(L,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(Y,{style:{fill:e}})},title:Object(l.__)("Cross",r.i18n),value:"cross"},star:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(se,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(re,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(ge,{style:{fill:e}})},title:Object(l.__)("Star",r.i18n),value:"star"}},ve=function(e){return"circle"===e||"outline"===e?"".concat(e,"Func"):"iconFunc"},ye=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return he[e]?he[e][ve(t)]():null},we=function(e,t,n){var o=ve(t);if(!he[e])return"";var i=Object(a.db)(he[e][o](n),!1);return btoa(i)},Oe=function(e){return["","circle","outline"].map(function(t){return de({},he[e],{icon:ye(e,t),value:t})})},ke=n(8),_e=n.n(ke),je=n(6);function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ee=[{attributes:{icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li",default:""},gap:{type:"number",default:16},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,o=n.iconShape,i=n.iconColor,r=n.iconSize,l=n.text,s=n.columns,u=n.gap,b=n.design,p=void 0===b?"":b,g=_e()([t.split(" ").filter(function(e){return"ugb-icon-list"!==e}),"ugb-icon-list-wrapper"],Object(c.applyFilters)("stackable.icon-list.mainclasses_1_15_4",{},p,e)),m=_e()(["ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(s)],Object(c.applyFilters)("stackable.icon-list.ulclasses_1_15_4",{},p,e)),d={"--icon":"url('data:image/svg+xml;base64,"+we(a,o,i)+"')","--icon-size":r?"".concat(r,"px"):void 0,"--gap":u?"".concat(u,"px"):void 0};return wp.element.createElement("div",{className:g},Object(c.applyFilters)("stackable.icon-list.save.output.before_1_15_4",null,p,e),wp.element.createElement(je.RichText.Content,{tagName:"ul",className:m,style:d,value:l}),Object(c.applyFilters)("stackable.icon-list.save.output.after_1_15_4",null,p,e))},migrate:function(e){var t=function(e){return(e||"").replace(/.ugb-icon-list-wrapper .ugb-icon-list li/g,".ugb-icon-list li").replace(/.ugb-icon-list-wrapper .ugb-icon-list/g,".ugb-icon-list ul").replace(/.ugb-icon-list-wrapper/g,".ugb-icon-list")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ce(n,!0).forEach(function(t){xe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ce(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{columns:e.columns?e.columns:1,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled)})}},{attributes:{icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li"},gap:{type:"number",default:16}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,o=n.iconShape,i=n.iconColor,r=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=_e()([t,"ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(c)]),b={"--icon":"url('data:image/svg+xml;base64,"+we(a,o,i)+"')","--icon-size":r?"".concat(r,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(je.RichText.Content,{tagName:"ul",className:u,style:b,value:l})}},{attributes:{icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li"},gap:{type:"number",default:16}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,o=n.iconShape,i=n.iconColor,r=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=_e()([t,"ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(c)]),b={"--icon":"url('data:image/svg+xml;base64,"+m(a,o,i)+"')","--icon-size":r?"".concat(r,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(je.RichText.Content,{tagName:"ul",className:u,style:b,value:l})}},{attributes:{icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li"},gap:{type:"number",default:16}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,o=n.iconShape,i=n.iconColor,r=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=_e()([t,"ugb-icon-list","ugb-icon-".concat(a),"column-".concat(c)]),b={"--icon":"url('data:image/svg+xml;base64,"+m(a,o,i)+"')","--icon-size":r?"".concat(r,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(je.RichText.Content,{tagName:"ul",className:u,style:b,value:l})}}],Se=n(11),Be=n(3),Te=n(15),Ae=n.n(Te);function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(n,!0).forEach(function(t){Fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Re=function(e){var t=Object(a.b)(e.attributes),n=e.attributes,o=n.icon,i=n.iconShape,r=n.iconColor,l=n.iconSize,c=n.showBlockBackground,s=void 0===c?"":c,u=n.blockBackgroundBackgroundColor,b=void 0===u?"":u,p=n.listTextColor,g=void 0===p?"":p,m=we(o,i,Object(a.gb)(r,s&&b)),d=[];d.push({li:Pe({},Object(a.D)("listText%s","desktop",e.attributes),{color:Object(a.gb)(g,s&&b)}),tablet:{li:Pe({},Object(a.D)("listText%s","tablet",e.attributes))},mobile:{li:Pe({},Object(a.D)("listText%s","mobile",e.attributes))}}),d.push({li:{"--icon-size":l?"".concat(l,"px"):void 0},"li::before":{height:Object(a.c)(t("iconSize","%spx")),width:Object(a.c)(t("iconSize","%spx")),backgroundImage:"url('data:image/svg+xml;base64,"+m+"')"}}),d.push({li:{marginBottom:Object(a.c)(t("gap","%spx"))},"li ul":{marginBottom:Object(a.c)(t("gap","%spx"))}});var f=e.attributes.displayAsGrid,h=void 0!==f&&f,v=function(e){return t(e)?parseInt(t(e),10):1},y=function(e){return new Array(e+1).join("1fr ").trim()};return d.push({".ugb-icon-list ul":{columns:t("columns"),gridTemplateColumns:t("columns")&&h?y(v("columns")):void 0},tablet:{".ugb-icon-list ul":{columns:t("tabletColumns","%s !important"),gridTemplateColumns:t("tabletColumns")&&h?y(v("tabletColumns"))+" !important":void 0}},mobile:{".ugb-icon-list ul":{columns:t("mobileColumns","%s !important"),gridTemplateColumns:t("mobileColumns")&&h?y(v("mobileColumns"))+" !important":void 0}}}),Ae.a.all(d)},De=n(9),Me=n(12);Object(c.addFilter)("stackable.icon-list.edit.inspector.style.before","stackable/icon-list",function(e,t){var n=t.setAttributes,a=t.attributes,o=a.icon,i=a.iconShape,c=a.iconColor,s=a.iconSize,u=a.gap,p=a.listTextColor,g=void 0===p?"":p,m=a.displayAsGrid,d=void 0!==m&&m,f=a.columns,h=void 0===f?"":f,v=a.tabletColumns,y=void 0===v?"":v,w=a.mobileColumns,O=void 0===w?"":w;return wp.element.createElement(b.Fragment,null,e,wp.element.createElement(De.PanelBody,{title:Object(l.__)("General",r.i18n)},wp.element.createElement(Be.db,{attrNameTemplate:"%sColumns",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Be.b,{label:Object(l.__)("Columns",r.i18n),min:1,max:4})),(h&&h>1||y&&y>1||O&&O>1)&&wp.element.createElement(De.ToggleControl,{label:Object(l.__)("Display as a grid (left to right & evenly spaced)",r.i18n),checked:d,onChange:function(e){return n({displayAsGrid:e})},className:"ugb--help-tip-icon-list-grid"}),wp.element.createElement(Be.t,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(De.PanelBody,{title:Object(l.__)("Icon",r.i18n),initialOpen:!1},wp.element.createElement(Be.d,{label:Object(l.__)("Icon",r.i18n),controls:Object.keys(he).map(function(e){return de({},he[e],{icon:ye(e)})}),value:o,onChange:function(e){return n({icon:e})},fullwidth:!1}),wp.element.createElement(Be.d,{label:Object(l.__)("Icon Shape",r.i18n),controls:Oe(o),value:i,onChange:function(e){return n({iconShape:e})},fullwidth:!1}),wp.element.createElement(Be.r,{label:Object(l.__)("Icon Color",r.i18n),value:c,onChange:function(e){return n({iconColor:e})}}),wp.element.createElement(Be.b,{label:Object(l.__)("Icon Size",r.i18n),value:s,onChange:function(e){return n({iconSize:e})},min:8,max:50,allowReset:!0,placeholder:"20"})),wp.element.createElement(Be.Y,{title:Object(l.__)("List Text",r.i18n),id:"text",initialOpen:!1},wp.element.createElement(Be.mb,{attrNameTemplate:"listText%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(Be.r,{value:g,onChange:function(e){return n({listTextColor:e})},label:Object(l.__)("Color",r.i18n)})),wp.element.createElement(Be.Z,{initialOpen:!1,blockProps:t},wp.element.createElement(Be.b,{label:Object(l.__)("List Gap",r.i18n),value:u,onChange:function(e){return n({gap:e})},min:0,max:30,allowReset:!0,placeholder:"16",className:"ugb--help-tip-icon-list-gap"})))});var ze=Object(Me.compose)(Se.i,Se.g,Se.d,Object(Se.h)(),Object(Se.c)(),Object(Se.a)(Re,{editorMode:!0}),Object(Se.b)([["ul, ul li","text"]]))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,o=a.icon,i=a.text,s=a.design,u=void 0===s?"":s,p=a.displayAsGrid,g=void 0!==p&&p,m=_e()([t,"ugb-icon-list--v2","ugb-icon--icon-".concat(o)],Object(c.applyFilters)("stackable.icon-list.mainclasses",{"ugb-icon-list--display-grid":g},u,e));return wp.element.createElement(Be.j.Edit,{className:m,blockProps:e,render:function(){return wp.element.createElement(b.Fragment,null,wp.element.createElement(je.RichText,{tagName:"ul",multiline:"li",value:i,onChange:function(e){return n({text:e})},placeholder:Object(l.__)("Text for this block",r.i18n),keepPlaceholderOnFocus:!0}))}})}),Ie=Object(Me.compose)(Se.i,Object(Se.a)(Re))(function(e){var t=e.className,n=e.attributes,a=n.icon,o=n.text,i=n.design,r=void 0===i?"":i,l=n.displayAsGrid,s=void 0!==l&&l,u=_e()([t,"ugb-icon-list--v2","ugb-icon--icon-".concat(a)],Object(c.applyFilters)("stackable.icon-list.mainclasses",{"ugb-icon-list--display-grid":s},r,e));return wp.element.createElement(Be.j.Save,{className:u,blockProps:e,render:function(){return wp.element.createElement(b.Fragment,null,wp.element.createElement(je.RichText.Content,{tagName:"ul",value:o}))}})});function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return He}),n.d(t,"name",function(){return We}),n.d(t,"settings",function(){return Ge});var He=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach(function(t){Ue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:2},tabletColumns:{type:"number",default:""},mobileColumns:{type:"number",default:""},text:{source:"html",selector:"ul",multiline:"li",default:Object(i.range)(1,7).map(function(e){return Object(l.sprintf)(Object(l.__)("Line %d",r.i18n),e)}).map(function(e){return"<li>".concat(e,"</li>")}).join("")},displayAsGrid:{type:"boolean",default:!1},gap:{type:"number",default:16},listTextColor:{type:"string",default:""}},Object(a.C)("listText%s")),We="ugb/icon-list",Ge={title:Object(l.__)("Icon List",r.i18n),description:Object(l.__)("An unordered list with icons. You can use this as a list of features or benefits.",r.i18n),icon:o.o,category:"common",keywords:[Object(l.__)("Icon List",r.i18n),Object(l.__)("Stackable",r.i18n)],attributes:He,supports:{inserter:!r.disabledBlocks.includes(We)},deprecated:Ee,edit:ze,save:Ie,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(c.applyFilters)("stackable.icon-list.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(1),i=n(0),r=n(5);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(r.addFilter)("stackable.blockquote.design.no-text-attributes","stackable/blockquote",function(e){return Object(a.omit)(e,["text"])}),Object(r.addFilter)("stackable.blockquote.edit.designs","stackable/blockquote",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(i.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-blockquote-design-corporate-light-01.jpg",attributes:{quoteIcon:"square",quoteOpacity:.3,quoteColor:"#ffb20b",quoteSize:150,quoteY:19,textFontFamily:"Roboto Condensed",textFontWeight:"100",textColor:"#707070",textAlign:"center",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#ffffff",showBottomSeparator:!1}},corporateLight2:{label:Object(i.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-blockquote-design-corporate-light-02.jpg",attributes:{quoteIcon:"square",quoteOpacity:.3,quoteColor:"#c49732",quoteSize:150,quoteY:19,textFontFamily:"Roboto Condensed",textFontWeight:"100",textColor:"#6a91eb",textAlign:"center",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#ffffff",showBottomSeparator:!1}},corporateDark1:{label:Object(i.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-blockquote-design-corporate-dark-01.jpg",attributes:{quoteIcon:"square",quoteOpacity:.3,quoteColor:"#1785cb",quoteSize:150,quoteY:19,textFontFamily:"Roboto Condensed",textFontWeight:"100",textColor:"#ffffff",textAlign:"center",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#081831",showBottomSeparator:!1}},corporateDark2:{label:Object(i.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-blockquote-design-corporate-dark-02.jpg",attributes:{quoteIcon:"square",quoteOpacity:.3,quoteColor:"#2f2f2f",quoteSize:150,quoteY:19,textFontFamily:"Roboto Condensed",textFontWeight:"100",textColor:"#06c19d",textAlign:"center",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#707070",showBottomSeparator:!1}}})});var s=n(4),u=n.n(s);function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var p=u.a.createElement("path",{d:"M22.3 30.5c0 6-4.8 10.8-10.8 10.8-2.3 0-4.5-.8-6.3-2-.9-.6-1.8-1.4-2.5-2.4-1.8-2.4-2.7-5.4-2.7-9 0-4.5 1.3-8.5 4-11.9 2.7-3.4 6.4-5.8 11.1-7.3v2.8c-2.7 2.2-4.4 5-4.9 8.3.4-.1.9-.1 1.3-.1 6-.1 10.8 4.8 10.8 10.8zm16.9-10.9c-.5 0-.9 0-1.3.1.5-3.3 2.2-6.1 4.9-8.3V8.7c-4.7 1.4-8.4 3.9-11.1 7.3-2.7 3.4-4 7.4-4 11.9 0 3.6.9 6.6 2.7 9 .8 1 1.6 1.8 2.5 2.4 1.8 1.3 3.9 2 6.3 2 6 0 10.8-4.8 10.8-10.8 0-6-4.8-10.9-10.8-10.9z"}),g=function(e){return u.a.createElement("svg",b({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),p)};function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var d=u.a.createElement("path",{d:"M9.4 14.6c-2.4 2.9-3.6 5.9-3.6 8.9 0 1.3.2 2.4.5 3.3 1.8-1.4 3.8-2.1 6-2.1 2.9 0 5.3.9 7.3 2.7 2 1.8 3 4.2 3 7.3 0 1.9-.5 3.6-1.4 5.1-.9 1.5-2.2 2.7-3.8 3.6s-3.3 1.3-5.1 1.3c-4.1 0-7.3-1.6-9.5-4.9C.9 36.9 0 33.5 0 29.4c0-5.2 1.4-9.9 4.1-14 2.8-4.1 6.9-7.5 12.5-10l1.5 2.8c-3.3 1.3-6.2 3.5-8.7 6.4zm27.5 0c-2.4 2.9-3.6 5.9-3.6 8.9 0 1.3.2 2.4.5 3.3 1.8-1.4 3.8-2.1 6-2.1 2.9 0 5.4.9 7.4 2.7 2 1.8 3 4.2 3 7.3 0 2.8-1 5.2-3 7.1-2 1.9-4.4 2.9-7.3 2.9-4.1 0-7.3-1.6-9.5-4.9-1.8-2.7-2.8-6.2-2.8-10.3 0-5.2 1.4-9.9 4.1-14 2.8-4.1 6.9-7.5 12.5-10l1.5 2.8c-3.5 1.2-6.4 3.4-8.8 6.3z"}),f=function(e){return u.a.createElement("svg",m({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),d)};function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var v=u.a.createElement("path",{d:"M22.6 12.8c-1.9.5-3.7 1.2-5.3 2.1-1.6.9-3.1 1.9-4.3 3-1.2 1.1-2.2 2.4-2.9 3.7-.7 1.3-1.1 2.7-1.1 4 0 1.2.1 1.8.3 1.8.8 0 1.5-.3 2.4-.9.8-.6 1.9-.9 3.3-.9 2.1 0 3.9.8 5.4 2.4 1.5 1.6 2.3 3.7 2.3 6.2s-1 4.6-2.9 6.4c-1.9 1.8-4.3 2.6-7.3 2.6-1.8 0-3.4-.4-4.9-1.1-1.5-.8-2.8-1.8-3.9-3.1s-2-2.8-2.6-4.6C.3 32.5 0 30.6 0 28.6c0-3 .6-5.8 1.8-8.3 1.2-2.5 2.8-4.8 4.9-6.7 2-1.9 4.4-3.5 7.2-4.6 2.8-1.2 5.6-1.8 8.6-2v5.8zm27.4 0c-1.9.5-3.7 1.2-5.4 2.1-1.7.9-3.1 1.9-4.3 3-1.2 1.1-2.2 2.4-2.9 3.7-.7 1.3-1.1 2.7-1.1 4 0 1.2.1 1.8.4 1.8.8 0 1.5-.3 2.3-.9.8-.6 1.9-.9 3.3-.9 2 0 3.8.8 5.3 2.4 1.5 1.6 2.3 3.7 2.3 6.2s-1 4.6-2.9 6.4c-2 1.8-4.4 2.6-7.3 2.6-1.7 0-3.3-.4-4.8-1.1-1.5-.8-2.8-1.8-3.9-3.1s-2-2.8-2.7-4.6c-.7-1.8-1-3.7-1-5.7 0-3 .6-5.8 1.8-8.3 1.2-2.5 2.8-4.8 4.9-6.7 2-1.9 4.4-3.5 7.2-4.6 2.8-1.2 5.7-1.8 8.8-2v5.7z"}),y=function(e){return u.a.createElement("svg",h({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),v)};function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=u.a.createElement("path",{d:"M19.8 9.3C10.5 11.8 4.6 17 2.1 24.8c2.3-3.6 5.6-5.4 9.9-5.4 3.3 0 6 1.1 8.3 3.3 2.2 2.2 3.4 5 3.4 8.3 0 3.2-1.1 5.8-3.3 8-2.2 2.2-5.1 3.2-8.7 3.2-3.7 0-6.5-1.2-8.6-3.5C1 36.3 0 33.1 0 29 0 18.3 6.5 11.2 19.6 7.9l.2 1.4zm26.4 0C36.9 11.9 31 17 28.5 24.8c2.2-3.6 5.5-5.4 9.8-5.4 3.2 0 6 1.1 8.3 3.2 2.3 2.2 3.4 4.9 3.4 8.3 0 3.1-1.1 5.8-3.3 7.9-2.2 2.2-5.1 3.3-8.6 3.3-3.7 0-6.6-1.1-8.6-3.4-2.1-2.3-3.1-5.5-3.1-9.7 0-10.7 6.6-17.8 19.7-21.1l.1 1.4z"}),k=function(e){return u.a.createElement("svg",w({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=u.a.createElement("path",{d:"M12.5 9.2H19c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v3.4c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7h-5.8c-.7 0-1.3.2-1.7.6-.4.4-.6 1-.6 1.7v1.3H20c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v12.5c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7H3c-1.1 0-1.8-.2-2.3-.7-.5-.4-.7-1.2-.7-2.2V21.9c0-4.3 1.1-7.4 3.4-9.6 2.3-2 5.3-3.1 9.1-3.1zm26.9 0h6.5c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v3.4c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7h-5.8c-.7 0-1.3.2-1.7.6-.4.4-.6 1-.6 1.7v1.3H47c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v12.5c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7H30c-1.1 0-1.8-.2-2.3-.7-.5-.5-.7-1.2-.7-2.3V21.9c0-4.3 1.1-7.4 3.4-9.6 2.2-2 5.2-3.1 9-3.1z"}),C=function(e){return u.a.createElement("svg",_({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),j)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=u.a.createElement("path",{d:"M20.8 44.5H0V23.7L9.3 5.5h7.3L12 23.7h8.8v20.8zm29.2 0H29.2V23.7l9.3-18.1h7.3l-4.6 18.1H50v20.8z"}),S=function(e){return u.a.createElement("svg",x({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),E)};function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=u.a.createElement("path",{d:"M10.3 24.8V26H20v16.9H0V26.2C0 13.4 6.6 7.1 19.9 7.1v7.1c-3.4.5-5.9 1.6-7.4 3.3-1.5 1.7-2.2 4.1-2.2 7.3zm30 0V26H50v16.9H30.1V26.2c0-12.7 6.6-19.1 19.9-19.1v7.1c-6.4.7-9.7 4.3-9.7 10.6z"}),A=function(e){return u.a.createElement("svg",B({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),T)};function N(){return(N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var P=u.a.createElement("path",{d:"M21.1 6.8v36.4H0V22.1L21.1 6.8zm28.9 0v36.4H28.9V22.1L50 6.8z"}),F=function(e){return u.a.createElement("svg",N({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),P)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var D=u.a.createElement("path",{d:"M14.7 45.9H0V31.3C0 17.6 8.6 6.6 21.6 4.1v4.7c-10 2.6-16.7 10.9-16.7 22.6h9.8v14.5zm28.1 0H28.4V31.3C28.4 17.6 37 6.6 50 4.1v4.7c-9.8 2.6-16.7 10.9-16.7 22.6h9.5v14.5z"}),M=function(e){return u.a.createElement("svg",R({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),D)};function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(f,z({style:e},t))},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(k,z({style:e},t))},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(y,z({style:e},t))},H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(g,z({style:e},t))},W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(A,z({style:e},t))},G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(C,z({style:e},t))},V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(S,z({style:e},t))},q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(F,z({style:e},t))},Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(M,z({style:e},t))},K={"round-thin":{icon:L(),iconFunc:L,title:Object(i.__)("Round Thin",o.i18n),value:"round-thin"},round:{icon:I(),iconFunc:I,title:Object(i.__)("Round",o.i18n),value:"round"},"round-thick":{icon:U(),iconFunc:U,title:Object(i.__)("Round Thick",o.i18n),value:"round-thick"},"round-fat":{icon:H(),iconFunc:H,title:Object(i.__)("Round Fat",o.i18n),value:"round-fat"},"square-thin":{icon:Y(),iconFunc:Y,title:Object(i.__)("Square Thin",o.i18n),value:"square-thin"},square:{icon:W(),iconFunc:W,title:Object(i.__)("Square",o.i18n),value:"square"},"square-simple":{icon:q(),iconFunc:q,title:Object(i.__)("Square Simple",o.i18n),value:"square-simple"},"square-modern":{icon:V(),iconFunc:V,title:Object(i.__)("Square Modern",o.i18n),value:"square-modern"},"square-fat":{icon:G(),iconFunc:G,title:Object(i.__)("Square Fat",o.i18n),value:"square-fat"}},X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M9.4,14.6c-2.4,2.9-3.6,5.9-3.6,8.9c0,1.3,0.2,2.4,0.5,3.3c1.8-1.4,3.8-2.1,6-2.1c2.9,0,5.3,0.9,7.3,2.7c2,1.8,3,4.2,3,7.3 c0,1.9-0.5,3.6-1.4,5.1c-0.9,1.5-2.2,2.7-3.8,3.6s-3.3,1.3-5.1,1.3c-4.1,0-7.3-1.6-9.5-4.9C0.9,36.9,0,33.5,0,29.4 c0-5.2,1.4-9.9,4.1-14c2.8-4.1,6.9-7.5,12.5-10l1.5,2.8C14.8,9.5,11.9,11.7,9.4,14.6z M36.9,14.6c-2.4,2.9-3.6,5.9-3.6,8.9 c0,1.3,0.2,2.4,0.5,3.3c1.8-1.4,3.8-2.1,6-2.1c2.9,0,5.4,0.9,7.4,2.7c2,1.8,3,4.2,3,7.3c0,2.8-1,5.2-3,7.1c-2,1.9-4.4,2.9-7.3,2.9 c-4.1,0-7.3-1.6-9.5-4.9c-1.8-2.7-2.8-6.2-2.8-10.3c0-5.2,1.4-9.9,4.1-14c2.8-4.1,6.9-7.5,12.5-10l1.5,2.8 C42.2,9.5,39.3,11.7,36.9,14.6z"}))},J=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M19.8,9.3C10.5,11.8,4.6,17,2.1,24.8c2.3-3.6,5.6-5.4,9.9-5.4c3.3,0,6,1.1,8.3,3.3c2.2,2.2,3.4,5,3.4,8.3 c0,3.2-1.1,5.8-3.3,8c-2.2,2.2-5.1,3.2-8.7,3.2c-3.7,0-6.5-1.2-8.6-3.5C1,36.3,0,33.1,0,29C0,18.3,6.5,11.2,19.6,7.9L19.8,9.3z M46.2,9.3C36.9,11.9,31,17,28.5,24.8c2.2-3.6,5.5-5.4,9.8-5.4c3.2,0,6,1.1,8.3,3.2c2.3,2.2,3.4,4.9,3.4,8.3c0,3.1-1.1,5.8-3.3,7.9 c-2.2,2.2-5.1,3.3-8.6,3.3c-3.7,0-6.6-1.1-8.6-3.4c-2.1-2.3-3.1-5.5-3.1-9.7c0-10.7,6.6-17.8,19.7-21.1L46.2,9.3z"}))},$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M22.6,12.8c-1.9,0.5-3.7,1.2-5.3,2.1c-1.6,0.9-3.1,1.9-4.3,3c-1.2,1.1-2.2,2.4-2.9,3.7c-0.7,1.3-1.1,2.7-1.1,4 c0,1.2,0.1,1.8,0.3,1.8c0.8,0,1.5-0.3,2.4-0.9c0.8-0.6,1.9-0.9,3.3-0.9c2.1,0,3.9,0.8,5.4,2.4c1.5,1.6,2.3,3.7,2.3,6.2 c0,2.5-1,4.6-2.9,6.4c-1.9,1.8-4.3,2.6-7.3,2.6c-1.8,0-3.4-0.4-4.9-1.1c-1.5-0.8-2.8-1.8-3.9-3.1c-1.1-1.3-2-2.8-2.6-4.6 C0.3,32.5,0,30.6,0,28.6c0-3,0.6-5.8,1.8-8.3c1.2-2.5,2.8-4.8,4.9-6.7c2-1.9,4.4-3.5,7.2-4.6c2.8-1.2,5.6-1.8,8.6-2V12.8z M50,12.8 c-1.9,0.5-3.7,1.2-5.4,2.1c-1.7,0.9-3.1,1.9-4.3,3c-1.2,1.1-2.2,2.4-2.9,3.7c-0.7,1.3-1.1,2.7-1.1,4c0,1.2,0.1,1.8,0.4,1.8 c0.8,0,1.5-0.3,2.3-0.9c0.8-0.6,1.9-0.9,3.3-0.9c2,0,3.8,0.8,5.3,2.4c1.5,1.6,2.3,3.7,2.3,6.2c0,2.5-1,4.6-2.9,6.4 c-2,1.8-4.4,2.6-7.3,2.6c-1.7,0-3.3-0.4-4.8-1.1c-1.5-0.8-2.8-1.8-3.9-3.1c-1.1-1.3-2-2.8-2.7-4.6c-0.7-1.8-1-3.7-1-5.7 c0-3,0.6-5.8,1.8-8.3c1.2-2.5,2.8-4.8,4.9-6.7c2-1.9,4.4-3.5,7.2-4.6c2.8-1.2,5.7-1.8,8.8-2V12.8z"}))},Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M22.3,30.5c0,6-4.8,10.8-10.8,10.8c-2.3,0-4.5-0.8-6.3-2c-0.9-0.6-1.8-1.4-2.5-2.4c-1.8-2.4-2.7-5.4-2.7-9 c0-4.5,1.3-8.5,4-11.9c2.7-3.4,6.4-5.8,11.1-7.3v2.8c-2.7,2.2-4.4,5-4.9,8.3c0.4-0.1,0.9-0.1,1.3-0.1C17.5,19.6,22.3,24.5,22.3,30.5 z M39.2,19.6c-0.5,0-0.9,0-1.3,0.1c0.5-3.3,2.2-6.1,4.9-8.3V8.7c-4.7,1.4-8.4,3.9-11.1,7.3c-2.7,3.4-4,7.4-4,11.9 c0,3.6,0.9,6.6,2.7,9c0.8,1,1.6,1.8,2.5,2.4c1.8,1.3,3.9,2,6.3,2c6,0,10.8-4.8,10.8-10.8C50,24.5,45.2,19.6,39.2,19.6z"}))},Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M10.3,24.8V26h9.7v16.9H0V26.2C0,13.4,6.6,7.1,19.9,7.1v7.1c-3.4,0.5-5.9,1.6-7.4,3.3C11,19.2,10.3,21.6,10.3,24.8z M40.3,24.8V26H50v16.9H30.1V26.2c0-12.7,6.6-19.1,19.9-19.1v7.1C43.6,14.9,40.3,18.5,40.3,24.8z"}))},ee=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M12.5,9.2h6.5c1.1,0,1.8,0.2,2.3,0.7c0.5,0.5,0.7,1.2,0.7,2.3v3.4c0,1.1-0.2,1.8-0.7,2.3c-0.5,0.5-1.2,0.7-2.3,0.7h-5.8 c-0.7,0-1.3,0.2-1.7,0.6c-0.4,0.4-0.6,1-0.6,1.7v1.3H20c1.1,0,1.8,0.2,2.3,0.7c0.5,0.5,0.7,1.2,0.7,2.3v12.5c0,1.1-0.2,1.8-0.7,2.3 c-0.5,0.5-1.2,0.7-2.3,0.7H3c-1.1,0-1.8-0.2-2.3-0.7C0.2,39.6,0,38.8,0,37.8V21.9c0-4.3,1.1-7.4,3.4-9.6C5.7,10.3,8.7,9.2,12.5,9.2z M39.4,9.2h6.5c1.1,0,1.8,0.2,2.3,0.7c0.5,0.5,0.7,1.2,0.7,2.3v3.4c0,1.1-0.2,1.8-0.7,2.3c-0.5,0.5-1.2,0.7-2.3,0.7h-5.8 c-0.7,0-1.3,0.2-1.7,0.6c-0.4,0.4-0.6,1-0.6,1.7v1.3H47c1.1,0,1.8,0.2,2.3,0.7c0.5,0.5,0.7,1.2,0.7,2.3v12.5c0,1.1-0.2,1.8-0.7,2.3 c-0.5,0.5-1.2,0.7-2.3,0.7H30c-1.1,0-1.8-0.2-2.3-0.7c-0.5-0.5-0.7-1.2-0.7-2.3V21.9c0-4.3,1.1-7.4,3.4-9.6 C32.6,10.3,35.6,9.2,39.4,9.2z"}))},te=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M20.8,44.5H0V23.7L9.3,5.5h7.3L12,23.7h8.8V44.5z M50,44.5H29.2V23.7l9.3-18.1h7.3l-4.6,18.1H50V44.5z"}))},ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M21.1,6.8v36.4H0V22.1L21.1,6.8z M50,6.8v36.4H28.9V22.1L50,6.8z"}))},ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M14.7,45.9H0V31.3C0,17.6,8.6,6.6,21.6,4.1v4.7c-10,2.6-16.7,10.9-16.7,22.6h9.8V45.9z M42.8,45.9H28.4V31.3 C28.4,17.6,37,6.6,50,4.1v4.7c-9.8,2.6-16.7,10.9-16.7,22.6h9.5V45.9z"}))},oe={"round-thin":{icon:J(),iconFunc:J,title:"Round Thin",value:"round-thin"},round:{icon:X(),iconFunc:X,title:"Round",value:"round"},"round-thick":{icon:$(),iconFunc:$,title:"Round Thick",value:"round-thick"},"round-fat":{icon:Z(),iconFunc:Z,title:"Round Fat",value:"round-fat"},"square-thin":{icon:ae(),iconFunc:ae,title:"Square Thin",value:"square-thin"},square:{icon:Q(),iconFunc:Q,title:"Square",value:"square"},"square-simple":{icon:ne(),iconFunc:ne,title:"Square Simple",value:"square-simple"},"square-modern":{icon:te(),iconFunc:te,title:"Square Modern",value:"square-modern"},"square-fat":{icon:ee(),iconFunc:ee,title:"Square Fat",value:"square-fat"}},ie=n(2),re=n(6),le=n(8),ce=n.n(le);function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(n,!0).forEach(function(t){be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe={align:{type:"string"},text:{source:"html",selector:"p",default:Object(ie.F)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},quotationMark:{type:"string",default:"round-thin"},quotationSize:{type:"number",default:70},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},ge={text:{source:"html",selector:"p",default:Object(ie.F)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}},me={align:{type:"string"},text:{source:"html",selector:"p",default:Object(ie.F)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},quotationMark:{type:"string",default:"round-thin"},quotationSize:{type:"number",default:70},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},de=[{attributes:pe,save:function(e){var t,n=e.className,a=e.attributes,o=a.color,i=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,p=a.backgroundColorDirection,g=void 0===p?0:p,m=a.backgroundType,d=void 0===m?"":m,f=a.backgroundImageURL,h=a.backgroundOpacity,v=void 0===h?5:h,y=a.fixedBackground,w=a.quotationMark,O=void 0===w?"round-thin":w,k=a.quotationSize,_=void 0===k?70:k,j=a.align,C=a.contentWidth,x=a.design,E=void 0===x?"plain":x,S=a.borderRadius,B=void 0===S?12:S,T=a.shadow,A=void 0===T?3:T,N=["basic","top-icon"].includes(E),P=ce()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(r.applyFilters)("stackable.blockquote.mainclasses_1_17_3",(be(t={"ugb--has-background":N&&(u||f),"ugb--has-background-image":N&&f},"ugb--shadow-".concat(A),N&&3!==A),be(t,"ugb-content-width","full"===j&&C),be(t,"ugb-blockquote--small-quote",_<60),be(t,"ugb--has-background-gradient","gradient"===s),be(t,"ugb--has-background-video","video"===d),t),E,e)),F=N?{backgroundColor:u||void 0,backgroundImage:f?"url(".concat(f,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f||"gradient"===s?u:void 0,"--ugb-background-color2":"gradient"===s&&b?b:void 0,"--ugb-background-direction":"gradient"===s?"".concat(g,"deg"):void 0,borderRadius:12!==B?B:void 0}:{},R=Object(r.applyFilters)("stackable.blockquote.styles_1_17_3",{main:ue({"--quote-color":l||void 0},F),text:{color:o}},E,e);return wp.element.createElement("blockquote",{className:P,style:R.main},N&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(r.applyFilters)("stackable.blockquote.save.output.before_1_17_3",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},K[O].iconFunc({fill:l,width:_,height:_}),Object(r.applyFilters)("stackable.blockquote.save.output_1_17_3",wp.element.createElement(re.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:i}),E,e)),Object(r.applyFilters)("stackable.blockquote.save.output.after_1_17_3",null,E,e))},migrate:function(e){var t=function(t){var n=(t||"").replace(/\.ugb-content-wrapper/g,".ugb-blockquote__item").replace(/svg(\s*\{)/g,".ugb-blockquote__quote$1");return"basic"===e.design&&(n=n.replace(/\.ugb-blockquote(\s*\{)/g,".ugb-blockquote__item$1")),n};return ue({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),showQuote:!0,quoteIcon:e.quotationMark,quoteSize:e.quotationSize,textColor:e.color?e.color:e.backgroundColor?"#000000":void 0,containerBackgroundColorType:e.backgroundColorType,containerBackgroundColor:e.backgroundColor,containerBackgroundColor2:e.backgroundColor2,containerBackgroundGradientDirection:e.backgroundColorDirection,containerBackgroundMediaId:e.backgroundImageID,containerBackgroundMediaUrl:e.backgroundImageURL,containerBackgroundTintStrength:e.backgroundOpacity,containerFixedBackground:e.fixedBackground,design:"basic"===e.design&&"full"===e.align?"plain":e.design,showBlockBackground:"basic"===e.design&&"full"===e.align||void 0,blockInnerWidth:"full"!==e.align?void 0:"basic"===e.design&&!0===e.contentWidth?"center":"full",blockBackgroundBackgroundColor:"basic"===e.design&&"full"===e.align?e.backgroundColor:void 0,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:me,save:function(e){var t,n=e.className,a=e.attributes,o=a.color,i=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,p=a.backgroundColorDirection,g=void 0===p?0:p,m=a.backgroundType,d=void 0===m?"":m,f=a.backgroundImageURL,h=a.backgroundOpacity,v=void 0===h?5:h,y=a.fixedBackground,w=a.quotationMark,O=void 0===w?"round-thin":w,k=a.quotationSize,_=void 0===k?70:k,j=a.align,C=a.contentWidth,x=a.design,E=void 0===x?"plain":x,S=a.borderRadius,B=void 0===S?12:S,T=a.shadow,A=void 0===T?3:T,N=["basic","top-icon"].includes(E),P=ce()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(r.applyFilters)("stackable.blockquote.mainclasses",(be(t={"ugb--has-background":N&&(u||f),"ugb--has-background-image":N&&f},"ugb--shadow-".concat(A),N&&3!==A),be(t,"ugb-content-width","full"===j&&C),be(t,"ugb-blockquote--small-quote",_<60),be(t,"ugb--has-background-gradient","gradient"===s),be(t,"ugb--has-background-video","video"===d),t),E,e)),F=N?{backgroundColor:u||void 0,backgroundImage:f?"url(".concat(f,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f||"gradient"===s?u:void 0,"--ugb-background-color2":"gradient"===s&&b?b:void 0,"--ugb-background-direction":"gradient"===s?"".concat(g,"deg"):void 0,borderRadius:12!==B?B:void 0}:{},R=Object(r.applyFilters)("stackable.blockquote.styles_1_17_3",{main:ue({"--quote-color":l||void 0},F),text:{color:o}},E,e);return wp.element.createElement("blockquote",{className:P,style:R.main},N&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(r.applyFilters)("stackable.blockquote.save.output.before",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},K[O].iconFunc({fill:l,width:_,height:_}),Object(r.applyFilters)("stackable.blockquote.save.text",wp.element.createElement(re.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:i}),E,e)),Object(r.applyFilters)("stackable.blockquote.save.output.after",null,E,e))}},{attributes:me,save:function(e){var t,n=e.className,a=e.attributes,o=a.color,i=a.text,r=a.quoteColor,l=a.backgroundColor,c=a.backgroundImageURL,s=a.backgroundOpacity,u=void 0===s?5:s,b=a.fixedBackground,p=a.quotationMark,g=void 0===p?"round-thin":p,m=a.quotationSize,d=void 0===m?70:m,f=a.align,h=a.contentWidth,v=a.design,y=void 0===v?"plain":v,w=a.borderRadius,O=void 0===w?12:w,k=a.shadow,_=void 0===k?3:k,j=["basic","top-icon"].includes(y),C=ce()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(u/1),"ugb-blockquote--design-".concat(y)],(be(t={"ugb--has-background":j&&(l||c),"ugb--has-background-image":j&&c},"ugb--shadow-".concat(_),j&&3!==_),be(t,"ugb-content-width","full"===f&&h),t)),x={"--quote-color":r||void 0,backgroundColor:j&&l?l:void 0,backgroundImage:j&&c?"url(".concat(c,")"):void 0,backgroundAttachment:j&&b?"fixed":void 0,"--ugb-background-color":j&&c?l:void 0,borderRadius:j&&12!==O?O:void 0};return wp.element.createElement("blockquote",{className:C,style:x},wp.element.createElement("div",{className:"ugb-content-wrapper"},oe[g].iconFunc({fill:r,width:d,height:d}),wp.element.createElement(re.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:{color:o},value:i})))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return ue({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:ge,save:function(e){var t=e.className,n=e.attributes,a=n.color,o=n.text,i=n.quoteColor,r=n.backgroundColor,l=n.backgroundImageURL,c=n.backgroundOpacity,s=void 0===c?5:c,u=n.fixedBackground,b=ce()([t,"ugb-blockquote","ugb-has-background-opacity-"+1*Math.round(s/1)],{"ugb-has-background":r||l,"ugb-has-background-image":l}),p={"--quote-color":i||void 0,backgroundColor:r||void 0,backgroundImage:l?"url(".concat(l,")"):void 0,backgroundAttachment:u?"fixed":void 0,"--ugb-background-color":l?r:void 0};return wp.element.createElement("blockquote",{className:b,style:p},wp.element.createElement(re.RichText.Content,{tagName:"p",style:{color:a},value:o}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").trim();return ue({},e,{design:e.backgroundColor||e.backgroundImageURL?"basic":"plain",borderRadius:12,shadow:3,quotationMark:"round-thin",quotationSize:70,contentWidth:!1,className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{text:{source:"html",selector:"p",default:"It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful."},color:{type:"string",default:""},quoteColor:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.color,o=n.text,i=n.quoteColor,r=ce()([t,"ugb-blockquote"]);return wp.element.createElement("blockquote",{className:r,style:{"--quote-color":i}},wp.element.createElement(re.RichText.Content,{tagName:"p",style:{color:a},value:o}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return ue({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}}],fe=n(264),he=n.n(fe),ve=n(265),ye=n.n(ve),we=function(e){var t=e.attributes.design,n=void 0===t?"basic":t;return Object(r.applyFilters)("stackable.blockquote.show",{containerBackground:"basic"===n,borderRadius:"basic"===n,shadow:"basic"===n},e)},Oe=n(15),ke=n.n(Oe);function _e(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(n,!0).forEach(function(t){xe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ee=function(e){var t=Object(ie.b)(e.attributes),n=we(e),a=[];a.push(Ce({},n.containerBackground?Object(ie.l)("container%s","ugb-blockquote__item",e.attributes,{importantBackgroundColor:!0}):{})),n.containerBackground&&a.push({".ugb-blockquote__item":{borderRadius:n.borderRadius?t("borderRadius","%spx !important"):void 0}});var o=e.attributes.showQuote;(void 0===o||o)&&(a.push({".ugb-blockquote__quote":{fill:Object(ie.c)(t("quoteColor")),opacity:t("quoteOpacity")}}),a.push.apply(a,_e(Object(ie.y)(".ugb-blockquote__quote","quote%sSize","width","%spx",e.attributes,!0))),a.push.apply(a,_e(Object(ie.y)(".ugb-blockquote__quote","quote%sSize","height","%spx",e.attributes,!0))),a.push.apply(a,_e(Object(ie.y)(".ugb-blockquote__quote","quote%sX","left","%spx",e.attributes,!0))),a.push.apply(a,_e(Object(ie.y)(".ugb-blockquote__quote","quote%sY","top","%spx",e.attributes,!0))));var i=e.attributes,r=i.containerBackgroundColor,l=void 0===r?"":r,c=i.textColor,s=void 0===c?"":c;return a.push({".ugb-blockquote__text":Ce({},Object(ie.D)("text%s","desktop",e.attributes,{important:!0}),{color:Object(ie.gb)(s,n.containerBackground&&l)}),tablet:{".ugb-blockquote__text":Ce({},Object(ie.D)("text%s","tablet",e.attributes,{important:!0}))},mobile:{".ugb-blockquote__text":Ce({},Object(ie.D)("text%s","mobile",e.attributes,{important:!0}))}}),a.push.apply(a,_e(Object(ie.y)(".ugb-blockquote__item","text%sAlign","textAlign","%s",e.attributes,!0))),ke.a.all(a)},Se=n(3),Be=n(11),Te=n(9),Ae=n(7),Ne=n(12);function Pe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(r.addFilter)("stackable.blockquote.edit.inspector.layout.before","stackable/blockquote",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"basic":a;return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(Se.z,{initialOpen:!0,selected:l,options:Object(r.applyFilters)("stackable.blockquote.edit.layouts",[{label:Object(i.__)("Basic",o.i18n),value:"basic",image:he.a},{label:Object(i.__)("Plain",o.i18n),value:"plain",image:ye.a}]),onChange:function(e){return n({design:e})}},o.showProNotice&&wp.element.createElement(Se.cb,null)))}),Object(r.addFilter)("stackable.blockquote.edit.inspector.style.before","stackable/blockquote",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.borderRadius,l=void 0===r?"":r,c=a.shadow,s=void 0===c?"":c,u=a.showQuote,b=void 0===u||u,p=a.quoteIcon,g=void 0===p?"round-thin":p,m=a.quoteColor,d=void 0===m?"":m,f=a.quoteOpacity,h=void 0===f?"":f,v=a.textColor,y=void 0===v?"":v,w=we(t);return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(Te.PanelBody,{title:Object(i.__)("General",o.i18n)},w.borderRadius&&wp.element.createElement(Se.b,{label:Object(i.__)("Border Radius",o.i18n),value:l,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),w.shadow&&wp.element.createElement(Se.b,{label:Object(i.__)("Shadow / Outline",o.i18n),value:s,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(Se.t,{setAttributes:n,blockAttributes:t.attributes})),w.containerBackground&&wp.element.createElement(Se.Y,{title:Object(i.__)("Container Background",o.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(Se.g,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(Se.Y,{title:Object(i.__)("Quotation Mark",o.i18n),id:"quotation",checked:b,onChange:function(e){return n({showQuote:e})},toggleOnSetAttributes:["quoteIcon","quoteColor"].concat(Pe(Object(ie.w)("quote%sSize")),Pe(Object(ie.w)("quote%sX")),Pe(Object(ie.w)("quote%sY"))),toggleAttributeName:"showQuote"},wp.element.createElement(Se.d,{label:Object(i.__)("Icon",o.i18n),multiline:!0,className:"ugb-blockquote__inspector__icon",controls:Object.values(K),value:g,onChange:function(e){return n({quoteIcon:e})}}),wp.element.createElement(Se.r,{value:d,onChange:function(e){return n({quoteColor:e})},label:Object(i.__)("Color",o.i18n)}),wp.element.createElement(Se.db,{attrNameTemplate:"quote%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Se.b,{label:Object(i.__)("Size",o.i18n),min:0,max:400,allowReset:!0,placeholder:"70"})),wp.element.createElement(Se.b,{label:Object(i.__)("Opacity",o.i18n),value:h,onChange:function(e){return n({quoteOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"1"}),wp.element.createElement(Se.db,{attrNameTemplate:"quote%sX",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Se.b,{label:Object(i.__)("Horizontal Position",o.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"})),wp.element.createElement(Se.db,{attrNameTemplate:"quote%sY",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Se.b,{label:Object(i.__)("Vertical Position",o.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"}))),wp.element.createElement(Se.Y,{title:Object(i.__)("Text",o.i18n),id:"text",hasToggle:!1},wp.element.createElement(Se.mb,{attrNameTemplate:"text%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(Se.r,{value:y,onChange:function(e){return n({textColor:e})},label:Object(i.__)("Text Color",o.i18n)}),wp.element.createElement(Se.db,{attrNameTemplate:"Text%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Se.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-description"}))))});var Fe=Object(Ne.compose)(Be.i,Be.g,Be.d,Object(Be.h)(),Object(Be.c)(["Text%sAlign"]),Object(Be.a)(Ee,{editorMode:!0}),Object(Be.b)([[".ugb-blockquote__item","column-background"],[".ugb-blockquote__quote","quotation"],[".ugb-blockquote__text","text"]]))(function(e){var t,n,a,o=e.className,i=e.setAttributes,l=e.attributes,c=l.blockTag,s=void 0===c?"":c,u=l.design,b=void 0===u?"plain":u,p=l.shadow,g=void 0===p?"":p,m=l.text,d=void 0===m?"":m,f=l.showQuote,h=void 0===f||f,v=l.quoteIcon,y=void 0===v?"round-thin":v,w=l.quoteSize,O=void 0===w?70:w,k=we(e),_=ce()([o,"ugb-blockquote--v3","ugb-blockquote--design-".concat(b)],Object(r.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":O<60},b,e)),j=ce()(["ugb-blockquote__item"],(t={},n="ugb--shadow-".concat(g),a=k.containerBackground&&""!==g,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement(Se.j.Edit,{blockTag:s||"blockquote",className:_,blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement(Se.C,{className:j,backgroundAttrName:"container%s",blockProps:e,showBackground:k.containerBackground},h&&K[y].iconFunc({},{className:"ugb-blockquote__quote",width:O,height:O}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(re.RichText,{className:"ugb-blockquote__text",value:d,onChange:function(e){return i({text:e})},placeholder:Object(ie.F)("long"),keepPlaceholderOnFocus:!0}))))}})});var Re=Object(Ne.compose)(Be.i,Object(Be.a)(Ee))(function(e){var t,n,a,o=e.className,i=e.attributes,l=i.blockTag,c=void 0===l?"":l,s=i.design,u=void 0===s?"plain":s,b=i.shadow,p=void 0===b?"":b,g=i.text,m=void 0===g?"":g,d=i.showQuote,f=void 0===d||d,h=i.quoteIcon,v=void 0===h?"round-thin":h,y=i.quoteSize,w=void 0===y?70:y,O=we(e),k=ce()([o,"ugb-blockquote--v3","ugb-blockquote--design-".concat(u)],Object(r.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":w<60},u,e)),_=ce()(["ugb-blockquote__item"],(t={},n="ugb--shadow-".concat(p),a=O.containerBackground&&""!==p,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement(Se.j.Save,{blockTag:c||"blockquote",className:k,blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement(Se.C,{className:_,backgroundAttrName:"container%s",blockProps:e,showBackground:O.containerBackground},f&&K[v].iconFunc({},{className:"ugb-blockquote__quote",width:w,height:w}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(re.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",value:m}))))}})}),De=n(16);function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return Le}),n.d(t,"settings",function(){return Ue});var Ie=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(n,!0).forEach(function(t){ze(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"plain"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(ie.j)("container%s"),{showQuote:{type:"boolean",default:!0},quoteIcon:{type:"string",default:"round-thin"},quoteOpacity:{type:"number",default:""},quoteColor:{type:"string",default:""},quoteSize:{type:"number",default:70}},Object(ie.h)("quote%s%s",{type:"number",default:""},["","Tablet","Mobile"],["X","Y"]),{text:{source:"html",selector:".ugb-blockquote__text",default:Object(ie.F)("long")}},Object(ie.C)("text%s"),{textColor:{type:"string",default:""}},Object(ie.x)("text%sAlign",{type:"string",default:""})),Le="ugb/blockquote",Ue={title:Object(i.__)("Blockquote",o.i18n),description:Object(i.__)("Display a quote in style.",o.i18n),icon:De.b,category:"common",keywords:[Object(i.__)("Blockquote",o.i18n),Object(i.__)("Stackable",o.i18n)],supports:{align:["center","wide","full"],inserter:!o.disabledBlocks.includes(Le)},attributes:Ie,deprecated:de,edit:Fe,save:Re,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(r.applyFilters)("stackable.blockquote.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(16),o=n(2),i=n(10),r=n(1),l=n(0),c=n(5);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(c.addFilter)("stackable.video-popup.design.filtered-block-attributes","stackable/video-popup",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(i.omit)(e,["videoLink","videoID","video-popup3","previewBackgroundMediaId"].concat(b(t&&t.previewBackgroundMediaId?["previewBackgroundMediaUrl"]:[])))}),Object(c.addFilter)("stackable.video-popup.edit.designs","stackable/video-popup",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(l.__)("Corporate Light 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-video-popup-design-corporate-light-01.jpg",attributes:{borderRadius:0,playButtonColor:"#ff550a",previewBackgroundColor:"#ffffff",previewBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-testimonial-corporate-light-01-01.jpg",previewBackgroundTintStrength:6,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#ff550a",blockBackgroundBackgroundColor2:"#ffb20b",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffffff",showBlockDescription:!0,blockDescriptionBottomMargin:55,blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}},corporateLight2:{label:Object(l.__)("Corporate Light 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-video-popup-design-corporate-light-02.jpg",attributes:{borderRadius:0,playButtonColor:"#c49732",previewBackgroundColor:"#c49732",previewBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-video-popup-corporate-light-02-01.jpg",previewBackgroundTintStrength:3,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#1e55d3",blockBackgroundBackgroundColor2:"#6a91eb",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffffff",showBlockDescription:!0,blockDescriptionBottomMargin:55,blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}},corporateDark1:{label:Object(l.__)("Corporate Dark 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-video-popup-design-corporate-dark-01.jpg",attributes:{borderRadius:0,playButtonColor:"#0e2448",previewBackgroundColor:"#c5dfb4",previewBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-video-popup-corporate-dark-01-01.jpg",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#0e2448",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-dark-01-01.jpg",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c5dfb4",showBlockDescription:!0,blockDescriptionBottomMargin:55,blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}},corporateDark2:{label:Object(l.__)("Corporate Dark 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-video-popup-design-corporate-dark-02.jpg",attributes:{borderRadius:0,playButtonColor:"#ffffff",previewBackgroundColor:"#06c19d",previewBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-video-popup-corporate-dark-02-01.jpg",previewBackgroundTintStrength:5,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#707070",blockBackgroundBackgroundColor2:"#6a91eb",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#06c19d",showBlockDescription:!0,blockDescriptionBottomMargin:55,blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}}})});var p=n(4),g=n.n(p);function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var d=g.a.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"}),f=function(e){return g.a.createElement("svg",m({viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},e),d)};function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var v=g.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),y=function(e){return g.a.createElement("svg",h({viewBox:"0 0 256 320",xmlns:"http://www.w3.org/2000/svg"},e),v)};function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=g.a.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),k=g.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),_=function(e){return g.a.createElement("svg",w({viewBox:"0 0 34 34",xmlns:"http://www.w3.org/2000/svg"},e),O,k)},j={normal:function(e){return wp.element.createElement(y,{style:e,width:"30",height:"30"})},circle:function(e){return wp.element.createElement(f,{style:e,width:"50",height:"50"})},outline:function(e){return wp.element.createElement(_,{style:e,width:"50",height:"50"})}},C=(Object(l.__)("Normal Play Button",r.i18n),Object(l.__)("Play Button with Circle",r.i18n),Object(l.__)("Outline Play Button",r.i18n),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return j[e]({fill:t})}),x=n(8),E=n.n(x);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A={normal:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"})),circle:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"})),outline:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))},N=[{attributes:{videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"div",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string",default:"#ffffff"},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string",default:"#000000"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},align:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}},save:function(e){var t,n=e.className,a=e.attributes,o=a.videoID,i=a.playButtonType,r=a.playButtonColor,l=void 0===r?"#ffffff":r,s=a.backgroundImageURL,u=a.backgroundColorType,b=void 0===u?"":u,p=a.backgroundColor,g=a.backgroundColor2,m=a.backgroundColorDirection,d=void 0===m?0:m,f=a.backgroundType,h=void 0===f?"":f,v=a.backgroundOpacity,y=a.design,w=void 0===y?"basic":y,O=a.borderRadius,k=void 0===O?12:O,_=a.shadow,j=void 0===_?3:_,x=E()([n,"ugb-video-popup","ugb-video-popup--v2","ugb-video-popup--design-".concat(w),"ugb-video-popup--button-".concat(i),"ugb--background-opacity-"+1*Math.round(v/1)],Object(c.applyFilters)("stackable.video-popup.mainclasses_1_15_6",(T(t={"ugb--has-background":p||s,"ugb--has-background-image":s},"ugb--shadow-".concat(j),"plain"!==w&&3!==j),T(t,"ugb--has-background-gradient","gradient"===b),T(t,"ugb--has-background-video","video"===h),t),w,e)),S={backgroundColor:p||void 0,backgroundImage:s?"url(".concat(s,")"):void 0,"--ugb-background-color":s||"gradient"===b?p:void 0,"--ugb-background-color2":"gradient"===b&&g?g:void 0,"--ugb-background-direction":"gradient"===b?"".concat(d,"deg"):void 0,borderRadius:"plain"!==w&&12!==k?k:void 0};return wp.element.createElement("div",{className:x,style:S,"data-video":o},"video"===h&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:s}),Object(c.applyFilters)("stackable.video-popup.save.output.before_1_15_6",null,w,e),wp.element.createElement("div",{className:"ugb-video-popup__wrapper"},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},C(i,l))))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-video-popup([\s\{\[\.\#\:])/g,".ugb-video-popup__wrapper$1")};return B({},e,{previewBackgroundColorType:e.backgroundColorType,previewBackgroundColor:e.backgroundColor,previewBackgroundColor2:e.backgroundColor2,previewBackgroundGradientDirection:e.backgroundColorDirection,previewBackgroundMediaId:e.backgroundImageID,previewBackgroundMediaUrl:e.backgroundImageURL,previewBackgroundTintStrength:e.backgroundOpacity,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:{videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"div",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string",default:"#ffffff"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},align:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}},save:function(e){var t=e.className,n=e.attributes,a=n.videoID,o=n.playButtonType,i=n.playButtonColor,r=void 0===i?"#ffffff":i,l=n.backgroundImageURL,c=n.backgroundColor,s=n.backgroundOpacity,u=n.design,b=void 0===u?"basic":u,p=n.borderRadius,g=void 0===p?12:p,m=n.shadow,d=void 0===m?3:m,f=E()([t,"ugb-video-popup","ugb-video-popup--v2","ugb-video-popup--design-".concat(b),"ugb-video-popup--button-".concat(o),"ugb--background-opacity-"+1*Math.round(s/1)],T({"ugb--has-background":c||l,"ugb--has-background-image":l},"ugb--shadow-".concat(d),"plain"!==b&&3!==d)),h={backgroundColor:c||void 0,backgroundImage:l?"url(".concat(l,")"):void 0,"--ugb-background-color":l?c:void 0,borderRadius:"plain"!==b&&12!==g?g:void 0},v={normal:function(e){return wp.element.createElement("svg",{style:e,xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"}))},circle:function(e){return wp.element.createElement("svg",{style:e,xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"}))},outline:function(e){return wp.element.createElement("svg",{style:e,xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))}};return wp.element.createElement("div",{className:f,style:h,"data-video":a},wp.element.createElement("div",{className:"ugb-video-popup__wrapper"},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return v[e]({fill:t})}(o,r))))}},{attributes:{videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"div",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}},save:function(e){var t=e.className,n=e.attributes,a=n.videoID,o=n.playButtonType,i=n.backgroundImageURL,r=n.backgroundColor,l=n.backgroundOpacity,c=E()([t,"ugb-video-popup","ugb-has-background-opacity-"+1*Math.round(l/1)],{"ugb-has-background":r||i,"ugb-has-background-image":i}),s={backgroundColor:r||void 0,backgroundImage:i?"url(".concat(i,")"):void 0,"--ugb-background-color":i?r:void 0};return wp.element.createElement("div",{className:c,style:s,"data-video":a},wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#"}),wp.element.createElement("span",{className:"ugb-play-button"},C(o))))},migrate:function(e){return B({},e,{align:"center",playButtonColor:"#ffffff",design:"basic",borderRadius:12,shadow:3})}},{attributes:{videoLink:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video-url"},videoID:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video"},mediaLink:{type:"string",source:"attribute",selector:".ugb-video-preview",attribute:"data-url"},mediaID:{type:"number"},overlayColor:{type:"string",default:"#000000"},playButtonType:{type:"string",default:"normal"}},save:function(e){var t=e.className,n=e.attributes,a=n.videoLink,o=n.videoID,i=n.mediaLink,r=n.overlayColor,l=n.playButtonType,c=E()([t,"ugb-video-popup"]);return wp.element.createElement("div",{className:c,"data-video":o,"data-video-url":a,style:{backgroundColor:r}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url(".concat(i,")")},"data-url":i}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:r}}),wp.element.createElement("span",{className:"ugb-play-button"},A[l])))},migrate:function(e){return Object(i.omit)(B({},e,{backgroundOpacity:5,backgroundColor:e.overlayColor,backgroundImageID:e.mediaID,backgroundImageURL:e.mediaLink}),["overlayColor","mediaID","mediaLink"])}},{attributes:{videoLink:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video"},mediaLink:{type:"string",source:"attribute",selector:".ugb-video-preview",attribute:"data-url"},mediaID:{type:"number"},overlayColor:{type:"string",default:"#000000"},playButtonType:{type:"string",default:"normal"}},migrate:function(e){return e.videoID=e.videoLink,e},save:function(e){var t=e.attributes,n=t.videoLink,a=t.mediaLink,o=t.overlayColor,i=t.playButtonType;return wp.element.createElement("div",{className:"ugb-video-popup","data-video":n,style:{backgroundColor:o}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url(".concat(a,")")},"data-url":a}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:o}}),wp.element.createElement("span",{className:"ugb-play-button"},A[i])))}}],P=n(3);function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var R=g.a.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"}),D=function(e){return g.a.createElement("svg",F({viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},e),R)};function M(){return(M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var z=g.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),I=function(e){return g.a.createElement("svg",M({viewBox:"0 0 256 320",xmlns:"http://www.w3.org/2000/svg"},e),z)};function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var U=g.a.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),H=g.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),W=function(e){return g.a.createElement("svg",L({viewBox:"0 0 34 34",xmlns:"http://www.w3.org/2000/svg"},e),U,H)},G={normal:wp.element.createElement(I,{className:"ugb-play-button-normal",width:"30",height:"30"}),circle:wp.element.createElement(D,{className:"ugb-play-button-cirle",width:"50",height:"50"}),outline:wp.element.createElement(W,{className:"ugb-play-button-outline",width:"50",height:"50"})},V=[{value:"normal",label:Object(l.__)("Normal Play Button",r.i18n)},{value:"circle",label:Object(l.__)("Play Button with Circle",r.i18n)},{value:"outline",label:Object(l.__)("Outline Play Button",r.i18n)}],q=function(e){return G[e]},Y=function(e){var t=e.attributes,n=t.showBlockBackground,a=void 0!==n&&n,o=t.blockInnerWidth,i=void 0===o?"":o,r=t.align,l=!a&&"full"===(void 0===r?"":r)||a&&"full"===i;return Object(c.applyFilters)("stackable.video-popup.show",{containerWidth:!l,borderRadius:!l},e)},K=n(11),X=n(15),J=n.n(X);function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Q=function(e){var t=Object(o.b)(e.attributes),n=Y(e);!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e.attributes);var a=[];n.containerWidth&&a.push({".ugb-video-popup__wrapper":{maxWidth:""!==t("width")?t("width","%spx"):void 0},tablet:{".ugb-video-popup__wrapper":{maxWidth:""!==t("tabletWidth")?t("tabletWidth","%spx"):void 0}},mobile:{".ugb-video-popup__wrapper":{maxWidth:""!==t("mobileWidth")?t("mobileWidth","%spx"):void 0}}}),a.push({".ugb-video-popup__wrapper":{height:""!==t("height")?t("height","%spx !important"):void 0,borderRadius:n.borderRadius&&""!==t("borderRadius")?t("borderRadius","%spx"):void 0},".ugb-video-popup__play-button svg":{fill:""!==t("playButtonColor")?t("playButtonColor","%s !important"):void 0,height:""!==t("playButtonSize")?t("playButtonSize","%spx"):void 0,width:""!==t("playButtonSize")?t("playButtonSize","%spx"):void 0,opacity:""!==t("playButtonOpacity")?t("playButtonOpacity"):void 0},tablet:{".ugb-video-popup__wrapper":{height:""!==t("tabletHeight")?t("tabletHeight","%spx !important"):void 0},".ugb-video-popup__play-button svg":{height:""!==t("tabletPlayButtonSize")?t("tabletPlayButtonSize","%spx"):void 0,width:""!==t("tabletPlayButtonSize")?t("tabletPlayButtonSize","%spx"):void 0}},mobile:{".ugb-video-popup__wrapper":{height:""!==t("mobileHeight")?t("mobileHeight","%spx !important"):void 0},".ugb-video-popup__play-button svg":{height:""!==t("mobilePlayButtonSize")?t("mobilePlayButtonSize","%spx"):void 0,width:""!==t("mobilePlayButtonSize")?t("mobilePlayButtonSize","%spx"):void 0}}}),a.push(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(n,!0).forEach(function(t){Z(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(o.l)("preview%s","ugb-video-popup__wrapper",e.attributes)));var i=e.attributes,r=i.previewBackgroundTintStrength,l=void 0===r?"":r,c=i.previewBackgroundColor,s=void 0===c?"":c;return(l||s)&&a.push({".ugb-video-popup__wrapper:hover:before":{opacity:s&&""===l?.2:l>=5?l/10-.3:l/10+.3}}),J.a.all(a)},ee=n(9),te=n(12),ne=n(7);Object(c.addFilter)("stackable.video-popup.edit.inspector.style.before","stackable/video-popup",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.borderRadius,c=void 0===i?"":i,s=a.shadow,u=void 0===s?"":s,b=a.videoLink,p=void 0===b?"":b,g=a.videoID,m=void 0===g?"":g,d=a.playButtonType,f=a.playButtonColor,h=void 0===f?"#ffffff":f,v=a.playButtonOpacity,y=void 0===v?"":v,w=a.width,O=void 0===w?"":w,k=a.tabletWidth,_=void 0===k?"":k,j=a.mobileWidth,C=void 0===j?"":j,x=a.showBlockTitle,E=void 0!==x&&x,S=a.showBlockDescription,B=void 0!==S&&S,T=Y(t);return wp.element.createElement(ne.Fragment,null,e,wp.element.createElement(ee.PanelBody,{title:Object(l.__)("General",r.i18n)},wp.element.createElement(P.O,{label:Object(l.__)("Popup Option #1: Upload Video",r.i18n),help:Object(l.__)("Use .mp4 format for videos",r.i18n),onRemove:function(){return n({videoLink:"",videoID:""})},onChange:function(e){n({videoLink:e.url,videoID:e.url})},imageID:Object(o.eb)(p)?m:"",imageURL:Object(o.eb)(p)?p:"",allowedTypes:["video"]}),wp.element.createElement(ee.TextControl,{label:Object(l.__)("Popup Option #2: Video URL",r.i18n),help:Object(l.__)("Paste a Youtube / Vimeo URL",r.i18n),placeholder:"https://",value:Object(o.eb)(p)?"":p,onChange:function(e){return n({videoLink:e,videoID:Object(o.L)(e).id})},min:1,max:4})),wp.element.createElement(P.Y,{title:Object(l.__)("Container",r.i18n),initialOpen:!1},T.containerWidth&&wp.element.createElement(ne.Fragment,null,wp.element.createElement(P.pb,{screen:"desktop"},wp.element.createElement(P.b,{label:Object(l.__)("Width",r.i18n),value:O,min:"200",max:"2000",allowReset:!0,onChange:function(e){return t.setAttributes({width:e})},className:"ugb--help-tip-video-popup-width"})),wp.element.createElement(P.pb,{screen:"tablet"},wp.element.createElement(P.b,{label:Object(l.__)("Width",r.i18n),value:_,min:"200",max:"1000",allowReset:!0,onChange:function(e){return t.setAttributes({tabletWidth:e})},className:"ugb--help-tip-video-popup-width"})),wp.element.createElement(P.pb,{screen:"mobile"},wp.element.createElement(P.b,{label:Object(l.__)("Width",r.i18n),value:C,min:"200",max:"700",allowReset:!0,onChange:function(e){return t.setAttributes({mobileWidth:e})},className:"ugb--help-tip-video-popup-width"}))),wp.element.createElement(P.db,{attrNameTemplate:"%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(P.b,{label:Object(l.__)("Height",r.i18n),min:100,max:1e3,allowReset:!0,placeholder:"400",className:"ugb--help-tip-video-popup-height"})),T.borderRadius&&wp.element.createElement(P.b,{label:Object(l.__)("Border Radius",r.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),wp.element.createElement(P.b,{label:Object(l.__)("Shadow / Outline",r.i18n),value:u,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"})),wp.element.createElement(P.Y,{title:Object(l.__)("Background",r.i18n),id:"background",initialOpen:!1},wp.element.createElement(P.g,{attrNameTemplate:"preview%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(P.Y,{title:Object(l.__)("Play Button",r.i18n),id:"play-button",initialOpen:!1},wp.element.createElement(ee.SelectControl,{label:Object(l.__)("Button Style",r.i18n),value:d,options:V.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}}),wp.element.createElement(P.db,{attrNameTemplate:"%sPlayButtonSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(P.b,{label:Object(l.__)("Size",r.i18n),min:10,max:200,allowReset:!0,placeholder:"40"})),wp.element.createElement(P.r,{label:Object(l.__)("Color",r.i18n),value:h,onChange:function(e){return n({playButtonColor:e})}}),wp.element.createElement(P.b,{label:Object(l.__)("Opacity",r.i18n),min:0,max:1,step:.1,value:y,onChange:function(e){return n({playButtonOpacity:e})},allowReset:!0,placeholder:"1.0"})),(E||B)&&wp.element.createElement(P.Z,{initialOpen:!1,blockProps:t}))});var ae=Object(te.compose)(K.i,K.g,K.d,Object(K.h)(),Object(K.a)(Q,{editorMode:!0}),Object(K.b)([[".ugb-video-popup__wrapper","background"],[".ugb-video-popup__play-button svg","play-button"]]))(function(e){var t,n,a,o=e.className,i=e.attributes,r=i.playButtonType,l=i.shadow,s=void 0===l?"":l,u=E()([o,"ugb-video-popup--v3"],Object(c.applyFilters)("stackable.video-popup.mainclasses",{},e)),b=E()(["ugb-video-popup__wrapper"],Object(c.applyFilters)("stackable.video-popup.boxclasses",(t={},n="ugb--shadow-".concat(s),a=""!==s,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),e));return wp.element.createElement(P.j.Edit,{className:u,blockProps:e,render:function(){return wp.element.createElement(ne.Fragment,null,wp.element.createElement(P.C,{className:b,backgroundAttrName:"preview%s",blockProps:e},wp.element.createElement("span",{className:"ugb-video-popup__play-button"},q(r))))}})});var oe=Object(te.compose)(K.i,Object(K.a)(Q))(function(e){var t,n,a,o=e.className,i=e.attributes,r=i.videoID,l=i.playButtonType,s=i.shadow,u=void 0===s?"":s,b=E()([o,"ugb-video-popup--v3"],Object(c.applyFilters)("stackable.video-popup.mainclasses",{},e)),p=E()(["ugb-video-popup__wrapper"],Object(c.applyFilters)("stackable.video-popup.boxclasses",(t={},n="ugb--shadow-".concat(u),a=""!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),e));return wp.element.createElement(P.j.Save,{className:b,blockProps:e,render:function(){return wp.element.createElement(ne.Fragment,null,wp.element.createElement(P.C,{className:p,backgroundAttrName:"preview%s",blockProps:e,"data-video":r},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},q(l))))}})});function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return le}),n.d(t,"name",function(){return ce}),n.d(t,"settings",function(){return se});var le=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(n,!0).forEach(function(t){re(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"[data-video]",attribute:"data-video"}},Object(o.x)("%sWidth",{type:"number",default:""}),{},Object(o.x)("%sHeight",{type:"number",default:""}),{borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string"},playButtonSize:{type:"number",default:""},playButtonOpacity:{type:"number",default:""}},Object(o.j)("preview%s"),{previewBackgroundColor:{type:"string",default:"#000000"},hoverEffect:{type:"string",default:""}}),ce="ugb/video-popup",se={title:Object(l.__)("Video Popup",r.i18n),description:Object(l.__)("Display a large thumbnail that your users can click to play a video full-screen. Great for introductory or tutorial videos.",r.i18n),icon:a.B,category:"common",keywords:[Object(l.__)("Video Popup",r.i18n),Object(l.__)("Stackable",r.i18n),Object(l.__)("YouTube Vimeo mp4",r.i18n)],attributes:le,supports:{align:["center","wide","full"],inserter:!r.disabledBlocks.includes(ce)},deprecated:N,edit:ae,save:oe,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"block-designs":!0,"custom-css":{default:Object(c.applyFilters)("stackable.video-popup.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(5);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(o.addFilter)("stackable.accordion.design.no-text-attributes","stackable/accordion",function(e){return Object(a.omit)(e,["title"])}),Object(o.addFilter)("stackable.accordion.edit.designs","stackable/accordion",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(n,!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e)});var l=n(4),c=n.n(l);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var u=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),b=function(e){return c.a.createElement("svg",s({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),u)};function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),m=function(e){return c.a.createElement("svg",p({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),g)},d=n(2),f=n(8),h=n.n(f),v=n(37),y=n.n(v),w=n(1),O=n(0),k=n(18),_=n(6);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(n,!0).forEach(function(t){E(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=[{attributes:{heading:{source:"html",selector:".ugb-accordion__heading h4",default:Object(O.__)("Title for This Block",w.i18n)},text:{source:"html",selector:".ugb-accordion__text",default:Object(d.F)("long")},headingColor:{type:"string"},headingBackgroundColor:{type:"string"},openStart:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n,a=e.className,i=e.attributes,r=i.headingColor,l=i.headingBackgroundColor,c=i.heading,s=i.text,u=i.openStart,b=i.design,p=void 0===b?"basic":b,g=i.borderRadius,d=void 0===g?12:g,f=i.shadow,v=void 0===f?3:f,y=h()([a,"ugb-accordion"],Object(o.applyFilters)("stackable.accordion.mainclasses_1_17_3",(E(t={},"ugb-accordion--design-".concat(p),"basic"!==p),E(t,"ugb-accordion--open",u),t),p,e)),w=h()(["ugb-accordion__heading"],Object(o.applyFilters)("stackable.accordion.headingclasses_1_17_3",E({},"ugb--shadow-".concat(v),"plain"!==p&&3!==v),p,e)),O=Object(o.applyFilters)("stackable.accordion.styles_1_17_3",{main:{},heading:{borderRadius:"plain"!==p&&12!==d?d:void 0,backgroundColor:"plain"!==p&&l?l:void 0},title:{color:r||void 0}},p,e);return wp.element.createElement("div",{className:y,style:O.main,role:"presentation"},Object(o.applyFilters)("stackable.accordion.save.output.before_1_17_3",null,p,e),wp.element.createElement("div",{className:w,role:"button",tabIndex:"0","aria-expanded":u?"true":"false",style:O.heading},wp.element.createElement(_.RichText.Content,{tagName:"h4",role:"heading","aria-level":"3",style:O.title,value:c}),(n={fill:r||void 0}.fill,wp.element.createElement(m,{width:"20",height:"20",fill:n}))),wp.element.createElement(_.RichText.Content,{tagName:"p",className:"ugb-accordion__text",role:"region",value:s}),Object(o.applyFilters)("stackable.accordion.save.output.after",null,p,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-accordion__heading h4(\s*{)/g,"\n.ugb-accordion__title$1").replace(/\.ugb-accordion__text/g,".ugb-accordion__content").replace(/\.ugb-accordion__heading svg/g,".ugb-accordion__arrow")};return[C({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),title:e.heading,titleColor:e.headingColor||"#222222",containerBackgroundColor:e.headingBackgroundColor,showBorder:"plain"!==e.design,containerClosedBackgroundColor:"colored"===e.design?"#ffffff":void 0,arrowColor:"colored"===e.design||"basic"===e.design||"plain"===e.design?e.headingColor||"#222222":"line-colored"===e.design?e.headingBackgroundColor:void 0}),[Object(k.createBlock)("core/paragraph",{content:e.text})]]}},{attributes:{heading:{source:"html",selector:".ugb-accordion__heading h4",default:"Title for This Block"},text:{source:"html",selector:".ugb-accordion__text",default:Object(d.F)("long")},headingColor:{type:"string"},headingBackgroundColor:{type:"string"},openStart:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t,n=e.className,a=e.attributes,o=a.headingColor,i=a.headingBackgroundColor,r=a.heading,l=a.text,c=a.openStart,s=a.design,u=void 0===s?"basic":s,p=a.borderRadius,g=void 0===p?12:p,m=a.shadow,d=void 0===m?3:m,f=h()([n,"ugb-accordion"],(E(t={},"ugb-accordion--design-".concat(u),"basic"!==u),E(t,"ugb-accordion--open",c),t)),v=h()(["ugb-accordion__heading"],E({},"ugb--shadow-".concat(d),"plain"!==u&&3!==d)),w={borderRadius:"plain"!==u&&12!==g?g:void 0,backgroundColor:"plain"!==u&&i?i:void 0},O=y()(l+r).substr(0,6);return wp.element.createElement("div",{className:f,role:"presentation"},wp.element.createElement("div",{className:v,role:"button",tabIndex:"0","aria-expanded":c?"true":"false",style:w},wp.element.createElement(_.RichText.Content,{tagName:"h4",role:"heading","aria-level":"3",id:"".concat(O,"__heading"),"aria-controls":"".concat(O,"__text"),style:{color:o||void 0},value:r}),wp.element.createElement(b,{width:"20",height:"20",fill:o||void 0})),wp.element.createElement(_.RichText.Content,{tagName:"p",className:"ugb-accordion__text",role:"region",id:"".concat(O,"__text"),"aria-labelledby":"".concat(O,"__heading"),value:l}))}},{attributes:{heading:{source:"html",selector:".ugb-accordion__heading h4",default:"Title for This Block"},text:{source:"html",selector:".ugb-accordion__text",default:Object(d.F)("long")},headingColor:{type:"string"},headingBackgroundColor:{type:"string"},openStart:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t,n=e.className,a=e.attributes,o=a.headingColor,i=a.headingBackgroundColor,r=a.heading,l=a.text,c=a.openStart,s=a.design,u=void 0===s?"basic":s,b=a.borderRadius,p=void 0===b?12:b,g=a.shadow,m=void 0===g?3:g,d=h()([n,"ugb-accordion"],(E(t={},"ugb-accordion--design-".concat(u),"basic"!==u),E(t,"ugb-accordion--open",c),t)),f=h()(["ugb-accordion__heading"],E({},"ugb--shadow-".concat(m),"plain"!==u&&3!==m)),v={borderRadius:"plain"!==u&&12!==p?p:void 0,backgroundColor:"plain"!==u&&i?i:void 0},w=y()(l+r).substr(0,6);return wp.element.createElement("div",{className:d,role:"presentation"},wp.element.createElement("div",{className:f,role:"button",tabIndex:"0","aria-expanded":c?"true":"false",style:v},wp.element.createElement(_.RichText.Content,{tagName:"h4",role:"heading","aria-level":"3",id:"".concat(w,"__heading"),"aria-controls":"".concat(w,"__text"),style:{color:o||void 0},value:r}),function(e){return wp.element.createElement("svg",x({role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},e),wp.element.createElement("polygon",{points:"16.7,3.3 10,10 3.3,3.4 0,6.7 10,16.7 10,16.6 20,6.7 "}))}({fill:o||void 0})),wp.element.createElement(_.RichText.Content,{tagName:"p",className:"ugb-accordion__text",role:"region",id:"".concat(w,"__text"),"aria-labelledby":"".concat(w,"__heading"),value:l}))}},{attributes:{heading:{source:"html",selector:".ugb-accordion__heading h4",default:"Title for This Block"},text:{source:"html",selector:".ugb-accordion__text",default:Object(d.F)("long")},headingColor:{type:"string"},headingBackgroundColor:{type:"string"},openStart:{type:"boolean",default:!1}},save:function(e){var t=e.className,n=e.attributes,a=n.headingColor,o=n.headingBackgroundColor,i=n.heading,r=n.text,l=n.openStart,c=h()([t,"ugb-accordion"]);return wp.element.createElement("div",{className:c},wp.element.createElement("input",{type:"checkbox",checked:l?"checked":null}),wp.element.createElement("div",{className:"ugb-accordion__heading",style:{backgroundColor:o||void 0}},wp.element.createElement(_.RichText.Content,{tagName:"h4",style:{color:a||void 0},value:i}),function(e){return wp.element.createElement("svg",x({role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},e),wp.element.createElement("polygon",{points:"16.7,3.3 10,10 3.3,3.4 0,6.7 10,16.7 10,16.6 20,6.7 "}))}({fill:a||void 0})),wp.element.createElement(_.RichText.Content,{tagName:"p",className:"ugb-accordion__text",value:r}))},migrate:function(e){return C({},e,{design:"basic",borderRadius:12,shadow:3})}}],B=n(262),T=n.n(B),A=n(263),N=n.n(A),P=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.showTitle,r=void 0===i||i;return Object(o.applyFilters)("stackable.accordion.show",{headerBackground:"basic"===a,containerBackground:"colored"===a||"line-colored"===a,borderRadius:"plain"!==a,shadow:"plain"!==a,border:"line-colored"===a||"plain"===a,titleSpacing:r},e)},F=n(15),R=n.n(F);function D(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(n,!0).forEach(function(t){I(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L=function(e){var t=Object(d.b)(e.attributes),n=e.attributes,a=n.design,o=void 0===a?"basic":a,i=n.reverseArrow,r=void 0!==i&&i,l=P(e),c=[];c.push({".ugb-accordion__heading":{flexDirection:r?"row-reverse":void 0}}),l.borderRadius&&"basic"===o&&c.push({".ugb-accordion__heading":{borderRadius:t("borderRadius","%spx !important")}});c.push(z({},l.headerBackground?Object(d.l)("container%s","ugb-accordion__heading",e.attributes,{importantBackgroundColor:!0}):{}));var s=e.attributes,u=s.titleColor,b=void 0===u?"":u,p=s.showTitle;(void 0===p||p)&&c.push({".ugb-accordion__title":z({},Object(d.D)("title%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-accordion__title":z({},Object(d.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-accordion__title":z({},Object(d.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var g=e.attributes.containerBackgroundColor,m=void 0===g?"":g;"basic"!==o&&"plain"!==o||c.push({".ugb-accordion__title":{color:Object(d.gb)(b,l.headerBackground&&m)}});var f=e.attributes,h=f.showArrow,v=void 0===h||h,y=f.arrowColor,w=void 0===y?"":y;v&&c.push({".ugb-accordion__arrow":{width:Object(d.c)(t("arrowSize","%spx")),height:Object(d.c)(t("arrowSize","%spx"))}}),!v||"basic"!==o&&"plain"!==o||c.push({".ugb-accordion__arrow":{fill:Object(d.gb)(w,l.headerBackground&&m)}});var O=e.attributes.showBorder,k=void 0===O||O;return l.border&&!k&&c.push({".ugb-accordion__item":{border:"none !important"}}),l.border&&k&&c.push({".ugb-accordion__item":{borderWidth:Object(d.c)(t("borderSize","%spx")),borderColor:Object(d.c)(t("borderColor"))}}),l.headerBackground&&c.push({".ugb-accordion__heading":{paddingTop:Object(d.c)(t("containerPaddingTop","%spx")),paddingRight:Object(d.c)(t("containerPaddingRight","%spx")),paddingBottom:Object(d.c)(t("containerPaddingBottom","%spx")),paddingLeft:Object(d.c)(t("containerPaddingLeft","%spx"))}}),l.titleSpacing&&c.push.apply(c,D(Object(d.y)(".ugb-accordion.ugb-accordion--open .ugb-accordion__heading","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),R.a.all(c)};function U(){return(U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var H=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),W=function(e){return c.a.createElement("svg",U({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),H)},G=n(3),V=n(11),q=n(9),Y=n(12),K=n(7),X=n(14);Object(o.addFilter)("stackable.accordion.edit.inspector.layout.before","stackable/accordion",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(K.Fragment,null,e,wp.element.createElement(G.z,{initialOpen:!0,selected:i,options:Object(o.applyFilters)("stackable.accordion.edit.layouts",[{label:Object(O.__)("Basic",w.i18n),value:"basic",image:T.a},{label:Object(O.__)("Plain",w.i18n),value:"plain",image:N.a}]),onChange:function(e){return n({design:e})}},w.showProNotice&&wp.element.createElement(G.cb,null)))}),Object(o.addFilter)("stackable.accordion.edit.inspector.style.before","stackable/accordion",function(e,t){var n=t.setAttributes,a=t.attributes,o=a.design,i=void 0===o?"basic":o,r=a.titleColor,l=a.borderRadius,c=void 0===l?"":l,s=a.shadow,u=void 0===s?"":s,b=a.onlyOnePanelOpen,p=void 0!==b&&b,g=a.openStart,m=void 0!==g&&g,d=a.reverseArrow,f=void 0!==d&&d,h=a.titleTag,v=void 0===h?"":h,y=a.showArrow,k=void 0===y||y,_=a.arrowSize,j=void 0===_?"":_,C=a.arrowColor,x=void 0===C?"":C,E=a.showBorder,S=void 0===E||E,B=a.borderSize,T=void 0===B?"":B,A=a.borderColor,N=void 0===A?"":A,F=a.containerPaddingTop,R=void 0===F?"":F,D=a.containerPaddingRight,M=void 0===D?"":D,z=a.containerPaddingBottom,I=void 0===z?"":z,L=a.containerPaddingLeft,U=void 0===L?"":L,H=a.containerClosedBackgroundColor,W=void 0===H?"":H,V=P(t);return wp.element.createElement(K.Fragment,null,e,wp.element.createElement(q.PanelBody,{title:Object(O.__)("General",w.i18n)},wp.element.createElement(q.ToggleControl,{label:Object(O.__)("Close adjacent on open",w.i18n),checked:p,onChange:function(e){return n({onlyOnePanelOpen:e})},className:"ugb--help-tip-accordion-adjacent-open"}),wp.element.createElement(q.ToggleControl,{label:Object(O.__)("Open at the start",w.i18n),checked:m,onChange:function(e){return n({openStart:e})}}),wp.element.createElement(q.ToggleControl,{label:Object(O.__)("Reverse arrow",w.i18n),checked:f,onChange:function(e){return n({reverseArrow:e})}}),V.borderRadius&&wp.element.createElement(G.b,{label:Object(O.__)("Border Radius",w.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),(V.headerBackground||V.containerBackground)&&wp.element.createElement(G.b,{label:Object(O.__)("Shadow / Outline",w.i18n),value:u,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(G.t,{setAttributes:n,blockAttributes:t.attributes})),(V.headerBackground||V.containerBackground)&&wp.element.createElement(G.Y,{title:Object(O.__)("Container Background",w.i18n),id:"column-background",initialOpen:!1},wp.element.createElement(G.g,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes}),"colored"===i&&wp.element.createElement(G.r,{value:W,onChange:function(e){return n({containerClosedBackgroundColor:e})},label:Object(O.__)("Closed State Background Color",w.i18n),className:"ugb--help-tip-accordion-closed-state-background-color"})),wp.element.createElement(G.Y,{title:Object(O.__)("Title",w.i18n),id:"title",hasToggle:!1},wp.element.createElement(G.mb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(G.H,{value:v||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(G.r,{value:r,onChange:function(e){return n({titleColor:e})},label:Object(O.__)("Title Color",w.i18n)}),wp.element.createElement(G.db,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(G.e,{label:Object(O.__)("Align",w.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(G.Y,{title:Object(O.__)("Arrow",w.i18n),id:"arrow",checked:k,onChange:function(e){return n({showArrow:e})},toggleOnSetAttributes:["arrowSize","arrowColor"],toggleAttributeName:"showArrow"},wp.element.createElement(G.b,{label:Object(O.__)("Size",w.i18n),min:10,max:100,allowReset:!0,value:j,onChange:function(e){return n({arrowSize:e})},placeholder:"20"}),wp.element.createElement(G.r,{value:x,onChange:function(e){return n({arrowColor:e})},label:Object(O.__)("Color",w.i18n)})),V.border&&wp.element.createElement(G.Y,{title:Object(O.__)("Border",w.i18n),checked:S,onChange:function(e){return n({showBorder:e})},toggleOnSetAttributes:["borderSize","borderColor"],toggleAttributeName:"showBorder",className:"ugb--help-tip-accordion-border"},wp.element.createElement(G.b,{label:Object(O.__)("Size",w.i18n),min:0,max:10,allowReset:!0,value:T,onChange:function(e){return n({borderSize:e})},placeholder:"3",className:"ugb--help-tip-accordion-border-size"}),wp.element.createElement(G.r,{value:N,onChange:function(e){return n({borderColor:e})},label:Object(O.__)("Color",w.i18n)})),wp.element.createElement(G.Z,{initialOpen:!1,blockProps:t},(V.headerBackground||V.containerBackground)&&wp.element.createElement(G.F,{label:Object(O.__)("Padding",w.i18n),top:R,right:M,bottom:I,left:U,onChange:function(e){return n({containerPaddingTop:e.top,containerPaddingRight:e.right,containerPaddingBottom:e.bottom,containerPaddingLeft:e.left})},max:200,className:"ugb--help-tip-accordion-padding"}),V.titleSpacing&&wp.element.createElement(G.db,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(G.b,{label:Object(O.__)("Title",w.i18n),min:-50,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-accordion-title-spacing"}))))});var J=[["core/paragraph",{content:Object(d.F)("long")}]],$=Object(Y.compose)(V.i,V.g,V.d,Object(V.h)(),Object(V.c)(),Object(V.a)(L,{editorMode:!0}),Object(V.b)([[".ugb-accordion__title","title"],[".ugb-accordion__arrow","arrow"]]),Object(X.withSelect)(function(e,t){var n=t.clientId,a=(0,e("core/block-editor").getBlock)(n);return{hasInnerBlocks:!(!a||!a.innerBlocks.length)}}),Object(Y.withState)({openTimeout:null,isOpen:null}))(function(e){var t,n,a,i=e.className,r=e.setAttributes,l=e.attributes,c=l.design,s=void 0===c?"basic":c,u=l.shadow,b=void 0===u?"":u,p=l.titleTag,g=void 0===p?"":p,m=l.title,d=void 0===m?"":m,f=l.openStart,v=void 0!==f&&f,y=l.showArrow,k=void 0===y||y,j=P(e),C=h()([i,"ugb-accordion--v2","ugb-accordion--design-".concat(s)],Object(o.applyFilters)("stackable.accordion.mainclasses",{"ugb-accordion--open":null===e.isOpen?v:e.isOpen},e)),x=h()(["ugb-accordion__item"],Object(o.applyFilters)("stackable.accordion.itemclasses",{},e)),E=h()(["ugb-accordion__heading"],Object(o.applyFilters)("stackable.accordion.headingclasses",(t={},n="ugb--shadow-".concat(b),a="basic"===s&&""!==b,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),s,e));return wp.element.createElement(G.j.Edit,{className:C,blockProps:e,render:function(){return wp.element.createElement(K.Fragment,null,wp.element.createElement(G.C,{className:x,backgroundAttrName:"container%s",blockProps:e,showBackground:j.containerBackground},wp.element.createElement(G.C,{className:E,backgroundAttrName:"container%s",blockProps:e,showBackground:j.headerBackground,onClick:function(){e.openTimeout&&clearTimeout(e.openTimeout);var t=setTimeout(function(){e.setState({isOpen:!e.isOpen})},150);e.setState({openTimeout:t})},onDoubleClick:function(){e.openTimeout&&clearTimeout(e.openTimeout)},onKeyPress:function(){e.openTimeout&&clearTimeout(e.openTimeout),e.setState({isOpen:!v})},role:"button",tabIndex:"0"},wp.element.createElement(_.RichText,{tagName:g||"h4",className:"ugb-accordion__title",value:d,onChange:function(e){return r({title:e})},placeholder:Object(O.__)("Title for This Block",w.i18n),keepPlaceholderOnFocus:!0}),k&&wp.element.createElement(W,{className:"ugb-accordion__arrow",width:"20",height:"20"})),wp.element.createElement("div",{className:"ugb-accordion__content"},wp.element.createElement("div",{className:"ugb-accordion__content-inner"},wp.element.createElement(_.InnerBlocks,{template:J,renderAppender:function(){return e.hasInnerBlocks?wp.element.createElement(_.InnerBlocks.DefaultBlockAppender,null):wp.element.createElement(_.InnerBlocks.ButtonBlockAppender,null)}})))))}})});var Z=Object(Y.compose)(V.i,Object(V.a)(L))(function(e){var t,n,a,i=e.className,r=e.attributes,l=r.design,c=void 0===l?"basic":l,s=r.shadow,u=void 0===s?"":s,b=r.titleTag,p=void 0===b?"":b,g=r.title,m=void 0===g?"":g,d=r.openStart,f=void 0!==d&&d,v=r.showArrow,y=void 0===v||v,w=r.onlyOnePanelOpen,O=void 0!==w&&w,k=P(e),j=h()([i,"ugb-accordion--v2","ugb-accordion--design-".concat(c)],Object(o.applyFilters)("stackable.accordion.mainclasses",{"ugb-accordion--open":f,"ugb-accordion--single-open":O},e)),C=h()(["ugb-accordion__item"],Object(o.applyFilters)("stackable.accordion.itemclasses",{},e)),x=h()(["ugb-accordion__heading"],Object(o.applyFilters)("stackable.accordion.headingclasses",(t={},n="ugb--shadow-".concat(u),a=k.headerBackground&&""!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),c,e));return wp.element.createElement(G.j.Save,{className:j,blockProps:e,"aria-expanded":f?"true":"false",render:function(){return wp.element.createElement(K.Fragment,null,wp.element.createElement(G.C,{className:C,backgroundAttrName:"container%s",blockProps:e,showBackground:k.containerBackground},wp.element.createElement(G.C,{className:x,backgroundAttrName:"container%s",blockProps:e,showBackground:k.headerBackground,role:"button",tabIndex:"0"},wp.element.createElement(_.RichText.Content,{tagName:p||"h4",className:"ugb-accordion__title",role:"heading","aria-level":"3",value:m}),y&&wp.element.createElement(W,{className:"ugb-accordion__arrow",width:"20",height:"20"})),wp.element.createElement("div",{className:"ugb-accordion__content",role:"region"},wp.element.createElement("div",{className:"ugb-accordion__content-inner"},wp.element.createElement(_.InnerBlocks.Content,null)))))}})}),Q=n(16);function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return ae}),n.d(t,"settings",function(){return oe});var ne=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(n,!0).forEach(function(t){te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},onlyOnePanelOpen:{type:"boolean",default:!1},openStart:{type:"boolean",default:!1},reverseArrow:{type:"boolean",default:!1}},Object(d.j)("container%s"),{containerClosedBackgroundColor:{type:"string",default:""},title:{source:"html",selector:".ugb-accordion__title",default:Object(O.__)("Title for This Block",w.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(d.C)("title%s"),{titleColor:{type:"string",default:""},showArrow:{type:"boolean",default:!0},arrowSize:{type:"number",default:""},arrowColor:{type:"string",defualt:""},showBorder:{type:"boolean",default:!0},borderSize:{type:"number",default:""},borderColor:{type:"string",defualt:""}},Object(d.h)("Title%sAlign",{type:"string",default:""},["","Tablet","Mobile"]),{},Object(d.h)("containerPadding%s",{type:"number",default:""},["Top","Right","Bottom","Left"]),{},Object(d.x)("title%sBottomMargin",{type:"number",default:""})),ae="ugb/accordion",oe={title:Object(O.__)("Accordion",w.i18n),description:Object(O.__)("A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.",w.i18n),icon:Q.a,category:"common",keywords:[Object(O.__)("Accordion",w.i18n),Object(O.__)("Toggle",w.i18n),Object(O.__)("Stackable",w.i18n)],attributes:ne,deprecated:S,edit:$,save:Z,supports:{inserter:!w.disabledBlocks.includes(ae)},modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.cta.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(1),i=n(0),r=n(5);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(r.addFilter)("stackable.notification.design.no-text-attributes","stackable/notification",function(e){return Object(a.omit)(e,["title","description","buttonText"])}),Object(r.addFilter)("stackable.notification.design.filtered-block-attributes","stackable/notification",function(e){return Object(a.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow"])}),Object(r.addFilter)("stackable.notification.edit.designs","stackable/notification",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(i.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-notification-design-corporate-light-01.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#ff550a",columnBackgroundColorOpacity:.8,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffd781",titleAlign:"center",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#ffd781",buttonHoverEffect:"lift",buttonBorderRadius:100,buttonAlign:"center",titleBottomMargin:30,descriptionBottomMargin:55,columnPaddingTop:60,columnPaddingRight:40,columnPaddingBottom:60,columnPaddingLeft:40,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#ffffff",contentAlign:"left"}},corporateLight2:{label:Object(i.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-notification-design-corporate-light-02.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#c49732",columnBackgroundColorOpacity:.8,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",titleAlign:"center",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#1e55d3",buttonHoverEffect:"lift",buttonBorderRadius:100,buttonAlign:"center",titleBottomMargin:30,descriptionBottomMargin:55,columnPaddingTop:60,columnPaddingRight:40,columnPaddingBottom:60,columnPaddingLeft:40,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#ffffff",contentAlign:"left"}},corporateDark1:{label:Object(i.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-notification-design-corporate-dark-01.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#0c4887",columnBackgroundColorOpacity:.8,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleAlign:"center",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#3f4174",buttonBackgroundColor:"#c4e558",buttonHoverEffect:"lift",buttonBorderRadius:100,buttonAlign:"center",titleBottomMargin:30,descriptionBottomMargin:55,columnPaddingTop:60,columnPaddingRight:40,columnPaddingBottom:60,columnPaddingLeft:40,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#081831",contentAlign:"left"}},corporateDark2:{label:Object(i.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-notification-design-corporate-dark-02.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#707070",columnBackgroundColorOpacity:.8,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#06c19d",titleAlign:"center",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#06c19d",buttonHoverEffect:"lift",buttonBorderRadius:100,buttonAlign:"center",titleBottomMargin:30,descriptionBottomMargin:55,columnPaddingTop:60,columnPaddingRight:40,columnPaddingBottom:60,columnPaddingLeft:40,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#2f2f2f",contentAlign:"left"}}})});var s=n(2),u=n(4),b=n.n(u);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=b.a.createElement("path",{d:"M52.4-166.2c3.2 0 3.2-5 0-5s-3.2 5 0 5zM16.8 13.9L26.9 3.8c.6-.6.6-1.5 0-2.1s-1.5-.6-2.1 0L14.7 11.8 4.6 1.7c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l10.1 10.1L2.5 24c-.6.6-.6 1.5 0 2.1.3.3.7.4 1.1.4s.8-.1 1.1-.4l10-10.1 10.1 10.1c.3.3.7.4 1.1.4s.8-.1 1.1-.4c.6-.6.6-1.5 0-2.1L16.8 13.9z"}),m=function(e){return b.a.createElement("svg",p({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),g)},d=n(8),f=n.n(d),h=n(37),v=n.n(h),y=n(6);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(n,!0).forEach(function(t){k(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=[{attributes:{text:{source:"html",selector:"p",default:Object(s.F)("long")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.text,o=n.color,i=n.textColor,l=n.notifType,c=n.dismissible,s=n.borderRadius,u=void 0===s?12:s,b=n.shadow,p=void 0===b?3:b,g=n.design,d=void 0===g?"":g,h=f()([t,"ugb-notification","ugb-notification--type-".concat(l)],Object(r.applyFilters)("stackable.notification.mainclasses_1_17",k({"ugb-notification--dismissible":c},"ugb--shadow-".concat(p),3!==p),d,e)),v={backgroundColor:o,color:i,borderRadius:12!==u?u:void 0};return wp.element.createElement("div",{className:h,style:v},Object(r.applyFilters)("stackable.notification.save.output.before_1_17",null,d,e),c&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(m,{style:{fill:i}})),wp.element.createElement(y.RichText.Content,{tagName:"p",style:{color:i},value:a}))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-notification(\s*{)/g,"\n.ugb-notification__item$1").replace(/\n\.ugb-notification p(\s*{)/g,"\n.ugb-notification__description$1")};return O({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),description:e.text,columnBackgroundColor:e.color,iconColor:e.textColor,titleColor:e.textColor,descriptionColor:e.textColor,showTitle:!1,showButton:!1})}},{attributes:{text:{source:"html",selector:"p",default:Object(s.F)("long")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t=e.className,n=e.attributes,a=n.text,o=n.color,i=n.textColor,r=n.notifType,l=n.dismissible,c=n.borderRadius,s=void 0===c?12:c,u=n.shadow,b=void 0===u?3:u,p=f()([t,"ugb-notification","ugb-notification--type-".concat(r)],k({"ugb-notification--dismissible":l},"ugb--shadow-".concat(b),3!==b)),g={backgroundColor:o,color:i,borderRadius:12!==s?s:void 0},d=v()(a+r).substr(0,6);return wp.element.createElement("div",{className:p,style:g,"data-uid":d},l&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(m,{style:{fill:i}})),wp.element.createElement(y.RichText.Content,{tagName:"p",style:{color:i},value:a}))}},{attributes:{text:{source:"html",selector:"p",default:Object(s.F)("long")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t=e.className,n=e.attributes,a=n.text,o=n.color,i=n.textColor,r=n.notifType,l=n.dismissible,c=n.borderRadius,s=void 0===c?12:c,u=n.shadow,b=void 0===u?3:u,p=f()([t,"ugb-notification","ugb-notification--type-".concat(r)],k({"ugb-notification--dismissible":l},"ugb--shadow-".concat(b),3!==b)),g={backgroundColor:o,color:i,borderRadius:12!==s?s:void 0},m=v()(a+r).substr(0,6);return wp.element.createElement("div",{className:p,style:g,"data-uid":m},l&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:i}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(y.RichText.Content,{tagName:"p",style:{color:i},value:a}))}},{attributes:{text:{source:"html",selector:"p",default:Object(s.F)("long")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1}},save:function(e){var t=e.className,n=e.attributes,a=n.text,o=n.color,i=n.textColor,r=n.notifType,l=n.dismissible,c=f()([t,"ugb-notification","type-".concat(r),"dismissible-".concat(l)]),s={backgroundColor:o,color:i},u=v()(a+r).substr(0,6);return wp.element.createElement("div",{className:c,"data-uid":u},l&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:i}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(y.RichText.Content,{tagName:"p",className:"wp-ugb-notif notif-".concat(r),style:s,value:a}))},migrate:function(e){return O({},e,{borderRadius:12,shadow:3})}}],j=n(298),C=n.n(j),x=n(299),E=n.n(x);function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var B=b.a.createElement("path",{d:"M52.4-166.2c3.2 0 3.2-5 0-5s-3.2 5 0 5zM16.8 13.9L26.9 3.8c.6-.6.6-1.5 0-2.1s-1.5-.6-2.1 0L14.7 11.8 4.6 1.7c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l10.1 10.1L2.5 24c-.6.6-.6 1.5 0 2.1.3.3.7.4 1.1.4s.8-.1 1.1-.4l10-10.1 10.1 10.1c.3.3.7.4 1.1.4s.8-.1 1.1-.4c.6-.6.6-1.5 0-2.1L16.8 13.9z"}),T=function(e){return b.a.createElement("svg",S({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),B)},A=n(15),N=n.n(A),P=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showIcon,i=void 0!==o&&o,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showButton,p=void 0===b||b;return Object(r.applyFilters)("stackable.notification.show",{columnBorder:!1,columnBackground:"plain"!==a,backgroundColor:"plain"!==a,borderRadius:"plain"!==a,shadow:"plain"!==a,iconSpacing:i,titleSpacing:c,descriptionSpacing:u,buttonSpacing:p,iconAlign:!0,iconLocation:!1},e)};function F(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(n,!0).forEach(function(t){M(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z={success:"#ffffff",error:"#ffffff",info:"#ffffff",warning:"#424242"},I=function(e){var t=Object(s.b)(e.attributes),n=[],a=e.attributes,o=a.contentAlign,i=void 0===o?"":o,r=a.tabletContentAlign,l=void 0===r?"":r,c=a.mobileContentAlign,u=void 0===c?"":c,b=a.notifType,p=a.design,g=void 0===p?"basic":p,m=a.columnBackgroundColor,d=void 0===m?"":m,f=P(e);n.push({".ugb-notification__item":{borderRadius:"plain"!==g?t("borderRadius","%spx !important"):void 0}}),n.push(D({},f.columnBackground?Object(s.l)("column%s","ugb-notification__item",e.attributes,{importantBackgroundColor:!0}):{}));var h=e.attributes,v=h.dismissible,y=void 0!==v&&v,w=h.dismissibleIconSize,O=void 0===w?"":w,k=h.dismissibleIconTabletSize,_=void 0===k?"":k,j=h.dismissibleIconMobileSize,C=void 0===j?"":j,x=h.dismissibleIconColor,E=void 0===x?"":x;y&&n.push({".ugb-notification__item":{paddingRight:O&&O>40?"100px !important":void 0},".ugb-notification__close-button":{width:O?"".concat(O,"px"):void 0,height:O?"".concat(O,"px"):void 0},".ugb-notification__close-button svg":{fill:E?"".concat(E," !important"):void 0},tablet:{".ugb-notification__close-button":{width:_?"".concat(_,"px"):void 0,height:_?"".concat(_,"px"):void 0}},mobile:{".ugb-notification__close-button":{width:C?"".concat(C,"px"):void 0,height:C?"".concat(C,"px"):void 0}}});var S=e.attributes,B=S.showIcon,T=void 0!==B&&B,A=S.iconColor,R=void 0===A?"":A,I=S.iconAlign,L=void 0===I?"":I,U=S.iconTabletAlign,H=void 0===U?"":U,W=S.iconMobileAlign,G=void 0===W?"":W;if(T){var V=Object(s.hb)(R,f.columnBackground&&d);n.push({".ugb-notification__icon":{marginLeft:""!==L||""!==i?Object(s.c)(Object(s.T)(L||i)):void 0,marginRight:""!==L||""!==i?Object(s.c)(Object(s.U)(L||i)):void 0,color:V?"".concat(V," !important"):void 0,height:t("iconSize","%spx !important"),width:t("iconSize","%spx !important"),opacity:t("iconOpacity","%s !important"),transform:t("iconRotation","rotate(%sdeg) !important")},tablet:{".ugb-notification__icon":{marginLeft:""!==H||""!==l?Object(s.T)(H||l):void 0,marginRight:""!==H||""!==l?Object(s.U)(H||l):void 0,height:t("iconTabletSize","%spx !important"),width:t("iconTabletSize","%spx !important")}},mobile:{".ugb-notification__icon":{marginLeft:""!==G||""!==u?Object(s.T)(G||u):void 0,marginRight:""!==G||""!==u?Object(s.U)(G||u):void 0,height:t("iconMobileSize","%spx !important"),width:t("iconMobileSize","%spx !important")}}})}var q=e.attributes,Y=q.titleColor,K=void 0===Y?"":Y,X=q.showTitle;if(void 0===X||X){var J=Object(s.hb)(K,f.columnBackground&&d);n.push({".ugb-notification__title":D({},Object(s.D)("title%s","desktop",e.attributes,{importantSize:!0}),{color:J?"".concat(J," !important"):void 0,textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-notification__title":D({},Object(s.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-notification__title":D({},Object(s.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}})}var $=e.attributes,Z=$.descriptionColor,Q=void 0===Z?"":Z,ee=$.showDescription;if(void 0===ee||ee){var te=Object(s.hb)(Q,f.columnBackground&&d);n.push({".ugb-notification__description":D({},Object(s.D)("description%s","desktop",e.attributes),{color:te?"".concat(te," !important"):void 0,textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-notification__description":D({},Object(s.D)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-notification__description":D({},Object(s.D)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign","%s !important")})}})}var ne=e.attributes,ae=ne.showButton,oe=void 0!==ae&&ae,ie=ne.buttonDesign,re=void 0===ie?"ghost":ie,le=ne.buttonBackgroundColor,ce=void 0===le?"":le;if(oe){if(n.push(D({},Object(s.p)("button%s","ugb-button",e.attributes))),!ce&&f.columnBackground){var se,ue,be=d?Object(s.hb)(ce,d,"#ffffff","#424242"):"bordered"===g?"#424242":z[b],pe=be?"#ffffff"===be?"#424242":"#ffffff":void 0;if("basic"===re||""===re)n.push((M(se={},".ugb-button",{backgroundColor:be||void 0}),M(se,".ugb-button .ugb-button--inner, .ugb-button.ugb-button--has-icon.ugb-button--has-icon svg",{color:pe||void 0}),M(se,".ugb-button:hover .ugb-button--inner, .ugb-button:hover svg",{color:pe||void 0}),se));else n.push((M(ue={},".ugb-button",{borderColor:be||void 0}),M(ue,".ugb-button .ugb-button--inner, .ugb-button.ugb-button--has-icon.ugb-button--has-icon svg",{color:be||void 0}),M(ue,".ugb-button:hover .ugb-button--inner, .ugb-button:hover svg",{color:be||void 0}),ue))}n.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})}return f.iconSpacing&&n.push.apply(n,F(Object(s.y)(".ugb-notification__icon","icon%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.titleSpacing&&n.push.apply(n,F(Object(s.y)(".ugb-notification__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.descriptionSpacing&&n.push.apply(n,F(Object(s.y)(".ugb-notification__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.buttonSpacing&&n.push.apply(n,F(Object(s.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),N.a.all(n)},L=n(3),U=n(11),H=n(9),W=n(12),G=n(7);function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(n,!0).forEach(function(t){Y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var X=[{value:"success",label:Object(i.__)("Success",o.i18n)},{value:"error",label:Object(i.__)("Error",o.i18n)},{value:"warning",label:Object(i.__)("Warning",o.i18n)},{value:"info",label:Object(i.__)("Information",o.i18n)}];Object(r.addFilter)("stackable.notification.edit.inspector.layout.before","stackable/notification",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"basic":a;return wp.element.createElement(G.Fragment,null,e,wp.element.createElement(L.z,{initialOpen:!0,selected:l,options:[{image:C.a,label:Object(i.__)("Basic",o.i18n),value:"basic"},{image:E.a,label:Object(i.__)("Plain",o.i18n),value:"plain"}].concat(K(Object(r.applyFilters)("stackable.notification.edit.layouts",[]))),onChange:function(e){n({design:e})}},o.showProNotice&&wp.element.createElement(L.cb,null)))}),Object(r.addFilter)("stackable.notification.edit.inspector.style.before","stackable/notification",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.titleColor,l=a.descriptionColor,c=a.design,u=void 0===c?"basic":c,b=a.borderRadius,p=void 0===b?"":b,g=a.shadow,m=void 0===g?"":g,d=a.showTitle,f=void 0===d||d,h=a.showDescription,v=void 0===h||h,y=a.titleTag,w=void 0===y?"":y,O=a.notifType,k=a.dismissible,_=void 0!==k&&k,j=a.dismissibleIconColor,C=void 0===j?"":j,x=a.columnBorderColor,E=void 0===x?"":x,S=a.columnBorderThickness,B=void 0===S?"":S,T=a.showButton,A=void 0===T||T,N=a.showIcon,F=void 0===N||N,R=a.icon,D=void 0===R?"":R,M=a.iconColor,z=void 0===M?"":M,I=a.iconOpacity,U=void 0===I?"":I,W=a.iconRotation,V=void 0===W?"":W,q=a.iconTop,Y=void 0===q?"":q,J=a.iconLeft,$=void 0===J?"":J,Z=P(t);return wp.element.createElement(G.Fragment,null,e,wp.element.createElement(H.PanelBody,{title:Object(i.__)("General",o.i18n)},wp.element.createElement(H.SelectControl,{label:Object(i.__)("Notification Type",o.i18n),value:O,options:X.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}}),Z.borderRadius&&wp.element.createElement(L.b,{label:Object(i.__)("Border Radius",o.i18n),value:p,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),Z.shadow&&wp.element.createElement(L.b,{label:Object(i.__)("Shadow / Outline",o.i18n),value:m,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(L.t,{setAttributes:n,blockAttributes:t.attributes})),Z.columnBorder&&wp.element.createElement(L.Y,{title:Object(i.__)("Border",o.i18n),hasToggle:!1},wp.element.createElement(L.r,{value:E,onChange:function(e){return n({columnBorderColor:e})},label:Object(i.__)("Border Color",o.i18n)}),wp.element.createElement(L.b,{label:Object(i.__)("Border Thickness",o.i18n),value:B,onChange:function(e){return n({columnBorderThickness:e})},min:0,max:20,allowReset:!0,placeholder:"bordered"===u?5:3})),Z.columnBackground&&wp.element.createElement(L.Y,{title:Object(i.__)("Background",o.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(L.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(L.Y,{title:Object(i.__)("Dismissible",o.i18n),id:"dismissible",checked:_,onChange:function(e){return n({dismissible:e})},toggleOnSetAttributes:[].concat(K(Object(s.w)("dismissibleIcon%sSize")),["dismissibleIconColor"]),toggleAttributeName:"dismissible",className:"ugb--help-tip-notification-dismissible"},wp.element.createElement(L.db,{attrNameTemplate:"dismissibleIcon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Icon Size",o.i18n),min:5,max:50,allowReset:!0,placeholder:"16"})),wp.element.createElement(L.r,{value:C,onChange:function(e){return n({dismissibleIconColor:e})},label:Object(i.__)("Icon Color",o.i18n)})),wp.element.createElement(L.Y,{title:Object(i.__)("Icon",o.i18n),id:"icon",checked:F,onChange:function(e){return n({showIcon:e})},toggleOnSetAttributes:["icon","iconColor"].concat(K(Object(s.w)("icon%sSize")),["iconOpacity","iconRotation"],K(Object(s.w)("icon%sAlign"))),toggleAttributeName:"showIcon"},wp.element.createElement(L.I,{label:Object(i.__)("Icon",o.i18n),value:D,onChange:function(e){return n({icon:e})}}),wp.element.createElement(L.r,{value:z,onChange:function(e){return n({iconColor:e})},label:Object(i.__)("Icon Color",o.i18n)}),wp.element.createElement(L.db,{attrNameTemplate:"icon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Icon Size",o.i18n),min:5,max:"large-icon"!==u?200:400,step:1,allowReset:!0,placeholder:"30"})),wp.element.createElement(L.b,{label:Object(i.__)("Icon Opacity",o.i18n),value:U,onChange:function(e){return n({iconOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"1"}),wp.element.createElement(L.b,{label:Object(i.__)("Icon Rotation",o.i18n),value:V,onChange:function(e){return n({iconRotation:e})},min:0,max:360,step:1,allowReset:!0,placeholder:"large-icon"===u?-20:0}),Z.iconLocation&&wp.element.createElement(L.F,{label:Object(i.__)("Icon Location",o.i18n),min:-250,max:250,top:Y,left:$,onChange:function(e){n({iconTop:e.top||0===e.top?parseInt(e.top,10):"",iconLeft:e.left||0===e.left?parseInt(e.left,10):""})},enableRight:!1,enableBottom:!1}),Z.iconAlign&&wp.element.createElement(L.db,{attrNameTemplate:"icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-icon"}))),wp.element.createElement(L.Y,{title:Object(i.__)("Title",o.i18n),id:"title",checked:f,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(K(Object(s.B)("title%s")),["titleTag","titleColor"],K(Object(s.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(L.mb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(L.H,{value:w||"h5",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(L.r,{value:r,onChange:function(e){return n({titleColor:e})},label:Object(i.__)("Title Color",o.i18n)}),wp.element.createElement(L.db,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(L.Y,{title:Object(i.__)("Description",o.i18n),id:"description",checked:v,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(K(Object(s.B)("description%s")),["descriptionColor"],K(Object(s.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(L.mb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(L.r,{value:l,onChange:function(e){return n({descriptionColor:e})},label:Object(i.__)("Description Color",o.i18n)}),wp.element.createElement(L.db,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(L.Y,{title:Object(i.__)("Button",o.i18n),id:"button",checked:A,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(K(Object(s.n)("button%s")),K(Object(s.w)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(L.m,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(L.u,null),wp.element.createElement(L.db,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-button"}))),(Z.iconSpacing||Z.titleSpacing||Z.descriptionSpacing||Z.buttonSpacing)&&wp.element.createElement(L.Z,{initialOpen:!1,blockProps:t},Z.iconSpacing&&wp.element.createElement(L.db,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Icon",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-icon"})),Z.titleSpacing&&wp.element.createElement(L.db,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Title",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),Z.descriptionSpacing&&wp.element.createElement(L.db,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Description",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),Z.buttonSpacing&&wp.element.createElement(L.db,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Button",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var J=Object(W.compose)(U.i,U.g,U.d,Object(U.h)(),Object(U.c)(["Icon%sAlign","Title%sAlign","Description%sAlign","Button%sAlign"]),Object(U.a)(I,{editorMode:!0}),Object(U.b)([[".ugb-notification__item","column-background"],[".ugb-notification__close-button","dismissible"],[".ugb-notification__icon","icon"],[".ugb-notification__title","title"],[".ugb-notification__description","description"],[".ugb-button","button"]]))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,l=a.design,c=void 0===l?"basic":l,u=a.notifType,b=a.dismissible,p=a.shadow,g=void 0===p?"":p,m=a.showIcon,d=void 0!==m&&m,h=a.icon,v=void 0===h?"fas-exclamation-triangle":h,w=a.showTitle,O=void 0===w||w,k=a.titleTag,_=void 0===k?"h5":k,j=a.title,C=void 0===j?"":j,x=a.showDescription,E=void 0===x||x,S=a.description,B=void 0===S?"":S,A=a.showButton,N=void 0===A||A,F=a.buttonDesign,R=void 0===F?"plain":F,D=f()([t,"ugb-notification--v2","ugb-notification--design-".concat(c),"ugb-notification--type-".concat(u)],Object(r.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":b},e)),M=f()(["ugb-notification__item"],Y({},"ugb--shadow-".concat(g),""!==g)),z=P(e);return wp.element.createElement(L.j.Edit,{className:D,blockProps:e,render:function(){return wp.element.createElement(G.Fragment,null,wp.element.createElement(L.C,{className:M,backgroundAttrName:"column%s",blockProps:e,showBackground:z.columnBackground},b&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button"},wp.element.createElement(T,null)),d&&wp.element.createElement(L.kb,{className:"ugb-notification__icon",value:v,onChange:function(e){return n({icon:e})}}),O&&wp.element.createElement(y.RichText,{tagName:_||"h5",value:C,className:"ugb-notification__title",placeholder:Object(i.__)("Title for This Block",o.i18n),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),E&&wp.element.createElement(y.RichText,{tagName:"p",className:"ugb-notification__description",value:B,onChange:function(e){return n({description:e})},placeholder:Object(s.F)("long"),keepPlaceholderOnFocus:!0}),N&&wp.element.createElement(L.o,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:q({},e.attributes,{buttonDesign:""!==R?R:"ghost"})})))}})});var $=Object(W.compose)(U.i,Object(U.a)(I))(function(e){var t,n,a,o=e.className,i=e.attributes,l=i.design,c=void 0===l?"basic":l,s=i.notifType,u=i.dismissible,b=i.shadow,p=void 0===b?"":b,g=i.showIcon,m=void 0!==g&&g,d=i.icon,h=void 0===d?"fas-exclamation-triangle":d,v=i.showTitle,w=void 0===v||v,O=i.titleTag,k=void 0===O?"h5":O,_=i.title,j=void 0===_?"":_,C=i.showDescription,x=void 0===C||C,E=i.description,S=void 0===E?"":E,B=i.showButton,A=void 0===B||B,N=i.buttonSize,F=void 0===N?"normal":N,R=i.buttonText,D=void 0===R?"":R,M=i.buttonShadow,z=void 0===M?0:M,I=i.buttonHoverEffect,U=void 0===I?"":I,H=i.buttonIcon,W=void 0===H?"":H,V=i.buttonIconPosition,q=void 0===V?"":V,Y=i.buttonDesign,K=void 0===Y?"plain":Y,X=i.buttonHoverGhostToNormal,J=void 0!==X&&X,$=i.buttonNewTab,Z=void 0!==$&&$,Q=i.buttonUrl,ee=void 0===Q?"":Q,te=i.buttonNoFollow,ne=void 0!==te&&te,ae=f()([o,"ugb-notification--v2","ugb-notification--design-".concat(c),"ugb-notification--type-".concat(s)],Object(r.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":u},e)),oe=f()(["ugb-notification__item"],(t={},n="ugb--shadow-".concat(p),a=""!==p,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t)),ie=P(e);return wp.element.createElement(L.j.Save,{className:ae,blockProps:e,render:function(){return wp.element.createElement(G.Fragment,null,wp.element.createElement(L.C,{className:oe,backgroundAttrName:"column%s",blockProps:e,showBackground:ie.columnBackground},u&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(T,null)),m&&wp.element.createElement(L.jb.Content,{className:"ugb-notification__icon",value:h}),w&&!y.RichText.isEmpty(j)&&wp.element.createElement(y.RichText.Content,{tagName:k||"h5",className:"ugb-notification__title",value:j}),x&&!y.RichText.isEmpty(S)&&wp.element.createElement(y.RichText.Content,{tagName:"p",className:"ugb-notification__description",value:S}),A&&!y.RichText.isEmpty(D)&&wp.element.createElement(L.n.Content,{size:""!==F?F:"normal",text:D,icon:W,newTab:""!==Z&&Z,url:ee,noFollow:ne,hoverEffect:U,ghostToNormalEffect:J,shadow:z,iconPosition:q,design:""!==K?K:"ghost"})))}})}),Z=n(16);function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(n,!0).forEach(function(t){te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return ne}),n.d(t,"name",function(){return ae}),n.d(t,"settings",function(){return oe});var ne=ee({design:{type:"string",default:"basic"},notifType:{type:"string",default:"success"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:3},columnBorderColor:{type:"string",default:""},columnBorderThickness:{type:"number",default:""}},Object(s.j)("column%s"),{dismissible:{type:"boolean",default:!1}},Object(s.x)("dismissibleIcon%sSize",{type:"number",default:""}),{dismissibleIconColor:{type:"string",default:""},showIcon:{type:"boolean",default:!1},icon:{type:"string",default:"fas-exclamation-triangle"},iconColor:{type:"string",default:""}},Object(s.x)("icon%sSize",{type:"number",default:""}),{},Object(s.x)("icon%sAlign",{type:"string",default:""}),{},Object(s.h)("icon%s",{type:"number",default:""},["Opacity","Rotation","Top","Left"]),{title:{source:"html",selector:".ugb-notification__title",default:Object(i.__)("Title for This Block",o.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(s.C)("title%s"),{titleColor:{type:"string",default:""}},Object(s.x)("title%sAlign",{type:"string",default:""}),{description:{source:"html",selector:".ugb-notification__description",default:Object(s.F)("long")},showDescription:{type:"boolean",default:!0}},Object(s.C)("description%s"),{descriptionColor:{type:"string",default:""}},Object(s.x)("description%sAlign",{type:"string",default:""}),{showButton:{type:"boolean",default:!0}},Object(s.o)("button%s",{selector:".ugb-button"}),{buttonDesign:{type:"string",default:"ghost"}},Object(s.x)("button%sAlign",{type:"string",default:""}),{},Object(s.x)("icon%sBottomMargin",{type:"number",default:""}),{},Object(s.x)("title%sBottomMargin",{type:"number",default:""}),{},Object(s.x)("description%sBottomMargin",{type:"number",default:""}),{},Object(s.x)("button%sBottomMargin",{type:"number",default:""})),ae="ugb/notification",oe={title:Object(i.__)("Notification",o.i18n),description:Object(i.__)("Show a notice to your readers. People can dismiss the notice to permanently hide it.",o.i18n),icon:Z.q,category:"formatting",keywords:[Object(i.__)("Notification",o.i18n),Object(i.__)("Stackable",o.i18n)],attributes:ne,supports:{inserter:!o.disabledBlocks.includes(ae)},deprecated:_,edit:J,save:$,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(r.applyFilters)("stackable.notification.custom-css.default","")}}};Object(r.addFilter)("stackable.notification.setAttributes","stackable/notification/notifType",function(e){return void 0===e.notifType?e:ee({},e,{columnBackgroundColor:"",columnBackgroundColorOpacity:"",iconColor:"",titleColor:"",descriptionColor:"",buttonBackgroundColor:"",columnBorderColor:""})}),Object(r.addFilter)("stackable.notification.setAttributes","stackable/notification/opacity",function(e,t){var n=e.hasOwnProperty("columnBackgroundColor");if(void 0===e.columnBackgroundColorOpacity&&!n)return e;if(n&&void 0!==e.columnBackgroundColor)return e;var a=t.attributes,o=a.notifType,i=void 0===o?"success":o,r=a.columnBackgroundColor,l=void 0===r?"":r;return ee({},e,{columnBackgroundColor:l&&!n?l:{success:"#40ba7b",error:"#d9534f",info:"#2091e1",warning:"#ffdd57"}[i]})})},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(1),i=n(0),r=n(5);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(r.addFilter)("stackable.blog-posts.design.no-text-attributes","stackable/blog-posts",function(e){return Object(a.omit)(e,["text"])}),Object(r.addFilter)("stackable.blog-posts.edit.designs","stackable/blog-posts",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(i.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-posts-design-corporate-light-01.jpg",attributes:{borderRadius:0,showCategory:!1,categoryFontFamily:"Roboto",categoryColor:"#ff550a",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffb20b",excerptFontFamily:"Serif",excerptColor:"#707070",showMeta:!1,metaFontFamily:"Roboto",metaColor:"#6d6d6d",readmoreFontFamily:"Roboto Condensed",readmoreFontWeight:"100",readmoreLetterSpacing:.5,readmoreFontSize:20,readmoreColor:"#ff550a",excerptBottomMargin:55,columnGap:100,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffffff",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffb20b",blockDescriptionAlign:"center",blockDescriptionColor:"#707070",contentAlign:"center"}},corporateLight2:{label:Object(i.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-posts-design-corporate-light-02.jpg",attributes:{borderRadius:0,showCategory:!1,categoryFontFamily:"Roboto",categoryColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#c49732",excerptFontFamily:"Serif",excerptColor:"#ffffff",showMeta:!1,metaFontFamily:"Roboto",metaColor:"#ffffff",readmoreFontFamily:"Roboto Condensed",readmoreFontWeight:"100",readmoreLetterSpacing:.5,readmoreFontSize:20,readmoreColor:"#c49732",excerptBottomMargin:55,columnGap:100,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#4571d5",blockBackgroundBackgroundColor2:"#86abff",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffffff",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff",contentAlign:"center"}},corporateDark1:{label:Object(i.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-posts-design-corporate-dark-01.jpg",attributes:{borderRadius:0,showCategory:!1,categoryFontFamily:"Roboto",categoryColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#c5dfb4",excerptFontFamily:"Serif",excerptColor:"#ffffff",showMeta:!1,metaFontFamily:"Roboto",metaColor:"#ffffff",readmoreFontFamily:"Roboto Condensed",readmoreFontWeight:"100",readmoreLetterSpacing:.5,readmoreFontSize:20,readmoreColor:"#c4e558",excerptBottomMargin:55,columnGap:100,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-header-corporate-dark-01-01.jpg",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c5dfb4",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff",contentAlign:"center"}},corporateDark2:{label:Object(i.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-posts-design-corporate-dark-02.jpg",attributes:{borderRadius:0,showCategory:!1,categoryFontFamily:"Roboto",categoryColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#06c19d",excerptFontFamily:"Serif",excerptColor:"#ffffff",showMeta:!1,metaFontFamily:"Roboto",metaColor:"#ffffff",readmoreFontFamily:"Roboto Condensed",readmoreFontWeight:"100",readmoreLetterSpacing:.5,readmoreFontSize:20,readmoreColor:"#06c19d",excerptBottomMargin:55,columnGap:100,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#2f2f2f",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#06c19d",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff",contentAlign:"center"}}})});var s=n(266),u=n.n(s),b=n(267),p=n.n(b),g=n(2),m=n(15),d=n.n(m),f=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.postType,l=void 0===i?"post":i,c=t.showImage,s=void 0===c||c,u=t.showTitle,b=void 0===u||u,p=t.showCategory,g=void 0===p||p,m=t.showExcerpt,d=void 0===m||m,f=t.showMeta,h=void 0===f||f,v=t.showReadmore,y=void 0===v||v;return Object(r.applyFilters)("stackable.blog-posts.show",{columnBackground:!["basic","list"].includes(a),showBackgroundInItem:"vertical-card2"===a,showBackgroundInContent:["vertical-card","horizontal-card","image-card"].includes(a),borderRadius:!0,shadow:!0,imageShadow:["basic","list"].includes(a),postType:o.isPro,imageHeight:"portfolio"!==a&&"portfolio2"!==a,imageWidth:"horizontal-card"===a||"list"===a,showCategory:"post"===l,imageAsBackground:["portfolio","portfolio2","image-card"].includes(a),imageOutsideContainer:["list","vertical-card","horizontal-card","image-card"].includes(a),imageSpacing:s&&["basic","list","vertical-card2"].includes(a),categorySpacing:g,titleSpacing:b,excerptSpacing:d,metaSpacing:h,readmoreSpacing:y,contentOrderStyles:"image-card"!==a},e)};function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach(function(t){w(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=function(e){var t=Object(g.b)(e.attributes),n=e.attributes,a=n.columnBackgroundColor,o=void 0===a?"":a,i=n.design,r=void 0===i?"basc":i,l=n.showReadmore,c=void 0===l||l,s=f(e),u=[];s.columnBackground||u.push({".ugb-blog-posts__featured-image":{borderRadius:Object(g.c)(t("borderRadius","%spx"))}});var b=e.attributes.contentOrder,p=void 0===b?"":b;p&&s.contentOrderStyles&&p.split(",").forEach(function(e,t){var n=0===t?1:3===t?10:t+3;u.push(w({},".ugb-blog-posts__".concat(e),{order:Object(g.c)(n)})),c&&"excerpt"===e&&u.push({".ugb-blog-posts__readmore":{order:Object(g.c)(n)}})});var m=e.attributes.showImage,h=void 0===m||m;h&&s.imageHeight&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__featured-image img","image%sHeight","height","%spx",e.attributes,!0))),h&&s.imageWidth&&"list"===r&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__item","image%sWidth","gridTemplateColumns","%spx minmax(0, 1fr)",e.attributes,!0)));var O=e.attributes,k=O.categoryHighlighted,_=void 0!==k&&k,j=O.categoryColor,C=void 0===j?"":j,x=O.showCategory;(void 0===x||x)&&(_?u.push({".ugb-blog-posts__category a":{backgroundColor:Object(g.c)(t("categoryColor")),color:Object(g.c)(Object(g.hb)("",t("categoryColor")))},".ugb-blog-posts__category a:hover":{opacity:t("categoryHoverColor")?void 0:.8,backgroundColor:Object(g.c)(t("categoryHoverColor")),color:Object(g.c)(Object(g.hb)("",t("categoryHoverColor")))}}):u.push({".ugb-blog-posts__category a":{color:Object(g.c)(Object(g.hb)(C,s.columnBackground&&o))},".ugb-blog-posts__category a:hover":{opacity:C&&!t("categoryHoverColor")?.8:void 0,color:Object(g.c)(t("categoryHoverColor"))}}),u.push({".ugb-blog-posts__category":v({},Object(g.D)("category%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("categoryAlign","%s !important")}),tablet:{".ugb-blog-posts__category":v({},Object(g.D)("category%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("categoryTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__category":v({},Object(g.D)("category%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("categoryMobileAlign","%s !important")})}}));var E=e.attributes,S=E.titleColor,B=void 0===S?"":S,T=E.showTitle;(void 0===T||T)&&u.push({".ugb-blog-posts__title a":{color:Object(g.c)(Object(g.hb)(B,s.columnBackground&&o))},".ugb-blog-posts__title a:hover":{opacity:B&&!t("titleHoverColor")?.8:void 0,color:Object(g.c)(t("titleHoverColor"))},".ugb-blog-posts__title":v({},Object(g.D)("title%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-blog-posts__title":v({},Object(g.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__title":v({},Object(g.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var A=e.attributes,N=A.excerptColor,P=void 0===N?"":N,F=A.showExcerpt;(void 0===F||F)&&u.push({".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":v({},Object(g.D)("excerpt%s","desktop",e.attributes,{importantSize:!0}),{color:Object(g.c)(Object(g.hb)(P,s.columnBackground&&o))}),".ugb-blog-posts__excerpt":{textAlign:t("excerptAlign","%s !important")},tablet:{".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":v({},Object(g.D)("excerpt%s","tablet",e.attributes,{importantSize:!0})),".ugb-blog-posts__excerpt":{textAlign:t("excerptTabletAlign","%s !important")}},mobile:{".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":v({},Object(g.D)("excerpt%s","mobile",e.attributes,{importantSize:!0})),".ugb-blog-posts__excerpt":{textAlign:t("excerptMobileAlign","%s !important")}}});var R=e.attributes,D=R.metaColor,M=void 0===D?"":D,z=R.showMeta,I=void 0===z||z,L=R.showAuthor,U=void 0===L||L,H=R.showDate,W=void 0===H||H,G=R.showComments;I&&(U||W||(void 0===G||G))&&u.push({".ugb-blog-posts__meta":v({},Object(g.D)("meta%s","desktop",e.attributes,{importantSize:!0}),{color:Object(g.c)(Object(g.hb)(M,s.columnBackground&&o)),textAlign:t("metaAlign","%s !important")}),tablet:{".ugb-blog-posts__meta":v({},Object(g.D)("meta%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("metaTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__meta":v({},Object(g.D)("meta%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("metaMobileAlign","%s !important")})}});var V=e.attributes.readmoreColor,q=void 0===V?"":V;return c&&u.push({".ugb-blog-posts__readmore a":{color:Object(g.c)(Object(g.hb)(q,s.columnBackground&&o))},".ugb-blog-posts__readmore a:hover":{opacity:q&&!t("readmoreHoverColor")?.8:void 0,color:Object(g.c)(t("readmoreHoverColor"))},".ugb-blog-posts__readmore":v({},Object(g.D)("readmore%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("readmoreAlign","%s !important")}),tablet:{".ugb-blog-posts__readmore":v({},Object(g.D)("readmore%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("readmoreTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__readmore":v({},Object(g.D)("readmore%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("readmoreMobileAlign","%s !important")})}}),s.imageSpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__featured-image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.categorySpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__category","category%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.titleSpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.excerptSpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__excerpt","excerpt%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.metaSpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__meta","meta%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.readmoreSpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__readmore","readmore%sBottomMargin","marginBottom","%spx",e.attributes,!0))),d.a.all(u)},k=n(3),_=n(7),j=n(9),C=n(411),x=n(28),E=n.n(x);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function B(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function T(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=[],F=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=T(this,A(t).apply(this,arguments))).state={isLoading:0===P.length,termList:P},e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(t,_["Component"]),n=t,(a=[{key:"componentWillMount",value:function(){var e=this;this.state.termList.length||(this.isStillMounted=!0,this.fetchRequest=E()({path:Object(C.a)("/wp/v2/stk_terms",{per_page:-1})}).then(function(t){e.isStillMounted&&(P=t,e.setState({termList:t,isLoading:!1}))}).catch(function(){e.isStillMounted&&e.setState({termList:[],isLoading:!1})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=[],n=[],a=[{label:Object(i.__)("All",o.i18n),value:""}],r="";if(Object.keys(this.state.termList).forEach(function(o){var i=e.state.termList[o],r=i.label,l=i.taxonomies;t.push({label:r,value:o}),o===e.props.postType&&Object.keys(l).forEach(function(t,o){var i=l[t],r=i.label,c=i.terms;n.push({label:r,value:t});var s=!e.props.taxonomyType&&0===o;(t===e.props.taxonomyType||s)&&Object.keys(c).forEach(function(e){a.push({label:c[e].name,value:c[e].term_id})})})}),n.length){var l=this.props.taxonomyType||n[0].value,c=n.filter(function(e){var t=e.value;return l===t});r=c.length?c[0].label:n[0].label}return this.state.isLoading?wp.element.createElement("div",{className:"ugb-blog-post__inspector-spinner"},wp.element.createElement(j.Spinner,null)):wp.element.createElement("div",null,o.isPro&&wp.element.createElement(k.c,{label:Object(i.__)("Post Type",o.i18n),options:t,value:this.props.postType,onChange:function(t){var n=Object.keys(e.state.termList[t].taxonomies);e.props.onChangePostType(t),e.props.onChangeTaxonomyType(n.length?n[0]:""),e.props.onChangeTaxonomy("")}}),n.length>0&&wp.element.createElement(k.c,{label:Object(i.__)("Filter by Taxonomy",o.i18n),options:n,value:this.props.taxonomyType,onChange:function(t){e.props.onChangeTaxonomyType(t),e.props.onChangeTaxonomy("")}}),n.length>0&&wp.element.createElement(k.c,{label:r,options:a,value:this.props.taxonomy,onChange:this.props.onChangeTaxonomy}))}}])&&B(n.prototype,a),r&&B(n,r),t}();F.defaultProps={postType:"post",onChangePostType:function(){},taxonomyType:"category",onChangeTaxonomyType:function(){},taxonomy:"",onChangeTaxonomy:function(){}};var R=F,D=n(11),M=n(8),z=n.n(M),I=n(71),L=n(268),U=n(14),H=n(12);function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(n,!0).forEach(function(t){q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function V(e){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function K(e,t){return!t||"object"!==V(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Z={dot:"·",space:" ",comma:",",dash:"—",pipe:"|"};Object(r.addFilter)("stackable.blog-posts.edit.inspector.layout.before","stackable/blog-posts",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"basic":a;return wp.element.createElement(_.Fragment,null,e,wp.element.createElement(k.z,{initialOpen:!0,selected:l,options:Object(r.applyFilters)("stackable.blog-posts.edit.layouts",[{label:Object(i.__)("Basic",o.i18n),value:"basic",image:u.a},{label:Object(i.__)("List",o.i18n),value:"list",image:p.a}]),onChange:function(e){return n({design:e})}},o.showProNotice&&wp.element.createElement(k.cb,null)))}),Object(r.addFilter)("stackable.blog-posts.edit.inspector.style.before","stackable/blog-posts",function(e,t){var n=t.setAttributes,a=t.attributes,l=a.columns,c=void 0===l?2:l,s=a.borderRadius,u=void 0===s?"":s,b=a.shadow,p=void 0===b?"":b,m=a.contentOrder,d=void 0===m?"":m,h=a.numberOfItems,v=void 0===h?6:h,y=a.showImage,w=void 0===y||y,O=a.showTitle,C=void 0===O||O,x=a.showCategory,E=void 0===x||x,S=a.showExcerpt,B=void 0===S||S,T=a.showMeta,A=void 0===T||T,N=a.showReadmore,P=void 0!==N&&N,F=a.titleTag,D=void 0===F?"":F,M=a.titleColor,z=void 0===M?"":M,I=a.titleHoverColor,L=void 0===I?"":I,U=a.orderBy,H=void 0===U?"date":U,W=a.order,G=void 0===W?"desc":W,V=a.postType,q=void 0===V?"post":V,Y=a.taxonomyType,K=void 0===Y?"category":Y,X=a.taxonomy,J=void 0===X?"":X,Z=a.imageSize,Q=void 0===Z?"large":Z,ee=a.categoryHighlighted,te=void 0!==ee&&ee,ne=a.categoryColor,ae=void 0===ne?"":ne,oe=a.categoryHoverColor,ie=void 0===oe?"":oe,re=a.excerptColor,le=void 0===re?"":re,ce=a.excerptLength,se=void 0===ce?55:ce,ue=a.showAuthor,be=void 0===ue||ue,pe=a.showDate,ge=void 0===pe||pe,me=a.showComments,de=void 0===me||me,fe=a.metaColor,he=void 0===fe?"":fe,ve=a.metaSeparator,ye=void 0===ve?"":ve,we=a.readmoreColor,Oe=void 0===we?"":we,ke=a.readmoreHoverColor,_e=void 0===ke?"":ke,je=a.readmoreText,Ce=void 0===je?"":je,xe=f(t),Ee=Object(i.__)("Category",o.i18n),Se=Object(i.__)("Title",o.i18n),Be=Object(i.__)("Meta",o.i18n),Te=Object(i.__)("Excerpt",o.i18n);return wp.element.createElement(_.Fragment,null,e,wp.element.createElement(j.PanelBody,{title:Object(i.__)("General",o.i18n)},wp.element.createElement(k.b,{label:Object(i.__)("Columns",o.i18n),value:c,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),xe.borderRadius&&wp.element.createElement(k.b,{label:Object(i.__)("Border Radius",o.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),xe.shadow&&wp.element.createElement(k.b,{label:Object(i.__)("Shadow / Outline",o.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(k.c,{label:Object(i.__)("Content Order",o.i18n),options:[{label:Object(i.__)("Default",o.i18n),value:""},{label:"".concat(Ee," → ").concat(Se," → ").concat(Be," → ").concat(Te),value:"category,title,meta,excerpt"},{label:"".concat(Ee," → ").concat(Se," → ").concat(Te," → ").concat(Be),value:"category,title,excerpt,meta"},{label:"".concat(Se," → ").concat(Be," → ").concat(Te," → ").concat(Ee),value:"title,meta,excerpt,category"},{label:"".concat(Se," → ").concat(Ee," → ").concat(Te," → ").concat(Be),value:"title,category,excerpt,meta"},{label:"".concat(Be," → ").concat(Se," → ").concat(Te," → ").concat(Ee),value:"meta,title,excerpt,category"},{label:"".concat(Be," → ").concat(Se," → ").concat(Ee," → ").concat(Te),value:"meta,title,category,excerpt"}],value:d,onChange:function(e){return n({contentOrder:e})},className:"ugb--help-tip-posts-content-order"}),wp.element.createElement(k.t,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(j.PanelBody,{title:Object(i.__)("Posts Settings",o.i18n),initialOpen:!1},wp.element.createElement(k.b,{label:Object(i.__)("Number of items",o.i18n),min:1,max:100,allowReset:!0,value:v,onChange:function(e){return n({numberOfItems:e})},placeholder:"6"}),wp.element.createElement(k.c,{label:Object(i.__)("Order by",o.i18n),options:[{label:Object(i.__)("Newest to Oldest",o.i18n),value:"date,desc"},{label:Object(i.__)("Oldest to Newest",o.i18n),value:"date,asc"},{label:Object(i.__)("A → Z",o.i18n),value:"title,asc"},{label:Object(i.__)("Z → A",o.i18n),value:"title,desc"},{label:Object(i.__)("Last Modified to Oldest",o.i18n),value:"modified,desc"},{label:Object(i.__)("Oldest Modified to Last",o.i18n),value:"modified,asc"},{label:Object(i.__)("Menu Order",o.i18n),value:"menu_order,asc"},{label:Object(i.__)("Random",o.i18n),value:"rand,desc"}],value:"".concat(H,",").concat(G),onChange:function(e){return n({orderBy:e.split(",")[0],order:e.split(",")[1]})}}),wp.element.createElement(R,{postType:q,onChangePostType:function(e){return n({postType:e})},taxonomyType:K,onChangeTaxonomyType:function(e){return n({taxonomyType:e})},taxonomy:J,onChangeTaxonomy:function(e){return n({taxonomy:e})}}),Object(r.applyFilters)("stackable.blog-posts.edit.inspector.style.posts.after",null,t),o.showProNotice&&wp.element.createElement(k.cb,{type:"postsBlock"})),xe.columnBackground&&wp.element.createElement(k.Y,{title:Object(i.__)("Column Background",o.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},(xe.showBackgroundInItem||xe.showBackgroundInContent)&&wp.element.createElement(k.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes,backgroundMediaAllowVideo:!1}),!(xe.showBackgroundInItem||xe.showBackgroundInContent)&&xe.columnBackground&&wp.element.createElement(k.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes,onChangeBackgroundMedia:!1,onChangeBackgroundColorOpacity:!1,onChangeBackgroundGradientBlendMode:!1})),wp.element.createElement(k.Y,{title:Object(i.__)("Featured Image",o.i18n),id:"image",checked:w,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:["imageSize"].concat($(Object(g.w)("Image%sWidth")),$(Object(g.w)("Image%sHeight"))),toggleAttributeName:"showTitle"},wp.element.createElement(k.T,{label:Object(i.__)("Image Size",o.i18n),value:Q,onChange:function(e){return n({imageSize:e})},className:"ugb--help-tip-image-size"}),xe.imageWidth&&wp.element.createElement(k.db,{attrNameTemplate:"image%sWidth",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Image Width",o.i18n),min:100,max:600,allowReset:!0,className:"ugb--help-tip-image-width-crop"})),xe.imageHeight&&wp.element.createElement(k.db,{attrNameTemplate:"image%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Image Height",o.i18n),min:100,max:1e3,allowReset:!0,className:"ugb--help-tip-image-height-crop"}))),wp.element.createElement(k.Y,{title:Object(i.__)("Category",o.i18n),id:"category",checked:E,onChange:function(e){return n({showCategory:e})},toggleOnSetAttributes:[].concat($(Object(g.B)("category%s")),["categoryHighlighted","categoryColor","categoryHoverColor"],$(Object(g.w)("Category%sAlign"))),toggleAttributeName:"showCategory"},wp.element.createElement(k.mb,{attrNameTemplate:"category%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(j.ToggleControl,{label:Object(i.__)("Highlighted",o.i18n),checked:te,onChange:function(e){return n({categoryHighlighted:e})}}),wp.element.createElement(k.r,{value:ae,onChange:function(e){return n({categoryColor:e})},label:Object(i.__)("Color",o.i18n)}),wp.element.createElement(k.r,{value:ie,onChange:function(e){return n({categoryHoverColor:e})},label:Object(i.__)("Hover Color",o.i18n)}),wp.element.createElement(k.db,{attrNameTemplate:"Category%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(k.Y,{title:Object(i.__)("Title",o.i18n),id:"title",checked:C,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat($(Object(g.B)("title%s")),["titleTag","titleColor","titleHoverColor"],$(Object(g.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(k.mb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.H,{value:D||"h3",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(k.r,{value:z,onChange:function(e){return n({titleColor:e})},label:Object(i.__)("Text Color",o.i18n)}),wp.element.createElement(k.r,{value:L,onChange:function(e){return n({titleHoverColor:e})},label:Object(i.__)("Hover Color",o.i18n)}),wp.element.createElement(k.db,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(k.Y,{title:Object(i.__)("Excerpt",o.i18n),id:"excerpt",checked:B,onChange:function(e){return n({showExcerpt:e})},toggleOnSetAttributes:[].concat($(Object(g.B)("excerpt%s")),["excerptColor","excerptLength"],$(Object(g.w)("Excerpt%sAlign"))),toggleAttributeName:"showExcerpt"},wp.element.createElement(k.b,{label:Object(i.__)("Excerpt Length",o.i18n),value:se,onChange:function(e){return n({excerptLength:e})},min:1,max:100,allowReset:!0,placeholder:"55"}),wp.element.createElement(k.mb,{attrNameTemplate:"excerpt%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.r,{value:le,onChange:function(e){return n({excerptColor:e})},label:Object(i.__)("Text Color",o.i18n)}),wp.element.createElement(k.db,{attrNameTemplate:"Excerpt%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(k.Y,{title:Object(i.__)("Meta",o.i18n),id:"meta",checked:A,onChange:function(e){return n({showMeta:e})},toggleOnSetAttributes:["showAuthor","showDate","showComments"].concat($(Object(g.B)("meta%s")),["metaColor","metaSeparator"],$(Object(g.w)("Meta%sAlign"))),toggleAttributeName:"showMeta"},wp.element.createElement(j.ToggleControl,{label:Object(i.__)("Show Author",o.i18n),checked:be,onChange:function(e){return n({showAuthor:e})}}),wp.element.createElement(j.ToggleControl,{label:Object(i.__)("Show Date",o.i18n),checked:ge,onChange:function(e){return n({showDate:e})}}),wp.element.createElement(j.ToggleControl,{label:Object(i.__)("Show Comments",o.i18n),checked:de,onChange:function(e){return n({showComments:e})}}),wp.element.createElement(k.mb,{attrNameTemplate:"meta%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.r,{value:he,onChange:function(e){return n({metaColor:e})},label:Object(i.__)("Text Color",o.i18n)}),wp.element.createElement(k.c,{label:Object(i.__)("Separator",o.i18n),options:[{label:Object(i.__)("Default (Dot)",o.i18n),value:""},{label:Object(i.__)("Space",o.i18n),value:"space"},{label:Object(i.__)("Comma",o.i18n),value:"comma"},{label:Object(i.__)("Dash",o.i18n),value:"dash"},{label:Object(i.__)("Pipe",o.i18n),value:"pipe"}],value:ye,onChange:function(e){return n({metaSeparator:e})},className:"ugb--help-tip-posts-meta-separator"}),wp.element.createElement(k.db,{attrNameTemplate:"Meta%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(k.Y,{title:Object(i.__)("Read More Link",o.i18n),id:"readmore",checked:P,onChange:function(e){return n({showReadmore:e})},toggleOnSetAttributes:["readmoreText"].concat($(Object(g.B)("readmore%s")),["readmoreColor","readmoreHoverColor"],$(Object(g.w)("Readmore%sAlign"))),toggleAttributeName:"showReadmore"},wp.element.createElement(j.TextControl,{label:Object(i.__)("Customize Read More Link",o.i18n),type:"text",value:Ce,onChange:function(e){return n({readmoreText:e})}}),wp.element.createElement(k.mb,{attrNameTemplate:"readmore%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.r,{value:Oe,onChange:function(e){return n({readmoreColor:e})},label:Object(i.__)("Text Color",o.i18n)}),wp.element.createElement(k.r,{value:_e,onChange:function(e){return n({readmoreHoverColor:e})},label:Object(i.__)("Hover Color",o.i18n)}),wp.element.createElement(k.db,{attrNameTemplate:"Readmore%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(k.Z,{initialOpen:!1,blockProps:t},xe.imageSpacing&&wp.element.createElement(k.db,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Image",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-image"})),xe.categorySpacing&&wp.element.createElement(k.db,{attrNameTemplate:"category%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Category",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.titleSpacing&&wp.element.createElement(k.db,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Title",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-title"})),xe.excerptSpacing&&wp.element.createElement(k.db,{attrNameTemplate:"excerpt%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Excerpt",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.metaSpacing&&wp.element.createElement(k.db,{attrNameTemplate:"meta%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Meta",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.readmoreSpacing&&wp.element.createElement(k.db,{attrNameTemplate:"readmore%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Read More",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-button"}))))});var Q=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),K(this,X(t).apply(this,arguments))}var n,a,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J(e,t)}(t,_["Component"]),n=t,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,a=t.attributes,l=t.posts,c=a.columns,s=void 0===c?2:c,u=a.design,b=void 0===u?"basic":u,p=a.shadow,g=void 0===p?"":p,m=a.numberOfItems,d=void 0===m?6:m,h=a.titleTag,v=void 0===h?"":h,y=a.imageSize,w=void 0===y?"large":y,O=a.categoryHighlighted,C=void 0!==O&&O,x=a.excerptLength,E=void 0===x?"":x,S=a.metaSeparator,B=void 0===S?"":S,T=a.showImage,A=void 0===T||T,N=a.showTitle,P=void 0===N||N,F=a.showCategory,R=void 0===F||F,D=a.showExcerpt,M=void 0===D||D,U=a.showMeta,H=void 0===U||U,W=a.showReadmore,G=void 0!==W&&W,V=a.showAuthor,Y=void 0===V||V,K=a.showDate,X=void 0===K||K,J=a.showComments,$=void 0===J||J,Q=a.readmoreText,ee=void 0===Q?"":Q,te=a.columnBackgroundColor,ne=void 0===te?"":te,ae=a.columnBackgroundColor2,oe=void 0===ae?"":ae,ie=f(this.props),re=Array.isArray(l)&&l.length,le=v||"h3",ce=z()([n,"ugb-blog-posts--v2","ugb-blog-posts--columns-".concat(s),"ugb-blog-posts--design-".concat(b)],Object(r.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":C,"ugb-blog-posts--has-bg-color":ne||oe},this.props)),se=re&&l.length>d?l.slice(0,d):l,ue=z()(["ugb-blog-posts__item"],q({},"ugb--shadow-".concat(g||3),!ie.imageShadow)),be=z()(["ugb-blog-posts__featured-image"],q({},"ugb--shadow-".concat(g||3),ie.imageShadow));return re?wp.element.createElement(k.j.Edit,{className:ce,blockProps:this.props,render:function(){return wp.element.createElement(_.Fragment,null,se.map(function(t,n){var a=(t.featured_image_urls&&t.featured_image_urls[w||"large"]||[])[0],l=a&&wp.element.createElement("figure",{className:be},wp.element.createElement("a",null,wp.element.createElement("img",{src:a,alt:Object(i.__)("featured",o.i18n)}))),c=a&&wp.element.createElement("div",{className:"ugb-blog-posts__featured-image-background",style:{backgroundImage:"url(".concat(a,")")}}),s=wp.element.createElement(le,{className:"ugb-blog-posts__title"},wp.element.createElement("a",null,Object(L.decodeEntities)(t.title.rendered.trim())||Object(i.__)("(Untitled)",o.i18n))),u=t.category_list&&wp.element.createElement("div",{className:"ugb-blog-posts__category",dangerouslySetInnerHTML:{__html:t.category_list.replace(/href=['"].*?['"]/g,"")}}),b=wp.element.createElement("span",{className:"ugb-blog-posts__sep"},Z[B||"dot"]),p=t.author_info&&t.author_info.name&&wp.element.createElement("span",null,t.author_info.name),g=t.date_gmt&&wp.element.createElement("time",{dateTime:Object(I.format)("c",t.date_gmt),className:"ugb-blog-posts__date"},Object(I.dateI18n)("F d, Y",t.date_gmt)),m=wp.element.createElement("span",null,t.comments_num),d=t.post_excerpt_stackable.split(" "),f=(d=d.length>(E||55)?d.slice(0,E||55).join(" ")+"...":t.post_excerpt_stackable)&&wp.element.createElement("div",{className:"ugb-blog-posts__excerpt",dangerouslySetInnerHTML:{__html:d}}),h=wp.element.createElement("p",{className:"ugb-blog-posts__readmore"},wp.element.createElement("a",null,ee||Object(i.__)("Continue reading",o.i18n))),v=(Y||X||$)&&wp.element.createElement("aside",{className:"entry-meta ugb-blog-posts__meta"},Y&&p,Y&&p&&(X&&g||$&&m)&&b,X&&g,(Y&&p||X&&g)&&$&&m&&b,$&&m),y=Object(r.applyFilters)("stackable.blog-posts.edit.output",null,e.props,{itemClasses:ue,featuredImageBackground:c,featuredImage:l,category:u,title:s,author:p,separator:b,date:g,comments:m,excerpt:f,readmore:h,meta:v},n);return y||wp.element.createElement(k.C,{tagName:"article",className:ue,backgroundAttrName:"column%s",blockProps:e.props,showBackground:ie.showBackgroundInItem,showBackgroundVideo:!1,key:n},A&&ie.imageAsBackground&&c,A&&!ie.imageAsBackground&&ie.imageOutsideContainer&&l,wp.element.createElement(k.C,{className:"ugb-blog-posts__content",backgroundAttrName:"column%s",blockProps:e.props,showBackground:ie.showBackgroundInContent,showBackgroundVideo:!1},A&&!ie.imageAsBackground&&!ie.imageOutsideContainer&&l,R&&u,P&&s,H&&v,M&&f,G&&h))}))}}):wp.element.createElement(j.Placeholder,{icon:"admin-post",label:Object(i.__)("Posts",o.i18n)},Array.isArray(l)?Object(i.__)("No posts found.",o.i18n):wp.element.createElement(j.Spinner,null))}}])&&Y(n.prototype,a),l&&Y(n,l),t}(),ee=Object(H.compose)(D.i,D.g,D.d,Object(D.h)(),Object(D.c)(["Category%sAlign","Title%sAlign","Excerpt%sAlign","Meta%sAlign","Readmore%sAlign"]),Object(D.a)(O,{editorMode:!0}),Object(D.b)([[".ugb-blog-posts__featured-image","image"],[".ugb-blog-posts__featured-image img","image"],[".ugb-blog-posts__category","category"],[".ugb-blog-posts__title","title"],[".ugb-blog-posts__excerpt","excerpt"],[".ugb-blog-posts__meta","meta"],[".ugb-blog-posts__readmore","readmore"],[".ugb-blog-posts--design-image-card .ugb-blog-posts__header","image"],[".ugb-blog-posts__item","column-background"]]),Object(U.withSelect)(function(e,t){var n=t.attributes,o=n.postType,i=void 0===o?"post":o,l=n.numberOfItems,c=void 0===l?6:l,s=n.orderBy,u=void 0===s?"date":s,b=n.order,p=void 0===b?"desc":b,g=n.taxonomyType,m=void 0===g?"":g,d=n.taxonomy,f=void 0===d?"":d;return{posts:(0,e("core").getEntityRecords)("postType",i,Object(a.pickBy)(G({order:p,orderby:u,per_page:c,categories:"category"===m&&f?[f]:void 0,tags:"post_tag"===m&&f?[f]:void 0},Object(r.applyFilters)("stackable.blog-posts.postQuery",{},t)),function(e){return!Object(a.isUndefined)(e)&&""!==e}))}}))(Q);Object(r.addFilter)("stackable.click-open-inspector.listener-override","stackable/blog-posts",function(e){return G({},e,{'[data-type="ugb/blog-posts"]':["img","p","h1","h2","h3","h4","h5","h6","span","time","aside","figure","div"]})});var te=Object(H.compose)(D.i,Object(D.a)(O))(function(e){var t=e.className,n=e.attributes,a=n.columns,o=void 0===a?2:a,i=n.design,l=void 0===i?"basic":i,c=n.categoryHighlighted,s=void 0!==c&&c,u=n.columnBackgroundColor,b=void 0===u?"":u,p=n.columnBackgroundColor2,g=void 0===p?"":p,m=z()([t,"ugb-blog-posts--v2","ugb-blog-posts--design-".concat(l),"ugb-blog-posts--columns-".concat(o)],Object(r.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":s,"ugb-blog-posts--has-bg-color":b||g},e));return wp.element.createElement(k.j.Save,{className:m,blockProps:e,render:function(){return null}})});function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oe=[{attributes:{className:{type:"string"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},categories:{type:"string"},postsToShow:{type:"number",default:6},columns:{type:"number",default:2},displayFeaturedImage:{type:"boolean",default:!0},featuredImageShape:{type:"string",default:"landscape"},displayTitle:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayComments:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0},displayReadMoreLink:{type:"boolean",default:!1},readMoreText:{type:"string"},contentAlign:{type:"string"},align:{type:"string"},accentColor:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(){return null},migrate:function(e){var t,n=["portfolio","portfolio2"].includes(e.design)?"#ffffff":void 0;e.accentColor&&["basic","list","vertical-card","horizontal-card","vertical-card2"].includes(e.design)&&(n=e.accentColor),e.accentColor&&["portfolio","portfolio2","horizontal-card","image-card"].includes(e.design)&&(t=e.accentColor);var a=function(e){return(e||"").replace(/\.ugb-blog-posts__category-list/g,".ugb-blog-posts__category").replace(/\.ugb-blog-posts__read_more/g,".ugb-blog-posts__readmore").replace(/\.ugb-blog-posts__side/g,".ugb-blog-posts__content")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(n,!0).forEach(function(t){ae(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:a(e.customCSS),customCSSCompiled:a(e.customCSSCompiled),numberOfItems:e.postsToShow,categoryHighlighted:["portfolio","portfolio2","horizontal-card","image-card"].includes(e.design),metaColor:n,categoryColor:t,showImage:e.displayFeaturedImage,showTitle:e.displayTitle,showDate:e.displayDate,showCategory:e.displayCategory,showComments:e.displayComments,showAuthor:e.displayAuthor,showExcerpt:e.displayExcerpt,showReadmore:e.displayReadMoreLink,readmoreText:e.readMoreText,postType:"post",taxonomyType:"category",taxonomy:e.categories})}}],ie=n(16);function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return se}),n.d(t,"settings",function(){return ue});var ce=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(n,!0).forEach(function(t){le(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:2},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},contentOrder:{type:"string",default:""},numberOfItems:{type:"number",default:6},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},postType:{type:"string",default:"post"},taxonomyType:{type:"string",default:"category"},taxonomy:{type:"string",default:""},postOffset:{type:"number",default:""},postExclude:{type:"string",default:""},postInclude:{type:"string",default:""}},Object(g.j)("column%s"),{showImage:{type:"boolean",default:!0},imageSize:{type:"string",default:""}},Object(g.x)("image%sWidth",{type:"number",default:""}),{},Object(g.x)("image%sHeight",{type:"number",default:""}),{showCategory:{type:"boolean",default:!0}},Object(g.C)("category%s"),{categoryHighlighted:{type:"boolean",default:!1},categoryColor:{type:"string",default:""},categoryHoverColor:{type:"string",default:""}},Object(g.x)("Category%sAlign",{type:"string",default:""}),{showTitle:{type:"boolean",default:!0}},Object(g.C)("title%s"),{titleTag:{type:"string",defualt:""},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""}},Object(g.x)("Title%sAlign",{type:"string",default:""}),{showExcerpt:{type:"boolean",default:!0}},Object(g.C)("excerpt%s"),{excerptLength:{type:"number",default:""},excerptColor:{type:"string",default:""}},Object(g.x)("Excerpt%sAlign",{type:"string",default:""}),{showMeta:{type:"boolean",default:!0},showAuthor:{type:"boolean",default:!0},showDate:{type:"boolean",default:!0},showComments:{type:"boolean",default:!0}},Object(g.C)("meta%s"),{metaColor:{type:"string",default:""},metaSeparator:{type:"string",default:""}},Object(g.x)("Meta%sAlign",{type:"string",default:""}),{showReadmore:{type:"boolean",default:!0},readmoreText:{type:"string",default:""}},Object(g.C)("readmore%s"),{readmoreColor:{type:"string",default:""},readmoreHoverColor:{type:"string",default:""}},Object(g.x)("Readmore%sAlign",{type:"string",default:""}),{},Object(g.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Category","Title","Excerpt","Meta","Readmore"],["","Tablet","Mobile"])),se="ugb/blog-posts",ue={title:Object(i.__)("Posts",o.i18n),description:Object(i.__)("Your latest blog posts. Use this to showcase a few of your posts in your landing pages.",o.i18n),icon:ie.c,category:"layout",keywords:[Object(i.__)("Blog Posts",o.i18n),Object(i.__)("Stackable",o.i18n)],supports:{align:["center","wide","full"],inserter:!o.disabledBlocks.includes(se)},attributes:ce,save:te,edit:ee,deprecated:oe,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0,verticalContentAlign:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(r.applyFilters)("stackable.blog-posts.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),o=n(16),i=n(10),r=n(1),l=n(0),c=n(5);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(c.addFilter)("stackable.count-up.design.no-text-attributes","stackable/count-up",function(e){return Object(i.omit)(e,["title1","title2","title3","title4","countText1","countText2","countText3","countText4","description1","description2","description3","description4"])}),Object(c.addFilter)("stackable.count-up.edit.designs","stackable/count-up",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(l.__)("Corporate Light 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-countup-design-corporate-light-01.jpg",attributes:{columns:3,iconColor:"#eeffb5",numberFontFamily:"Roboto Condensed",numberFontWeight:"bold",numberFontSize:58,numberColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#ff550a",blockBackgroundBackgroundColor2:"#ffb20b",blockBackgroundBackgroundGradientDirection:40,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleColor:"#ffffff",blockDescriptionFontFamily:"Serif",blockDescriptionColor:"#ffffff"}},corporateLight2:{label:Object(l.__)("Corporate Light 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-countup-design-corporate-light-02.jpg",attributes:{columns:3,iconColor:"#eeffb5",numberFontFamily:"Roboto Condensed",numberFontWeight:"bold",numberFontSize:58,numberColor:"#1e55d3",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColor:"#6a91eb",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleColor:"#1e55d3",blockDescriptionFontFamily:"Serif",blockDescriptionColor:"#ffffff"}},corporateDark1:{label:Object(l.__)("Corporate Dark 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-countup-design-corporate-dark-01.jpg",attributes:{columns:3,iconColor:"#eeffb5",numberFontFamily:"Roboto Condensed",numberFontWeight:"bold",numberFontSize:58,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#eeffb5",descriptionFontFamily:"Serif",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColor:"#0e2448",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleColor:"#eeffb5",blockDescriptionFontFamily:"Serif"}},corporateDark2:{label:Object(l.__)("Corporate Dark 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-countup-design-corporate-dark-02.jpg",attributes:{columns:3,iconColor:"#eeffb5",numberFontFamily:"Roboto Condensed",numberFontWeight:"bold",numberFontSize:58,numberColor:"#06c19d",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColor:"#2f2f2f",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleColor:"#06c19d",blockDescriptionFontFamily:"Serif"}}})});var b=function(e){return"serif"===e?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':"monospace"===e?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},p=n(8),g=n.n(p),m=n(6);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=[{attributes:{columns:{type:"number",default:4},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},title1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__title",default:Object(l.__)("Title")},title2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__title",default:Object(l.__)("Title")},title3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__title",default:Object(l.__)("Title")},title4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__title",default:Object(l.__)("Title")},countText1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__description",default:Object(l.__)("Description")},description2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__description",default:Object(l.__)("Description")},description3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__description",default:Object(l.__)("Description")},description4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__description",default:Object(l.__)("Description")},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},countFont:{type:"string",default:"theme"},countFontWeight:{type:"string",default:"400"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},title:{type:"string"},counter:{type:"string"},des:{type:"string"},fontSize:{type:"number"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},save:function(e){var t,n=e.className,o=e.attributes,i=o.columns,r=o.backgroundColorType,l=void 0===r?"":r,s=o.backgroundColor,u=o.backgroundColor2,p=o.backgroundColorDirection,d=void 0===p?0:p,v=o.backgroundType,y=void 0===v?"":v,w=o.backgroundImageURL,O=o.fixedBackground,k=o.backgroundOpacity,_=void 0===k?5:k,j=o.textColor,C=o.countColor,x=o.countSize,E=o.contentWidth,S=o.design,B=void 0===S?"plain":S,T=o.align,A=o.borderRadius,N=void 0===A?12:A,P=o.shadow,F=void 0===P?3:P,R=o.countFont,D=o.countFontWeight,M=Object(c.applyFilters)("stackable.count-up.edit.show_1_15_4",{background:"plain"!==B},B,e),z="basic"===B,I=g()([n.split(" ").filter(function(e){return"ugb-count-up"!==e}),"ugb-countup","ugb-countup--v3","ugb-countup--columns-".concat(i),"ugb--background-opacity-"+1*Math.round(_/1)],Object(c.applyFilters)("stackable.count-up.mainclasses_1_15_4",(h(t={"ugb--has-background-image":w},"ugb--content-width","full"===T&&E),h(t,"ugb-countup--design-".concat(B),"plain"!==B),h(t,"ugb--shadow-".concat(F),"basic"===B&&3!==F),h(t,"ugb--has-background-gradient","basic"===B&&"gradient"===l),h(t,"ugb--has-background-video","basic"===B&&"video"===y),t),B,e)),L=z?{backgroundColor:s||void 0,backgroundImage:w?"url(".concat(w,")"):void 0,"--ugb-background-color":w||"gradient"===l?s:void 0,"--ugb-background-color2":"gradient"===l&&u?u:void 0,"--ugb-background-direction":"gradient"===l?"".concat(d,"deg"):void 0,borderRadius:12!==N?N:void 0}:{},U=Object(c.applyFilters)("stackable.count-up.mainstyle_1_15_4",f({backgroundAttachment:O?"fixed":void 0},L),B,e),H={color:C||void 0,fontSize:x?x+"px":void 0,fontWeight:D||void 0};return R&&"theme"!==R&&(H.fontFamily=b(R)),wp.element.createElement("div",{className:I,style:U},M.background&&"video"===y&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:w}),Object(c.applyFilters)("stackable.count-up.save.output.before_1_15_4",null,B,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},Object(a.Y)(1,i+1).map(function(t){var n=o["title".concat(t)],a=o["description".concat(t)],i=o["countText".concat(t)],r=!m.RichText.isEmpty(n)&&wp.element.createElement(m.RichText.Content,{tagName:"h4",className:"ugb-countup__title",style:{color:j||void 0},value:n}),l=!m.RichText.isEmpty(i)&&wp.element.createElement(m.RichText.Content,{tagName:"div",className:"ugb-countup__counter",style:H,value:i,"data-duration":"1000","data-delay":"16"}),s=!m.RichText.isEmpty(a)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-countup__description",style:{color:j||void 0},value:a}),u={i:t,titleComp:r,countComp:l,descriptionComp:s};return Object(c.applyFilters)("stackable.count-up.save.output_1_15_4",wp.element.createElement("div",{className:"ugb-countup__item",key:t},r,l,s),u,t,e)})))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-countup([\s\{\[\.\#\:])/g,".ugb-count-up$1")};return f({},e,{columns:e.columns?e.columns:4,columnBackgroundColorType:e.backgroundColorType?e.backgroundColorType:void 0,columnBackgroundColor:e.backgroundColor?e.backgroundColor:void 0,columnBackgroundColor2:e.backgroundColor2?e.backgroundColor2:void 0,columnBackgroundGradientDirection:e.backgroundColorDirection?e.backgroundColorDirection:void 0,columnBackgroundMediaID:e.backgroundImageID?e.backgroundImageID:void 0,columnBackgroundMediaURL:e.backgroundImageURL?e.backgroundImageURL:void 0,columnBackgroundTintStrength:e.backgroundOpacity?e.backgroundOpacity:void 0,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,numberColor:e.countColor?e.countColor:void 0,numberFontSize:e.countSize?e.countSize:void 0,numberFontFamily:"theme"===e.countFont?"":e.countFont?e.countFont:void 0,numberFontWeight:e.countFontWeight?e.countFontWeight:void 0,titleColor:e.textColor?e.textColor:void 0,descriptionColor:e.textColor?e.textColor:void 0,showBlockBackground:"full"===e.align&&"basic"===e.design||void 0,blockInnerWidth:"full"!==e.align?void 0:!0===e.contentWidth?"center":"full",customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:{columns:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},title1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) h4",default:"Title"},title2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) h4",default:"Title"},title3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) h4",default:"Title"},title4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) h4",default:"Title"},countText1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) .ugb-counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) .ugb-counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) .ugb-counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) .ugb-counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) p",default:"Description"},description2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) p",default:"Description"},description3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) p",default:"Description"},description4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) p",default:"Description"},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},countFont:{type:"string",default:"theme"},countFontWeight:{type:"string",default:"400"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},title:{source:"html",selector:"h4"},counter:{source:"html",selector:".ugb-counter"},des:{source:"html",selector:"p"},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},save:function(e){var t,n=e.className,o=e.attributes,i=o.columns,r=o.backgroundColor,l=o.backgroundImageURL,c=o.fixedBackground,s=o.backgroundOpacity,u=void 0===s?5:s,p=o.textColor,d=o.countColor,f=o.countSize,v=o.contentWidth,y=o.design,w=o.align,O=o.borderRadius,k=o.shadow,_=o.countFont,j=o.countFontWeight,C=g()([n,"ugb-countup","ugb-countup-v3","columns-".concat(i),"ugb-has-background-opacity-"+1*Math.round(u/1)],(h(t={"ugb-has-background-image":l},"ugb-content-width","full"===w&&v),h(t,"ugb-design-".concat(y),"plain"!==y),h(t,"ugb-shadow-".concat(k),"plain"!==y&&3!==k),t)),x={backgroundColor:"plain"!==y&&r?r:void 0,backgroundImage:"plain"!==y&&l?"url(".concat(l,")"):void 0,backgroundAttachment:c?"fixed":void 0,"--ugb-background-color":"plain"!==y&&l?r:void 0,borderRadius:"plain"!==y&&12!==O?O:void 0},E={color:d||void 0,fontSize:f?f+"px":void 0,fontWeight:j||void 0};return _&&"theme"!==_&&(E.fontFamily=b(_)),wp.element.createElement("div",{className:C,style:x},wp.element.createElement("div",{className:"ugb-content-wrapper"},Object(a.Y)(1,i+1).map(function(e){var t=o["title".concat(e)],n=o["description".concat(e)],a=o["countText".concat(e)];return wp.element.createElement("div",{className:"ugb-countup-item",key:e},!m.RichText.isEmpty(t)&&wp.element.createElement(m.RichText.Content,{tagName:"h4",style:{color:p||void 0},value:t}),!m.RichText.isEmpty(a)&&wp.element.createElement(m.RichText.Content,{tagName:"div",className:"ugb-counter",style:E,value:a,"data-duration":"1000","data-delay":"16"}),!m.RichText.isEmpty(n)&&wp.element.createElement(m.RichText.Content,{tagName:"p",style:{color:p||void 0},value:n}))})))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return f({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{columns:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},title1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) h4",default:"Stat Title"},title2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) h4",default:"Stat Title"},title3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) h4",default:"Stat Title"},title4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) h4",default:"Stat Title"},countText1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) .ugb-counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) .ugb-counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) .ugb-counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) .ugb-counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) p",default:"stat description"},description2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) p",default:"stat description"},description3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) p",default:"stat description"},description4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) p",default:"stat description"},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},title:{source:"html",selector:"h4",default:"Happy Customers"},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:"and counting"},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},save:function(e){var t=e.className,n=e.attributes,o=n.columns,i=n.backgroundColor,r=n.backgroundImageURL,l=n.fixedBackground,c=n.backgroundOpacity,s=void 0===c?5:c,u=n.textColor,b=n.countColor,p=n.countSize,d=g()([t,"ugb-countup","ugb-countup-v2","columns-".concat(o),"ugb-has-background-opacity-"+1*Math.round(s/1)],{"ugb-has-background":i||r,"ugb-has-background-image":r}),f={backgroundColor:i||void 0,backgroundImage:r?"url(".concat(r,")"):void 0,backgroundAttachment:l?"fixed":void 0,"--ugb-background-color":r?i:void 0};return wp.element.createElement("div",{className:d,style:f},Object(a.Y)(1,o+1).map(function(e){var t=n["title".concat(e)],a=n["description".concat(e)],o=n["countText".concat(e)];return wp.element.createElement("div",{className:"ugb-countup-item",key:e},!m.RichText.isEmpty(t)&&wp.element.createElement(m.RichText.Content,{tagName:"h4",style:{color:u||void 0},value:t}),!m.RichText.isEmpty(o)&&wp.element.createElement(m.RichText.Content,{tagName:"div",className:"ugb-counter",style:{color:b||void 0,fontSize:p?p+"px":void 0},value:o,"data-duration":"1000","data-delay":"16"}),!m.RichText.isEmpty(a)&&wp.element.createElement(m.RichText.Content,{tagName:"p",style:{color:u||void 0},value:a}))}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return f({},e,{design:e.backgroundColor?"basic":"plain",borderRadius:12,shadow:3,contentWidth:!1,countFont:"theme",countFontWeight:"400",className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{title:{source:"html",selector:"h4",default:"Happy Customers"},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:"and counting"},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},save:function(e){var t=e.className,n=e.attributes,a=n.color,o=n.headingColor,i=n.desColor,r=n.title,l=n.counter,c=n.des,s=n.fontSize,u=g()([t,"ugb-countup"]);return wp.element.createElement("div",{className:u},wp.element.createElement(m.RichText.Content,{tagName:"h4",style:{color:o},value:r}),wp.element.createElement(m.RichText.Content,{tagName:"div",className:"ugb-counter",style:{color:a,fontSize:s+"px"},value:l,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(m.RichText.Content,{tagName:"p",style:{color:i},value:c}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return{columns:1,title1:e.title,description1:e.des,countText1:e.counter,textColor:e.headingColor,countColor:e.color,countSize:e.fontSize,className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align}}}],y=n(3),w=n(11),O=function(e){var t=e.attributes.design,n=void 0===t?"plain":t;return Object(c.applyFilters)("stackable.count-up.show",{columnBackground:"boxed"===n},e)},k=n(15),_=n.n(k);function j(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(n,!0).forEach(function(t){E(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(e){var t=Object(a.b)(e.attributes),n=O(e),o=[];o.push({".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("contentAlign")},tablet:{".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("mobileContentAlign")}}}),n.columnBackground&&o.push({".ugb-countup__item":{borderRadius:t("borderRadius","%spx !important")}});o.push(x({},n.columnBackground?Object(a.l)("column%s","ugb-countup__item",e.attributes,{importantBackgroundColor:!0}):{}));var i=e.attributes,r=i.showIcon,l=void 0!==r&&r,c=i.showNumber,s=void 0===c||c,u=i.showTitle,b=void 0===u||u,p=i.showDescription,g=void 0===p||p;l&&o.push.apply(o,j(Object(a.y)(".ugb-countup__icon","icon%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s&&o.push.apply(o,j(Object(a.y)(".ugb-countup__counter","number%sBottomMargin","marginBottom","%spx",e.attributes,!0))),b&&o.push.apply(o,j(Object(a.y)(".ugb-countup__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),g&&o.push.apply(o,j(Object(a.y)(".ugb-countup__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0)));var m=e.attributes,d=m.iconColor,f=void 0===d?"":d,h=m.columnBackgroundColor,v=void 0===h?"":h,y=m.showBlockBackground,w=void 0!==y&&y,k=m.blockBackgroundBackgroundColor,C=void 0===k?"":k,E=m.iconAlign,S=void 0===E?"":E,B=m.contentAlign,T=void 0===B?"":B,A=m.iconTabletAlign,N=void 0===A?"":A,P=m.tabletContentAlign,F=void 0===P?"":P,R=m.iconMobileAlign,D=void 0===R?"":R,M=m.mobileContentAlign,z=void 0===M?"":M;l&&o.push({".ugb-countup__icon":{textAlign:Object(a.c)(t("iconAlign"))},".ugb-countup__icon svg":{color:Object(a.gb)(f,n.columnBackground?v:w?C:""),height:Object(a.c)(t("iconSize","%spx")),width:Object(a.c)(t("iconSize","%spx")),marginLeft:""!==S||""!==T?Object(a.c)(Object(a.T)(S||T)):void 0,marginRight:""!==S||""!==T?Object(a.c)(Object(a.U)(S||T)):void 0},tablet:{".ugb-countup__icon":{textAlign:Object(a.c)(N)},".ugb-countup__icon svg":{height:t("iconTabletSize","%spx"),width:t("iconTabletSize","%spx"),marginLeft:""!==N||""!==F?Object(a.c)(Object(a.T)(N||F)):void 0,marginRight:""!==N||""!==F?Object(a.c)(Object(a.U)(N||F)):void 0}},mobile:{".ugb-countup__icon":{textAlign:Object(a.c)(D)},".ugb-countup__icon svg":{height:t("iconMobileSize","%spx"),width:t("iconMobileSize","%spx"),marginLeft:""!==D||""!==z?Object(a.c)(Object(a.T)(D||z)):void 0,marginRight:""!==D||""!==z?Object(a.c)(Object(a.U)(D||z)):void 0}}});var I=e.attributes.titleColor,L=void 0===I?"":I;b&&o.push({".ugb-countup__title":x({},Object(a.D)("title%s","desktop",e.attributes),{color:Object(a.gb)(L,n.columnBackground?v:w?C:""),textAlign:t("titleAlign")}),tablet:{".ugb-countup__title":x({},Object(a.D)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")})},mobile:{".ugb-countup__title":x({},Object(a.D)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")})}});var U=e.attributes.numberColor,H=void 0===U?"":U;s&&o.push({".ugb-countup__counter":x({},Object(a.D)("number%s","desktop",e.attributes,{importantSize:!0}),{color:Object(a.gb)(H,n.columnBackground?v:w?C:""),textAlign:t("numberAlign")}),tablet:{".ugb-countup__counter":x({},Object(a.D)("number%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("numberTabletAlign")})},mobile:{".ugb-countup__counter":x({},Object(a.D)("number%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("numberMobileAlign")})}});var W=e.attributes.descriptionColor,G=void 0===W?"":W;return g&&o.push({".ugb-countup__description":x({},Object(a.D)("description%s","desktop",e.attributes),{color:Object(a.gb)(G,n.columnBackground?v:w?C:""),textAlign:t("descriptionAlign")}),tablet:{".ugb-countup__description":x({},Object(a.D)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")})},mobile:{".ugb-countup__description":x({},Object(a.D)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")})}}),_.a.all(o)},B=n(284),T=n.n(B),A=n(285),N=n.n(A),P=n(9),F=n(12),R=n(7);function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(c.addFilter)("stackable.count-up.edit.inspector.layout.before","stackable/count-up",function(e,t){var n=t.setAttributes,a=t.attributes.design,o=void 0===a?"basic":a;return wp.element.createElement(R.Fragment,null,e,wp.element.createElement(y.z,{initialOpen:!0,selected:o,options:Object(c.applyFilters)("stackable.count-up.edit.layouts",[{label:Object(l.__)("Plain",r.i18n),value:"plain",image:T.a},{label:Object(l.sprintf)(Object(l._x)("%s %d","Nth Title",r.i18n),Object(l.__)("Plain",r.i18n),2),value:"plain-2",image:N.a}]),onChange:function(e){return n({design:e})}},r.showProNotice&&wp.element.createElement(y.cb,null)))}),Object(c.addFilter)("stackable.count-up.edit.inspector.style.before","stackable/count-up",function(e,t){var n=t.setAttributes,o=t.attributes,c=o.columns,s=o.borderRadius,u=void 0===s?"":s,b=o.shadow,p=void 0===b?"":b,g=o.showNumber,m=void 0===g||g,d=o.showTitle,f=void 0===d||d,h=o.showDescription,v=void 0===h||h,w=o.showIcon,k=void 0!==w&&w,_=o.numberColor,j=void 0===_?"":_,C=o.titleTag,x=void 0===C?"":C,E=o.titleColor,S=void 0===E?"":E,B=o.descriptionColor,T=void 0===B?"":B,A=o.iconColor,N=void 0===A?"":A,F=O(t);return wp.element.createElement(R.Fragment,null,e,wp.element.createElement(P.PanelBody,{title:Object(l.__)("General",r.i18n)},wp.element.createElement(y.b,{label:Object(l.__)("Columns",r.i18n),value:c,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),F.columnBackground&&wp.element.createElement(y.b,{label:Object(l.__)("Border Radius",r.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),F.columnBackground&&wp.element.createElement(y.b,{label:Object(l.__)("Shadow / Outline",r.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(y.t,{setAttributes:n,blockAttributes:t.attributes})),F.columnBackground&&wp.element.createElement(y.Y,{title:Object(l.__)("Column Background",r.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(y.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(y.Y,{title:Object(l.__)("Icon",r.i18n),id:"icon",checked:k,onChange:function(e){return n({showIcon:e})},toggleOnSetAttributes:["icon1","icon2","icon3","icon4","iconColor"].concat(M(Object(a.w)("icon%sSize")),M(Object(a.w)("icon%sAlign"))),toggleAttributeName:"showIcon"},Object(i.range)(1,c+1).map(function(e){return wp.element.createElement(y.I,{key:e,label:Object(l.sprintf)(Object(l._x)("%s #%d","Panel title",r.i18n),Object(l.__)("Icon",r.i18n),e),value:t.attributes["icon".concat(e)],onChange:function(t){return n(D({},"icon".concat(e),t))}})}),wp.element.createElement(y.r,{value:N,onChange:function(e){return n({iconColor:e})},label:Object(l.__)("Icon Color",r.i18n)}),wp.element.createElement(y.db,{attrNameTemplate:"icon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Icon Size",r.i18n),min:10,max:200,allowReset:!0,placeholder:"50"})),wp.element.createElement(y.db,{attrNameTemplate:"Icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-icon"}))),wp.element.createElement(y.Y,{title:Object(l.__)("Title",r.i18n),id:"title",checked:f,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(M(Object(a.B)("title%s")),["titleTag","titleColor"],M(Object(a.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.mb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.H,{value:x||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(y.r,{value:S,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",r.i18n)}),wp.element.createElement(y.db,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(y.Y,{title:Object(l.__)("Number",r.i18n),id:"number",checked:m,onChange:function(e){return n({showNumber:e})},toggleOnSetAttributes:[].concat(M(Object(a.B)("number%s")),["numberColor"],M(Object(a.w)("Number%sAlign"))),toggleAttributeName:"showNumber"},wp.element.createElement(y.mb,{attrNameTemplate:"number%s",setAttributes:n,blockAttributes:t.attributes,fontSizeProps:{max:[150,10]}}),wp.element.createElement(y.r,{value:j,onChange:function(e){return n({numberColor:e})},label:Object(l.__)("Number Color",r.i18n)}),wp.element.createElement(y.db,{attrNameTemplate:"Number%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.Y,{title:Object(l.__)("Description",r.i18n),id:"description",checked:v,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(M(Object(a.B)("description%s")),["descriptionColor"],M(Object(a.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(y.mb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.r,{value:T,onChange:function(e){return n({descriptionColor:e})},label:Object(l.__)("Description Color",r.i18n)}),wp.element.createElement(y.db,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.Z,{initialOpen:!1,blockProps:t},k&&wp.element.createElement(y.db,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Icon",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-icon"})),f&&wp.element.createElement(y.db,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Title",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),m&&wp.element.createElement(y.db,{attrNameTemplate:"number%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Number",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),v&&wp.element.createElement(y.db,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Description",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"}))))});var z=Object(F.compose)(w.i,w.g,w.d,Object(w.h)(),Object(w.c)(["Icon%sAlign","Number%sAlign","Title%sAlign","Description%sAlign"]),Object(w.a)(S,{editorMode:!0}),Object(w.b)([[".ugb-container__wrapper","column-background"],[".ugb-countup__icon svg","icon"],[".ugb-countup__title","title"],[".ugb-countup__counter","number"],[".ugb-countup__description","description"]]))(function(e){var t=e.setAttributes,n=e.className,a=e.attributes,o=a.columns,s=a.design,u=void 0===s?"plain":s,b=a.titleTag,p=void 0===b?"":b,d=a.showIcon,f=void 0!==d&&d,h=a.showNumber,v=void 0===h||h,w=a.showTitle,k=void 0===w||w,_=a.showDescription,j=void 0===_||_,C=g()([n,"ugb-countup--v4","ugb-countup--columns-".concat(o)],Object(c.applyFilters)("stackable.count-up.mainclasses",D({},"ugb-countup--design-".concat(u),"plain"!==u),u,e)),x=O(e);return wp.element.createElement(y.j.Edit,{className:C,blockProps:e,render:function(){return wp.element.createElement(R.Fragment,null,Object(i.range)(1,o+1).map(function(n){var o=a["icon".concat(n)],i=a["title".concat(n)],s=a["description".concat(n)],b=a["countText".concat(n)],d=f&&wp.element.createElement("div",{className:"ugb-countup__icon"},wp.element.createElement(y.kb,{value:o,onChange:function(e){return t(D({},"icon".concat(n),e))}})),h=k&&wp.element.createElement(m.RichText,{tagName:p||"h4",className:"ugb-countup__title",value:i,placeholder:Object(l.__)("Title",r.i18n),onChange:function(e){return t(D({},"title".concat(n),e))},keepPlaceholderOnFocus:!0}),w=v&&wp.element.createElement(m.RichText,{tagName:"div",className:"ugb-countup__counter",placeholder:"1,234","data-duration":"1000","data-delay":"16",value:b,onChange:function(e){return t(D({},"countText".concat(n),e))},keepPlaceholderOnFocus:!0}),O=j&&wp.element.createElement(m.RichText,{tagName:"p",className:"ugb-countup__description",placeholder:Object(l.__)("Description",r.i18n),value:s,onChange:function(e){return t(D({},"description".concat(n),e))},keepPlaceholderOnFocus:!0}),_={i:n,iconComp:d,titleComp:h,countComp:w,descriptionComp:O},C=g()(["ugb-countup__item","ugb-countup__item".concat(n)],Object(c.applyFilters)("stackable.count-up.boxclasses",{},u,e));return wp.element.createElement(y.C,{className:C,backgroundAttrName:"column%s",blockProps:e,showBackground:x.columnBackground,key:n},Object(c.applyFilters)("stackable.count-up.save.output",wp.element.createElement(R.Fragment,null,d,"plain-2"===u&&w,h,"plain-2"!==u&&w,O),_,n,e))}))}})});var I=Object(F.compose)(w.i,Object(w.a)(S))(function(e){var t,n,a,o=e.className,r=e.attributes,l=r.columns,s=r.design,u=void 0===s?"plain":s,b=r.titleTag,p=void 0===b?"":b,d=r.showIcon,f=void 0!==d&&d,h=r.showNumber,v=void 0===h||h,w=r.showTitle,k=void 0===w||w,_=r.showDescription,j=void 0===_||_,C=g()([o,"ugb-countup--v4","ugb-countup--columns-".concat(l)],Object(c.applyFilters)("stackable.count-up.mainclasses",(t={},n="ugb-countup--design-".concat(u),a="plain"!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),u,e)),x=O(e);return wp.element.createElement(y.j.Save,{className:C,blockProps:e,render:function(){return wp.element.createElement(R.Fragment,null,Object(i.range)(1,l+1).map(function(t){var n=r["icon".concat(t)],a=r["title".concat(t)],o=r["description".concat(t)],i=r["countText".concat(t)],l=f&&wp.element.createElement("div",{className:"ugb-countup__icon"},wp.element.createElement(y.jb.Content,{value:n})),s=k&&!m.RichText.isEmpty(a)&&wp.element.createElement(m.RichText.Content,{tagName:p||"h4",className:"ugb-countup__title",value:a}),b=v&&!m.RichText.isEmpty(i)&&wp.element.createElement(m.RichText.Content,{tagName:"div",className:"ugb-countup__counter",value:i,"data-duration":"1000","data-delay":"16"}),d=j&&!m.RichText.isEmpty(o)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-countup__description",value:o}),h={i:t,iconComp:l,titleComp:s,countComp:b,descriptionComp:d},w=g()(["ugb-countup__item","ugb-countup__item".concat(t)],Object(c.applyFilters)("stackable.count-up.boxclasses",{},u,e));return wp.element.createElement(y.C,{className:w,backgroundAttrName:"column%s",blockProps:e,showBackground:x.columnBackground,key:t},Object(c.applyFilters)("stackable.count-up.save.output",wp.element.createElement(R.Fragment,null,l,"plain-2"===u&&b,s,"plain-2"!==u&&b,d),h,t,e))}))}})});function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return H}),n.d(t,"name",function(){return W}),n.d(t,"settings",function(){return G});var H=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({title1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__title",default:Object(l.__)("Title",r.i18n)},title2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__title",default:Object(l.__)("Title",r.i18n)},title3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__title",default:Object(l.__)("Title",r.i18n)},title4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__title",default:Object(l.__)("Title",r.i18n)},countText1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__description",default:Object(l.__)("Description",r.i18n)},description2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__description",default:Object(l.__)("Description",r.i18n)},description3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__description",default:Object(l.__)("Description",r.i18n)},description4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__description",default:Object(l.__)("Description",r.i18n)},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},columns:{type:"number",default:2}},Object(a.j)("column%s"),{},Object(a.x)("icon%sBottomMargin",{type:"number",default:""}),{},Object(a.x)("title%sBottomMargin",{type:"number",default:""}),{},Object(a.x)("number%sBottomMargin",{type:"number",default:""}),{},Object(a.x)("description%sBottomMargin",{type:"number",default:""}),{showIcon:{type:"boolean",default:!1},iconColor:{type:"string",default:""}},Object(a.x)("icon%sSize",{type:"number",default:""}),{icon1:{type:"string",default:"fas-cogs"},icon2:{type:"string",default:"fas-hands-helping"},icon3:{type:"string",default:"fas-envelope"},icon4:{type:"string",default:"fas-globe-americas"},showNumber:{type:"boolean",default:!0}},Object(a.C)("number%s"),{numberColor:{type:"string",default:""},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(a.C)("title%s"),{titleColor:{type:"string",default:""},showDescription:{type:"boolean",default:!0}},Object(a.C)("description%s"),{descriptionColor:{type:"string",default:""}},Object(a.h)("%s%sAlign",{type:"string",default:""},["Icon","Number","Title","Description"],["","Tablet","Mobile"]),{},Object(a.h)("Column%s%sColor",{type:"string",default:""},["1","2","3","4"],["Background","Icon"])),W="ugb/count-up",G={title:Object(l.__)("Count Up",r.i18n),description:Object(l.__)("Showcase your stats. Display how many customers you have or the number of downloads of your app.",r.i18n),icon:o.i,category:"common",keywords:[Object(l.__)("Statistics",r.i18n),Object(l.__)("Count Up",r.i18n),Object(l.__)("Stackable",r.i18n)],attributes:H,supports:{align:["center","wide","full"],inserter:!r.disabledBlocks.includes(W)},deprecated:v,edit:z,save:I,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(c.applyFilters)("stackable.count-up.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(1),i=n(0),r=n(5);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(r.addFilter)("stackable.image-box.design.no-text-attributes","stackable/image-box",function(e){return Object(a.omit)(e,["subtitle1","subtitle2","subtitle3","subtitle4","title1","title2","title3","title4","description1","description2","description3","description4"])}),Object(r.addFilter)("stackable.image-box.design.filtered-block-attributes","stackable/image-box",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["link1Url","link2Url","link3Url","link4Url","link1NewTab","link2NewTab","link3NewTab","link4NewTab","link1NoFollow","link2NoFollow","link3NoFollow","link4NoFollow","image1Id"].concat(s(t&&t.image1Id?["image1Url"]:[]),["image2Id"],s(t&&t.image2Id?["image2Url"]:[]),["image3Id"],s(t&&t.image3Id?["image3Url"]:[]),["image4Id"],s(t&&t.image4Id?["image4Url"]:[])))}),Object(r.addFilter)("stackable.image-box.edit.designs","stackable/image-box",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(i.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-image-box-design-corporate-light-01.jpg",attributes:{design:"plain",columns:2,borderRadius:0,image1FullWidth:1200,image1FullHeight:800,image2FullWidth:1200,image2FullHeight:800,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-light-01-01.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-light-01-02.jpg",showOverlay:!0,overlayBackgroundColor:"#ffffff",overlayOpacity:.1,overlayHoverBackgroundColor:"#ffb20b",overlayHoverOpacity:.8,imageHoverEffect:"zoom-in",showSubtitle:!1,subtitleFontFamily:"Roboto Condensed",subtitleFontWeight:"400",subtitleLetterSpacing:.5,subtitleColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",arrowColor:"#728a23",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffffff",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffb20b",blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070"}},corporateLight2:{label:Object(i.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-image-box-design-corporate-light-02.jpg",attributes:{design:"plain",columns:2,borderRadius:0,image1FullWidth:1200,image1FullHeight:800,image2FullWidth:1200,image2FullHeight:800,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-light-02-02.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-dark-01-01.jpg",showOverlay:!0,overlayBackgroundColor:"#c49732",overlayOpacity:.2,overlayHoverBackgroundColor:"#1e55d3",overlayHoverOpacity:.8,imageHoverEffect:"zoom-in",showSubtitle:!1,subtitleFontFamily:"Roboto Condensed",subtitleFontWeight:"400",subtitleLetterSpacing:.5,subtitleColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#c49732",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",arrowColor:"#728a23",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffffff",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#6a91eb",blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070"}},corporateDark1:{label:Object(i.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-image-box-design-corporate-dark-01.jpg",attributes:{design:"plain",columns:2,borderRadius:0,image1FullWidth:1200,image1FullHeight:800,image2FullWidth:2250,image2FullHeight:1500,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-dark-01-02.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-dark-01-01.jpg",showOverlay:!0,overlayBackgroundColor:"#ffffff",overlayOpacity:.3,overlayHoverBackgroundColor:"#c5dfb4",overlayHoverOpacity:.8,imageHoverEffect:"zoom-in",showSubtitle:!1,subtitleFontFamily:"Roboto Condensed",subtitleFontWeight:"400",subtitleLetterSpacing:.5,subtitleColor:"#728a23",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#062a65",descriptionFontFamily:"Serif",descriptionColor:"#707070",arrowColor:"#728a23",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#081831",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#eeffb5",blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center"}},corporateDark2:{label:Object(i.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-image-box-design-corporate-dark-02.jpg",attributes:{design:"plain",columns:2,borderRadius:0,image1FullWidth:1200,image1FullHeight:800,image2FullWidth:1200,image2FullHeight:800,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-dark-02-01.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-dark-02-02.jpg",showOverlay:!0,overlayBackgroundColor:"#ffffff",overlayOpacity:0,overlayHoverBackgroundColor:"#06c19d",overlayHoverOpacity:.8,imageHoverEffect:"zoom-in",showSubtitle:!1,subtitleFontFamily:"Roboto Condensed",subtitleFontWeight:"400",subtitleLetterSpacing:.5,subtitleColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",arrowColor:"#728a23",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#707070",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#06c19d",blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}}})});var u=n(4),b=n.n(u);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=b.a.createElement("path",{d:"M116.8 106.6l50.8-52.7-50.9-52.7c-1.5-1.6-4.1-1.6-5.7-.1-1.6 1.5-1.6 4.1-.1 5.7l41.6 43.1H4c-2.2 0-4 1.7-4 3.9s1.7 4 3.9 4.1h148.7L111 101c-1.5 1.6-1.4 4.1.1 5.6 1.6 1.6 4.1 1.5 5.7 0z"}),m=function(e){return b.a.createElement("svg",p({viewBox:"0 0 167.6 107.8",xmlns:"http://www.w3.org/2000/svg"},e),g)},d=n(2),f=n(8),h=n.n(f),v=n(6);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(n,!0).forEach(function(t){O(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k={align:{type:"string"},columns:{type:"number",default:3},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string"},width:{type:"number",default:400},height:{type:"number",default:400},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},overlayOpacity:{type:"number",default:7},imageHoverEffect:{type:"string",default:""},arrow:{type:"string",default:""},hoverEffect:{type:"string",default:""},full:{type:"boolean"},title:{type:"string"},subtitle:{type:"string"},id:{type:"number"},url:{type:"string"},href:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}};[1,2,3,4].forEach(function(e){k["title".concat(e)]={source:"html",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__title"),default:Object(i.__)("Title",o.i18n)},k["description".concat(e)]={source:"html",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__description"),default:Object(i.__)("Description",o.i18n)},k["imageURL".concat(e)]={type:"string"},k["imageID".concat(e)]={type:"number"},k["link".concat(e)]={type:"string",source:"attribute",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__overlay"),attribute:"href",default:""},k["newTab".concat(e)]={type:"boolean",source:"attribute",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__overlay"),attribute:"target",default:!1}});var _=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){var a,o=n.className,i=n.attributes,l=n.attributes,c=l.titleColor,s=l.subtitleColor,u=l.overlayColor,b=l.height,p=l.width,g=l.verticalAlign,f=l.horizontalAlign,y=l.align,w=l.columns,k=l.design,_=void 0===k?"basic":k,j=l.borderRadius,C=void 0===j?12:j,x=l.shadow,E=void 0===x?3:x,S=l.imageHoverEffect,B=void 0===S?"":S,T=l.overlayOpacity,A=void 0===T?7:T,N=l.arrow,P=void 0===N?"":N,F=h()([o,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(w)],Object(r.applyFilters)("stackable.image-box.mainclasses_1_17_3",(O(a={},"ugb-image-box--design-".concat(_),"basic"!==_),O(a,"ugb-image-box--effect-".concat(B),B),O(a,"ugb-image-box--overlay-".concat(A),7!==A),O(a,"ugb-image-box--arrow",P),a),_,n)),R={textAlign:f||void 0,"--overlay-color":u};return wp.element.createElement("div",{className:F,style:R},Object(r.applyFilters)("stackable.image-box.save.output.before_1_17_3",null,_,n),Object(d.Y)(1,w+1).map(function(a){var o=i["imageURL".concat(a)],l=i["title".concat(a)],u=i["description".concat(a)],d=i["link".concat(a)],k=i["newTab".concat(a)],j={backgroundImage:o?"url(".concat(o,")"):void 0,maxWidth:"wide"!==y&&"full"!==y&&1===w?p:void 0,height:b,textAlign:f,justifyContent:g,borderRadius:C},x=h()(["ugb-image-box__item"],Object(r.applyFilters)("stackable.image-box.itemclasses_1_17_3",O({},"ugb--shadow-".concat(E),3!==E),_,a,n)),S=h()(["ugb-image-box__arrow","ugb-image-box__arrow--align-".concat(P)]);return wp.element.createElement("div",{className:x,style:j,key:a},B&&wp.element.createElement("div",{className:"ugb-image-box__image-effect",style:{backgroundImage:o?"url(".concat(o,")"):void 0}}),wp.element.createElement("a",{className:"ugb-image-box__overlay",href:d,target:k?"_blank":void 0}),wp.element.createElement("div",{className:"ugb-image-box__content"},!v.RichText.isEmpty(l)&&wp.element.createElement(v.RichText.Content,{tagName:"h4",className:"ugb-image-box__title",style:e?{color:c}:void 0,value:l}),!v.RichText.isEmpty(u)&&wp.element.createElement(v.RichText.Content,{tagName:"p",className:"ugb-image-box__description",style:t?{color:s}:void 0,value:u})),P&&d&&wp.element.createElement("div",{className:S},wp.element.createElement(m,{style:{fill:c||void 0}})))}),Object(r.applyFilters)("stackable.image-box.save.output.after_1_17_3",null,_,n))}},j={columns:{type:"number",default:3},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string"},width:{type:"number",default:400},height:{type:"number",default:400},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean"},title:{type:"string"},subtitle:{type:"string"},id:{type:"number"},url:{type:"string"},href:{type:"string"},align:{type:"string"}};[1,2,3,4].forEach(function(e){j["title".concat(e)]={source:"html",selector:".ugb-image-box-wrapper > *:nth-child(".concat(e,") h4"),default:"Title"},j["description".concat(e)]={source:"html",selector:".ugb-image-box-wrapper > *:nth-child(".concat(e,") p"),default:"Description"},j["imageURL".concat(e)]={type:"string"},j["imageID".concat(e)]={type:"number"},j["link".concat(e)]={type:"string",source:"attribute",selector:".ugb-image-box-wrapper > *:nth-child(".concat(e,") a"),attribute:"href"}});var C=function(e){var t=function(e){return(e||"").replace(/\.ugb-image-box__overlay(\s*{)/g,".ugb-image-box__overlay-hover$1")};return w({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),blockWidth:1===e.columns&&"full"!==e.align?e.width:void 0,columnHeight:e.height,columnContentVerticalAlign:e.verticalAlign,contentAlign:e.horizontalAlign,link1Url:e.link1,link2Url:e.link2,link3Url:e.link3,link4Url:e.link4,link1NewTab:e.newTab1,link2NewTab:e.newTab2,link3NewTab:e.newTab3,link4NewTab:e.newTab4,image1Id:e.imageID1,image2Id:e.imageID2,image3Id:e.imageID3,image4Id:e.imageID4,image1Url:e.imageURL1,image2Url:e.imageURL2,image3Url:e.imageURL3,image4Url:e.imageURL4,image1FullUrl:e.imageURL1,image2FullUrl:e.imageURL2,image3FullUrl:e.imageURL3,image4FullUrl:e.imageURL4,imageSize:"full",showOverlay:!1,showOverlayHover:!0,overlayHoverBackgroundColor:e.overlayColor,overlayHoverOpacity:isNaN(parseInt(e.overlayOpacity,10))?.7:parseInt(e.overlayOpacity,10)/10,showArrow:!!e.arrow,arrowAlign:e.arrow?e.arrow:void 0,arrowColor:e.titleColor,descriptionColor:e.subtitleColor,showSubtitle:!1,borderRadius:1===e.columns&&"full"===e.align?0:e.borderRadius,paddingRight:1===e.columns&&"full"===e.align?0:void 0,paddingLeft:1===e.columns&&"full"===e.align?0:void 0})},x=[{attributes:k,save:function(e){var t,n=e.className,a=e.attributes,o=e.attributes,i=o.titleColor,l=o.subtitleColor,c=o.overlayColor,s=o.height,u=o.width,b=o.verticalAlign,p=o.horizontalAlign,g=o.align,f=o.columns,y=o.design,w=void 0===y?"basic":y,k=o.borderRadius,_=void 0===k?12:k,j=o.shadow,C=void 0===j?3:j,x=o.imageHoverEffect,E=void 0===x?"":x,S=o.overlayOpacity,B=void 0===S?7:S,T=o.arrow,A=void 0===T?"":T,N=h()([n,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(f)],Object(r.applyFilters)("stackable.image-box.mainclasses_1_17_3",(O(t={},"ugb-image-box--design-".concat(w),"basic"!==w),O(t,"ugb-image-box--effect-".concat(E),E),O(t,"ugb-image-box--overlay-".concat(B),7!==B),O(t,"ugb-image-box--arrow",A),t),w,e)),P={textAlign:p||void 0,"--overlay-color":c};return wp.element.createElement("div",{className:N,style:P},Object(r.applyFilters)("stackable.image-box.save.output.before_1_17_3",null,w,e),Object(d.Y)(1,f+1).map(function(t){var n=a["imageURL".concat(t)],o=a["title".concat(t)],c=a["description".concat(t)],d=a["link".concat(t)],y=a["newTab".concat(t)],k={backgroundImage:n?"url(".concat(n,")"):void 0,maxWidth:"wide"!==g&&"full"!==g&&1===f?u:void 0,height:s,textAlign:p,justifyContent:b,borderRadius:_},j=h()(["ugb-image-box__item"],Object(r.applyFilters)("stackable.image-box.itemclasses_1_17_3",O({},"ugb--shadow-".concat(C),3!==C),w,t,e)),x=h()(["ugb-image-box__arrow","ugb-image-box__arrow--align-".concat(A)]);return wp.element.createElement("div",{className:j,style:k,key:t},E&&wp.element.createElement("div",{className:"ugb-image-box__image-effect",style:{backgroundImage:n?"url(".concat(n,")"):void 0}}),wp.element.createElement("a",{className:"ugb-image-box__overlay",href:d,target:y?"_blank":void 0}),wp.element.createElement("div",{className:"ugb-image-box__content"},!v.RichText.isEmpty(o)&&wp.element.createElement(v.RichText.Content,{tagName:"h4",className:"ugb-image-box__title",style:{color:i},value:o}),!v.RichText.isEmpty(c)&&wp.element.createElement(v.RichText.Content,{tagName:"p",className:"ugb-image-box__description",style:{color:l},value:c})),A&&d&&wp.element.createElement("div",{className:x},wp.element.createElement(m,{style:{fill:i||void 0}})))}),Object(r.applyFilters)("stackable.image-box.save.output.after_1_17_3",null,w,e))},migrate:C},{attributes:k,save:_(!1,!1),migrate:C},{attributes:k,save:_(!0,!1),migrate:C},{attributes:k,save:_(!1,!0),migrate:C},{attributes:j,save:function(e){var t=e.className,n=e.attributes,a=e.attributes,o=a.titleColor,i=a.subtitleColor,r=a.overlayColor,l=a.height,c=a.width,s=a.verticalAlign,u=a.horizontalAlign,b=a.align,p=a.columns,g=h()([t,"ugb-image-box-wrapper","ugb-image-box-v2","columns-".concat(p)]),m={textAlign:u||void 0,"--overlay-color":r};return wp.element.createElement("div",{className:g,style:m},Object(d.Y)(1,p+1).map(function(e){var t=n["imageURL".concat(e)],a=n["title".concat(e)],r=n["description".concat(e)],g=n["link".concat(e)],m={backgroundImage:t?"url(".concat(t,")"):void 0,maxWidth:"wide"!==b&&"full"!==b&&1===p?c:void 0,height:l,textAlign:u,justifyContent:s};return wp.element.createElement("div",{className:"ugb-image-box",style:m,key:e},wp.element.createElement("a",{href:g}),!v.RichText.isEmpty(a)&&wp.element.createElement(v.RichText.Content,{tagName:"h4",style:{color:o},value:a}),!v.RichText.isEmpty(r)&&wp.element.createElement(v.RichText.Content,{tagName:"p",style:{color:i},value:r}))}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return w({},e,{design:"basic",borderRadius:12,shadow:3,className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align,newTab1:!1,newTab2:!1,newTab3:!1,newTab4:!1})}},{attributes:{title:{source:"html",selector:"h4",default:"Title"},subtitle:{source:"html",selector:"p",default:"Subtitle goes here"},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},save:function(e){var t=e.className,n=e.attributes,a=n.url,o=n.href,i=n.title,r=n.titleColor,l=n.subtitle,c=n.subtitleColor,s=n.overlayColor,u=n.height,b=n.width,p=n.verticalAlign,g=n.horizontalAlign,m=n.full,d=h()([t,"ugb-image-box"],{"has-image":a,"full-width":m,"has-no-content":!i&&!l,"has-content":i||l});return wp.element.createElement("div",{className:d,"data-url":a,style:{width:b+"px",height:u+"px",backgroundImage:"url(".concat(a,")"),alignItems:g,justifyContent:p}},wp.element.createElement("a",{href:o,style:{backgroundColor:s}}),!v.RichText.isEmpty(i)&&wp.element.createElement(v.RichText.Content,{tagName:"h4",style:{color:r},value:i}),!v.RichText.isEmpty(l)&&wp.element.createElement(v.RichText.Content,{tagName:"p",style:{color:c},value:l}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return Object(a.omit)(w({},e,{columns:1,horizontalAlign:"flex-end"===e.horizontalAlign?"right":"flex-start"===e.horizontalAlign?"left":e.horizontalAlign,align:e.full?"wide":"",title1:e.title,description1:e.subtitle,link1:e.href,imageURL1:e.url,imageID1:e.id,className:t||void 0}),["full","title","subtitle","href","url","id"])}},{attributes:{title:{type:"array",source:"children",selector:"h4",default:"Title"},subtitle:{type:"array",source:"children",selector:"p",default:"Subtitle goes here"},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},save:function(e){var t=e.attributes,n=t.url,a=t.title,o=t.titleColor,i=t.subtitle,r=t.subtitleColor,l=t.overlayColor,c=t.height,s=t.width,u=t.verticalAlign,b=t.horizontalAlign,p=n?"has-image":"",g=t.full?"full-width":"",m=a.length||i.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box ".concat(p," ").concat(m," ").concat(g),"data-url":n,style:{width:s+"px",height:c+"px",backgroundImage:"url(".concat(n,")"),alignItems:b,justifyContent:u}},wp.element.createElement("a",{href:"#",style:{backgroundColor:l}}),!v.RichText.isEmpty(a)&&wp.element.createElement(v.RichText.Content,{tagName:"h4",style:{color:o},value:a}),!v.RichText.isEmpty(i)&&wp.element.createElement(v.RichText.Content,{tagName:"p",style:{color:r},value:i}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return w({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}}],E=n(3),S=n(11),B=n(296),T=n.n(B),A=n(297),N=n.n(A),P=n(15),F=n.n(P),R=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showSubtitle,i=void 0===o||o,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showArrow,p=void 0!==b&&b;return Object(r.applyFilters)("stackable.image-box.show",{columnBackground:!0,borderRadius:!0,shadow:!0,line:"box"===a||"line"===a,subtitleSpacing:i,titleSpacing:c,lineSpacing:"line"===a,descriptionSpacing:u,arrowSpacing:p},e)};function D(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(n,!0).forEach(function(t){I(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L=function(e){var t=Object(d.b)(e.attributes),n=R(e),a=[];n.borderRadius&&a.push({".ugb-image-box__box":{borderRadius:Object(d.c)(t("borderRadius","%spx !important"))}}),a.push({".ugb-image-box__item":{height:Object(d.c)(t("columnHeight","%spx"))},tablet:{".ugb-image-box__item":{height:Object(d.c)(t("tabletColumnHeight","%spx"))}},mobile:{".ugb-image-box__item":{height:Object(d.c)(t("mobileColumnHeight","%spx"))}}}),a.push({".ugb-image-box__item":{justifyContent:Object(d.c)(t("columnContentVerticalAlign"))},tablet:{".ugb-image-box__item":{justifyContent:Object(d.c)(t("columnContentTabletVerticalAlign"))}},mobile:{".ugb-image-box__item":{justifyContent:Object(d.c)(t("columnContentMobileVerticalAlign"))}}}),a.push({".ugb-image-box__item1 .ugb-image-box__image":{backgroundImage:t("image1Url","url(%s)")},".ugb-image-box__item2 .ugb-image-box__image":{backgroundImage:t("image2Url","url(%s)")},".ugb-image-box__item3 .ugb-image-box__image":{backgroundImage:t("image3Url","url(%s)")},".ugb-image-box__item4 .ugb-image-box__image":{backgroundImage:t("image4Url","url(%s)")},".ugb-image-box__image":{backgroundPosition:Object(d.c)(t("imageBackgroundPosition")),backgroundRepeat:Object(d.c)(t("imageBackgroundRepeat")),backgroundSize:Object(d.c)(t("imageBackgroundSize"))}});var o=e.attributes.showOverlay;void 0!==o&&o&&a.push({".ugb-image-box__overlay":z({},Object(d.m)("overlay%s","desktop",e.attributes,{importantBackgroundColor:!0}),{},Object(d.k)("overlay%s","desktop",e.attributes,{importantBackgroundColor:!0})),".ugb-image-box__item:not(:hover) .ugb-image-box__overlay":{opacity:Object(d.c)(t("overlayOpacity"))}});var i=e.attributes.showOverlayHover;void 0!==i&&i&&a.push({".ugb-image-box__overlay-hover":z({},Object(d.m)("overlayHover%s","desktop",e.attributes,{importantBackgroundColor:!0}),{},Object(d.k)("overlayHover%s","desktop",e.attributes,{importantBackgroundColor:!0})),".ugb-image-box__item:hover .ugb-image-box__overlay-hover":{opacity:Object(d.c)(t("overlayHoverOpacity"))}});var r=e.attributes.showSubtitle;(void 0===r||r)&&a.push({".ugb-image-box__subtitle":z({},Object(d.D)("subtitle%s","desktop",e.attributes,{importantSize:!0}),{color:Object(d.c)(t("subtitleColor")),textAlign:t("subtitleAlign","%s !important")}),tablet:{".ugb-image-box__subtitle":z({},Object(d.D)("subtitle%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("subtitleTabletAlign","%s !important")})},mobile:{".ugb-image-box__subtitle":z({},Object(d.D)("subtitle%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("subtitleMobileAlign","%s !important")})}});var l=e.attributes.showTitle;(void 0===l||l)&&a.push({".ugb-image-box__title":z({},Object(d.D)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(d.c)(t("titleColor")),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-image-box__title":z({},Object(d.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-image-box__title":z({},Object(d.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var c=e.attributes.showDescription;(void 0===c||c)&&a.push({".ugb-image-box__description":z({},Object(d.D)("description%s","desktop",e.attributes,{importantSize:!0}),{color:Object(d.c)(t("descriptionColor")),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-image-box__description":z({},Object(d.D)("description%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-image-box__description":z({},Object(d.D)("description%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("descriptionMobileAlign","%s !important")})}});var s=e.attributes.showArrow;return void 0!==s&&s&&(a.push({".ugb-image-box__arrow svg":{fill:Object(d.c)(t("arrowColor"))}}),a.push.apply(a,D(Object(d.y)(".ugb-image-box__arrow svg","arrow%sSize","width","%spx",e.attributes,!0))),a.push.apply(a,D(Object(d.y)(".ugb-image-box__arrow","arrow%sAlign","textAlign","%s",e.attributes,!0)))),n.subtitleSpacing&&a.push.apply(a,D(Object(d.y)(".ugb-image-box__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.titleSpacing&&a.push.apply(a,D(Object(d.y)(".ugb-image-box__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&a.push.apply(a,D(Object(d.y)(".ugb-image-box__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.arrowSpacing&&a.push.apply(a,D(Object(d.y)(".ugb-image-box__arrow","arrow%sBottomMargin","marginBottom","%spx",e.attributes,!0))),F.a.all(a)},U=n(9),H=n(7),W=n(12),G=n(14);function V(e){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function X(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(r.addFilter)("stackable.image-box.edit.inspector.layout.before","stackable/image-box",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"basic":a;return wp.element.createElement(H.Fragment,null,e,wp.element.createElement(E.z,{initialOpen:!0,selected:l,options:[{image:T.a,label:Object(i.__)("Basic",o.i18n),value:"basic"},{image:N.a,label:Object(i.__)("Plain",o.i18n),value:"plain"}].concat($(Object(r.applyFilters)("stackable.image-box.edit.layouts",[]))),onChange:function(e){n({design:e})}},o.showProNotice&&wp.element.createElement(E.cb,null)))}),Object(r.addFilter)("stackable.image-box.edit.inspector.style.before","stackable/image-box",function(e,t){var n=t.setAttributes,a=t.attributes,l=a.design,c=void 0===l?"basic":l,s=a.columns,u=void 0===s?3:s,b=a.titleColor,p=a.descriptionColor,g=a.borderRadius,m=void 0===g?"":g,f=a.shadow,h=void 0===f?"":f,v=a.showTitle,y=void 0===v||v,w=a.showDescription,O=void 0===w||w,k=a.titleTag,_=void 0===k?"":k,j=a.image1Id,C=void 0===j?"":j,x=a.image2Id,S=void 0===x?"":x,B=a.image3Id,T=void 0===B?"":B,A=a.image4Id,N=void 0===A?"":A,P=a.imageHoverEffect,F=void 0===P?"":P,D=a.showOverlay,M=void 0!==D&&D,z=a.showOverlayHover,I=void 0===z||z,L=a.overlayOpacity,W=void 0===L?.7:L,G=a.overlayHoverOpacity,V=void 0===G?.7:G,q=a.showSubtitle,Y=void 0===q||q,K=a.subtitleColor,X=void 0===K?"":K,J=a.lineColor,Z=void 0===J?"":J,Q=a.lineSize,ee=void 0===Q?"":Q,te=a.showArrow,ne=void 0!==te&&te,ae=a.arrowColor,oe=void 0===ae?"":ae,ie=R(t);return wp.element.createElement(H.Fragment,null,e,wp.element.createElement(U.PanelBody,{title:Object(i.__)("General",o.i18n)},wp.element.createElement(E.b,{label:Object(i.__)("Columns",o.i18n),value:u,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),wp.element.createElement(E.db,{attrNameTemplate:"%sColumnHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Height",o.i18n),min:"100",max:"700",allowReset:!0,placeholder:"350",className:"ugb--help-tip-image-box-height"})),ie.borderRadius&&wp.element.createElement(E.b,{label:Object(i.__)("Border Radius",o.i18n),value:m,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),ie.shadow&&wp.element.createElement(E.b,{label:Object(i.__)("Shadow / Outline",o.i18n),value:h,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(E.db,{attrNameTemplate:"columnContent%sVerticalAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.d,{label:Object(i.__)("Content Vertical Align",o.i18n),controls:"flex-vertical",className:"ugb--help-tip-advanced-column-content-vertical-align"})),wp.element.createElement(E.t,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(U.PanelBody,{title:Object(i.__)("Image",o.i18n),initialOpen:!1},wp.element.createElement(E.N,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeImage:null,onChangeSize:function(e){n({imageSize:e,image1Url:Object(d.J)(C,e||"large"),image2Url:Object(d.J)(S,e||"large"),image3Url:Object(d.J)(T,e||"large"),image4Url:Object(d.J)(N,e||"large")})}})),wp.element.createElement(E.Y,{title:Object(i.__)("Overlay Color",o.i18n),checked:M,onChange:function(e){return n({showOverlay:e})},toggleOnSetAttributes:[].concat($(Object(d.i)("overlay%s")),["overlayOpacity"]),toggleAttributeName:"showOverlay",className:"ugb--help-tip-image-box-overlay"},wp.element.createElement(E.g,{attrNameTemplate:"overlay%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(i.__)("Overlay Color Type",o.i18n),labelBackgroundColor:Object(i.__)("Overlay Color",o.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(E.b,{label:Object(i.__)("Opacity",o.i18n),value:W,onChange:function(e){return n({overlayOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(E.Y,{title:Object(i.__)("Overlay Hover Color",o.i18n),checked:I,onChange:function(e){return n({showOverlayHover:e})},toggleOnSetAttributes:[].concat($(Object(d.i)("overlayHover%s")),["overlayHoverOpacity"]),toggleAttributeName:"showOverlayHover",className:"ugb--help-tip-image-box-overlay-hover"},wp.element.createElement(E.g,{attrNameTemplate:"overlayHover%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(i.__)("Overlay Color Type",o.i18n),labelBackgroundColor:Object(i.__)("Overlay Color",o.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(E.b,{label:Object(i.__)("Opacity",o.i18n),value:V,onChange:function(e){return n({overlayHoverOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(U.PanelBody,{title:Object(i.__)("Effects",o.i18n),initialOpen:!1},wp.element.createElement(U.SelectControl,{label:Object(i.__)("Image Hover Effect",o.i18n),options:Object(r.applyFilters)("stackable.image-box.edit.image-hover-effects",[{label:Object(i.__)("None",o.i18n),value:""},{label:Object(i.__)("Zoom In",o.i18n),value:"zoom-in"},{label:Object(i.__)("Zoom Out",o.i18n),value:"zoom-out"}]),value:F,onChange:function(e){return n({imageHoverEffect:e})},className:"ugb--help-tip-image-box-hover-effect"}),Object(r.applyFilters)("stackable.image-box.edit.panel.image-hover-effects",null,t),o.showProNotice&&wp.element.createElement(E.cb,{type:"effect"})),ie.line&&wp.element.createElement(E.Y,{title:Object(i.__)("Line",o.i18n),hasToggle:!1},wp.element.createElement(E.r,{value:Z,onChange:function(e){return n({lineColor:e})},label:Object(i.__)("Color",o.i18n)}),wp.element.createElement(E.b,{label:Object(i.__)("Size",o.i18n),min:"0",max:"10",value:ee,onChange:function(e){return n({lineSize:e})},allowReset:!0,placeholder:"box"===c?1:12})),wp.element.createElement(E.Y,{title:Object(i.__)("Subtitle",o.i18n),id:"subtitle",checked:Y,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat($(Object(d.B)("subtitle%s")),["subtitleColor"],$(Object(d.w)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(E.mb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(E.r,{value:X,onChange:function(e){return n({subtitleColor:e})},label:Object(i.__)("Subtitle Color",o.i18n)}),wp.element.createElement(E.db,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-image-box-subtitle-align"}))),wp.element.createElement(E.Y,{title:Object(i.__)("Title",o.i18n),id:"title",checked:y,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat($(Object(d.B)("title%s")),["titleTag","titleColor"],$(Object(d.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(E.mb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(E.H,{value:_||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(E.r,{value:b,onChange:function(e){return n({titleColor:e})},label:Object(i.__)("Title Color",o.i18n)}),wp.element.createElement(E.db,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-image-box-title-align"}))),wp.element.createElement(E.Y,{title:Object(i.__)("Description",o.i18n),id:"description",checked:O,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat($(Object(d.B)("description%s")),["descriptionColor"],$(Object(d.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(E.mb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(E.r,{value:p,onChange:function(e){return n({descriptionColor:e})},label:Object(i.__)("Description Color",o.i18n)}),wp.element.createElement(E.db,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-image-box-description-align"}))),wp.element.createElement(E.Y,{title:Object(i.__)("Arrow",o.i18n),id:"arrow",checked:ne,onChange:function(e){return n({showArrow:e})},toggleOnSetAttributes:["arrowColor"].concat($(Object(d.w)("Arrow%sSize")),$(Object(d.w)("Arrow%sAlign"))),toggleAttributeName:"showArrow"},wp.element.createElement(E.r,{value:oe,onChange:function(e){return n({arrowColor:e})},label:Object(i.__)("Color",o.i18n)}),wp.element.createElement(E.db,{attrNameTemplate:"Arrow%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Size",o.i18n),min:"0",max:"50",allowReset:!0})),wp.element.createElement(E.db,{attrNameTemplate:"Arrow%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-image-box-arrow-align"}))),wp.element.createElement(E.Z,{initialOpen:!1,blockProps:t},ie.subtitleSpacing&&wp.element.createElement(E.db,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Subtitle",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-subtitle-spacing"})),ie.titleSpacing&&wp.element.createElement(E.db,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Title",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-title-spacing"})),ie.lineSpacing&&wp.element.createElement(E.db,{attrNameTemplate:"line%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Line",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-line-spacing"})),ie.descriptionSpacing&&wp.element.createElement(E.db,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Description",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-description-spacing"})),ie.arrowSpacing&&wp.element.createElement(E.db,{attrNameTemplate:"arrow%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Arrow",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-arrow-spacing"}))))});var Z=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=K(t).apply(this,arguments))||"object"!==V(a)&&"function"!=typeof a?X(n):a).state={selectedBox:null},e.handleFocusOutside=e.handleFocusOutside.bind(X(e)),e}var n,l,c;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J(e,t)}(t,H["Component"]),n=t,(l=[{key:"handleFocusOutside",value:function(){this.setState({selectedBox:null})}},{key:"render",value:function(){var e,t=this,n=this.props,l=n.className,c=n.setAttributes,s=n.attributes,u=s.columns,b=void 0===u?3:u,p=s.contentAlign,g=void 0===p?"":p,d=s.design,f=void 0===d?"basic":d,y=s.shadow,w=void 0===y?"":y,O=s.imageSize,k=void 0===O?"large":O,_=s.imageHoverEffect,j=void 0===_?"":_,C=s.showSubtitle,x=void 0===C||C,S=s.showTitle,B=void 0===S||S,T=s.showDescription,A=void 0===T||T,N=s.showArrow,P=void 0!==N&&N,F=s.titleTag,D=void 0===F?"":F,M=s.showOverlay,z=void 0!==M&&M,I=s.showOverlayHover,L=void 0===I||I,U=h()([l,"ugb-image-box--v4","ugb-image-box--columns-".concat(b),"ugb-image-box--design-".concat(f)],Object(r.applyFilters)("stackable.image-box.mainclasses",(q(e={},"ugb-image-box--effect-".concat(j),j),q(e,"ugb-image-box--with-arrow",P),q(e,"ugb-image-box--align-".concat(g),g),e),this.props)),W=R(this.props);return wp.element.createElement(E.j.Edit,{className:U,blockProps:this.props,render:function(){return wp.element.createElement(H.Fragment,null,Object(a.range)(1,b+1).map(function(e){var n=h()(["ugb-image-box__item","ugb-image-box__item".concat(e),"ugb-image-box__box"],Object(r.applyFilters)("stackable.image-box.itemclasses",q({},"ugb--shadow-".concat(w),W.columnBackground&&""!==w),t.props,e));return wp.element.createElement("div",{className:n,key:e,onMouseDown:function(){return t.setState({selectedBox:e})},role:"button",tabIndex:"0"},wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image-wrapper"},wp.element.createElement(E.U,{imageID:s["image".concat(e,"Id")],imageURL:s["image".concat(e,"Url")],imageSize:k,className:"ugb-image-box__box ugb-image-box__image",onRemove:function(){var t;c((q(t={},"image".concat(e,"Id"),""),q(t,"image".concat(e,"Url"),""),q(t,"image".concat(e,"FullWidth"),""),q(t,"image".concat(e,"FullHeight"),""),q(t,"image".concat(e,"FullUrl"),""),t))},onChange:function(t){var n;c((q(n={},"image".concat(e,"Id"),t.id),q(n,"image".concat(e,"Url"),t.url),q(n,"image".concat(e,"FullWidth"),t.sizes.full.width),q(n,"image".concat(e,"FullHeight"),t.sizes.full.height),q(n,"image".concat(e,"FullUrl"),t.sizes.full.url),n))}})),z&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay"}),L&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay-hover"}),wp.element.createElement("div",{className:"ugb-image-box__content"},(x||B)&&wp.element.createElement("div",{className:"ugb-image-box__header"},x&&wp.element.createElement(v.RichText,{tagName:"div",className:"ugb-image-box__subtitle",value:s["subtitle".concat(e)],onChange:function(t){return c(q({},"subtitle".concat(e),t))},placeholder:Object(i.__)("Subtitle",o.i18n),keepPlaceholderOnFocus:!0}),B&&wp.element.createElement(v.RichText,{tagName:D||"h4",className:"ugb-image-box__title",value:s["title".concat(e)],onChange:function(t){return c(q({},"title".concat(e),t))},placeholder:Object(i.__)("Title",o.i18n),keepPlaceholderOnFocus:!0})),A&&wp.element.createElement(v.RichText,{tagName:"p",className:"ugb-image-box__description",value:s["description".concat(e)],onChange:function(t){return c(q({},"description".concat(e),t))},placeholder:Object(i.__)("Description",o.i18n),keepPlaceholderOnFocus:!0})),P&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(m,null)),t.state.selectedBox===e&&wp.element.createElement(E.ob,{value:s["link".concat(e,"Url")],onChange:function(t){return c(q({},"link".concat(e,"Url"),t))},newTab:s["link".concat(e,"NewTab")],noFollow:s["link".concat(e,"NoFollow")],onChangeNewTab:function(t){return c(q({},"link".concat(e,"NewTab"),t))},onChangeNoFollow:function(t){return c(q({},"link".concat(e,"NoFollow"),t))}}))}))}})}}])&&Y(n.prototype,l),c&&Y(n,c),t}(),Q=Object(W.compose)(S.i,S.g,S.d,Object(S.h)(),Object(S.c)(["Line%sAlign","Subtitle%sAlign","Title%sAlign","Description%sAlign","Arrow%sAlign"]),Object(S.a)(L,{editorMode:!0}),Object(S.b)([[".ugb-image-box__title","title"],[".ugb-image-box__subtitle","subtitle"],[".ugb-image-box__description","description"],[".ugb-image-box__arrow svg","arrow"]]),Object(G.withSelect)(function(e,t){Object(d.f)(t.attributes.image1Id,e),Object(d.f)(t.attributes.image2Id,e),Object(d.f)(t.attributes.image3Id,e),Object(d.f)(t.attributes.image4Id,e)}),U.withFocusOutside)(Z);function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var te=Object(W.compose)(S.i,Object(S.a)(L))(function(e){var t,n=e.className,o=e.attributes,i=o.columns,l=void 0===i?2:i,c=o.contentAlign,s=void 0===c?"":c,u=o.design,b=void 0===u?"basic":u,p=o.titleTag,g=void 0===p?"":p,d=o.shadow,f=void 0===d?"":d,y=o.showOverlay,w=void 0!==y&&y,O=o.showOverlayHover,k=void 0===O||O,_=o.showSubtitle,j=void 0===_||_,C=o.showTitle,x=void 0===C||C,S=o.showDescription,B=void 0===S||S,T=o.showArrow,A=void 0!==T&&T,N=o.imageHoverEffect,P=void 0===N?"":N,F=h()([n,"ugb-image-box--v4","ugb-image-box--columns-".concat(l),"ugb-image-box--design-".concat(b)],Object(r.applyFilters)("stackable.image-box.mainclasses",(ee(t={},"ugb-image-box--effect-".concat(P),P),ee(t,"ugb-image-box--with-arrow",A),ee(t,"ugb-image-box--align-".concat(s),s),t),e)),D=R(e);return wp.element.createElement(E.j.Save,{className:F,blockProps:e,render:function(){return wp.element.createElement(H.Fragment,null,Object(a.range)(1,l+1).map(function(t){var n=o["subtitle".concat(t)],a=o["title".concat(t)],i=o["description".concat(t)],l=h()(["ugb-image-box__item","ugb-image-box__item".concat(t),"ugb-image-box__box"],Object(r.applyFilters)("stackable.image-box.itemclasses",ee({},"ugb--shadow-".concat(f),D.columnBackground&&""!==f),e,t)),c=[];return o["link".concat(t,"NewTab")]&&(c.push("noopener"),c.push("noreferrer")),o["link".concat(t,"NoFollow")]&&c.push("nofollow"),wp.element.createElement("div",{className:l,key:t},o["image".concat(t,"Url")]&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image-wrapper"},wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image"})),w&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay"}),k&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay-hover"}),wp.element.createElement("div",{className:"ugb-image-box__content"},(j||x)&&wp.element.createElement("div",{className:"ugb-image-box__header"},j&&!v.RichText.isEmpty(n)&&wp.element.createElement(v.RichText.Content,{tagName:"div",className:"ugb-image-box__subtitle",value:n}),x&&!v.RichText.isEmpty(a)&&wp.element.createElement(v.RichText.Content,{tagName:g||"h4",className:"ugb-image-box__title",value:a})),B&&!v.RichText.isEmpty(i)&&wp.element.createElement(v.RichText.Content,{tagName:"p",className:"ugb-image-box__description",value:i})),A&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(m,null)),o["link".concat(t,"Url")]&&wp.element.createElement("a",{className:"ugb-image-box__overlay-link",href:o["link".concat(t,"Url")],target:o["link".concat(t,"NewTab")]?"_blank":void 0,rel:c.join(" ")||void 0,title:o["title".concat(t)],"aria-label":o["title".concat(t)]},null))}))}})}),ne=n(16);function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return ie}),n.d(t,"name",function(){return re}),n.d(t,"settings",function(){return le});var ie=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(n,!0).forEach(function(t){oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:3},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(d.h)("link%sUrl",{type:"string",default:"",source:"attribute",selector:".ugb-image-box__item%d .ugb-image-box__overlay-link",attribute:"href"},["1","2","3","4"]),{},Object(d.h)("link%s%s",{type:"boolean",default:""},["1","2","3","4"],["NewTab","NoFollow"]),{},Object(d.q)("image%s",{exclude:["Url","Id","Alt","BlendMode"]}),{},Object(d.s)("image%s"),{imageSize:{type:"string",default:"large"}},Object(d.h)("image%s%s",{type:"number",default:""},["1","2","3","4"],["Id","FullWidth","FullHeight"]),{},Object(d.h)("image%s%s",{type:"string",default:""},["1","2","3","4"],["Url","FullUrl"]),{showOverlay:{type:"boolean",default:!1}},Object(d.j)("overlay%s"),{overlayOpacity:{type:"number",default:.7},showOverlayHover:{type:"boolean",default:!0}},Object(d.j)("overlayHover%s"),{overlayHoverOpacity:{type:"number",default:.7}},Object(d.x)("imageBackground%sHeight",{type:"number",default:""}),{imageHoverEffect:{type:"string",default:""},hoverEffect:{type:"string",default:""},lineColor:{type:"string",default:""},lineSize:{type:"number",default:""}},Object(d.x)("Line%sAlign",{type:"string",default:""}),{},Object(d.h)("subtitle%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__subtitle",default:Object(i.__)("Subtitle",o.i18n)},["1","2","3","4"]),{showSubtitle:{type:"boolean",default:!0}},Object(d.C)("subtitle%s"),{subtitleColor:{type:"string",defualt:""}},Object(d.h)("title%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__title",default:Object(i.__)("Title",o.i18n)},["1","2","3","4"]),{showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(d.C)("title%s"),{titleColor:{type:"string",default:""}},Object(d.h)("description%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__description",default:Object(i.__)("Description",o.i18n)},["1","2","3","4"]),{showDescription:{type:"boolean",default:!0}},Object(d.C)("description%s"),{descriptionColor:{type:"string",default:""},showArrow:{type:"boolean",default:!1},arrowColor:{type:"string",default:""}},Object(d.x)("Arrow%sSize",{type:"number",default:""}),{},Object(d.x)("Arrow%sAlign",{type:"string",default:""}),{},Object(d.h)("%s%sAlign",{type:"string",default:""},["Subtitle","Title","Description","Arrow"],["","Tablet","Mobile"]),{},Object(d.h)("%s%sBottomMargin",{type:"number",default:""},["Subtitle","Title","Line","Description","Arrow"],["","Tablet","Mobile"])),re="ugb/image-box",le={title:Object(i.__)("Image Box",o.i18n),description:Object(i.__)("Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.",o.i18n),icon:ne.p,category:"layout",keywords:[Object(i.__)("Image Box",o.i18n),Object(i.__)("Stackable",o.i18n)],supports:{align:["center","wide","full"],inserter:!o.disabledBlocks.includes(re)},attributes:ie,deprecated:x,edit:Q,save:te,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(r.applyFilters)("stackable.image-box.custom-css.default","")}}};Object(r.addFilter)("stackable.image-box.advanced-column-spacing.styles","stackable/image-box/column-height",function(e){return e["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e.tablet["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e.mobile["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e})},function(e,t,n){"use strict";n.r(t);var a=n(2),o=n(16),i=n(1),r=n(10),l=n(0),c=n(5);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(c.addFilter)("stackable.cta.design.no-text-attributes","stackable/cta",function(e){return Object(r.omit)(e,["title","description","buttonText"])}),Object(c.addFilter)("stackable.cta.design.filtered-block-attributes","stackable/cta",function(e){return Object(r.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow"])}),Object(c.addFilter)("stackable.cta.edit.designs","stackable/cta",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(l.__)("Corporate Light 1",i.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-cta-design-corporate-light-01.jpg",attributes:{design:"plain",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonSize:"small",buttonTextColor:"#ff550a",buttonBackgroundColor:"#ffffff",buttonHoverEffect:"lift",buttonBorderRadius:100,columnFixedBackground:!0,descriptionBottomMargin:45,columnPaddingTop:130,columnPaddingBottom:130,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#ff550a",blockBackgroundBackgroundColor2:"#ffb20b",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-cta-corporate-light-01-01.jpg",blockBackgroundBackgroundTintStrength:8,blockBackgroundBackgroundGradientDirection:40,blockBackgroundFixedBackground:!0,showTopSeparator:!1}},corporateLight2:{label:Object(l.__)("Corporate Light 2",i.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-cta-design-corporate-light-02.jpg",attributes:{design:"plain",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#c49732",buttonHoverEffect:"lift",buttonBorderRadius:100,columnFixedBackground:!0,descriptionBottomMargin:45,columnPaddingTop:130,columnPaddingBottom:130,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#4571d5",blockBackgroundBackgroundColor2:"#86abff",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-cta-corporate-light-02-01.jpg",blockBackgroundBackgroundTintStrength:6,blockBackgroundBackgroundGradientDirection:40,blockBackgroundFixedBackground:!0,showTopSeparator:!1}},corporateDark1:{label:Object(l.__)("Corporate Dark 1",i.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-cta-design-corporate-dark-01.jpg",attributes:{design:"plain",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#c5dfb4",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonSize:"small",buttonTextColor:"#3f4174",buttonBackgroundColor:"#c4e558",buttonHoverEffect:"lift",buttonBorderRadius:100,columnFixedBackground:!0,descriptionBottomMargin:45,columnPaddingTop:130,columnPaddingBottom:130,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-cta-corporate-dark-01-01.jpg",blockBackgroundFixedBackground:!0,showTopSeparator:!1}},corporateDark2:{label:Object(l.__)("Corporate Dark 2",i.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-cta-design-corporate-dark-02.jpg",attributes:{design:"plain",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#06c19d",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"ghost",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#06c19d",buttonHoverEffect:"lift",buttonBorderRadius:100,columnFixedBackground:!0,descriptionBottomMargin:45,columnPaddingTop:130,columnPaddingBottom:130,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColor:"#000000",blockBackgroundBackgroundColor2:"#86abff",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-cta-corporate-dark-02-01.jpg",blockBackgroundBackgroundTintStrength:7,blockBackgroundBackgroundGradientDirection:40,blockBackgroundFixedBackground:!0,showTopSeparator:!1}}})});var b=n(17),p=n(8),g=n.n(p),m=n(6);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=[{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},newTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},ctaTitle:{source:"html",selector:"h3",default:Object(l.__)("Title for This Block")},bodyText:{source:"html",selector:"p",default:Object(a.F)()},buttonText:{source:"html",selector:".ugb-button span",default:Object(l.__)("Button text")},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},bgColor:{type:"string"}},save:function(e){var t,n=e.className,a=e.attributes,o=a.url,i=a.buttonText,r=a.ctaTitle,l=a.bodyText,s=a.color,u=a.textColor,p=a.size,d=a.borderButtonRadius,v=a.bodyTextColor,y=a.titleColor,w=a.backgroundColorType,O=void 0===w?"":w,k=a.backgroundColor,_=a.backgroundColor2,j=a.backgroundColorDirection,C=void 0===j?0:j,x=a.backgroundType,E=void 0===x?"":x,S=a.backgroundImageURL,B=a.backgroundOpacity,T=a.fixedBackground,A=a.buttonDesign,N=a.buttonIcon,P=a.design,F=void 0===P?"basic":P,R=a.borderRadius,D=void 0===R?12:R,M=a.shadow,z=void 0===M?3:M,I=a.align,L=a.contentWidth,U=a.newTab,H="plain"!==F,W=g()([n,"ugb-cta","ugb--background-opacity-"+1*Math.round(B/1)],Object(c.applyFilters)("stackable.cta.mainclasses_1_15_5",(h(t={},"ugb-cta--design-".concat(F),"basic"!==F),h(t,"ugb--shadow-".concat(z),"plain"!==F&&3!==z),h(t,"ugb--has-background",k||S),h(t,"ugb--has-background-image",S),h(t,"ugb-content-width","full"===I&&L),h(t,"ugb--has-background-gradient",H&&"gradient"===O),h(t,"ugb--has-background-video",H&&"video"===E),t),F,e)),G=f({backgroundAttachment:T?"fixed":void 0},H?{backgroundColor:k||void 0,backgroundImage:S?"url(".concat(S,")"):void 0,"--ugb-background-color":S||"gradient"===O?k:void 0,"--ugb-background-color2":"gradient"===O&&_?_:void 0,"--ugb-background-direction":"gradient"===O?"".concat(C,"deg"):void 0,borderRadius:12!==D?D:void 0}:{});return wp.element.createElement("div",{className:W,style:G},H&&"video"===E&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:S}),Object(c.applyFilters)("stackable.cta.save.output.before_1_15_5",null,F,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta__title",style:{color:y},value:r}),l&&!!l.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta__description",style:{color:v},value:l}),i&&!!i.length&&wp.element.createElement(b.d,{size:p,url:o,color:u,text:i,design:A,icon:N,backgroundColor:s,borderRadius:d,newTab:U})))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-cta(\s*{)/g,"\n.ugb-cta__item$1").replace(/\.ugb-content-wrapper/g,".ugb-cta__item")};return f({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),title:e.ctaTitle||"",titleColor:e.titleColor||"",description:e.bodyText||"",descriptionColor:e.bodyTextColor||"",buttonUrl:e.url,buttonNewTab:e.newTab,buttonBackgroundColor:e.color,buttonTextColor:e.textColor,buttonSize:e.size,buttonDesign:e.buttonDesign,buttonBorderRadius:e.borderButtonRadius,columnBackgroundColorType:e.backgroundColorType,columnBackgroundColor:e.backgroundColor,columnBackgroundColor2:e.backgroundColor2,columnBackgroundGradientDirection:e.backgroundColorDirection,backgroundType:void 0,columnBackgroundMediaId:e.backgroundImageID,columnBackgroundMediaUrl:e.backgroundImageURL,columnBackgroundTintStrength:e.backgroundOpacity,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},newTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},ctaTitle:{source:"html",selector:"h3",default:"Title for This Block"},bodyText:{source:"html",selector:"p",default:Object(a.F)()},buttonText:{source:"html",selector:".ugb-button span",default:"Button text"},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},bgColor:{type:"string"}},save:function(e){var t,n=e.className,a=e.attributes,o=a.url,i=a.buttonText,r=a.ctaTitle,l=a.bodyText,c=a.color,s=a.textColor,u=void 0===s?"#ffffff":s,p=a.size,d=a.borderButtonRadius,f=a.bodyTextColor,v=a.titleColor,y=a.backgroundColor,w=a.backgroundImageURL,O=a.backgroundOpacity,k=a.fixedBackground,_=a.buttonDesign,j=a.buttonIcon,C=a.design,x=void 0===C?"basic":C,E=a.borderRadius,S=void 0===E?12:E,B=a.shadow,T=void 0===B?3:B,A=a.align,N=a.contentWidth,P=a.newTab,F=g()([n,"ugb-cta","ugb--background-opacity-"+1*Math.round(O/1)],(h(t={},"ugb-cta--design-".concat(x),"basic"!==x),h(t,"ugb--shadow-".concat(T),"plain"!==x&&3!==T),h(t,"ugb--has-background",y||w),h(t,"ugb--has-background-image",w),h(t,"ugb--content-width","full"===A&&N),t)),R={backgroundColor:"plain"!==x&&y?y:void 0,backgroundImage:"plain"!==x&&w?"url(".concat(w,")"):void 0,backgroundAttachment:k?"fixed":void 0,"--ugb-background-color":"plain"!==x&&w?y:void 0,borderRadius:"plain"!==x&&12!==S?S:void 0};return wp.element.createElement("div",{className:F,style:R},wp.element.createElement("div",{className:"ugb-content-wrapper"},r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta__title",style:{color:v},value:r}),l&&!!l.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta__description",style:{color:f},value:l}),i&&!!i.length&&wp.element.createElement(b.c,{size:p,url:o,color:u,text:i,design:_,icon:j,backgroundColor:c,borderRadius:d,newTab:P})))}},{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:"Title for This Block"},bodyText:{source:"html",selector:"p",default:Object(a.F)()},buttonText:{source:"html",selector:".ugb-button span",default:"Button text"},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},bgColor:{type:"string"}},save:function(e){var t,n=e.className,a=e.attributes,o=a.url,i=a.buttonText,r=a.ctaTitle,l=a.bodyText,c=a.color,s=a.textColor,u=a.size,p=a.borderButtonRadius,d=a.bodyTextColor,f=a.titleColor,v=a.backgroundColor,y=a.backgroundImageURL,w=a.backgroundOpacity,O=a.fixedBackground,k=a.buttonDesign,_=a.buttonIcon,j=a.design,C=a.borderRadius,x=a.shadow,E=a.align,S=a.contentWidth,B=g()([n,"ugb-cta","ugb-has-background-opacity-"+1*Math.round(w/1)],(h(t={},"ugb-design-".concat(j),"basic"!==j),h(t,"ugb-shadow-".concat(x),"plain"!==j&&3!==x),h(t,"ugb-has-background",v||y),h(t,"ugb-has-background-image",y),h(t,"ugb-content-width","full"===E&&S),t)),T={backgroundColor:v||void 0,backgroundImage:y?"url(".concat(y,")"):void 0,backgroundAttachment:O?"fixed":void 0,"--ugb-background-color":y?v:void 0,borderRadius:"plain"!==j&&12!==C?C:void 0};return wp.element.createElement("div",{className:B,style:T},wp.element.createElement("div",{className:"ugb-content-wrapper"},r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:f},value:r}),l&&!!l.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:d},value:l}),i&&!!i.length&&wp.element.createElement(b.b,{size:u,url:o,color:s,text:i,design:k,icon:_,backgroundColor:c,borderRadius:p})))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").trim();return f({},e,{newTab:!1,className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:"Get Started Today"},bodyText:{source:"html",selector:"p",default:"Get Stackable: Ultimate Gutenberg Blocks today.  Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg’s functionality."},buttonText:{source:"html",selector:".ugb-button span"},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},align:{type:"string"},bgColor:{type:"string"}},save:function(e){var t=e.className,n=e.attributes,a=n.url,o=n.buttonText,i=n.ctaTitle,r=n.bodyText,l=n.color,c=n.textColor,s=n.size,u=n.borderButtonRadius,p=n.bodyTextColor,d=n.titleColor,f=n.backgroundColor,h=n.backgroundImageURL,v=n.backgroundOpacity,y=n.fixedBackground,w=n.buttonDesign,O=n.buttonIcon,k=n.columns,_=void 0===k?void 0:k,j=g()([t,"ugb-cta","columns-".concat(_),"ugb-has-background-opacity-"+1*Math.round(v/1)],{"ugb-has-background":f||h,"ugb-has-background-image":h}),C={backgroundColor:f||void 0,backgroundImage:h?"url(".concat(h,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":h?f:void 0};return wp.element.createElement("div",{className:j,style:C},i&&!!i.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:d},value:i}),r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:p},value:r}),o&&!!o.length&&wp.element.createElement(b.h,{size:s,url:a,color:c,text:o,design:w,icon:O,backgroundColor:l,borderRadius:u}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").trim();return f({},e,{contentWidth:!1,design:"basic",borderRadius:12,shadow:3,className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:"Get Started Today"},bodyText:{source:"html",selector:"p",default:"Get Stackable: Ultimate Gutenberg Blocks today.  Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg’s functionality."},buttonText:{source:"html",selector:".ugb-button a"},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},align:{type:"string"},bgColor:{type:"string"}},save:function(e){var t=e.className,n=e.attributes,a=n.url,o=n.buttonText,i=n.ctaTitle,r=n.bodyText,l=n.color,c=n.textColor,s=n.size,u=n.borderButtonRadius,p=n.bodyTextColor,d=n.titleColor,f=n.backgroundColor,h=n.backgroundImageURL,v=n.backgroundOpacity,y=n.fixedBackground,w=n.buttonDesign,O=n.buttonIcon,k=n.columns,_=void 0===k?void 0:k,j=g()([t,"ugb-cta","columns-".concat(_),"ugb-has-background-opacity-"+1*Math.round(v/1)],{"ugb-has-background":f||h,"ugb-has-background-image":h}),C={backgroundColor:f||void 0,backgroundImage:h?"url(".concat(h,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":h?f:void 0};return wp.element.createElement("div",{className:j,style:C},i&&!!i.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:d},value:i}),r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:p},value:r}),o&&!!o.length&&wp.element.createElement(b.g,{size:s,url:a,color:c,text:o,design:w,icon:O,backgroundColor:l,borderRadius:u}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").trim();return f({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:"Get Started Today"},bodyText:{source:"html",selector:"p",default:"Get Stackable: Ultimate Gutenberg Blocks today.  Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg’s functionality."},buttonText:{source:"html",selector:".ugb-button a"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},align:{type:"string"}},save:function(e){var t=e.className,n=e.attributes,a=n.url,o=n.buttonText,i=n.ctaTitle,r=n.bodyText,l=n.color,c=n.textColor,s=n.size,u=n.borderButtonRadius,p=n.bodyTextColor,d=n.titleColor,f=n.bgColor,h=g()([t,"ugb-cta"]);return wp.element.createElement("div",{className:h,style:{backgroundColor:f}},i&&!!i.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:d},value:i}),r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:p},value:r}),o&&!!o.length&&wp.element.createElement(b.f,{size:s,url:a,color:c,text:o,backgroundColor:l,borderRadius:u}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").trim();return f({backgroundColor:e.bgColor},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}}],y=n(3),w=n(11),O=n(15),k=n.n(O),_=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showBlockBackground,i=void 0!==o&&o,r=t.blockInnerWidth,l=void 0===r?"":r,s=t.align,u=void 0===s?"":s,b=t.showTitle,p=void 0===b||b,g=t.showDescription,m=void 0===g||g,d=t.showButton,f=void 0===d||d,h=!0;return"plain"===a?h=!1:"full"===u&&(i?"full"===l&&(h=!1):h=!1),Object(c.applyFilters)("stackable.cta.show",{columnBackground:"plain"!==a,borderRadius:h,titleSpacing:p,descriptionSpacing:m,buttonSpacing:f},e)};function j(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(n,!0).forEach(function(t){E(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(e){var t=Object(a.b)(e.attributes),n=e.attributes,o=n.columnBackgroundColor,i=void 0===o?"":o,r=n.columnBackgroundColorOpacity,l=void 0===r?1:r,c=_(e),s=[];s.push({".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:Object(a.c)(t("contentAlign"))},tablet:{".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:t("mobileContentAlign")}}}),c.borderRadius&&s.push({".ugb-cta__item":{borderRadius:t("borderRadius","%spx !important")}});s.push(x({},c.columnBackground?Object(a.l)("column%s","ugb-cta__item",e.attributes,{importantBackgroundColor:!0}):{})),c.titleSpacing&&s.push.apply(s,j(Object(a.y)(".ugb-cta__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),c.descriptionSpacing&&s.push.apply(s,j(Object(a.y)(".ugb-cta__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),c.buttonSpacing&&s.push.apply(s,j(Object(a.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0)));var u=e.attributes,b=u.titleColor,p=void 0===b?"":b,g=u.showTitle;(void 0===g||g)&&s.push({".ugb-cta__title":x({},Object(a.D)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(a.gb)(p,0!==l?i:null),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-cta__title":x({},Object(a.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-cta__title":x({},Object(a.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var m=e.attributes,d=m.descriptionColor,f=void 0===d?"":d,h=m.showDescription;(void 0===h||h)&&s.push({".ugb-cta__description":x({},Object(a.D)("description%s","desktop",e.attributes),{color:Object(a.gb)(f,0!==l?i:null),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-cta__description":x({},Object(a.D)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-cta__description":x({},Object(a.D)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign","%s !important")})}});var v=e.attributes.showButton;return(void 0===v||v)&&(s.push(x({},Object(a.p)("button%s","ugb-button",e.attributes))),s.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})),k.a.all(s)},B=n(274),T=n.n(B),A=n(275),N=n.n(A),P=n(9),F=n(12),R=n(7);function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(c.addFilter)("stackable.cta.edit.inspector.layout.before","stackable/cta",function(e,t){var n=t.setAttributes,a=t.attributes.design,o=void 0===a?"basic":a;return wp.element.createElement(R.Fragment,null,e,wp.element.createElement(y.z,{initialOpen:!0,selected:o,options:Object(c.applyFilters)("stackable.cta.edit.layouts",[{label:Object(l.__)("Basic",i.i18n),value:"basic",image:T.a},{label:Object(l.__)("Plain",i.i18n),value:"plain",image:N.a}]),onChange:function(e){return n({design:e})}},i.showProNotice&&wp.element.createElement(y.cb,null)))}),Object(c.addFilter)("stackable.cta.edit.inspector.style.before","stackable/cta",function(e,t){var n=t.setAttributes,o=t.attributes,r=o.titleColor,c=o.descriptionColor,s=o.borderRadius,u=void 0===s?"":s,b=o.shadow,p=void 0===b?"":b,g=o.showTitle,m=void 0===g||g,d=o.showDescription,f=void 0===d||d,h=o.showButton,v=void 0===h||h,w=o.titleTag,O=void 0===w?"":w,k=_(t);return wp.element.createElement(R.Fragment,null,e,wp.element.createElement(P.PanelBody,{title:Object(l.__)("General",i.i18n)},k.borderRadius&&wp.element.createElement(y.b,{label:Object(l.__)("Border Radius",i.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),k.columnBackground&&wp.element.createElement(y.b,{label:Object(l.__)("Shadow / Outline",i.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(y.t,{setAttributes:n,blockAttributes:t.attributes})),k.columnBackground&&wp.element.createElement(y.Y,{title:Object(l.__)("Column Background",i.i18n),initialOpen:!1,id:"column-background",className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(y.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(y.Y,{title:Object(l.__)("Title",i.i18n),id:"title",checked:m,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(M(Object(a.B)("title%s")),["titleTag","titleColor"],M(Object(a.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.mb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes,className:"ugb--help-tip-typography-family"}),wp.element.createElement(y.H,{value:O||"h3",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(y.r,{value:r,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",i.i18n)}),wp.element.createElement(y.db,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",i.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(y.Y,{title:Object(l.__)("Description",i.i18n),id:"description",checked:f,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(M(Object(a.B)("description%s")),["descriptionColor"],M(Object(a.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(y.mb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.r,{value:c,onChange:function(e){return n({descriptionColor:e})},label:Object(l.__)("Description Color",i.i18n)}),wp.element.createElement(y.db,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",i.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.Y,{title:Object(l.__)("Button",i.i18n),id:"button",checked:v,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(M(Object(a.n)("button%s")),M(Object(a.w)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(y.m,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.u,null),wp.element.createElement(y.db,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",i.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(y.Z,{initialOpen:!1,blockProps:t},k.titleSpacing&&wp.element.createElement(y.db,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Title",i.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),k.descriptionSpacing&&wp.element.createElement(y.db,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Description",i.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),k.buttonSpacing&&wp.element.createElement(y.db,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Button",i.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var z=Object(F.compose)(w.i,w.g,w.d,Object(w.h)(),Object(w.c)(["Title%sAlign","Description%sAlign","Button%sAlign"]),Object(w.a)(S,{editorMode:!0}),Object(w.b)([[".ugb-cta__title","title"],[".ugb-cta__description","description"],[".ugb-button","button"]]))(function(e){var t=e.className,n=e.setAttributes,o=e.attributes,r=o.design,s=void 0===r?"basic":r,u=o.shadow,b=void 0===u?"":u,p=o.showTitle,d=void 0===p||p,f=o.title,h=void 0===f?"":f,v=o.titleTag,w=void 0===v?"h3":v,O=o.showDescription,k=void 0===O||O,_=o.description,j=void 0===_?"":_,C=o.showButton,x=void 0===C||C,E=g()([t,"ugb-cta","ugb-cta--v2"],Object(c.applyFilters)("stackable.cta.mainclasses",D({},"ugb-cta--design-".concat(s),"basic"!==s),s,e)),S=g()(["ugb-cta__item"],Object(c.applyFilters)("stackable.cta.boxclasses",D({},"ugb--shadow-".concat(b),"plain"!==s&&""!==b),s,e)),B=d&&wp.element.createElement(m.RichText,{tagName:w||"h3",value:h,className:"ugb-cta__title",placeholder:Object(l.__)("Title for This Block",i.i18n),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),T=k&&wp.element.createElement(m.RichText,{tagName:"p",value:j,className:"ugb-cta__description",onChange:function(e){return n({description:e})},placeholder:Object(a.F)(),keepPlaceholderOnFocus:!0}),A=x&&wp.element.createElement(y.o,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes}),N={title:B,description:T,button:A};return wp.element.createElement(y.j.Edit,{className:E,blockProps:e,render:function(){return wp.element.createElement(R.Fragment,null,wp.element.createElement(y.C,{className:S,backgroundAttrName:"column%s",blockProps:e},Object(c.applyFilters)("stackable.cta.edit.output",wp.element.createElement(R.Fragment,null,B,T,A),N,e)))}})});function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L=Object(F.compose)(w.i,Object(w.a)(S))(function(e){var t=e.className,n=e.attributes,a=n.design,o=void 0===a?"basic":a,i=n.shadow,r=void 0===i?"":i,l=n.showTitle,s=void 0===l||l,u=n.title,b=void 0===u?"":u,p=n.titleTag,d=void 0===p?"h3":p,f=n.showDescription,h=void 0===f||f,v=n.description,w=void 0===v?"":v,O=n.showButton,k=void 0===O||O,_=n.buttonUrl,j=void 0===_?"":_,C=n.buttonNewTab,x=void 0!==C&&C,E=n.buttonSize,S=void 0===E?"normal":E,B=n.buttonText,T=void 0===B?"":B,A=n.buttonShadow,N=void 0===A?0:A,P=n.buttonHoverEffect,F=void 0===P?"":P,D=n.buttonIcon,M=void 0===D?"":D,z=n.buttonIconPosition,L=void 0===z?"":z,U=n.buttonDesign,H=void 0===U?"basic":U,W=n.buttonHoverGhostToNormal,G=void 0!==W&&W,V=n.buttonNoFollow,q=void 0!==V&&V,Y=g()([t,"ugb-cta","ugb-cta--v2"],Object(c.applyFilters)("stackable.cta.mainclasses",I({},"ugb-cta--design-".concat(o),"basic"!==o),o,e)),K=g()(["ugb-cta__item"],Object(c.applyFilters)("stackable.cta.boxclasses",I({},"ugb--shadow-".concat(r),"plain"!==o&&""!==r),o,e)),X=s&&!m.RichText.isEmpty(b)&&wp.element.createElement(m.RichText.Content,{tagName:d||"h3",className:"ugb-cta__title",value:b}),J=h&&!m.RichText.isEmpty(w)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta__description",value:w}),$=k&&!m.RichText.isEmpty(T)&&wp.element.createElement(y.n.Content,{size:""!==S?S:"normal",text:T,icon:M,newTab:""!==x&&x,url:j,noFollow:q,hoverEffect:F,ghostToNormalEffect:G,shadow:N,iconPosition:L,design:""!==H?H:"basic"}),Z={title:X,description:J,button:$};return wp.element.createElement(y.j.Save,{className:Y,blockProps:e,render:function(){return wp.element.createElement(R.Fragment,null,wp.element.createElement(y.C,{className:K,backgroundAttrName:"column%s",blockProps:e},Object(c.applyFilters)("stackable.cta.save.output",wp.element.createElement(R.Fragment,null,X,J,$),Z,e)))}})});function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return G}),n.d(t,"settings",function(){return V});var W=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(n,!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},title:{source:"html",selector:"h3, .ugb-cta__title",default:Object(l.__)("Title for This Block",i.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(a.C)("title%s"),{titleColor:{type:"string",default:""},description:{source:"html",selector:"p, .ugb-cta__description",default:Object(a.F)()},showDescription:{type:"boolean",default:!0}},Object(a.C)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(a.o)("button%s",{selector:".ugb-button"}),{},Object(a.j)("column%s"),{hoverEffect:{type:"string",default:""}},Object(a.x)("title%sBottomMargin",{type:"number",default:""}),{},Object(a.x)("description%sBottomMargin",{type:"number",default:""}),{},Object(a.x)("button%sBottomMargin",{type:"number",default:""}),{},Object(a.h)("%s%sAlign",{type:"string",default:""},["Title","Description","Button"],["","Tablet","Mobile"])),G="ugb/cta",V={title:Object(l.__)("Call to Action",i.i18n),description:Object(l.__)("A small section you can use to call the attention of your visitors. Great for calling attention to your products or deals.",i.i18n),icon:o.e,category:"layout",keywords:[Object(l.__)("Call to Action",i.i18n),Object(l.__)("Stackable",i.i18n),Object(l.__)("CTA",i.i18n)],attributes:W,supports:{align:["center","wide","full"],inserter:!i.disabledBlocks.includes(G)},deprecated:v,edit:z,save:L,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(c.applyFilters)("stackable.cta.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(16),o=n(2),i=n(10),r=n(1),l=n(0),c=n(5);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(c.addFilter)("stackable.card.design.no-text-attributes","stackable/card",function(e){return Object(i.omit)(e,["title1","title2","title3","subtitle1","subtitle2","subtitle3","description1","description2","description3","button1Text","button2Text","button3Text"])}),Object(c.addFilter)("stackable.card.design.filtered-block-attributes","stackable/card",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(i.omit)(e,[].concat(b(t&&t.image1Id?["image1Url"]:[]),["image1Id"],b(t&&t.image2Id?["image2Url"]:[]),["image2Id"],b(t&&t.image3Id?["image3Url"]:[]),["image3Id","button1Url","button1NewTab","button1NoFollow","button2Url","button2NewTab","button2NoFollow","button3Url","button3NewTab","button3NoFollow"]))}),Object(c.addFilter)("stackable.card.edit.designs","stackable/card",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(l.__)("Corporate Light 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-card-design-corporate-light-01.jpg",attributes:{columns:1,borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-card-corporate-light-01-01.jpg",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ff550a",subtitleFontFamily:"Roboto",subtitleColor:"#acacac",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#ff550a",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#ffd781",blockBackgroundFixedBackground:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ff550a",blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070"}},corporateLight2:{label:Object(l.__)("Corporate Light 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-card-design-corporate-light-02.jpg",attributes:{columns:1,borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-card-corporate-light-02-01.jpg",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#1e55d3",subtitleFontFamily:"Roboto",subtitleColor:"#acacac",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#c49732",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#4571d5",blockBackgroundBackgroundColor2:"#86abff",blockBackgroundBackgroundGradientDirection:180,blockBackgroundFixedBackground:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c49732",blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}},corporateDark1:{label:Object(l.__)("Corporate Dark 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-card-design-corporate-dark-01.jpg",attributes:{columns:1,borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-card-corporate-dark-01-01.jpg",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#1785cb",subtitleFontFamily:"Roboto",subtitleColor:"#acacac",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"ghost",buttonSize:"small",buttonBackgroundColor:"#c4e558",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-dark-01-01.jpg",blockBackgroundFixedBackground:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c5dfb4",blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}},corporateDark2:{label:Object(l.__)("Corporate Dark 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-card-design-corporate-dark-02.jpg",attributes:{columns:1,borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-card-corporate-dark-02-01.jpg",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#06c19d",subtitleFontFamily:"Roboto",subtitleColor:"#acacac",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"ghost",buttonSize:"small",buttonBackgroundColor:"#06c19d",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#717171",blockBackgroundBackgroundColor2:"#393939",blockBackgroundFixedBackground:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#06c19d",blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}}})});var p=n(17),g=n(8),m=n.n(g),d=n(6);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(n,!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=[{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card__image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card__title",default:Object(l.__)("Title for This Block",r.i18n)},tagline:{source:"html",selector:".ugb-card__tagline",default:Object(l.__)("Subtitle for this block",r.i18n)},des:{source:"html",selector:".ugb-card__description",default:Object(o.F)("long")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:Object(l.__)("Button text",r.i18n)},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"},design:{type:"string",default:"basic"},backgroundColor:{type:"string"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n=e.className,a=e.attributes,o=a.heading,i=a.tagline,r=a.des,l=a.mediaURL,s=a.headingColor,u=a.taglineColor,b=a.desColor,g=a.buttonURL,f=a.buttonNewTab,y=a.buttonText,w=a.buttonColor,O=a.buttonTextColor,k=a.size,_=a.cornerButtonRadius,j=a.contentAlign,C=a.buttonDesign,x=a.buttonIcon,E=a.design,S=void 0===E?"basic":E,B=a.backgroundColor,T=a.borderRadius,A=void 0===T?12:T,N=a.shadow,P=void 0===N?3:N,F=m()([n,"ugb-card"],Object(c.applyFilters)("stackable.card.mainclasses_1_17_3",(v(t={},"ugb-card--design-".concat(S),"basic"!==S),v(t,"ugb--shadow-".concat(P),"plain"!==S&&3!==P),t),S,e)),R={borderRadius:"plain"!==S?A:void 0,backgroundColor:"plain"!==S?B:void 0},D=m()(["ugb-card__image-container"],v({},"ugb--shadow-".concat(P),"plain"===S)),M={borderRadius:"plain"===S?A:void 0};return wp.element.createElement("div",{className:F,style:R},Object(c.applyFilters)("stackable.card.save.output.before_1_17_3",null,S,e),l&&wp.element.createElement("div",{className:D,style:h({},M,{backgroundImage:"url(".concat(l,")"),textAlign:j}),"data-src":l}),!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:"h4",className:"ugb-card__title",style:{color:s,textAlign:j},value:o}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__tagline",style:{color:u,textAlign:j},value:i}),!d.RichText.isEmpty(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__description",style:{color:b,textAlign:j},value:r}),y&&!!y.length&&wp.element.createElement(p.d,{size:k,url:g,newTab:f,align:j,color:O,text:y,icon:x,design:C,backgroundColor:w,borderRadius:_}),Object(c.applyFilters)("stackable.card.save.output.after_1_17_3",null,S,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-card([\s\{\[\.\#\:])/g,".ugb-card__item$1").replace(/\.ugb-card__tagline([\s\{\[\.\#\:])/g,".ugb-card__subtitle$1").replace(/\.ugb-card__image-container([\s\{\[\.\#\:])/g,".ugb-card__image$1")};return h({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),columns:1,showButton:!!e.buttonText,image1Id:e.mediaID,image1Url:e.mediaURL,title1:e.heading,subtitle1:e.tagline,description1:e.des,titleColor:e.headingColor,subtitleColor:e.taglineColor,descriptionColor:e.desColor,button1Url:e.buttonURL,button1NewTab:e.buttonNewTab,button1Text:e.buttonText,buttonBackgroundColor:e.buttonColor,buttonIcon:e.buttonIcon,buttonTextColor:e.buttonTextColor,buttonSize:e.size,buttonBorderRadius:e.cornerButtonRadius,buttonDesign:e.buttonDesign,columnBackgroundColor:e.backgroundColor})}},{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card__image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card__title",default:"Title for This Block"},tagline:{source:"html",selector:".ugb-card__tagline",default:"Subtitle for this block"},des:{source:"html",selector:".ugb-card__description",default:Object(o.F)("long")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:"Button text"},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"},design:{type:"string",default:"basic"},backgroundColor:{type:"string"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t,n=e.className,a=e.attributes,o=a.heading,i=a.tagline,r=a.des,l=a.mediaURL,c=a.headingColor,s=a.taglineColor,u=a.desColor,b=a.buttonURL,g=a.buttonNewTab,f=a.buttonText,y=a.buttonColor,w=a.buttonTextColor,O=a.size,k=a.cornerButtonRadius,_=a.contentAlign,j=a.buttonDesign,C=a.buttonIcon,x=a.design,E=void 0===x?"basic":x,S=a.backgroundColor,B=void 0===S?"#ffffff":S,T=a.borderRadius,A=void 0===T?12:T,N=a.shadow,P=void 0===N?3:N,F=m()([n,"ugb-card"],(v(t={},"ugb-card--design-".concat(E),"basic"!==E),v(t,"ugb--shadow-".concat(P),"plain"!==E&&3!==P),t)),R={borderRadius:"plain"!==E?A:void 0,backgroundColor:"plain"!==E?B:void 0},D=m()(["ugb-card__image-container"],v({},"ugb--shadow-".concat(P),"plain"===E)),M={borderRadius:"plain"===E?A:void 0};return wp.element.createElement("div",{className:F,style:R},l&&wp.element.createElement("div",{className:D,style:h({},M,{backgroundImage:"url(".concat(l,")"),textAlign:_}),"data-src":l}),!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:"h4",className:"ugb-card__title",style:{color:c,textAlign:_},value:o}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__tagline",style:{color:s,textAlign:_},value:i}),!d.RichText.isEmpty(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__description",style:{color:u,textAlign:_},value:r}),f&&!!f.length&&wp.element.createElement(p.c,{size:O,url:b,newTab:g,align:_,color:w,text:f,icon:C,design:j,backgroundColor:y,borderRadius:k}))}},{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:"Title for This Block"},tagline:{source:"html",selector:".ugb-tagline",default:"Subtitle for this block"},des:{source:"html",selector:".ugb-card-des",default:Object(o.F)("long")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href"},buttonText:{source:"html",selector:".ugb-button span",default:"Button text"},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"},design:{type:"string",default:"basic"},backgroundColor:{type:"string",default:"#ffffff"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t,n=e.className,a=e.attributes,o=a.heading,i=a.tagline,r=a.des,l=a.mediaURL,c=a.headingColor,s=a.taglineColor,u=a.desColor,b=a.buttonURL,g=a.buttonText,f=a.buttonColor,y=a.buttonTextColor,w=a.size,O=a.cornerButtonRadius,k=a.contentAlign,_=a.buttonDesign,j=a.buttonIcon,C=a.design,x=a.backgroundColor,E=a.borderRadius,S=a.shadow,B=m()([n,"ugb-card"],(v(t={},"ugb-design-".concat(C),"basic"!==C),v(t,"ugb-shadow-".concat(S),"plain"!==C),t)),T={borderRadius:"plain"!==C?E:void 0,backgroundColor:"plain"!==C?x:void 0},A=m()(["ugb-card-image-container"],v({},"ugb-shadow-".concat(S),"plain"===C)),N={borderRadius:"plain"===C?E:void 0};return wp.element.createElement("div",{className:B,style:T},l&&wp.element.createElement("div",{className:A,style:h({},N,{backgroundImage:"url(".concat(l,")"),textAlign:k}),"data-src":l}),!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:"h4",style:{color:c,textAlign:k},value:o}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-tagline",style:{color:s,textAlign:k},value:i}),!d.RichText.isEmpty(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card-des",style:{color:u,textAlign:k},value:r}),g&&!!g.length&&wp.element.createElement(p.b,{size:w,url:b,align:k,color:y,text:g,icon:j,design:_,backgroundColor:f,borderRadius:O}))},migrate:function(e){return h({},e,{buttonNewTab:!1})}},{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:"Ben Adams"},tagline:{source:"html",selector:".ugb-tagline",default:"Ben is the head of our small team"},des:{source:"html",selector:".ugb-card-des",default:"Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time."},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href"},buttonText:{source:"html",selector:".ugb-button span",default:"Button"},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"}},save:function(e){var t=e.className,n=e.attributes,a=n.heading,o=n.tagline,i=n.des,r=n.mediaURL,l=n.headingColor,c=n.taglineColor,s=n.desColor,u=n.buttonURL,b=n.buttonText,g=n.buttonColor,f=n.buttonTextColor,h=n.size,v=n.cornerButtonRadius,y=n.contentAlign,w=n.buttonDesign,O=n.buttonIcon,k=m()([t,"ugb-card"],{"has-image":r});return wp.element.createElement("div",{className:k},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url(".concat(r,")"),textAlign:y},"data-src":r}),!d.RichText.isEmpty(a)&&wp.element.createElement(d.RichText.Content,{tagName:"h4",style:{color:l,textAlign:y},value:a}),!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-tagline",style:{color:c,textAlign:y},value:o}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:y},value:i}),b&&!!b.length&&wp.element.createElement(p.h,{size:h,url:u,align:y,color:f,text:b,icon:O,design:w,backgroundColor:g,borderRadius:v}))},migrate:function(e){return h({},e,{design:"basic",backgroundColor:"#ffffff",borderRadius:12,shadow:3})}},{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:"Ben Adams"},tagline:{source:"html",selector:".ugb-tagline",default:"Ben is the head of our small team"},des:{source:"html",selector:".ugb-card-des",default:"Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time."},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:"Button"},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"}},save:function(e){var t=e.className,n=e.attributes,a=n.heading,o=n.tagline,i=n.des,r=n.mediaURL,l=n.headingColor,c=n.taglineColor,s=n.desColor,u=n.buttonURL,b=n.buttonText,g=n.buttonColor,f=n.buttonTextColor,h=n.size,v=n.cornerButtonRadius,y=n.contentAlign,w=n.buttonDesign,O=n.buttonIcon,k=m()([t,"ugb-card"],{"has-image":r});return wp.element.createElement("div",{className:k},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url(".concat(r,")"),textAlign:y},"data-src":r}),!d.RichText.isEmpty(a)&&wp.element.createElement(d.RichText.Content,{tagName:"h4",style:{color:l,textAlign:y},value:a}),!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-tagline",style:{color:c,textAlign:y},value:o}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:y},value:i}),b&&!!b.length&&wp.element.createElement(p.g,{size:h,url:u,align:y,color:f,text:b,icon:O,design:w,backgroundColor:g,borderRadius:v}))}}],w=n(3),O=n(11),k=n(276),_=n.n(k),j=n(277),C=n.n(j),x=n(15),E=n.n(x),S=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showImage,i=void 0===o||o,r=t.showTitle,l=void 0===r||r,s=t.showSubtitle,u=void 0===s||s,b=t.showDescription,p=void 0===b||b,g=t.showButton,m=void 0===g||g;return Object(c.applyFilters)("stackable.card.show",{columnBackground:"plain"!==a,borderRadius:!0,shadow:!0,imageHeight:("basic"===a||"plain"===a)&&"horizontal-card"!==a,imageWidth:"horizontal"===a,imageSpacing:"plain"===a&&i,titleSpacing:l,subtitleSpacing:u,descriptionSpacing:p,buttonSpacing:m},e)};function B(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(n,!0).forEach(function(t){N(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(e){var t=Object(o.b)(e.attributes),n=e.attributes.columnBackgroundColor,a=void 0===n?"":n,i=S(e),r=[];if(r.push({".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("contentAlign")},tablet:{".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("mobileContentAlign")}}}),i.borderRadius){var l=i.columnBackground?".ugb-card__item":".ugb-card__image";r.push(N({},l,{borderRadius:t("borderRadius","%spx !important")}))}r.push(A({},i.columnBackground?Object(o.l)("column%s","ugb-card__item",e.attributes,{importantBackgroundColor:!0}):{})),r.push({".ugb-card__item1 .ugb-card__image":{backgroundImage:t("image1Url","url(%s)")},".ugb-card__item2 .ugb-card__image":{backgroundImage:t("image2Url","url(%s)")},".ugb-card__item3 .ugb-card__image":{backgroundImage:t("image3Url","url(%s)")}}),r.push(A({},Object(o.t)("image%s","ugb-card__image",e.attributes))),i.imageHeight&&r.push.apply(r,B(Object(o.y)(".ugb-card__image","imageBackground%sHeight","height","%spx",e.attributes,!0))),i.imageWidth&&r.push({".ugb-card__image":{width:t("imageBackgroundWidth")?Object(o.c)(t("imageBackgroundWidth")+t("imageBackgroundWidthUnit","%s","%")):void 0},tablet:{".ugb-card__image":{width:t("imageBackgroundTabletWidth")?Object(o.c)(t("imageBackgroundTabletWidth")+t("imageBackgroundTabletWidthUnit","%s","%")):void 0}},mobile:{".ugb-card__image":{width:t("imageBackgroundMobileWidth")?Object(o.c)(t("imageBackgroundMobileWidth")+t("imageBackgroundMobileWidthUnit","%s","%")):void 0}}});var c=e.attributes,s=c.titleColor,u=void 0===s?"":s,b=c.showTitle;(void 0===b||b)&&r.push({".ugb-card__title":A({},Object(o.D)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(o.c)(Object(o.hb)(u,i.columnBackground&&a)),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-card__title":A({},Object(o.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-card__title":A({},Object(o.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var p=e.attributes,g=p.subtitleColor,m=void 0===g?"":g,d=p.showSubtitle;(void 0===d||d)&&r.push({".ugb-card__subtitle":A({},Object(o.D)("subtitle%s","desktop",e.attributes,{importantSize:!0}),{color:Object(o.c)(Object(o.hb)(m,i.columnBackground&&a)),textAlign:t("subtitleAlign","%s !important")}),tablet:{".ugb-card__subtitle":A({},Object(o.D)("subtitle%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("subtitleTabletAlign","%s !important")})},mobile:{".ugb-card__subtitle":A({},Object(o.D)("subtitle%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("subtitleMobileAlign","%s !important")})}});var f=e.attributes,h=f.descriptionColor,v=void 0===h?"":h,y=f.showDescription;(void 0===y||y)&&r.push({".ugb-card__description":A({},Object(o.D)("description%s","desktop",e.attributes,{importantSize:!0}),{color:Object(o.c)(Object(o.hb)(v,i.columnBackground&&a)),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-card__description":A({},Object(o.D)("description%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-card__description":A({},Object(o.D)("description%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("descriptionMobileAlign","%s !important")})}});var w=e.attributes.showButton;return(void 0===w||w)&&(r.push(A({},Object(o.p)("button%s","ugb-button",e.attributes))),r.push.apply(r,B(Object(o.y)(".ugb-button-container","button%sAlign","textAlign","%s",e.attributes,!0)))),i.imageSpacing&&r.push.apply(r,B(Object(o.y)(".ugb-card__image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),i.titleSpacing&&r.push.apply(r,B(Object(o.y)(".ugb-card__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),i.subtitleSpacing&&r.push.apply(r,B(Object(o.y)(".ugb-card__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),i.descriptionSpacing&&r.push.apply(r,B(Object(o.y)(".ugb-card__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),i.buttonSpacing&&r.push.apply(r,B(Object(o.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),E.a.all(r)},F=n(9),R=n(12),D=n(7),M=n(14);function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(c.addFilter)("stackable.card.edit.inspector.layout.before","stackable/card",function(e,t){var n=t.setAttributes,a=t.attributes.design,o=void 0===a?"basic":a;return wp.element.createElement(D.Fragment,null,e,wp.element.createElement(w.z,{initialOpen:!0,selected:o,options:Object(c.applyFilters)("stackable.card.edit.layouts",[{label:Object(l.__)("Basic",r.i18n),value:"basic",image:_.a},{label:Object(l.__)("Plain",r.i18n),value:"plain",image:C.a}]),onChange:function(e){return n({design:e})}},r.showProNotice&&wp.element.createElement(w.cb,null)))}),Object(c.addFilter)("stackable.card.edit.inspector.style.before","stackable/card",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.columns,c=a.borderRadius,s=void 0===c?"":c,u=a.shadow,b=void 0===u?"":u,p=a.showImage,g=void 0===p||p,m=a.showTitle,d=void 0===m||m,f=a.showSubtitle,h=void 0===f||f,v=a.showDescription,y=void 0===v||v,O=a.showButton,k=void 0===O||O,_=a.image1Id,j=void 0===_?"":_,C=a.image2Id,x=void 0===C?"":C,E=a.image3Id,B=void 0===E?"":E,T=a.imageBackgroundWidth,A=void 0===T?"":T,N=a.imageBackgroundTabletWidth,P=void 0===N?"":N,R=a.imageBackgroundMobileWidth,M=void 0===R?"":R,z=a.imageBackgroundWidthUnit,L=void 0===z?"%":z,U=a.imageBackgroundTabletWidthUnit,H=void 0===U?"%":U,W=a.imageBackgroundMobileWidthUnit,G=void 0===W?"%":W,V=a.titleTag,q=void 0===V?"":V,Y=a.titleColor,K=void 0===Y?"":Y,X=a.descriptionColor,J=void 0===X?"":X,$=a.subtitleColor,Z=void 0===$||$,Q=S(t);return wp.element.createElement(D.Fragment,null,e,wp.element.createElement(F.PanelBody,{title:Object(l.__)("General",r.i18n)},wp.element.createElement(w.b,{label:Object(l.__)("Columns",r.i18n),value:i,onChange:function(e){return n({columns:e})},min:1,max:3,className:"ugb--help-tip-general-columns"}),Q.borderRadius&&wp.element.createElement(w.b,{label:Object(l.__)("Border Radius",r.i18n),value:s,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),Q.shadow&&wp.element.createElement(w.b,{label:Object(l.__)("Shadow / Outline",r.i18n),value:b,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(w.t,{setAttributes:n,blockAttributes:t.attributes})),Q.columnBackground&&wp.element.createElement(w.Y,{title:Object(l.__)("Column Background",r.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(w.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(w.Y,{title:Object(l.__)("Image",r.i18n),checked:g,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:[].concat(I(Object(o.r)("image%s")),I(Object(o.w)("imageBackground%sHeight")),I(Object(o.w)("imageBackground%sWidth"))),toggleAttributeName:"showImage"},wp.element.createElement(w.N,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeImage:null,onChangeSize:function(e){n({imageSize:e,image1Url:Object(o.J)(j,e||"large"),image2Url:Object(o.J)(x,e||"large"),image3Url:Object(o.J)(B,e||"large")})}}),Q.imageHeight&&wp.element.createElement(w.db,{attrNameTemplate:"imageBackground%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Image Height",r.i18n),min:50,max:1e3,allowReset:!0,placeholder:"300",className:"ugb--help-tip-image-height-crop"})),Q.imageWidth&&wp.element.createElement(D.Fragment,null,wp.element.createElement(w.pb,null,wp.element.createElement(w.b,{label:Object(l.__)("Image Width",r.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:A,unit:L,onChange:function(e){return n({imageBackgroundWidth:e})},onChangeUnit:function(e){return n({imageBackgroundWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})),wp.element.createElement(w.pb,{screen:"tablet"},wp.element.createElement(w.b,{label:Object(l.__)("Image Width",r.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:P,unit:H,onChange:function(e){return n({imageBackgroundTabletWidth:e})},onChangeUnit:function(e){return n({imageBackgroundTabletWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})),wp.element.createElement(w.pb,{screen:"mobile"},wp.element.createElement(w.b,{label:Object(l.__)("Image Width",r.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:M,unit:G,onChange:function(e){return n({imageBackgroundMobileWidth:e})},onChangeUnit:function(e){return n({imageBackgroundMobileWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})))),wp.element.createElement(w.Y,{title:Object(l.__)("Title",r.i18n),id:"title",checked:d,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(I(Object(o.B)("title%s")),["titleTag","titleColor"],I(Object(o.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(w.mb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(w.H,{value:q||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(w.r,{value:K,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",r.i18n)}),wp.element.createElement(w.db,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(w.Y,{title:Object(l.__)("Subtitle",r.i18n),id:"subtitle",checked:h,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat(I(Object(o.B)("subtitle%s")),["subtitleColor"],I(Object(o.w)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(w.mb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(w.r,{value:Z,onChange:function(e){return n({subtitleColor:e})},label:Object(l.__)("Subtitle Color",r.i18n)}),wp.element.createElement(w.db,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(w.Y,{title:Object(l.__)("Description",r.i18n),id:"description",checked:y,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(I(Object(o.B)("description%s")),["descriptionColor"],I(Object(o.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(w.mb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(w.r,{value:J,onChange:function(e){return n({descriptionColor:e})},label:Object(l.__)("Description Color",r.i18n)}),wp.element.createElement(w.db,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(w.Y,{title:Object(l.__)("Button",r.i18n),id:"button",checked:k,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(I(Object(o.n)("button%s")),I(Object(o.w)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(w.m,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1}),wp.element.createElement(w.u,null),wp.element.createElement(w.db,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(w.Z,{initialOpen:!1,blockProps:t},Q.imageSpacing&&wp.element.createElement(w.db,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Image",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-image"})),Q.titleSpacing&&wp.element.createElement(w.db,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Title",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),Q.subtitleSpacing&&wp.element.createElement(w.db,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Subtitle",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),Q.descriptionSpacing&&wp.element.createElement(w.db,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Description",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),Q.buttonSpacing&&wp.element.createElement(w.db,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Button",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var L=Object(R.compose)(O.i,O.g,O.d,Object(O.h)(),Object(O.c)(["Title%sAlign","Subtitle%sAlign","Description%sAlign","Button%sAlign"]),Object(O.a)(P,{editorMode:!0}),Object(O.b)([[".ugb-card__title","title"],[".ugb-card__subtitle","subtitle"],[".ugb-card__description","description"],[".ugb-button","button"],[".ugb-card__item","column-background"]]),Object(M.withSelect)(function(e,t){Object(o.f)(t.attributes.image1Id,e),Object(o.f)(t.attributes.image2Id,e),Object(o.f)(t.attributes.image3Id,e)}))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,s=a.columns,u=void 0===s?2:s,b=a.design,p=void 0===b?"basic":b,g=a.shadow,f=void 0===g?"":g,h=a.imageSize,v=void 0===h?"":h,y=a.titleTag,O=void 0===y?"h4":y,k=a.showImage,_=void 0===k||k,j=a.showTitle,C=void 0===j||j,x=a.showSubtitle,E=void 0===x||x,B=a.showDescription,T=void 0===B||B,A=a.showButton,N=void 0===A||A,P=a.buttonIcon,F=void 0===P?"":P,R=S(e),M=m()([t,"ugb-card--v2","ugb-card--design-".concat(p),"ugb-card--columns-".concat(u)],Object(c.applyFilters)("stackable.card.mainclasses",{},e));return wp.element.createElement(w.j.Edit,{className:M,blockProps:e,render:function(){return wp.element.createElement(D.Fragment,null,Object(i.range)(1,u+1).map(function(t){var i=a["image".concat(t,"Url")],s=a["image".concat(t,"Id")],u=a["title".concat(t)],b=a["subtitle".concat(t)],p=a["description".concat(t)],g=a["button".concat(t,"Text")],h=m()(["ugb-card__item","ugb-card__item".concat(t)],Object(c.applyFilters)("stackable.card.itemclasses",z({},"ugb--shadow-".concat(f),R.columnBackground&&""!==f),e)),y=m()(["ugb-card__image"],Object(c.applyFilters)("stackable.card.imageclasses",z({},"ugb--shadow-".concat(f),!R.columnBackground),e));return wp.element.createElement(w.C,{className:h,backgroundAttrName:"column%s",blockProps:e,showBackground:R.columnBackground,key:t},_&&wp.element.createElement(w.U,{imageID:s,imageURL:i,imageSize:v,className:y,onRemove:function(){var e;n((z(e={},"image".concat(t,"Url"),""),z(e,"image".concat(t,"Id"),""),e))},onChange:function(e){var a;n((z(a={},"image".concat(t,"Url"),e.url),z(a,"image".concat(t,"Id"),e.id),a))}}),wp.element.createElement("div",{className:"ugb-card__content"},C&&wp.element.createElement(d.RichText,{tagName:O||"h4",value:u,className:"ugb-card__title",placeholder:Object(l.__)("Title for This Block",r.i18n),onChange:function(e){return n(z({},"title".concat(t),e))},keepPlaceholderOnFocus:!0}),E&&wp.element.createElement(d.RichText,{tagName:"p",value:b,className:"ugb-card__subtitle",onChange:function(e){return n(z({},"subtitle".concat(t),e))},placeholder:Object(l.__)("Subtitle for this block",r.i18n),keepPlaceholderOnFocus:!0}),T&&wp.element.createElement(d.RichText,{tagName:"p",value:p,className:"ugb-card__description",onChange:function(e){return n(z({},"description".concat(t),e))},placeholder:Object(o.F)("medium"),keepPlaceholderOnFocus:!0}),N&&wp.element.createElement(w.o,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes,text:g,icon:a["button".concat(t,"Icon")]||F,onChange:function(e){return n(z({},"button".concat(t,"Text"),e))},onChangeIcon:function(e){return n(z({},"button".concat(t,"Icon"),e))},url:a["button".concat(t,"Url")],newTab:a["button".concat(t,"NewTab")],noFollow:a["button".concat(t,"NoFollow")],onChangeUrl:function(e){return n(z({},"button".concat(t,"Url"),e))},onChangeNewTab:function(e){return n(z({},"button".concat(t,"NewTab"),e))},onChangeNoFollow:function(e){return n(z({},"button".concat(t,"NoFollow"),e))}})))}))}})});function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var H=Object(R.compose)(O.i,Object(O.a)(P))(function(e){var t=e.className,n=e.attributes,a=n.columns,o=void 0===a?2:a,r=n.design,l=void 0===r?"basic":r,s=n.shadow,u=void 0===s?"":s,b=n.titleTag,p=void 0===b?"h4":b,g=n.showImage,f=void 0===g||g,h=n.showTitle,v=void 0===h||h,y=n.showSubtitle,O=void 0===y||y,k=n.showDescription,_=void 0===k||k,j=n.showButton,C=void 0===j||j,x=n.buttonIcon,E=void 0===x?"":x,B=S(e),T=m()([t,"ugb-card--v2","ugb-card--design-".concat(l),"ugb-card--columns-".concat(o)],Object(c.applyFilters)("stackable.card.mainclasses",{},e));return wp.element.createElement(w.j.Save,{className:T,blockProps:e,render:function(){return wp.element.createElement(D.Fragment,null,Object(i.range)(1,o+1).map(function(t){var a=n["image".concat(t,"Url")],o=n["title".concat(t)],i=n["subtitle".concat(t)],r=n["description".concat(t)],l=n["button".concat(t,"Text")],s=m()(["ugb-card__item","ugb-card__item".concat(t)],Object(c.applyFilters)("stackable.card.itemclasses",U({},"ugb--shadow-".concat(u),B.columnBackground&&""!==u),e)),b=m()(["ugb-card__image"],Object(c.applyFilters)("stackable.card.imageclasses",U({},"ugb--shadow-".concat(u),!B.columnBackground),e));return wp.element.createElement(w.C,{className:s,backgroundAttrName:"column%s",blockProps:e,showBackground:B.columnBackground,key:t},f&&a&&wp.element.createElement("div",{className:b}),wp.element.createElement("div",{className:"ugb-card__content"},v&&!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:p||"h4",className:"ugb-card__title",value:o}),O&&!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__subtitle",value:i}),_&&!d.RichText.isEmpty(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__description",value:r}),C&&!d.RichText.isEmpty(l)&&wp.element.createElement(w.o.Content,{attrNameTemplate:"button%s",blockAttributes:e.attributes,text:l,icon:n["button".concat(t,"Icon")]||E,url:n["button".concat(t,"Url")],newTab:n["button".concat(t,"NewTab")],noFollow:n["button".concat(t,"NoFollow")]})))}))}})});function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return V}),n.d(t,"name",function(){return q}),n.d(t,"settings",function(){return Y});var V=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(n,!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:2},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(o.j)("column%s"),{showImage:{type:"boolean",default:!0}},Object(o.s)("image%s"),{},Object(o.h)("imageBackground%s%s",{type:"number",default:""},["","Tablet","Mobile"],["Width","Height"]),{},Object(o.x)("imageBackground%sWidthUnit",{type:"string",default:"%"}),{},Object(o.h)("image%sId",{type:"number",default:""},["1","2","3"]),{},Object(o.h)("image%sUrl",{type:"string",default:""},["1","2","3"]),{},Object(o.h)("title%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__title",default:Object(l.__)("Title for This Block",r.i18n)},["1","2","3"]),{showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(o.C)("title%s"),{titleColor:{type:"string",default:""}},Object(o.h)("subtitle%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__subtitle",default:Object(l.__)("Subtitle for This Block",r.i18n)},["1","2","3"]),{showSubtitle:{type:"boolean",default:!0}},Object(o.C)("subtitle%s"),{subtitleColor:{type:"string",default:""}},Object(o.h)("description%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__description",default:Object(o.F)("medium")},["1","2","3"]),{showDescription:{type:"boolean",default:!0}},Object(o.C)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(o.o)("button%s",{exclude:["Text","Url","NewTab","NoFollow"]}),{},Object(o.o)("button1%s",{selector:".ugb-card__item1 .ugb-button"}),{},Object(o.o)("button2%s",{selector:".ugb-card__item2 .ugb-button"}),{},Object(o.o)("button3%s",{selector:".ugb-card__item3 .ugb-button"}),{},Object(o.h)("%s%sAlign",{type:"string",default:""},["Image","Title","Subtitle","Description","Button"],["","Tablet","Mobile"]),{},Object(o.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Title","Subtitle","Description","Button"],["","Tablet","Mobile"]),{},Object(o.h)("Column%sBackgroundColor",{type:"string",default:""},["1","2","3"]),{hoverEffect:{type:"string",default:""}}),q="ugb/card",Y={title:Object(l.__)("Card",r.i18n),description:Object(l.__)("Describe a single subject in a small card. You can use this to describe your product, service or a person.",r.i18n),icon:a.f,category:"layout",keywords:[Object(l.__)("Card",r.i18n),Object(l.__)("Stackable",r.i18n)],attributes:V,supports:{inserter:!r.disabledBlocks.includes(q)},deprecated:y,edit:L,save:H,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(c.applyFilters)("stackable.card.custom-css.default","")}}};Object(c.addFilter)("stackable.card.advanced-column-spacing.paddings.selector","stackable/card",function(){return".ugb-card__content"}),Object(c.addFilter)("stackable.card.advanced-column-spacing.vertical-align.selector","stackable/card",function(){return".ugb-card__content"})},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(1),i=n(0),r=n(5);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(r.addFilter)("stackable.feature-grid.design.no-text-attributes","stackable/feature-grid",function(e){return Object(a.omit)(e,["title1","title2","title3","title4","description1","description2","description3","description4","button1Text","button2Text","button3Text","button4Text"])}),Object(r.addFilter)("stackable.feature-grid.design.filtered-block-attributes","stackable/feature-grid",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["image1Id"].concat(s(t&&t.image1Id?["image1Url"]:[]),["image2Id"],s(t&&t.image2Id?["image2Url"]:[]),["image3Id"],s(t&&t.image3Id?["image3Url"]:[]),["image4Id"],s(t&&t.image4Id?["image4Url"]:[]),["button1Url","button1NewTab","button1NoFollow","button2Url","button2NewTab","button2NoFollow","button3Url","button3NewTab","button3NoFollow","button4Url","button4NewTab","button4NoFollow"]))}),Object(r.addFilter)("stackable.feature-grid.edit.designs","stackable/feature-grid",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(i.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-featuregrid-design-corporate-light-01.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#ffffff",image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-01-03.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-01-02.jpg",image3Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-01-01.jpg",image1Alt:"Title",image2Alt:"Title",image3Alt:"Title",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleFontSize:34,titleColor:"#ff550a",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#ffb20b",buttonHoverEffect:"lift",buttonBorderRadius:100,imageBottomMargin:40,descriptionBottomMargin:40,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffd781",showTopSeparator:!1,showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ff550a",showBlockDescription:!0,blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070",contentAlign:"left"}},corporateLight2:{label:Object(i.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-featuregrid-design-corporate-light-02.jpg",attributes:{borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-02-01.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-02-02.jpg",image3Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-02-03.jpg",image1Alt:"Title",image2Alt:"Title",image3Alt:"Title",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleFontSize:34,titleColor:"#1e55d3",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#c49732",buttonHoverEffect:"lift",buttonBorderRadius:100,imageBottomMargin:40,descriptionBottomMargin:40,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffffff",showTopSeparator:!1,showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c49732",showBlockDescription:!0,blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070",contentAlign:"left"}},corporateDark1:{label:Object(i.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-featuregrid-design-corporate-dark-01.jpg",attributes:{borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-01-01.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-01-02.jpg",image3Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-01-03.jpg",image1Alt:"Title",image2Alt:"Title",image3Alt:"Title",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleFontSize:34,titleColor:"#1785cb",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#c4e558",buttonHoverEffect:"lift",buttonBorderRadius:100,imageBottomMargin:40,descriptionBottomMargin:40,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#0e2448",showTopSeparator:!1,showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#eeffb5",showBlockDescription:!0,blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",contentAlign:"left"}},corporateDark2:{label:Object(i.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-featuregrid-design-corporate-dark-02.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#2f2f2f",image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-02-04.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-02-02.jpg",image3Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-02-01.jpg",image1Alt:"Title",image2Alt:"Title",image3Alt:"Title",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleFontSize:34,titleColor:"#06c19d",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#06c19d",buttonHoverEffect:"lift",buttonBorderRadius:100,imageBottomMargin:40,descriptionBottomMargin:40,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#717171",showTopSeparator:!1,showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#06c19d",showBlockDescription:!0,blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",contentAlign:"left"}}})});var u=n(17),b=n(2),p=n(8),g=n.n(p),m=n(36),d=n.n(m),f=n(6);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=[{attributes:{design:{type:"string",default:"basic"},columns:{type:"number",default:3},imageSize:{type:"number",default:100},imageID1:{type:"number"},imageID2:{type:"number"},imageID3:{type:"number"},imageUrl1:{type:"url"},imageUrl2:{type:"url"},imageUrl3:{type:"url"},imageAlt1:{type:"string"},imageAlt2:{type:"string"},imageAlt3:{type:"string"},title1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-feature-grid__title",default:Object(i.__)("Title",o.i18n)},title2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-feature-grid__title",default:Object(i.__)("Title",o.i18n)},title3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-feature-grid__title",default:Object(i.__)("Title",o.i18n)},description1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-feature-grid__description",default:Object(b.F)("short")},description2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-feature-grid__description",default:Object(b.F)("short")},description3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-feature-grid__description",default:Object(b.F)("short")},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button",attribute:"href",default:""},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button",attribute:"href",default:""},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button",attribute:"href",default:""},newTab1:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button",attribute:"target",default:!1},newTab2:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button",attribute:"target",default:!1},newTab3:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button",attribute:"target",default:!1},linkText1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button span",default:Object(i.__)("Button text",o.i18n)},linkText2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button span",default:Object(i.__)("Button text",o.i18n)},linkText3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button span",default:Object(i.__)("Button text",o.i18n)},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"link"},buttonIcon:{type:"string"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},align:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.attributes,n=e.className,a=t.columns,o=t.imageSize,i=t.design,l=t.buttonColor,c=t.buttonTextColor,s=t.buttonSize,p=t.buttonBorderRadius,m=t.buttonDesign,h=void 0===m?"link":m,v=t.buttonIcon,w=t.borderRadius,O=void 0===w?12:w,k=t.shadow,_=void 0===k?3:k,j=g()([n,"ugb-feature-grid","ugb-feature-grid--columns-".concat(a)],Object(r.applyFilters)("stackable.feature-grid.mainclasses_1_17_2",y({},"ugb-feature-grid--design-".concat(i),i&&"basic"!==i),i,e)),C={borderRadius:"plain"!==i&&12!==O?O:void 0};return wp.element.createElement("div",{className:j},Object(r.applyFilters)("stackable.feature-grid.edit.output.before_1_17_2",null,i,e),Object(b.Y)(1,a+1).map(function(n){var a=t["imageUrl".concat(n)],b=t["imageAlt".concat(n)],m=t["title".concat(n)],w=t["description".concat(n)],O=t["linkUrl".concat(n)],k=t["newTab".concat(n)],j=t["linkText".concat(n)],x=g()(["ugb-feature-grid__item"],Object(r.applyFilters)("stackable.feature-grid.itemclasses_1_17_2",y({},"ugb--shadow-".concat(_),"plain"!==i&&3!==_),i,n,e)),E=Object(r.applyFilters)("stackable.feature-grid.itemstyles_1_17_2",{image:{width:a?"".concat(o,"%"):void 0}},i,n,e);return wp.element.createElement("div",{className:x,style:C,key:n},a&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement("img",{src:a,style:E.image,alt:d()(m||b)})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},!f.RichText.isEmpty(m)&&wp.element.createElement(f.RichText.Content,{tagName:"h5",className:"ugb-feature-grid__title",value:m}),!f.RichText.isEmpty(w)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-feature-grid__description",value:w}),!f.RichText.isEmpty(j)&&wp.element.createElement(u.d,{size:s,url:O,newTab:k,color:c,text:j,icon:v,design:h,backgroundColor:l,borderRadius:p})))}),Object(r.applyFilters)("stackable.feature-grid.edit.output.after_1_17_2",null,i,e))},migrate:function(e){var t;if(e.imageSize&&"horizontal"!==e.design){var n="wide"!==e.align?o.contentWidth||900:1200,a="plain"===e.design?0:70,i=1===e.columns?n-a:2===e.columns?(n-35)/2-a:(n-70)/3-a;t=parseInt((parseInt(e.imageSize,10)||100)/100*i,10)}return v({},e,{image1Id:e.imageID1,image2Id:e.imageID2,image3Id:e.imageID3,image1Url:e.imageUrl1,image2Url:e.imageUrl2,image3Url:e.imageUrl3,image1Alt:e.imageAlt1,image2Alt:e.imageAlt2,image3Alt:e.imageAlt3,button1Url:e.linkUrl1,button2Url:e.linkUrl2,button3Url:e.linkUrl3,button1NewTab:e.newTab1,button2NewTab:e.newTab2,button3NewTab:e.newTab3,button1Text:e.linkText1,button2Text:e.linkText2,button3Text:e.linkText3,buttonBackgroundColor:e.buttonColor,imageWidth:t})}},{attributes:{design:{type:"string",default:"basic"},columns:{type:"number",default:3},imageSize:{type:"number",default:100},imageID1:{type:"number"},imageID2:{type:"number"},imageID3:{type:"number"},imageUrl1:{type:"url"},imageUrl2:{type:"url"},imageUrl3:{type:"url"},title1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) h5",default:"Title"},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:"Title"},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:"Title"},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:Object(b.F)("short")},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:Object(b.F)("short")},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:Object(b.F)("short")},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",attribute:"href"},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",attribute:"href"},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",attribute:"href"},linkText1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",default:"Button text"},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:"Button text"},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:"Button text"}},save:function(e){var t=e.attributes,n=e.className,a=t.columns,o=t.imageSize,i=t.design,r=g()([n,"ugb-feature-grid","columns-".concat(a)],y({},"ugb-design-".concat(i),i&&"basic"!==i));return wp.element.createElement("div",{className:r},Object(b.Y)(1,a+1).map(function(e){var n=t["imageUrl".concat(e)],a=t["title".concat(e)],i=t["description".concat(e)],r=t["linkUrl".concat(e)],l=t["linkText".concat(e)];return wp.element.createElement("div",{className:"ugb-feature-grid-item",key:e},n&&wp.element.createElement("img",{src:n,style:{width:"".concat(o,"%")},alt:a}),!f.RichText.isEmpty(a)&&wp.element.createElement(f.RichText.Content,{tagName:"h5",className:"ugb-fg-title",value:a}),!f.RichText.isEmpty(i)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-fg-description",value:i}),!f.RichText.isEmpty(l)&&wp.element.createElement("p",null,wp.element.createElement(f.RichText.Content,{tagName:"a",href:r,value:l,className:"ugb-fg-link"})))}))},migrate:function(e){return v({},e,{buttonDesign:"link",buttonSize:"normal",buttonBorderRadius:4,borderRadius:12,shadow:3,newTab1:!1,newTab2:!1,newTab3:!1})}},{attributes:{design:{type:"string",default:"basic"},columns:{type:"number",default:3},imageSize:{type:"number",default:100},imageID1:{type:"number"},imageID2:{type:"number"},imageID3:{type:"number"},imageUrl1:{type:"url"},imageUrl2:{type:"url"},imageUrl3:{type:"url"},title1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) h5",default:"Feature 1"},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:"Feature 2"},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:"Feature 3"},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:"Some feature description for an awesome feature"},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:"Some feature description for an awesome feature"},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:"Some feature description for an awesome feature"},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",attribute:"href"},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",attribute:"href"},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",attribute:"href"},linkText1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",default:"View More"},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:"View More"},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:"View More"}},save:function(e){var t=e.attributes,n=e.className,a=t.columns,o=t.imageSize,i=t.design,r=g()([n,"ugb-feature-grid","columns-".concat(a)],y({},"ugb-design-".concat(i),i&&"basic"!==i));return wp.element.createElement("div",{className:r},Object(b.Y)(1,a+1).map(function(e){var n=t["imageUrl".concat(e)],a=t["title".concat(e)],i=t["description".concat(e)],r=t["linkUrl".concat(e)],l=t["linkText".concat(e)];return wp.element.createElement("div",{className:"ugb-feature-grid-item",key:e},n&&wp.element.createElement("img",{src:n,style:{width:"".concat(o,"%")}}),!f.RichText.isEmpty(a)&&wp.element.createElement(f.RichText.Content,{tagName:"h5",className:"ugb-fg-title",value:a}),!f.RichText.isEmpty(i)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-fg-description",value:i}),!f.RichText.isEmpty(l)&&wp.element.createElement("p",null,wp.element.createElement(f.RichText.Content,{tagName:"a",href:r,value:l,className:"ugb-fg-link"})))}))}}],O=n(3),k=n(11),_=n(290),j=n.n(_),C=n(291),x=n.n(C),E=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showImage,i=void 0===o||o,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showButton,p=void 0===b||b;return Object(r.applyFilters)("stackable.feature-grid.show",{columnBackground:"plain"!==a,columnBackground1:"plain"!==a,columnBackground2:"plain"!==a,columnBackground3:"plain"!==a,columnBackground4:"plain"!==a,imageSpacing:i&&"horizontal"!==a,titleSpacing:c,descriptionSpacing:u,buttonSpacing:p},e)},S=n(15),B=n.n(S);function T(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(n,!0).forEach(function(t){P(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e){var t=Object(b.b)(e.attributes),n=E(e),a=e.attributes,o=a.columnBackgroundColor,i=void 0===o?"":o,l=a.showImage,c=void 0===l||l,s=a.contentAlign,u=void 0===s?"":s,p=[];n.columnBackground&&p.push({".ugb-feature-grid__item":{borderRadius:t("borderRadius","%spx !important")}});var g=Object(r.applyFilters)("stackable.feature-grid.styles.column-background","ugb-feature-grid__item",e.attributes);g&&p.push(N({},n.columnBackground?Object(b.l)("column%s",g,e.attributes,{importantBackgroundColor:!0}):{}));var m=e.attributes,d=m.imageAlign,f=void 0===d?"":d,h=m.imageTabletAlign,v=void 0===h?"":h,y=m.tabletContentAlign,w=void 0===y?"":y,O=m.imageMobileAlign,k=void 0===O?"":O,_=m.mobileContentAlign,j=void 0===_?"":_;c&&(p.push(N({},Object(b.v)("image%s","ugb-img",e.attributes))),p.push({".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==f||""!==u?Object(b.T)(f||u)+" !important":void 0,marginRight:""!==f||""!==u?Object(b.U)(f||u)+" !important":void 0},tablet:{".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==v||""!==w?Object(b.T)(v||w)+" !important":void 0,marginRight:""!==v||""!==w?Object(b.U)(v||w)+" !important":void 0}},mobile:{".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==k||""!==j?Object(b.T)(k||j)+" !important":void 0,marginRight:""!==k||""!==j?Object(b.U)(k||j)+" !important":void 0}}}));var C=e.attributes,x=C.titleColor,S=void 0===x?"":x,A=C.showTitle;if(void 0===A||A){var F=Object(r.applyFilters)("stackable.feature-grid.styles.title.color-selector",".ugb-feature-grid__title",e);p.push(P({},F,{color:Object(b.gb)(S,n.columnBackground&&i)})),p.push({".ugb-feature-grid__title":N({},Object(b.D)("title%s","desktop",e.attributes),{textAlign:t("titleAlign")||t("contentAlign")}),tablet:{".ugb-feature-grid__title":N({},Object(b.D)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")||t("tabletContentAlign")})},mobile:{".ugb-feature-grid__title":N({},Object(b.D)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")||t("mobileContentAlign")})}})}var R=e.attributes,D=R.descriptionColor,M=void 0===D?"":D,z=R.showDescription;if(void 0===z||z){var I=Object(r.applyFilters)("stackable.feature-grid.styles.description.color-selector",".ugb-feature-grid__description",e);p.push(P({},I,{color:Object(b.gb)(M,n.columnBackground&&i)})),p.push({".ugb-feature-grid__description":N({},Object(b.D)("description%s","desktop",e.attributes),{textAlign:t("descriptionAlign")||t("contentAlign")}),tablet:{".ugb-feature-grid__description":N({},Object(b.D)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")||t("tabletContentAlign")})},mobile:{".ugb-feature-grid__description":N({},Object(b.D)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")||t("mobileContentAlign")})}})}var L=e.attributes,U=L.showButton,H=void 0===U||U,W=L.buttonDesign,G=void 0===W?"":W;return H&&(p.push(N({},Object(b.p)("button%s","ugb-button",N({},e.attributes,{buttonDesign:G||"plain"})))),p.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")||t("contentAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")||t("tabletContentAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")||t("mobileContentAlign","%s !important")}}})),n.imageSpacing&&p.push.apply(p,T(Object(b.y)(".ugb-feature-grid__image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.titleSpacing&&p.push.apply(p,T(Object(b.y)(".ugb-feature-grid__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&p.push.apply(p,T(Object(b.y)(".ugb-feature-grid__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonSpacing&&p.push.apply(p,T(Object(b.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),B.a.all(p)},R=n(9),D=n(12),M=n(7),z=n(14);function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(r.addFilter)("stackable.feature-grid.edit.inspector.layout.before","stackable/feature-grid",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"basic":a;return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(O.z,{initialOpen:!0,selected:l,options:[{image:j.a,label:Object(i.__)("Basic",o.i18n),value:"basic"},{image:x.a,label:Object(i.__)("Plain",o.i18n),value:"plain"}].concat(L(Object(r.applyFilters)("stackable.feature-grid.edit.layouts",[]))),onChange:function(e){n({design:e})}},o.showProNotice&&wp.element.createElement(O.cb,null)))}),Object(r.addFilter)("stackable.feature-grid.edit.inspector.style.before","stackable/feature-grid",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.columns,l=a.borderRadius,c=void 0===l?"":l,s=a.shadow,u=void 0===s?"":s,p=a.showTitle,g=void 0===p||p,m=a.showDescription,d=void 0===m||m,f=a.titleTag,h=void 0===f?"":f,v=a.titleColor,y=void 0===v?"":v,w=a.descriptionColor,k=void 0===w?"":w,_=a.showImage,j=void 0===_||_,C=a.showButton,x=void 0===C||C,S=a.image1Id,B=void 0===S?"":S,T=a.image2Id,A=void 0===T?"":T,N=a.image3Id,P=void 0===N?"":N,F=a.image4Id,D=void 0===F?"":F,z=E(t);return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(R.PanelBody,{title:Object(i.__)("General",o.i18n)},wp.element.createElement(O.b,{label:Object(i.__)("Columns",o.i18n),value:r,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),z.columnBackground&&wp.element.createElement(O.b,{label:Object(i.__)("Border Radius",o.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),z.columnBackground&&wp.element.createElement(O.b,{label:Object(i.__)("Shadow / Outline",o.i18n),value:u,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(O.t,{setAttributes:n,blockAttributes:t.attributes})),z.columnBackground&&wp.element.createElement(O.Y,{title:Object(i.__)("Column Background",o.i18n),initialOpen:!1,id:"column-background",className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(O.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(O.Y,{title:Object(i.__)("Image",o.i18n),checked:j,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:["imageSize","imageShape","imageShapeFlipX","imageShapeFlipY","imageShapeStretch","imageWidth"].concat(L(Object(b.w)("image%sWidth")),["imageBorderRadius","imageShadow","imageBlendMode"]),toggleAttributeName:"showImage"},wp.element.createElement(O.Q,{attrNameTemplate:"image%s",setAttributes:t.setAttributes,blockAttributes:t.attributes,onChangeImage:!1,onChangeAlt:!1,onChangeBlendMode:!1,onChangeSize:function(e){n({imageSize:e,image1Url:Object(b.J)(B,e||"medium"),image2Url:Object(b.J)(A,e||"medium"),image3Url:Object(b.J)(P,e||"medium"),image4Url:Object(b.J)(D,e||"medium")})}}),wp.element.createElement(O.db,{attrNameTemplate:"Image%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-image"}))),wp.element.createElement(O.Y,{title:Object(i.__)("Title",o.i18n),id:"title",checked:g,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(L(Object(b.B)("title%s")),["titleTag","titleColor"],L(Object(b.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(O.mb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(O.H,{value:h||"h2",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(O.r,{value:y,onChange:function(e){return n({titleColor:e})},label:Object(i.__)("Title Color",o.i18n)}),wp.element.createElement(O.db,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(O.Y,{title:Object(i.__)("Description",o.i18n),id:"description",checked:d,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(L(Object(b.B)("description%s")),["descriptionColor"],L(Object(b.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(O.mb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(O.r,{value:k,onChange:function(e){return n({descriptionColor:e})},label:Object(i.__)("Description Color",o.i18n)}),wp.element.createElement(O.db,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(O.Y,{title:Object(i.__)("Button",o.i18n),id:"button",checked:x,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:L(Object(b.n)("button%s")),toggleAttributeName:"showButton"},wp.element.createElement(O.m,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes,design:t.attributes.buttonDesign||"plain",onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1}),wp.element.createElement(O.u,null),wp.element.createElement(O.db,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(O.Z,{initialOpen:!1,blockProps:t},z.imageSpacing&&wp.element.createElement(O.db,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(i.__)("Image",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-image"})),z.titleSpacing&&wp.element.createElement(O.db,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(i.__)("Title",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),z.descriptionSpacing&&wp.element.createElement(O.db,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(i.__)("Description",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),z.buttonSpacing&&wp.element.createElement(O.db,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(i.__)("Button",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var U=Object(D.compose)(k.i,k.g,k.d,Object(k.h)(),Object(k.c)(["Image%sAlign","Title%sAlign","Description%sAlign","Button%sAlign"]),Object(k.a)(F,{editorMode:!0}),Object(k.b)([[".ugb-feature-grid__item","column-background"],[".ugb-feature-grid__title","title"],[".ugb-feature-grid__description","description"],[".ugb-button","button"]]),Object(z.withSelect)(function(e,t){Object(b.f)(t.attributes.image1Id,e),Object(b.f)(t.attributes.image2Id,e),Object(b.f)(t.attributes.image3Id,e),Object(b.f)(t.attributes.image4Id,e)}))(function(e){var t=e.className,n=e.setAttributes,l=e.attributes,c=l.columns,s=void 0===c?3:c,u=l.titleTag,p=void 0===u?"":u,m=l.imageSize,d=l.imageShape,h=void 0===d?"":d,v=l.imageShapeStretch,y=void 0!==v&&v,w=l.imageWidth,k=void 0===w?"":w,_=l.imageShadow,j=void 0===_?"":_,C=l.design,x=void 0===C?"basic":C,S=l.shadow,B=void 0===S?"":S,T=l.showImage,A=void 0===T||T,N=l.showTitle,P=void 0===N||N,F=l.showDescription,R=void 0===F||F,D=l.showButton,z=void 0===D||D,L=l.buttonIcon,U=void 0===L?"":L,H=g()([t,"ugb-feature-grid--v2","ugb-feature-grid--columns-".concat(s),"ugb-feature-grid--design-".concat(x)],Object(r.applyFilters)("stackable.feature-grid.mainclasses",{},e)),W=E(e);return wp.element.createElement(O.j.Edit,{className:H,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(a.range)(1,s+1).map(function(t){var a=l["image".concat(t,"Url")],c=l["image".concat(t,"Id")],s=l["image".concat(t,"Alt")],u=l["title".concat(t)],d=l["description".concat(t)],v=l["button".concat(t,"Text")],w=g()(["ugb-feature-grid__item","ugb-feature-grid__item".concat(t)],Object(r.applyFilters)("stackable.feature-grid.itemclasses",I({},"ugb--shadow-".concat(B),W.columnBackground&&""!==B),e,t));return wp.element.createElement(O.C,{className:w,backgroundAttrName:"column%s",blockProps:e,showBackground:W.columnBackground&&W["columnBackground".concat(t)],key:t},A&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement(O.U,{imageID:c,imageURL:a,imageSize:m,onRemove:function(){var e;n((I(e={},"image".concat(t,"Url"),""),I(e,"image".concat(t,"Id"),""),e))},onChange:function(e){var a,o=e.url,i=e.id;n((I(a={},"image".concat(t,"Url"),o),I(a,"image".concat(t,"Id"),i),a))},render:wp.element.createElement(O.K,{imageId:c,src:a,size:m,shape:l["image".concat(t,"Shape")]||h,shapeStretch:l["image".concat(t,"ShapeStretch")]||y,alt:s,shadow:j,width:k})})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},P&&wp.element.createElement(f.RichText,{tagName:p||"h5",className:"ugb-feature-grid__title",value:u,onChange:function(e){return n(I({},"title".concat(t),e))},placeholder:Object(i.__)("Title",o.i18n),keepPlaceholderOnFocus:!0}),R&&wp.element.createElement(f.RichText,{tagName:"p",className:"ugb-feature-grid__description",value:d,onChange:function(e){return n(I({},"description".concat(t),e))},placeholder:Object(b.F)("short"),keepPlaceholderOnFocus:!0}),z&&wp.element.createElement(O.o,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes,designDefault:"plain",text:v,icon:l["button".concat(t,"Icon")]||U,onChange:function(e){return n(I({},"button".concat(t,"Text"),e))},onChangeIcon:function(e){return n(I({},"button".concat(t,"Icon"),e))},url:l["button".concat(t,"Url")],newTab:l["button".concat(t,"NewTab")],noFollow:l["button".concat(t,"NoFollow")],onChangeUrl:function(e){return n(I({},"button".concat(t,"Url"),e))},onChangeNewTab:function(e){return n(I({},"button".concat(t,"NewTab"),e))},onChangeNoFollow:function(e){return n(I({},"button".concat(t,"NoFollow"),e))}})))}))}})});var H=Object(D.compose)(k.i,Object(k.a)(F))(function(e){var t=e.attributes,n=e.className,o=t.design,i=void 0===o?"basic":o,l=t.columns,c=void 0===l?3:l,s=t.imageShape,u=void 0===s?"":s,b=t.imageShapeStretch,p=void 0!==b&&b,m=t.imageWidth,d=void 0===m?"":m,h=t.imageShadow,v=void 0===h?"":h,y=t.titleTag,w=void 0===y?"":y,k=t.shadow,_=void 0===k?"":k,j=t.showImage,C=void 0===j||j,x=t.showTitle,S=void 0===x||x,B=t.showDescription,T=void 0===B||B,A=t.showButton,N=void 0===A||A,P=t.buttonIcon,F=void 0===P?"":P,R=g()([n,"ugb-feature-grid--v2","ugb-feature-grid--columns-".concat(c),"ugb-feature-grid--design-".concat(i)],Object(r.applyFilters)("stackable.feature-grid.mainclasses",{},e)),D=E(e);return wp.element.createElement(O.j.Save,{className:R,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(a.range)(1,c+1).map(function(n){var a,o,i,l=t["image".concat(n,"Url")],c=t["image".concat(n,"Id")],s=t["image".concat(n,"Alt")],b=t["title".concat(n)],m=t["description".concat(n)],h=t["button".concat(n,"Text")],y=g()(["ugb-feature-grid__item","ugb-feature-grid__item".concat(n)],Object(r.applyFilters)("stackable.feature-grid.itemclasses",(a={},o="ugb--shadow-".concat(_),i=D.columnBackground&&""!==_,o in a?Object.defineProperty(a,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[o]=i,a),e,n));return wp.element.createElement(O.C,{className:y,backgroundAttrName:"column%s",blockProps:e,showBackground:D.columnBackground&&D["columnBackground".concat(n)],key:n},l&&C&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement(O.K,{imageId:c,src:l,width:d,alt:s||S&&b,shadow:v,shape:t["image".concat(n,"Shape")]||u,shapeStretch:t["image".concat(n,"ShapeStretch")]||p})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},S&&!f.RichText.isEmpty(b)&&wp.element.createElement(f.RichText.Content,{tagName:w||"h5",className:"ugb-feature-grid__title",value:b}),T&&!f.RichText.isEmpty(m)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-feature-grid__description",value:m}),N&&!f.RichText.isEmpty(h)&&wp.element.createElement(O.o.Content,{attrNameTemplate:"button%s",blockAttributes:e.attributes,designDefault:"plain",text:h,icon:t["button".concat(n,"Icon")]||F,url:t["button".concat(n,"Url")],newTab:t["button".concat(n,"NewTab")],noFollow:t["button".concat(n,"NoFollow")]})))}))}})}),W=n(16);function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(n,!0).forEach(function(t){q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return Y}),n.d(t,"name",function(){return K}),n.d(t,"settings",function(){return X});var Y=V({design:{type:"string",default:"basic"},columns:{type:"number",default:3},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(b.j)("column%s"),{showImage:{type:"boolean",default:!0}},Object(b.q)("image%s",{exclude:["Url","Id","Alt","BlendMode"]}),{},Object(b.h)("image%sId",{type:"number",default:""},["1","2","3","4"]),{},Object(b.h)("image%sUrl",{type:"string",default:"",source:"attribute",selector:".ugb-feature-grid__item%d .ugb-feature-grid__image img",attribute:"src"},["1","2","3","4"]),{},Object(b.h)("image%sAlt",{type:"string",default:"",source:"attribute",selector:".ugb-feature-grid__item%d .ugb-feature-grid__image img",attribute:"alt"},["1","2","3","4"]),{},Object(b.h)("image%sShape",{type:"string",default:""},["1","2","3","4"]),{},Object(b.h)("image%s%s",{type:"boolean",default:!1},["1","2","3","4"],["ShapeFlipX","ShapeFlipY","ShapeStretch"]),{showTitle:{type:"boolean",default:!0}},Object(b.h)("title%s",{type:"string",source:"html",selector:".ugb-feature-grid__item%d .ugb-feature-grid__title",default:Object(i.__)("Title",o.i18n)},["1","2","3","4"]),{titleTag:{type:"string",defualt:""}},Object(b.C)("title%s"),{titleColor:{type:"string",default:""},showDescription:{type:"boolean",default:!0}},Object(b.h)("description%s",{type:"string",source:"html",selector:".ugb-feature-grid__item%d .ugb-feature-grid__description",default:Object(b.F)("short")},["1","2","3","4"]),{},Object(b.C)("description%s"),{descriptionColor:{type:"string",defualt:""},showButton:{type:"boolean",default:!0}},Object(b.o)("button%s",{exclude:["Text","Url","NewTab","NoFollow"]}),{},Object(b.o)("button1%s",{selector:".ugb-feature-grid__item1 .ugb-button"}),{},Object(b.o)("button2%s",{selector:".ugb-feature-grid__item2 .ugb-button"}),{},Object(b.o)("button3%s",{selector:".ugb-feature-grid__item3 .ugb-button"}),{},Object(b.o)("button4%s",{selector:".ugb-feature-grid__item4 .ugb-button"}),{},Object(b.h)("%s%sAlign",{type:"string",default:""},["Image","Title","Description","Button"],["","Tablet","Mobile"]),{},Object(b.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Title","Description","Button"],["","Tablet","Mobile"]),{hoverEffect:{type:"string",default:""}},Object(b.h)("Column%sBackgroundColor",{type:"string",default:""},["1","2","3","4"])),K="ugb/feature-grid",X={title:Object(i.__)("Feature Grid",o.i18n),description:Object(i.__)("Display multiple product features or services. You can use Feature Grids one after another.",o.i18n),icon:W.l,category:"layout",keywords:[Object(i.__)("Feature Grid",o.i18n),Object(i.__)("Stackable",o.i18n)],attributes:Y,supports:{align:["wide"],inserter:!o.disabledBlocks.includes(K)},deprecated:w,edit:U,save:H,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(r.applyFilters)("stackable.feature-grid.custom-css.default","")}}};Object(r.addFilter)("stackable.feature-grid.setAttributes","stackable/feature-grid/imageShape",function(e){return void 0!==e.imageShape?V({},e,{image1Shape:"",image2Shape:"",image3Shape:"",image4Shape:"",image1ShapeFlipX:"",image1ShapeFlipY:"",image1ShapeStretch:"",image2ShapeFlipX:"",image2ShapeFlipY:"",image2ShapeStretch:"",image3ShapeFlipX:"",image3ShapeFlipY:"",image3ShapeStretch:"",image4ShapeFlipX:"",image4ShapeFlipY:"",image4ShapeStretch:""}):void 0!==e.imageShapeFlipX?V({},e,{image1ShapeFlipX:"",image2ShapeFlipX:"",image3ShapeFlipX:"",image4ShapeFlipX:""}):void 0!==e.imageShapeFlipY?V({},e,{image1ShapeFlipY:"",image2ShapeFlipY:"",image3ShapeFlipY:"",image4ShapeFlipY:""}):void 0!==e.imageShapeStretch?V({},e,{image1ShapeStretch:"",image2ShapeStretch:"",image3ShapeStretch:"",image4ShapeStretch:""}):void 0!==e.columnBackgroundColor||void 0!==e.columnBackgroundColorType?V({},e,{column1BackgroundColor:"",column2BackgroundColor:"",column3BackgroundColor:"",column4BackgroundColor:""}):e})},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(1),i=n(0),r=n(5);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(r.addFilter)("stackable.feature.design.no-text-attributes","stackable/feature",function(e){return Object(a.omit)(e,["title","description","buttonText"])}),Object(r.addFilter)("stackable.feature.design.filtered-block-attributes","stackable/feature",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["imageId"].concat(s(t&&t.imageId?["imageUrl"]:[]),["imageAlt","buttonUrl","buttonNewTab","buttonNoFollow"]))}),Object(r.addFilter)("stackable.feature.edit.designs","stackable/feature",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(i.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-feature-design-corporate-light-01.jpg",attributes:{invert:!0,imageUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-light-01-01.jpg",imageWidth:580,imageHeight:506,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ff550a",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ff550a",buttonBackgroundColor:"#ffffff",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffd781",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1}},corporateLight2:{label:Object(i.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-feature-design-corporate-light-02.jpg",attributes:{invert:!0,imageUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-light-02-01.jpg",imageWidth:580,imageHeight:506,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#c49732",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#1e55d3",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1}},corporateDark1:{label:Object(i.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-feature-design-corporate-dark-01.jpg",attributes:{invert:!0,imageUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-dark-01-03.jpg",imageWidth:580,imageHeight:506,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#eeffb5",descriptionFontFamily:"Serif",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonSize:"small",buttonBorderRadius:100,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundMediaUrl:"http://sandbox.gambit.ph/v2-dev43-free-for-template-saving/wp-content/uploads/sites/42/2019/11/stack-cta-corporate-dark-01-01.jpg",blockBackgroundFixedBackground:!0,descriptionColor:"#ffffff"}},corporateDark2:{label:Object(i.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-feature-design-corporate-dark-02.jpg",attributes:{invert:!0,imageUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-dark-02-01.jpg",imageWidth:580,imageHeight:506,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#06c19d",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#06c19d",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#2f2f2f",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1}}})});var u=n(17),b=n(2),p=n(8),g=n.n(p),m=n(36),d=n.n(m),f=n(6);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=[{attributes:{textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},imageAlt:{type:"string"},title:{source:"html",selector:"h2",default:Object(i.__)("Title for This Block",o.i18n)},description:{source:"html",selector:"p",default:Object(b.F)("medium")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:Object(i.__)("Button text",o.i18n)},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n=e.className,a=e.attributes,o=a.invert,i=a.contentAlign,l=a.textColor,c=a.imageAlt,s=void 0===c?"":c,b=a.imageSize,p=a.imageUrl,m=a.title,h=a.description,w=a.buttonURL,O=a.buttonNewTab,k=a.buttonText,_=a.buttonColor,j=a.buttonTextColor,C=a.buttonSize,x=a.buttonBorderRadius,E=a.buttonDesign,S=a.buttonIcon,B=a.backgroundColorType,T=void 0===B?"":B,A=a.backgroundColor,N=a.backgroundColor2,P=a.backgroundColorDirection,F=void 0===P?0:P,R=a.backgroundType,D=void 0===R?"":R,M=a.backgroundImageURL,z=a.backgroundOpacity,I=void 0===z?5:z,L=a.fixedBackground,U=a.contentWidth,H=a.align,W=a.design,G=void 0===W?"plain":W,V=a.borderRadius,q=void 0===V?12:V,Y=a.shadow,K=void 0===Y?3:Y,X=g()([n,"ugb-feature","ugb--background-opacity-"+1*Math.round(I/1),"ugb-feature--design-".concat(G)],Object(r.applyFilters)("stackable.feature.mainclasses_1_17_2",(y(t={},"ugb-feature--content-".concat(i),i),y(t,"ugb-feature--invert",o),y(t,"ugb--has-background","plain"!==G&&(A||M)),y(t,"ugb--has-background-image","plain"!==G&&M),y(t,"ugb--content-width","full"===H&&U),y(t,"ugb--shadow-".concat(K),"plain"!==G&&3!==K),y(t,"ugb--has-background-gradient","plain"!==G&&"gradient"===T),y(t,"ugb--has-background-video","plain"!==G&&"video"===D),t),G,e)),J=g()(["ugb-feature__image"],Object(r.applyFilters)("stackable.feature.imageclasses_1_17_2",y({},"ugb--shadow-".concat(K),"plain"===G),G,e)),$="plain"===G?{}:{backgroundColor:A||void 0,backgroundImage:M?"url(".concat(M,")"):void 0,backgroundAttachment:L?"fixed":void 0,"--ugb-background-color":M||"gradient"===T?A:void 0,"--ugb-background-color2":"gradient"===T&&N?N:void 0,"--ugb-background-direction":"gradient"===T?"".concat(F,"deg"):void 0,borderRadius:12!==q?q:void 0},Z=Object(r.applyFilters)("stackable.feature.styles_1_17_2",{main:v({"--image-size":b?"".concat(b,"px"):void 0},$),image:{borderRadius:"plain"===G?q:void 0}},G,e),Q=!f.RichText.isEmpty(m)&&wp.element.createElement(f.RichText.Content,{tagName:"h2",className:"ugb-feature__title",style:{color:l},value:m}),ee=!f.RichText.isEmpty(h)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-feature__description",style:{color:l},value:h}),te=!f.RichText.isEmpty(k)&&wp.element.createElement(u.d,{size:C,url:w,newTab:O,align:i,color:j,text:k,icon:S,design:E,backgroundColor:_,borderRadius:x}),ne=p&&wp.element.createElement("img",{className:J,style:Z.image,src:p,alt:d()(m||s)}),ae={titleComp:Q,descriptionComp:ee,buttonComp:te,imageComp:ne};return wp.element.createElement("div",{className:X,style:Z.main},"basic"===G&&"video"===D&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:M}),Object(r.applyFilters)("stackable.feature.save.output.before_1_17_2",null,G,e),Object(r.applyFilters)("stackable.feature.save.output_1_17_2",wp.element.createElement("div",{className:"ugb-content-wrapper"},wp.element.createElement("div",{className:"ugb-feature__content"},Q,ee,te),wp.element.createElement("div",{className:"ugb-feature__image-side"},ne)),ae,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-feature(\s*{)/g,"\n.ugb-feature__item$1")},n={overlap:"overlap-bg",overlap2:"overlap-bg2",overlap3:"overlap-bg4"};return v({},e,{design:Object.keys(n).includes(e.design)?n[e.design]:e.design,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),titleColor:e.textColor,descriptionColor:e.textColor,imageWidth:e.imageSize,imageId:e.imageID,imageUrl:e.imageUrl,buttonUrl:e.buttonURL,buttonNewTab:e.buttonNewTab,buttonBackgroundColor:e.buttonColor,columnBackgroundColorType:e.backgroundColorType,columnBackgroundColor:e.backgroundColor,columnBackgroundColor2:e.backgroundColor2,columnBackgroundGradientDirection:e.backgroundColorDirection,columnBackgroundMediaId:e.backgroundImageID,columnBackgroundMediaUrl:e.backgroundImageURL,columnBackgroundTintStrength:e.backgroundOpacity,columnFixedBackground:e.fixedBackground,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:{textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:"Title for This Block"},description:{source:"html",selector:"p",default:Object(b.F)("medium")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href"},buttonText:{source:"html",selector:".ugb-button span",default:"Button text"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}},save:function(e){var t,n=e.className,a=e.attributes,o=a.invert,i=a.contentAlign,r=a.textColor,l=a.imageSize,c=a.imageUrl,s=a.title,b=a.description,p=a.buttonURL,m=a.buttonText,d=a.buttonColor,h=a.buttonTextColor,v=a.buttonSize,w=a.buttonBorderRadius,O=a.buttonDesign,k=a.buttonIcon,_=a.backgroundColor,j=a.backgroundImageURL,C=a.backgroundOpacity,x=a.fixedBackground,E=g()([n,"ugb-feature","ugb-has-background-opacity-"+1*Math.round(C/1)],(y(t={},"ugb-content-".concat(i),i),y(t,"ugb-invert",o),y(t,"ugb-has-background",_||j),y(t,"ugb-has-background-image",j),t)),S={"--image-size":l?"".concat(l,"px"):void 0,backgroundColor:_||void 0,backgroundImage:j?"url(".concat(j,")"):void 0,backgroundAttachment:x?"fixed":void 0,"--ugb-background-color":j?_:void 0};return wp.element.createElement("div",{className:E,style:S},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!f.RichText.isEmpty(s)&&wp.element.createElement(f.RichText.Content,{tagName:"h2",style:{color:r},value:s}),!f.RichText.isEmpty(b)&&wp.element.createElement(f.RichText.Content,{tagName:"p",style:{color:r},value:b}),!f.RichText.isEmpty(m)&&wp.element.createElement(u.b,{size:v,url:p,align:i,color:h,text:m,icon:k,design:O,backgroundColor:d,borderRadius:w})),wp.element.createElement("div",{className:"ugb-feature-image-side"},c&&wp.element.createElement("img",{src:c,alt:s}))))},migrate:function(e){var t=e.backgroundColor||e.backgroundImageURL?"basic":"plain",n=(e.className||"").replace(/align\w+/,"").trim();return v({},e,{design:t,contentWidth:"full"===e.align||"alignfull"===e.className,borderRadius:"plain"===t?0:12,shadow:"plain"===t?0:3,className:n||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align,buttonNewTab:!1})}},{attributes:{textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:"Feature Title"},description:{source:"html",selector:"p",default:"Some feature description for an awesome feature"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:"Learn More"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}},save:function(e){var t,n=e.className,a=e.attributes,o=a.invert,i=a.contentAlign,r=a.textColor,l=a.imageSize,c=a.imageUrl,s=a.title,b=a.description,p=a.buttonURL,m=a.buttonText,d=a.buttonColor,h=a.buttonTextColor,v=a.buttonSize,w=a.buttonBorderRadius,O=a.buttonDesign,k=a.buttonIcon,_=a.backgroundColor,j=a.backgroundImageURL,C=a.backgroundOpacity,x=a.fixedBackground,E=g()([n,"ugb-feature","ugb-has-background-opacity-"+1*Math.round(C/1)],(y(t={},"ugb-content-".concat(i),i),y(t,"ugb-invert",o),y(t,"ugb-has-background",_||j),y(t,"ugb-has-background-image",j),t)),S={"--image-size":l?"".concat(l,"px"):void 0,backgroundColor:_||void 0,backgroundImage:j?"url(".concat(j,")"):void 0,backgroundAttachment:x?"fixed":void 0,"--ugb-background-color":j?_:void 0};return wp.element.createElement("div",{className:E,style:S},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!f.RichText.isEmpty(s)&&wp.element.createElement(f.RichText.Content,{tagName:"h2",style:{color:r},value:s}),!f.RichText.isEmpty(b)&&wp.element.createElement(f.RichText.Content,{tagName:"p",style:{color:r},value:b}),!f.RichText.isEmpty(m)&&wp.element.createElement(u.g,{size:v,url:p,align:i,color:h,text:m,icon:k,design:O,backgroundColor:d,borderRadius:w})),wp.element.createElement("div",{className:"ugb-feature-image-side"},c&&wp.element.createElement("img",{src:c,alt:s}))))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return v({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{backgroundColor:{type:"string"},textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:"Feature Title"},description:{source:"html",selector:"p",default:"Some feature description for an awesome feature"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:"Learn More"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4}},save:function(e){var t,n=e.className,a=e.attributes,o=a.invert,i=a.contentAlign,r=a.backgroundColor,l=a.textColor,c=a.imageSize,s=a.imageUrl,b=a.title,p=a.description,m=a.buttonURL,d=a.buttonText,h=a.buttonColor,v=a.buttonTextColor,w=a.buttonSize,O=a.buttonBorderRadius,k=g()([n,"ugb-feature"],(y(t={"ugb-has-background":r},"ugb-content-".concat(i),i),y(t,"ugb-invert",o),t)),_={backgroundColor:r||void 0,"--image-size":c?"".concat(c,"px"):void 0};return wp.element.createElement("div",{className:k,style:_},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!f.RichText.isEmpty(b)&&wp.element.createElement(f.RichText.Content,{tagName:"h2",style:{color:l},value:b}),!f.RichText.isEmpty(p)&&wp.element.createElement(f.RichText.Content,{tagName:"p",style:{color:l},value:p}),!f.RichText.isEmpty(d)&&wp.element.createElement(u.f,{size:w,url:m,align:i,color:v,text:d,backgroundColor:h,borderRadius:O})),wp.element.createElement("div",{className:"ugb-feature-image-side"},s&&wp.element.createElement("img",{src:s,alt:b}))))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return v({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}}],O=n(3),k=n(11),_=n(292),j=n.n(_),C=n(293),x=n.n(C),E=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showTitle,i=void 0===o||o,l=t.showDescription,c=void 0===l||l,s=t.showButton,u=void 0===s||s;return Object(r.applyFilters)("stackable.feature.show",{imageColumnWidth:["basic","plain","half"].includes(a),containerWidth:a.match(/^overlap/),containerOffset:a.match(/^overlap(.*)?[2-5]$/),reverseHorizontally:!a.match(/^overlap-?\w*[45]$/),borderRadius:"plain"!==a,columnBackground:"plain"!==a,featuredImageAsBackground:a.match(/^(overlap-bg|half)/),titleSpacing:i,descriptionSpacing:c,buttonSpacing:u},e)},S=n(15),B=n.n(S);function T(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(n,!0).forEach(function(t){P(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e){var t=Object(b.b)(e.attributes),n=E(e),a=e.attributes,o=a.design,i=void 0===o?"plain":o,r=a.columnBackgroundColor,l=void 0===r?"":r,c=a.invert,s=void 0!==c&&c,u=[],p=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=("number"!=typeof e?50:e)/100*2,a=2-n;return t?"".concat(a.toFixed(2),"fr ").concat(n.toFixed(2),"fr"):"".concat(n.toFixed(2),"fr ").concat(a.toFixed(2),"fr")};if(n.imageColumnWidth&&u.push({desktopTablet:{".ugb-feature__item":{gridTemplateColumns:t("imageColumnWidth")?p(t("imageColumnWidth"),!s)+" !important":void 0}},tabletOnly:{".ugb-feature__item":{gridTemplateColumns:t("imageColumnTabletWidth")?p(t("imageColumnTabletWidth"),!s)+" !important":void 0}}}),n.borderRadius){var g="basic"===i||"half"===i?".ugb-feature__item":".ugb-feature__content";u.push(P({},g,{borderRadius:t("borderRadius","%spx !important")}))}if(n.columnBackground){var m="basic"===i?"ugb-feature__item":"ugb-feature__content";u.push(N({},n.columnBackground?Object(b.l)("column%s",m,e.attributes,{importantBackgroundColor:!0}):{}))}n.featuredImageAsBackground?(u.push(N({},Object(b.t)("image%s","ugb-feature__image",e.attributes))),u.push({".ugb-feature__item":{height:t("imageBackgroundHeight","%spx !important")},tablet:{".ugb-feature__item":{height:t("imageBackgroundTabletHeight","%spx !important")}},mobile:{".ugb-feature__item":{height:t("imageBackgroundMobileHeight","%spx !important")}}})):u.push(N({},n.featuredImageAsBackground?{}:Object(b.v)("image%s","ugb-img",e.attributes)));var d=e.attributes,f=d.titleColor,h=void 0===f?"":f,v=d.showTitle;(void 0===v||v)&&u.push({".ugb-feature__title":N({},Object(b.D)("title%s","desktop",e.attributes),{color:Object(b.gb)(h,n.columnBackground&&l),textAlign:t("titleAlign")}),tablet:{".ugb-feature__title":N({},Object(b.D)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")})},mobile:{".ugb-feature__title":N({},Object(b.D)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")})}});var y=e.attributes,w=y.descriptionColor,O=void 0===w?"":w,k=y.showDescription;(void 0===k||k)&&u.push({".ugb-feature__description":N({},Object(b.D)("description%s","desktop",e.attributes),{color:Object(b.gb)(O,n.columnBackground&&l),textAlign:t("descriptionAlign")}),tablet:{".ugb-feature__description":N({},Object(b.D)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")})},mobile:{".ugb-feature__description":N({},Object(b.D)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")})}});var _=e.attributes.showButton;return(void 0===_||_)&&(u.push(N({},Object(b.p)("button%s","ugb-button",e.attributes))),u.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})),n.titleSpacing&&u.push.apply(u,T(Object(b.y)(".ugb-feature__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&u.push.apply(u,T(Object(b.y)(".ugb-feature__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonSpacing&&u.push.apply(u,T(Object(b.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),B.a.all(u)},R=n(9),D=n(7),M=n(12),z=n(14);function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(r.addFilter)("stackable.feature.edit.inspector.layout.before","stackable/feature",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"plain":a;return wp.element.createElement(D.Fragment,null,e,wp.element.createElement(O.z,{initialOpen:!0,selected:l,options:[{image:j.a,label:Object(i.__)("Basic",o.i18n),value:"basic"},{image:x.a,label:Object(i.__)("Plain",o.i18n),value:"plain"}].concat(L(Object(r.applyFilters)("stackable.feature.edit.layouts",[]))),onChange:function(e){n({design:e})}},o.showProNotice&&wp.element.createElement(O.cb,null)))}),Object(r.addFilter)("stackable.feature.edit.inspector.style.before","stackable/feature",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.borderRadius,l=void 0===r?"":r,c=a.shadow,s=void 0===c?"":c,u=a.showTitle,p=void 0===u||u,g=a.titleTag,m=void 0===g?"":g,d=a.titleColor,f=void 0===d?"":d,h=a.invert,v=void 0!==h&&h,y=a.showButton,w=void 0===y||y,k=a.showDescription,_=void 0===k||k,j=a.descriptionColor,C=void 0===j?"":j,x=