Stackable – Page Builder Gutenberg Blocks - Version 1.5

Version Description

  • New: Count-up block can now have 1 to 4 columns
  • New: Count-up block can now be resized to wide and full-width
  • New: Count-up block can now have backgrounds
  • New: Adjacent full-width blocks are margin-less in the editor
  • New: Blockquote block can now be resized to wide and full-width
  • New: Blockquote block can now have backgrounds
  • New: Call-to-Action block can now have background images & background image tints
  • New: Feature block can now have background images & background image tints
  • New: Header block now has a fixed background
  • Changed: Standardized background settings for the Header block
  • Fixed: Card image goes past container in mobile
  • Fixed: Better responsiveness for Icon List block, it now collapses from 3 to 2 columns on mobile
  • Fixed: Image box is too wide in mobile
  • Fixed: Better handling for wide and full widths
Download this release

Release Info

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

Code changes from version 1.4 to 1.5

Files changed (39) hide show
  1. dist/admin.welcome.css +35 -0
  2. dist/admin.welcome.min.css +1 -1
  3. dist/blocks.build.js +1 -1
  4. dist/blocks.editor.build.css +25 -22
  5. dist/blocks.style.build.css +22 -21
  6. plugin.php +2 -2
  7. readme.txt +32 -11
  8. src/block/blockquote/deprecated.js +41 -0
  9. src/block/blockquote/editor.scss +9 -0
  10. src/block/blockquote/index.js +82 -13
  11. src/block/blockquote/style.scss +14 -2
  12. src/block/button/deprecated.js +35 -0
  13. src/block/button/index.js +4 -5
  14. src/block/call-to-action/deprecated.js +99 -1
  15. src/block/call-to-action/index.js +87 -18
  16. src/block/card/style.scss +2 -37
  17. src/block/count-up/deprecated.js +70 -0
  18. src/block/count-up/editor.scss +31 -0
  19. src/block/count-up/index.js +308 -110
  20. src/block/count-up/style.scss +58 -12
  21. src/block/feature/deprecated.js +140 -0
  22. src/block/feature/index.js +83 -36
  23. src/block/header/deprecated.js +151 -0
  24. src/block/header/index.js +96 -127
  25. src/block/header/style.scss +24 -24
  26. src/block/icon-list/style.scss +6 -1
  27. src/block/image-box/style.scss +17 -3
  28. src/blocks.js +1 -0
  29. src/common.scss +41 -1
  30. src/components/design-panel-body/editor.scss +27 -43
  31. src/components/design-panel-body/index.js +13 -3
  32. src/components/design-panel-item/index.js +36 -4
  33. src/components/image-control/editor.scss +37 -0
  34. src/components/image-control/images/image.svg +5 -0
  35. src/components/image-control/index.js +52 -0
  36. src/components/panel-background-settings/editor.scss +6 -0
  37. src/components/panel-background-settings/index.js +66 -0
  38. src/components/panel-background-settings/style.scss +36 -0
  39. src/editor.scss +10 -0
dist/admin.welcome.css CHANGED
@@ -67,8 +67,25 @@ form[class*="ugb-"][class*="-link"],
67
  width: 100%;
68
  }
69
 
 
 
 
 
 
 
 
70
  [class*="ugb-"].alignfull {
71
  border-radius: 0 !important;
 
 
 
 
 
 
 
 
 
 
72
  }
73
 
74
  body.toplevel_page_stackable .s-header,
@@ -118,7 +135,10 @@ body.toplevel_page_stackable .s-box {
118
  box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
119
  background-color: #fff;
120
  border-radius: 12px;
 
121
  padding: 60px 35px;
 
 
122
  margin-bottom: 30px;
123
  }
124
 
@@ -201,6 +221,17 @@ body.toplevel_page_stackable .s-support-box > p:last-child {
201
  text-align: center;
202
  }
203
 
 
 
 
 
 
 
 
 
 
 
 
204
  @media screen and (max-width: 960px) {
205
  body.toplevel_page_stackable .s-body-container {
206
  grid-template-columns: 1fr;
@@ -210,11 +241,15 @@ body.toplevel_page_stackable .s-support-box > p:last-child {
210
  @media screen and (max-width: 782px) {
211
  body.toplevel_page_stackable .s-box {
212
  padding: 40px 23.3333333333px;
 
 
213
  }
214
  }
215
 
216
  @media screen and (max-width: 600px) {
217
  body.toplevel_page_stackable .s-box {
218
  padding: 35px 17.5px;
 
 
219
  }
220
  }
67
  width: 100%;
68
  }
69
 
70
+ /**
71
+ * For blocks with a box outline, we can use the custom properties:
72
+ * --box-padding-vert
73
+ * --box-padding-hori
74
+ * to get the current padding values
75
+ */
76
+
77
  [class*="ugb-"].alignfull {
78
  border-radius: 0 !important;
79
+ width: 100vw;
80
+ margin-left: -50vw;
81
+ left: 50%;
82
+ -webkit-transform: none;
83
+ transform: none;
84
+ position: relative;
85
+ }
86
+
87
+ [data-type^="ugb/"][data-align="full"] + [data-type^="ugb/"][data-align="full"] {
88
+ margin-top: -32px;
89
  }
90
 
91
  body.toplevel_page_stackable .s-header,
135
  box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
136
  background-color: #fff;
137
  border-radius: 12px;
138
+ overflow: hidden;
139
  padding: 60px 35px;
140
+ --box-padding-vert: 60px;
141
+ --box-padding-hori: 35px;
142
  margin-bottom: 30px;
143
  }
144
 
221
  text-align: center;
222
  }
223
 
224
+ @media (min-width: 1000px) {
225
+ [class*="ugb-"].alignwide {
226
+ width: 75vw;
227
+ margin-left: -37.5vw;
228
+ left: 50%;
229
+ -webkit-transform: none;
230
+ transform: none;
231
+ position: relative;
232
+ }
233
+ }
234
+
235
  @media screen and (max-width: 960px) {
236
  body.toplevel_page_stackable .s-body-container {
237
  grid-template-columns: 1fr;
241
  @media screen and (max-width: 782px) {
242
  body.toplevel_page_stackable .s-box {
243
  padding: 40px 23.3333333333px;
244
+ --box-padding-vert: 40px;
245
+ --box-padding-hori: 23.3333333333px;
246
  }
247
  }
248
 
249
  @media screen and (max-width: 600px) {
250
  body.toplevel_page_stackable .s-box {
251
  padding: 35px 17.5px;
252
+ --box-padding-vert: 35px;
253
+ --box-padding-hori: 17.5px;
254
  }
255
  }
dist/admin.welcome.min.css CHANGED
@@ -1 +1 @@
1
- body.toplevel_page_stackable #wpcontent{padding-left:0}body.toplevel_page_stackable .wrap{margin:0}.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*=ugb-] form[class*="-link"],[class*=ugb-]+form[class*="-link"],form[class*=ugb-][class*="-link"]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-webkit-box-flex:1;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*=ugb-].alignfull{border-radius:0!important}body.toplevel_page_stackable .s-body-container,body.toplevel_page_stackable .s-header{padding:50px}body.toplevel_page_stackable .s-header{background:-webkit-gradient(linear,left top,right top,from(#ab5af1),to(#fb6874));background:linear-gradient(to right,#ab5af1,#fb6874);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:100px}body.toplevel_page_stackable .s-header img{height:50px}body.toplevel_page_stackable h1{color:#fff;font-size:2.5em;font-weight:700}body.toplevel_page_stackable h2{font-size:2em}body.toplevel_page_stackable h3{font-size:1.5em}body.toplevel_page_stackable .s-box{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);background-color:#fff;border-radius:12px;padding:60px 35px;margin-bottom:30px}body.toplevel_page_stackable .s-button{border:none;border-radius:4px;-webkit-box-shadow:none!important;cursor:pointer;opacity:1;background:#ab5af1;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;box-shadow:none!important;color:#fff;text-decoration:none;padding:.75em 1.25em;display:block;margin:0 auto;max-width:200px;text-align:center}body.toplevel_page_stackable .s-button:hover{opacity:.85;-webkit-box-shadow:none!important;box-shadow:none!important}body.toplevel_page_stackable .s-body-container{display:grid;grid-template-columns:1fr 350px;grid-gap:30px;padding-top:0;margin-top:-50px}body.toplevel_page_stackable .s-body-container :first-child{margin-top:0!important}body.toplevel_page_stackable .s-body-container :last-child{margin-bottom:0!important}body.toplevel_page_stackable .s-body-container li,body.toplevel_page_stackable .s-body-container p{font-size:18px}body.toplevel_page_stackable .s-body-container li{margin-bottom:.6em}body.toplevel_page_stackable .s-side h2,body.toplevel_page_stackable .s-side h3{text-align:center;line-height:1.2em}body.toplevel_page_stackable .s-gambit-logo{display:inline-block;vertical-align:middle;padding-top:10px;margin:0 10px}body.toplevel_page_stackable .s-gif{display:block;margin:0 auto}body.toplevel_page_stackable .s-plus-button{height:1em;vertical-align:top;width:1em}body.toplevel_page_stackable .s-support-box>p:last-child{text-align:center}@media screen and (max-width:960px){body.toplevel_page_stackable .s-body-container{grid-template-columns:1fr}}@media screen and (max-width:782px){body.toplevel_page_stackable .s-box{padding:40px 23.33px}}@media screen and (max-width:600px){body.toplevel_page_stackable .s-box{padding:35px 17.5px}}
1
+ body.toplevel_page_stackable #wpcontent{padding-left:0}body.toplevel_page_stackable .wrap{margin:0}.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*=ugb-] form[class*="-link"],[class*=ugb-]+form[class*="-link"],form[class*=ugb-][class*="-link"]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-webkit-box-flex:1;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*=ugb-].alignfull{border-radius:0!important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;transform:none;position:relative}[data-type^="ugb/"][data-align=full]+[data-type^="ugb/"][data-align=full]{margin-top:-32px}body.toplevel_page_stackable .s-body-container,body.toplevel_page_stackable .s-header{padding:50px}body.toplevel_page_stackable .s-header{background:-webkit-gradient(linear,left top,right top,from(#ab5af1),to(#fb6874));background:linear-gradient(to right,#ab5af1,#fb6874);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:100px}body.toplevel_page_stackable .s-header img{height:50px}body.toplevel_page_stackable h1{color:#fff;font-size:2.5em;font-weight:700}body.toplevel_page_stackable h2{font-size:2em}body.toplevel_page_stackable h3{font-size:1.5em}body.toplevel_page_stackable .s-box{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert:60px;--box-padding-hori:35px;margin-bottom:30px}body.toplevel_page_stackable .s-button{border:none;border-radius:4px;-webkit-box-shadow:none!important;cursor:pointer;opacity:1;background:#ab5af1;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;box-shadow:none!important;color:#fff;text-decoration:none;padding:.75em 1.25em;display:block;margin:0 auto;max-width:200px;text-align:center}body.toplevel_page_stackable .s-button:hover{opacity:.85;-webkit-box-shadow:none!important;box-shadow:none!important}body.toplevel_page_stackable .s-body-container{display:grid;grid-template-columns:1fr 350px;grid-gap:30px;padding-top:0;margin-top:-50px}body.toplevel_page_stackable .s-body-container :first-child{margin-top:0!important}body.toplevel_page_stackable .s-body-container :last-child{margin-bottom:0!important}body.toplevel_page_stackable .s-body-container li,body.toplevel_page_stackable .s-body-container p{font-size:18px}body.toplevel_page_stackable .s-body-container li{margin-bottom:.6em}body.toplevel_page_stackable .s-side h2,body.toplevel_page_stackable .s-side h3{text-align:center;line-height:1.2em}body.toplevel_page_stackable .s-gambit-logo{display:inline-block;vertical-align:middle;padding-top:10px;margin:0 10px}body.toplevel_page_stackable .s-gif{display:block;margin:0 auto}body.toplevel_page_stackable .s-plus-button{height:1em;vertical-align:top;width:1em}body.toplevel_page_stackable .s-support-box>p:last-child{text-align:center}@media (min-width:1000px){[class*=ugb-].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;transform:none;position:relative}}@media screen and (max-width:960px){body.toplevel_page_stackable .s-body-container{grid-template-columns:1fr}}@media screen and (max-width:782px){body.toplevel_page_stackable .s-box{padding:40px 23.33px;--box-padding-vert:40px;--box-padding-hori:23.3333333333px}}@media screen and (max-width:600px){body.toplevel_page_stackable .s-box{padding:35px 17.5px;--box-padding-vert:35px;--box-padding-hori:17.5px}}
dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(l){if(n[l])return n[l].exports;var o=n[l]={i:l,l:!1,exports:{}};return e[l].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,l){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:l})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=9)}([function(e,t,n){"use strict";n.d(t,"B",function(){return l}),n.d(t,"t",function(){return o}),n.d(t,"n",function(){return a}),n.d(t,"p",function(){return u}),n.d(t,"q",function(){return c}),n.d(t,"f",function(){return i}),n.d(t,"h",function(){return s}),n.d(t,"e",function(){return m}),n.d(t,"r",function(){return b}),n.d(t,"k",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"b",function(){return d}),n.d(t,"i",function(){return h}),n.d(t,"d",function(){return w}),n.d(t,"a",function(){return v}),n.d(t,"o",function(){return y}),n.d(t,"s",function(){return C}),n.d(t,"j",function(){return E}),n.d(t,"l",function(){return N}),n.d(t,"c",function(){return k}),n.d(t,"g",function(){return j}),n.d(t,"C",function(){return T}),n.d(t,"A",function(){return S}),n.d(t,"z",function(){return z}),n.d(t,"x",function(){return R}),n.d(t,"u",function(){return A}),n.d(t,"v",function(){return I}),n.d(t,"y",function(){return M}),n.d(t,"w",function(){return U});var l=wp.blocks.registerBlockType,o=wp.i18n.__,r=wp.components,a=r.RangeControl,u=r.SelectControl,c=(r.TextControl,r.ToggleControl),i=r.Dashicon,s=r.IconButton,m=r.Button,b=r.Toolbar,p=r.PanelBody,g=r.RadioControl,d=r.BaseControl,f=wp.editor.InspectorControls?wp.editor:wp.blocks,h=f.InspectorControls,w=f.BlockControls,v=f.AlignmentToolbar,y=f.RichText,C=f.URLInput,E=f.MediaUpload,x=wp.editor,N=x.PanelColorSettings,k=x.BlockAlignmentToolbar,O=wp.element,j=O.Fragment,T=O.renderToString,B=lodash,S=B.omit,z=B.merge,L=wp.hooks,R=L.doAction,A=L.addAction,I=L.applyFilters,F=(L.addFilter,stackable),M=F.isPro,U=F.blockSrcUrl;F.primaryColor},function(e,t,n){var l,o;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var o=typeof l;if("string"===o||"number"===o)e.push(l);else if(Array.isArray(l)&&l.length){var a=n.apply(null,l);a&&e.push(a)}else if("object"===o)for(var u in l)r.call(l,u)&&l[u]&&e.push(u)}}return e.join(" ")}var r={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(l=[],void 0!==(o=function(){return n}.apply(t,l))&&(e.exports=o))}()},function(e,t,n){"use strict";n.d(t,"j",function(){return a}),n.d(t,"a",function(){return u}),n.d(t,"g",function(){return c}),n.d(t,"c",function(){return i}),n.d(t,"n",function(){return s}),n.d(t,"o",function(){return m}),n.d(t,"q",function(){return b}),n.d(t,"b",function(){return p}),n.d(t,"p",function(){return g}),n.d(t,"d",function(){return d}),n.d(t,"k",function(){return f}),n.d(t,"h",function(){return h}),n.d(t,"l",function(){return w}),n.d(t,"r",function(){return v}),n.d(t,"m",function(){return y}),n.d(t,"f",function(){return C}),n.d(t,"e",function(){return E}),n.d(t,"i",function(){return x});var l=function(e){return wp.element.createElement("defs",null,wp.element.createElement("linearGradient",e,wp.element.createElement("stop",{offset:"0%",stopColor:"#ab5af1",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#fb6874",stopOpacity:"1"})))},o=1,r=function(){return"stk-icon-"+o++},a=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"20",height:"20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M512 96c-111.118 0-215.584 43.272-294.156 121.844S96 400.882 96 512s43.272 215.584 121.844 294.156S400.882 928 512 928s215.584-43.272 294.156-121.844S928 623.118 928 512s-43.272-215.584-121.843-294.156S623.118 96 512 96zm0-96c282.77 0 512 229.23 512 512s-229.23 512-512 512S0 794.77 0 512 229.23 0 512 0zm-64 704h128v128H448zm0-512h128v384H448z"}))},u=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z"}))},c=function(){return wp.element.createElement(u,null)},i=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 9h12v2H4V9z"}))},s=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z"}))},m=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 14 32"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 29h5.833L0 23h5V9H0l5.833-6H0V0h14v3H8.167L14 9H9v14h5l-5.833 6H14v3H0v-3z"}))},b=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 13 12.916010856628418"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M5.68 12.916a.5.5 0 0 1-.397-.196L3.208 10H1.463C.656 10 0 9.428 0 8.621V1.463C0 .656.656 0 1.463 0h10.074C12.344 0 13 .656 13 1.463v7.158C13 9.428 12.344 10 11.537 10H8.151l-2.073 2.72a.504.504 0 0 1-.398.196zM1.463 1A.464.464 0 0 0 1 1.463v7.158c0 .255.208.463.463.463h1.993a.5.5 0 0 1 .397.196l1.827 2.312L7.507 9.28a.502.502 0 0 1 .397-.196h3.633A.464.464 0 0 0 12 8.621V1.463A.464.464 0 0 0 11.537 1H1.463zm1.193 2h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49zm0 3h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49z"}))},p=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 16 14"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M10 0c-.17 0-.36.05-.52.14C8.04 1.02 4.5 3.58 3 4c-1.38 0-3 .67-3 2.5S1.63 9 3 9c.3.08.64.23 1 .41V14h2v-3.45c1.34.86 2.69 1.83 3.48 2.31.16.09.34.14.52.14.52 0 1-.42 1-1V1c0-.58-.48-1-1-1zm0 12c-.38-.23-.89-.58-1.5-1-.16-.11-.33-.22-.5-.34V2.31c.16-.11.31-.2.47-.31.61-.41 1.16-.77 1.53-1v11zm2-6h4v1h-4V6zm0 2l4 2v1l-4-2V8zm4-6v1l-4 2V4l4-2z"}))},g=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 896 1023"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M821 491q-41-41-95-60 62-26 100-82t38-125q0-93-65.5-158.5T640 0q-71 0-128.5 41T430 147q-32-39-77-61t-97-22q-93 0-158.5 65.5T32 288q0 69 38 125t100 82q-54 19-95 60Q0 630 0 736v191q0 40 28 68t68 28h320q31 0 55.5-18t34.5-46h294q40 0 68-28t28-68V672q0-106-75-181zM527 111q47-47 113-47t113 47 47 113-47 113-113 47-113-47-47-113 47-113zM143 401q-47-47-47-113t47-113 113-47 113 47 47 113-47 113-113 47-113-47zm305 526q0 13-9.5 22.5T416 959H96q-13 0-22.5-9.5T64 927V736q0-79 56.5-135.5T256 544t136 56q1 2 2 3 54 55 54 133v191zm-27-387q-36-30-79-45 43-18 75.5-52t48.5-78q36 44 88 66-54 19-95 60-22 23-38 49zm411 323q0 13-9.5 22.5T800 895H512V736q0-80-46-146 15-30 38-53 57-57 136-57t135.5 56.5T832 672v191z"}))},d=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 8"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 0C1.79 0 0 1.79 0 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm24 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM16 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"}))},f=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 21.027502059936523 10.284000396728516"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M3.028 10.284a1 1 0 0 1-1-1V2.902l-.553.276A1 1 0 1 1 .58 1.389l2-1a.998.998 0 0 1 1.447.895v8a1 1 0 0 1-1 1zm9 0h-5a1.002 1.002 0 0 1-.707-1.707l4-4c.254-.254.394-.591.394-.95 0-.358-.14-.695-.394-.949-.508-.508-1.39-.508-1.9.001a1.33 1.33 0 0 0-.393.948 1 1 0 0 1-2 0c0-.894.348-1.733.98-2.364C8.273 0 10.472 0 11.735 1.264c.632.631.979 1.471.979 2.363 0 .893-.348 1.733-.98 2.364L9.443 8.284h2.586a1 1 0 0 1 0 2zm7.955-5.623a2.725 2.725 0 0 0 .545-1.627 2.753 2.753 0 0 0-2.75-2.75 2.739 2.739 0 0 0-2.44 1.484 1 1 0 1 0 1.776.92.75.75 0 1 1 .664 1.096 1 1 0 0 0 0 2c.689 0 1.25.561 1.25 1.25s-.561 1.25-1.25 1.25-1.25-.561-1.25-1.25a1 1 0 0 0-2 0c0 1.792 1.458 3.25 3.25 3.25s3.25-1.458 3.25-3.25a3.23 3.23 0 0 0-1.045-2.373z"}))},h=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 38"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 0h32v38H0V0zm3 3v32h26V3H3zm2 2h22v7H5V5zm0 9h14v19H5V14zm16 19V14h6v19h-6zM6 6v5h20V6H6z"}))},w=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 896"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M960 0H64Q38 0 19 19T0 64v768q0 26 19 45t45 19h896q26 0 45-19t19-45V64q0-26-19-45T960 0zM64 64h896v714L724 430q-7-12-21-14t-25 7L524 548 350 305q-10-14-28-13t-26 17L64 757V64zm855 768H97l231-447 184 255 179-145zM737 190q13 0 22.5 9.5T769 222t-9.5 22.5T737 254t-22.5-9.5T705 222t9.5-22.5T737 190zm0-64q-40 0-68 28t-28 68 28 68 68 28 68-28 28-68-28-68-68-28z"}))},v=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 38 26"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M2 0h34a2 2 0 0 1 2 2v22a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.77 4C6.24 4 5 5.511 5 7.375v11.25C5 20.489 6.24 22 7.77 22h15.46c1.53 0 2.77-1.511 2.77-3.375V16l6 5h1V5h-1l-6 5V7.375C26 5.511 24.76 4 23.23 4H7.77z"}))},y=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 448 448"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M416 32V0H256L0 288l160 160 23.471-23.904L208 448l240-272V32h-32zM160 425.371L22.39 288 262.621 16H400v137.377l-216.555 247.99-11.34 11.363L160 425.371zm272-255.994L208 425.371l-13.182-12.65L416 160V48h16v121.377z"}),wp.element.createElement("path",{d:"M320 128c17.645 0 32-14.355 32-32s-14.355-32-32-32-32 14.355-32 32 14.355 32 32 32zm0-48c8.836 0 16 7.163 16 16s-7.164 16-16 16-16-7.163-16-16 7.164-16 16-16z"}))},C=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 95.11"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"50 0 65.45 31.31 100 36.33 75 60.7 80.9 95.11 50 78.86 19.1 95.11 25 60.7 0 36.33 34.55 31.31 50 0"}))},E=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,2.4 30.1,16.8 46,19.2 34.5,30.4 37.2,46.2 23,38.7 8.8,46.2 11.5,30.4 0,19.2 15.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,2.4 84.1,16.8 100,19.2 88.5,30.4 91.2,46.2 77,38.7 62.8,46.2 65.5,30.4 54,19.2 69.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,52.1 30.1,66.5 46,68.8 34.5,80 37.2,95.9 23,88.4 8.8,95.9 11.5,80 0,68.8 15.9,66.5 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,52.1 84.1,66.5 100,68.8 88.5,80 91.2,95.9 77,88.4 62.8,95.9 65.5,80 54,68.8 69.9,66.5 "}))},x=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,42.3 2.7,36.1 0,38.8 9,47.8 27.6,29.3 24.8,26.5 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"34.6",width:"64.8",height:"5.1"}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,70.7 2.7,64.4 0,67.1 9,76.2 27.6,57.6 24.8,54.8 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"63",width:"64.8",height:"5.1"}))}},function(e,t,n){"use strict";function l(e){var t=e.className,n=void 0===t?"":t,l=e.align,o=void 0===l?"center":l,u=e.size,c=void 0===u?"normal":u,i=e.color,s=e.text,m=void 0===s?"":s,b=e.backgroundColor,p=e.borderRadius,g=void 0===p?4:p,d=e.isSelected,f=void 0===d?null:d,h=e.onFocus,w=void 0===h?function(){}:h,v=e.onChange,y=void 0===v?function(){}:v,C={borderRadius:g+"px",backgroundColor:b||void 0},E=r()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+c]);return wp.element.createElement("span",{className:E,style:C,"data-is-placeholder-visible":a.o.isEmpty(m)},wp.element.createElement(a.o,{tagName:"span",placeholder:Object(a.t)("Enter Text"),value:m,onChange:y,formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:i},onFocus:w,isSelected:f,keepPlaceholderOnFocus:!0}))}var o=n(1),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.className,n=void 0===t?"":t,l=e.align,o=void 0===l?"center":l,u=e.size,c=void 0===u?"normal":u,i=e.url,s=void 0===i?"":i,m=e.color,b=e.text,p=e.backgroundColor,g=e.borderRadius,d={borderRadius:g+"px",backgroundColor:p||void 0},f=r()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+c]);return wp.element.createElement("div",{className:f,style:d},wp.element.createElement(a.o.Content,{tagName:"a",className:"ugb-button-inner",href:s,style:{color:m},value:b}))}var o=n(1),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.buttonColor,n=e.buttonTextColor,l=e.buttonSize,o=e.buttonBorderRadius,u=e.onChangeButtonColor,c=void 0===u?function(){}:u,i=e.onChangeButtonTextColor,s=void 0===i?function(){}:i,m=e.onChangeButtonSize,b=void 0===m?function(){}:m,p=e.onChangeButtonBorderRadius,g=void 0===p?function(){}:p;return wp.element.createElement(r.g,null,wp.element.createElement(r.l,a({initialOpen:!1,title:Object(r.t)("Button Settings"),colorSettings:[{value:t,onChange:c,label:Object(r.t)("Button Color")},{value:n,onChange:s,label:Object(r.t)("Text Color")}]},e),wp.element.createElement(r.p,{label:Object(r.t)("Size"),value:l,options:[{value:"small",label:Object(r.t)("Small")},{value:"normal",label:Object(r.t)("Normal")},{value:"medium",label:Object(r.t)("Medium")},{value:"large",label:Object(r.t)("Large")}],onChange:b}),wp.element.createElement(r.n,{label:Object(r.t)("Border Radius"),value:o,min:"1",max:"50",onChange:g})))}var o=n(1),r=(n.n(o),n(0)),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e};t.a=l},function(e,t,n){"use strict";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,a=e.url,u=void 0===a?"":a,c=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={borderRadius:m+"px"};return s&&(b.backgroundColor=s),wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+o,style:b},wp.element.createElement(r.o.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:c},value:i}))}function o(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,a=e.url,u=void 0===a?"":a,c=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={backgroundColor:s,borderRadius:m+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+o,style:b},wp.element.createElement(r.o.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:c},value:i}))}n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u}),n.d(t,"d",function(){return c}),n.d(t,"f",function(){return i}),n.d(t,"c",function(){return s}),n.d(t,"e",function(){return m});var r=n(0),a=l,u=o,c=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.align,a=t.color,c=t.textColor,i=t.size,s=t.cornerButtonRadius,m=t.design,b=wp.element.createElement(u,{align:o,size:i,url:n,color:c,text:l,backgroundColor:a,borderRadius:s});return Object(r.v)("stackable.designs.button.save",b,m,e)},i={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}},s=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.textColor,u=t.size,c=t.cornerButtonRadius,i={backgroundColor:r,color:a,borderRadius:c+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+u,style:i},l))},m={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}}},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return r}),n.d(t,"a",function(){return a});var l=n(0),o=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(l.C)(e).replace(/viewbox/i,"viewBox");return t?n.replace(/#/g,"%23"):n},a=function(e){var t="";return t=(e.match(/youtube\.com\/watch\?v=([^\&\?\/]+)/i)||[])[1],t||(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)||[])[1],t||(t=(e.match(/^\d+$/i)||[])[1]),t?{type:"vimeo",id:t}:{type:"youtube",id:e})}},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(10),n(14),n(17),n(24),n(28),n(34),n(38),n(42),n(46),n(49),n(52),n(56),n(59),n(63),n(67),n(71),n(74),n(78),n(82),n(85),n(89),n(92)},function(e,t,n){"use strict";var l=n(11),o=(n.n(l),n(12)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(13),i=n(0),s=function(e){var t=e.className,n=e.attributes.height,l=a()([t,"ugb-spacer"]);return wp.element.createElement("div",{className:l,style:{height:n+"px"}})},m=function(e){var t=e.className,n=(e.isSelected,e.attributes.height),l=a()([t,"ugb-spacer"]);return wp.element.createElement(i.g,null,wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.n,{label:Object(i.t)("Height"),value:n,min:"30",max:"200",onChange:function(t){e.setAttributes({height:t})}}))),wp.element.createElement("div",{className:l,style:{height:n+"px"}}))},b={height:{default:50,type:"number"}};Object(i.B)("ugb/spacer",{title:Object(i.t)("Spacer"),icon:u.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Spacer"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,save:c.a}],edit:m,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return o});var l=function(e){var t=e.attributes.height;return wp.element.createElement("div",{style:{height:t+"px"}})},o={height:{default:50,type:"number"}}},function(e,t,n){"use strict";var l=n(15),o=(n.n(l),n(16)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=e.className,n=e.attributes,l=n.height,o=n.width,r=n.color,u=n.alignment,c=a()([t,"ugb-divider"]);return wp.element.createElement("div",{className:c},wp.element.createElement("hr",{align:u,style:{backgroundColor:r,width:o+"%",height:l}}))},s=function(e){var t=(e.isSelected,e.className),n=e.attributes,l=n.height,o=n.width,r=n.color,u=n.alignment,i=a()([t,"ugb-divider"]);return wp.element.createElement(c.g,null,wp.element.createElement(c.d,null,wp.element.createElement(c.a,{value:u,onChange:function(t){e.setAttributes({alignment:t})}})),wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.n,{label:Object(c.t)("Height"),value:l,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(c.n,{label:Object(c.t)("Width"),value:o,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:r,onChange:function(t){return e.setAttributes({color:t})},label:Object(c.t)("Divider Color")}]})),wp.element.createElement("div",{className:i,style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:u,style:{marginTop:0,marginBottom:0,backgroundColor:r,width:o+"%",height:l}})))};Object(c.B)("ugb/divider",{title:Object(c.t)("Divider"),icon:u.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Divider"),Object(c.t)("Stackable")],attributes:{height:{default:1,type:"number"},width:{default:50,type:"number"},color:{type:"string",default:"#dddddd"},alignment:{type:"string",default:"center"}},edit:s,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(18),o=(n.n(l),n(19)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(6),i=n(3),s=n(4),m=n(5),b=n(20),p=n(22),g=(n(23),n(0)),d=function(e){var t=e.isSelected,n=e.className,l=e.setAttributes,o=e.attributes,r=o.url,u=o.text,c=o.color,s=o.textColor,d=o.size,f=o.align,h=o.cornerButtonRadius,w=o.design,v=a()([n,"ugb-button"]),y=wp.element.createElement(i.a,{onChange:function(e){return l({text:e})},className:v,align:f,size:d,backgroundColor:c,color:s,text:u,borderRadius:h}),C=Object(g.v)("stackable.designs.button.edit",y,w,e);return wp.element.createElement(g.g,null,wp.element.createElement(g.d,null,wp.element.createElement(g.c,{value:f,onChange:function(e){l({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(g.i,null,wp.element.createElement(b.a,{selected:w,options:[{label:wp.element.createElement(p.a,{imageFile:"button/images/test.jpg"}),title:"Basic",value:"basic"},{label:wp.element.createElement(p.a,{imageFile:"button/images/test.jpg",isPro:!0}),title:"Center",value:"center"},{label:wp.element.createElement(p.a,{imageFile:"https://via.placeholder.com/350x150",isPro:!0}),title:"Right",value:"right"},{label:wp.element.createElement(p.a,{imageFile:"https://via.placeholder.com/350x150",isPro:!0}),title:"Full",value:"full"}],onChange:function(e){l({design:e})}})),wp.element.createElement(g.i,null,wp.element.createElement(m.a,{initialOpen:!0,buttonColor:c,buttonTextColor:s,buttonSize:d,buttonBorderRadius:h,onChangeButtonColor:function(e){return l({color:e})},onChangeButtonTextColor:function(e){return l({textColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),C,t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(g.f,{icon:"admin-links"}),wp.element.createElement(g.s,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(g.h,{icon:"editor-break",label:Object(g.t)("Apply"),type:"submit"})))},f=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.text,r=n.align,u=n.color,c=n.textColor,i=n.size,m=n.cornerButtonRadius,b=n.design,p=a()([t,"ugb-button"]),d=wp.element.createElement(s.a,{className:p,align:r,size:i,url:l,color:c,text:o,backgroundColor:u,borderRadius:m});return Object(g.v)("stackable.designs.button.save",d,b,e)},h={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}};Object(g.B)("ugb/button",{title:Object(g.t)("Button"),icon:u.a,description:"Add customize button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.t)("Button"),Object(g.t)("Stackable")],attributes:h,deprecated:[{attributes:c.f,save:c.d},{attributes:c.e,migrate:function(e){return Object(g.A)(Object(g.z)(e,{align:e.textAlignment}),["textAlignment"])},save:c.c}],edit:d,save:f})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return null}var o=n(21),r=(n.n(o),n(0),n(1));n.n(r);t.a=l},function(e,t){},function(e,t,n){"use strict";function l(e){var t=e.isPro,n=e.imageFile,l=r()({"is-pro":t});return wp.element.createElement("span",{className:l},wp.element.createElement("img",{src:n.match(/https?:/i)?n:a.w+"/"+n}))}var o=n(1),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict"},function(e,t,n){"use strict";var l=n(25),o=(n.n(l),n(26)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(27),i=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.url,u=o.text,c=o.color,s=o.size,m=o.align,b=o.cornerButtonRadius,p=o.borderThickness,g=[{value:"small",label:Object(i.t)("Small")},{value:"normal",label:Object(i.t)("Normal ")},{value:"medium",label:Object(i.t)("Medium")},{value:"large",label:Object(i.t)("Large")}],d=a()([l,"ugb-button","ugb-ghost-button","ugb-button-"+m,"ugb-button-"+s]);return wp.element.createElement(i.g,null,wp.element.createElement(i.d,null,wp.element.createElement(i.c,{value:m,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.p,{label:Object(i.t)("Size"),value:s,options:g.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Corner Radius"),value:b,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Border Thickness"),value:p,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(i.l,{title:Object(i.t)("Color Settings"),colorSettings:[{value:c,onChange:function(e){return n({color:e})},label:Object(i.t)("Button Color")}]})),wp.element.createElement("span",{className:d,style:{borderColor:c,borderRadius:b+"px",borderWidth:p+"px"}},wp.element.createElement(i.o,{tagName:"span",placeholder:Object(i.t)("Enter Text"),value:u,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:c},keepPlaceholderOnFocus:!0})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"})))},m=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.text,r=n.align,u=n.color,c=n.size,s=n.cornerButtonRadius,m=n.borderThickness,b={borderColor:u,borderRadius:s+"px",borderWidth:m+"px"},p=a()([t,"ugb-button","ugb-ghost-button","ugb-button-"+r,"ugb-button-"+c]);return wp.element.createElement("div",{className:p,style:b},wp.element.createElement(i.o.Content,{className:"ugb-button-inner",tagName:"a",value:o,href:l,style:{color:u}}))},b={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}};Object(i.B)("ugb/ghost-button",{title:Object(i.t)("Ghost Button"),icon:u.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Ghost Button"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,migrate:function(e){return Object(i.A)(Object(i.z)(e,{align:e.textAlignment}),["textAlignment"])},save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return o});var l=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.size,u=t.cornerButtonRadius,c=t.borderThickness,i={borderColor:r,color:r,borderRadius:u+"px",borderWidth:c+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+a+" ugb-ghost-button",style:i},l))},o={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},textAlignment:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}}},function(e,t,n){"use strict";var l=n(29),o=(n.n(l),n(30)),r=(n.n(o),n(1)),a=n.n(r),u=n(31),c=n.n(u),i=n(2),s=n(0),m=function(e){var t=[{value:"success",label:Object(s.t)("Success")},{value:"error",label:Object(s.t)("Error")},{value:"warning",label:Object(s.t)("Warning")},{value:"info",label:Object(s.t)("Information")}],n=(e.isSelected,e.editable,e.setState,e.setAttributes),l=e.className,o=e.attributes,r=o.text,u=o.color,c=o.textColor,i=o.notifType,m=o.dismissible,b=a()([l,"ugb-notification","type-"+i,"dismissible-"+m]);return wp.element.createElement(s.g,null,wp.element.createElement(s.i,null,wp.element.createElement(s.k,null,wp.element.createElement(s.q,{label:Object(s.t)("Dismissible"),checked:m,onChange:function(){return n({dismissible:!m})}}),wp.element.createElement(s.p,{label:Object(s.t)("Notification Type"),value:i,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}})),wp.element.createElement(s.l,{title:Object(s.t)("Color Settings"),colorSettings:[{value:u,onChange:function(e){return n({color:e})},label:Object(s.t)("Background Color")},{value:c,onChange:function(e){return n({textColor:e})},label:Object(s.t)("Text Color")}]})),wp.element.createElement("div",{className:b},m&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:c}},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(s.o,{tagName:"p",placeholder:e.attributes.text.default,value:r,onChange:function(e){return n({text:e})},className:"wp-ugb-notif notif-"+i,style:{backgroundColor:u,color:c}})))},b=function(e){var t=e.className,n=e.attributes,l=n.text,o=n.color,r=n.textColor,u=n.notifType,i=n.dismissible,m=a()([t,"ugb-notification","type-"+u,"dismissible-"+i]),b={backgroundColor:o,color:r},p=c()(l+u).substr(0,6);return wp.element.createElement("div",{className:m,"data-uid":p},i&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:r}},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(s.o.Content,{tagName:"p",className:"wp-ugb-notif notif-"+u,style:b,value:l}))},p={text:{source:"html",selector:"p",default:Object(s.t)("This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1}};Object(s.B)("ugb/notification",{title:Object(s.t)("Notification"),icon:i.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Notification"),Object(s.t)("Stackable")],attributes:p,edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(32),l=n(8).utf8,o=n(33),r=n(8).bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?r.stringToBytes(e):l.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var u=t.bytesToWords(e),c=8*e.length,i=1732584193,s=-271733879,m=-1732584194,b=271733878,p=0;p<u.length;p++)u[p]=16711935&(u[p]<<8|u[p]>>>24)|4278255360&(u[p]<<24|u[p]>>>8);u[c>>>5]|=128<<c%32,u[14+(c+64>>>9<<4)]=c;for(var g=a._ff,d=a._gg,f=a._hh,h=a._ii,p=0;p<u.length;p+=16){var w=i,v=s,y=m,C=b;i=g(i,s,m,b,u[p+0],7,-680876936),b=g(b,i,s,m,u[p+1],12,-389564586),m=g(m,b,i,s,u[p+2],17,606105819),s=g(s,m,b,i,u[p+3],22,-1044525330),i=g(i,s,m,b,u[p+4],7,-176418897),b=g(b,i,s,m,u[p+5],12,1200080426),m=g(m,b,i,s,u[p+6],17,-1473231341),s=g(s,m,b,i,u[p+7],22,-45705983),i=g(i,s,m,b,u[p+8],7,1770035416),b=g(b,i,s,m,u[p+9],12,-1958414417),m=g(m,b,i,s,u[p+10],17,-42063),s=g(s,m,b,i,u[p+11],22,-1990404162),i=g(i,s,m,b,u[p+12],7,1804603682),b=g(b,i,s,m,u[p+13],12,-40341101),m=g(m,b,i,s,u[p+14],17,-1502002290),s=g(s,m,b,i,u[p+15],22,1236535329),i=d(i,s,m,b,u[p+1],5,-165796510),b=d(b,i,s,m,u[p+6],9,-1069501632),m=d(m,b,i,s,u[p+11],14,643717713),s=d(s,m,b,i,u[p+0],20,-373897302),i=d(i,s,m,b,u[p+5],5,-701558691),b=d(b,i,s,m,u[p+10],9,38016083),m=d(m,b,i,s,u[p+15],14,-660478335),s=d(s,m,b,i,u[p+4],20,-405537848),i=d(i,s,m,b,u[p+9],5,568446438),b=d(b,i,s,m,u[p+14],9,-1019803690),m=d(m,b,i,s,u[p+3],14,-187363961),s=d(s,m,b,i,u[p+8],20,1163531501),i=d(i,s,m,b,u[p+13],5,-1444681467),b=d(b,i,s,m,u[p+2],9,-51403784),m=d(m,b,i,s,u[p+7],14,1735328473),s=d(s,m,b,i,u[p+12],20,-1926607734),i=f(i,s,m,b,u[p+5],4,-378558),b=f(b,i,s,m,u[p+8],11,-2022574463),m=f(m,b,i,s,u[p+11],16,1839030562),s=f(s,m,b,i,u[p+14],23,-35309556),i=f(i,s,m,b,u[p+1],4,-1530992060),b=f(b,i,s,m,u[p+4],11,1272893353),m=f(m,b,i,s,u[p+7],16,-155497632),s=f(s,m,b,i,u[p+10],23,-1094730640),i=f(i,s,m,b,u[p+13],4,681279174),b=f(b,i,s,m,u[p+0],11,-358537222),m=f(m,b,i,s,u[p+3],16,-722521979),s=f(s,m,b,i,u[p+6],23,76029189),i=f(i,s,m,b,u[p+9],4,-640364487),b=f(b,i,s,m,u[p+12],11,-421815835),m=f(m,b,i,s,u[p+15],16,530742520),s=f(s,m,b,i,u[p+2],23,-995338651),i=h(i,s,m,b,u[p+0],6,-198630844),b=h(b,i,s,m,u[p+7],10,1126891415),m=h(m,b,i,s,u[p+14],15,-1416354905),s=h(s,m,b,i,u[p+5],21,-57434055),i=h(i,s,m,b,u[p+12],6,1700485571),b=h(b,i,s,m,u[p+3],10,-1894986606),m=h(m,b,i,s,u[p+10],15,-1051523),s=h(s,m,b,i,u[p+1],21,-2054922799),i=h(i,s,m,b,u[p+8],6,1873313359),b=h(b,i,s,m,u[p+15],10,-30611744),m=h(m,b,i,s,u[p+6],15,-1560198380),s=h(s,m,b,i,u[p+13],21,1309151649),i=h(i,s,m,b,u[p+4],6,-145523070),b=h(b,i,s,m,u[p+11],10,-1120210379),m=h(m,b,i,s,u[p+2],15,718787259),s=h(s,m,b,i,u[p+9],21,-343485551),i=i+w>>>0,s=s+v>>>0,m=m+y>>>0,b=b+C>>>0}return t.endian([i,s,m,b])};a._ff=function(e,t,n,l,o,r,a){var u=e+(t&n|~t&l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._gg=function(e,t,n,l,o,r,a){var u=e+(t&l|n&~l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._hh=function(e,t,n,l,o,r,a){var u=e+(t^n^l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._ii=function(e,t,n,l,o,r,a){var u=e+(n^(t|~l))+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var l=t.wordsToBytes(a(e,n));return n&&n.asBytes?l:n&&n.asString?r.bytesToString(l):t.bytesToHex(l)}}()},function(e,t){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,l=0;n<e.length;n++,l+=8)t[l>>>5]|=e[n]<<24-l%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],l=0;l<e.length;l+=3)for(var o=e[l]<<16|e[l+1]<<8|e[l+2],r=0;r<4;r++)8*l+6*r<=8*e.length?n.push(t.charAt(o>>>6*(3-r)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],l=0,o=0;l<e.length;o=++l%4)0!=o&&n.push((t.indexOf(e.charAt(l-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(l))>>>6-2*o);return n}};e.exports=n}()},function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}e.exports=function(e){return null!=e&&(n(e)||l(e)||!!e._isBuffer)}},function(e,t,n){"use strict";var l=n(35),o=(n.n(l),n(36)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(37),i=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.color,u=o.text,c=o.quoteColor,s=a()([l,"ugb-blockquote"]);return wp.element.createElement(i.g,null,wp.element.createElement("blockquote",{className:s,style:{"--quote-color":c}},wp.element.createElement(i.o,{className:"ugb-blockquote-text",value:u,onChange:function(e){return n({text:e})},isSelected:t,style:{color:r}})),wp.element.createElement(i.i,null,wp.element.createElement(i.l,{title:Object(i.t)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(i.t)("Text Color")},{value:c,onChange:function(e){return n({quoteColor:e})},label:Object(i.t)("Quote Color")}]})))},m=function(e){var t=e.className,n=e.attributes,l=n.color,o=n.text,r=n.quoteColor,u=a()([t,"ugb-blockquote"]);return wp.element.createElement("blockquote",{className:u,style:{"--quote-color":r}},wp.element.createElement(i.o.Content,{tagName:"p",style:{color:l},value:o}))},b={text:{source:"html",selector:"p",default:Object(i.t)("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:""}};Object(i.B)("ugb/blockquote",{title:Object(i.t)("Blockquote"),icon:u.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Blockquote"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,migrate:function(e){return Object(i.A)(Object(i.z)(e,{quoteColor:e.borderColor}),["borderColor"])},save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={text:{type:"array",source:"children",selector:"p",default:Object(l.t)("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:"#424242"},borderColor:{type:"string",default:"#2091e1"}},r=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{borderLeftColor:o}},wp.element.createElement("p",{style:{color:n}},l))}},function(e,t,n){"use strict";var l=n(39),o=(n.n(l),n(40)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(41),i=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.color,u=o.text,c=o.quoteColor,s=a()([l,"ugb-pullquote"]);return wp.element.createElement(i.g,null,wp.element.createElement("blockquote",{className:s,style:{"--quote-color":c}},wp.element.createElement(i.o,{tagName:"p",className:"ugb-pullquote-text",value:u,onChange:function(e){return n({text:e})},placeholder:Object(i.t)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:r}})),wp.element.createElement(i.i,null,wp.element.createElement(i.l,{title:Object(i.t)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(i.t)("Text Color")},{value:c,onChange:function(e){return n({quoteColor:e})},label:Object(i.t)("Quote Color")}]})))},m=function(e){var t=e.className,n=e.attributes,l=n.color,o=n.text,r=n.quoteColor,u=a()([t,"ugb-pullquote"]);return wp.element.createElement("blockquote",{className:u,style:{"--quote-color":r}},wp.element.createElement(i.o.Content,{tagName:"p",style:{color:l},value:o}))},b={text:{source:"html",selector:"p",default:Object(i.t)("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:""}};Object(i.B)("ugb/pullquote",{title:Object(i.t)("Pullquote"),icon:u.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Pullquote"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,migrate:function(e){return Object(i.A)(Object(i.z)(e,{quoteColor:e.borderColor}),["borderColor"])},save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r});var l=n(0),o=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{borderTopColor:o,borderBottomColor:o}},wp.element.createElement("p",{style:{color:n}},l))},r={text:{type:"array",source:"children",selector:"p",default:Object(l.t)("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:"#2091e1"},borderColor:{type:"string",default:"#2091e1"}}},function(e,t,n){"use strict";var l=n(43),o=(n.n(l),n(44)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(3),i=n(4),s=n(5),m=n(45),b=n(0),p=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.url,u=o.buttonText,i=o.ctaTitle,m=o.bodyText,p=o.color,g=o.textColor,d=o.size,f=o.borderButtonRadius,h=o.bodyTextColor,w=o.titleColor,v=o.bgColor,y=a()([n,"ugb-cta"]);return wp.element.createElement(b.g,null,wp.element.createElement(b.i,null,wp.element.createElement(b.l,{initialOpen:!0,title:Object(b.t)("Color Settings"),colorSettings:[{value:v,onChange:function(e){return l({bgColor:e})},label:Object(b.t)("Background Color")},{value:w,onChange:function(e){return l({titleColor:e})},label:Object(b.t)("Title Color")},{value:h,onChange:function(e){return l({bodyTextColor:e})},label:Object(b.t)("Body Text Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:p,buttonTextColor:g,buttonSize:d,buttonBorderRadius:f,onChangeButtonColor:function(e){return l({color:e})},onChangeButtonTextColor:function(e){return l({textColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({borderButtonRadius:e})}})),wp.element.createElement("div",{className:y,style:{backgroundColor:v}},wp.element.createElement(b.o,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(b.t)("Add Title"),value:i,onChange:function(e){return l({ctaTitle:e})},keepPlaceholderOnFocus:!0,style:{color:w}}),wp.element.createElement(b.o,{tagName:"p",value:m,className:"ugb-cta-bodyText",onChange:function(e){return l({bodyText:e})},placeholder:Object(b.t)("Write body text\u2026"),style:{color:h}}),wp.element.createElement(c.a,{size:d,color:g,backgroundColor:p,text:u,borderRadius:f,onChange:function(e){return l({buttonText:e})}})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))},g=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.buttonText,r=n.ctaTitle,u=n.bodyText,c=n.color,s=n.textColor,m=n.size,p=n.borderButtonRadius,g=n.bodyTextColor,d=n.titleColor,f=n.bgColor,h=a()([t,"ugb-cta"]);return wp.element.createElement("div",{className:h,style:{backgroundColor:f}},r&&!!r.length&&wp.element.createElement(b.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:d},value:r}),u&&!!u.length&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:g},value:u}),o&&!!o.length&&wp.element.createElement(i.a,{size:m,url:l,color:s,text:o,backgroundColor:c,borderRadius:p}))},d={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(b.t)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(b.t)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s 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}};Object(b.B)("ugb/cta",{title:Object(b.t)("Call to Action"),icon:u.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Call to Action"),Object(b.t)("Stackable"),Object(b.t)("CTA")],attributes:d,supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:m.c,save:m.b},{save:m.a}],edit:p,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u});var l=n(0),o=n(6),r={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(l.t)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(l.t)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},a=function(e){var t=e.attributes,n=t.url,r=t.buttonText,a=t.ctaTitle,u=t.bodyText,c=t.color,i=t.textColor,s=t.size,m=t.borderButtonRadius,b=t.bodyTextColor,p=t.titleColor,g=t.bgColor;return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:g}},a&&!!a.length&&wp.element.createElement(l.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:a}),u&&!!u.length&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:u}),r&&!!r.length&&wp.element.createElement(o.a,{size:s,url:n,color:i,text:r,backgroundColor:c,borderRadius:m}))},u=function(e){var t=e.attributes,n=t.url,l=t.buttonText,o=t.ctaTitle,r=t.bodyText,a=t.color,u=t.textColor,c=t.size,i=t.borderButtonRadius,s=t.bodyTextColor,m=t.titleColor,b=t.bgColor,p={backgroundColor:a,color:u,borderRadius:i+"px"};return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:b}},o&&!!o.length&&wp.element.createElement("h3",{className:"ugb-cta-title",style:{color:m}},o),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-cta-bodyText",style:{color:s}},r),l&&!!l.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-cta-button ugb-button-"+c,style:p},l))}},function(e,t,n){"use strict";var l=n(47),o=(n.n(l),n(48)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=(e.isSelected,e.editable,e.setState,e.className),n=e.setAttributes,l=e.attributes,o=l.testimonialTitle,r=l.testimonialTitleTwo,u=l.testimonialTitleThree,i=l.body,s=l.bodyTwo,m=l.bodyThree,b=l.position,p=l.positionTwo,g=l.positionThree,d=(l.href,l.hrefTwo,l.hrefThree,l.mediaID),f=l.mediaIDTwo,h=l.mediaIDThree,w=l.mediaURL,v=l.mediaURLTwo,y=l.mediaURLThree,C=l.columns,E=l.titleColor,x=l.posColor,N=l.bodyTextColor,k=l.iconColor,O=a()([t,"ugb-testimonial","column-"+C]);return wp.element.createElement(c.g,null,wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.n,{label:Object(c.t)("Columns"),value:C,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(c.l,{initialOpen:!1,title:Object(c.t)("Color Settings"),colorSettings:[{value:E,onChange:function(e){return n({titleColor:e})},label:Object(c.t)("Title Color")},{value:x,onChange:function(e){return n({posColor:e})},label:Object(c.t)("Position Color")},{value:N,onChange:function(e){return n({bodyTextColor:e})},label:Object(c.t)("Body Text Color")},{value:k,onChange:function(e){return n({iconColor:e})},label:Object(c.t)("Icon Color")}]})),wp.element.createElement("div",{className:O},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:d,render:function(e){return wp.element.createElement(c.e,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+w+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:o,onChange:function(e){return n({testimonialTitle:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:b,className:"ugb-testimonial-position",onChange:function(e){return n({position:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:i,className:"ugb-testimonial-body",onChange:function(e){return n({body:e})},style:{color:N},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-two"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLTwo:e.url,mediaIDTwo:e.id})},allowedTypes:["image"],value:f,render:function(e){return wp.element.createElement(c.e,{className:f?"":"button button-large",onClick:e.open},f?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+v+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:r,onChange:function(e){return n({testimonialTitleTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:p,className:"ugb-testimonial-position-two",onChange:function(e){return n({positionTwo:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:s,className:"ugb-testimonial-body-two",onChange:function(e){return n({bodyTwo:e})},style:{color:N},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-three"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLThree:e.url,mediaIDThree:e.id})},allowedTypes:["image"],value:h,render:function(e){return wp.element.createElement(c.e,{className:h?"":"button button-large",onClick:e.open},h?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+y+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:u,onChange:function(e){return n({testimonialTitleThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:g,className:"ugb-testimonial-position-three",onChange:function(e){return n({positionThree:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:m,className:"ugb-testimonial-body-three",onChange:function(e){return n({bodyThree:e})},style:{color:N},keepPlaceholderOnFocus:!0}))))},s=function(e){var t=e.className,n=e.attributes,l=n.testimonialTitle,o=n.testimonialTitleTwo,r=n.testimonialTitleThree,u=n.body,i=n.bodyTwo,s=n.bodyThree,m=n.position,b=n.positionTwo,p=n.positionThree,g=n.mediaURL,d=n.mediaURLTwo,f=n.mediaURLThree,h=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.titleColor),w=n.posColor,v=n.bodyTextColor,y=n.iconColor,C=n.columns,E=a()([t,"ugb-testimonial","column-"+C]),x=wp.element.createElement("div",{className:"quote-icon"},wp.element.createElement("svg",{viewBox:"0 0 246 187.5",style:{fill:y}},wp.element.createElement("path",{d:"M98.5,0h-93C2.5,0,0,2.5,0,5.5v93c0,3,2.5,5.5,5.5,5.5h39c-1.7,15.5-8.8,50-39,50c-3,0-5.5,2.5-5.5,5.5V182c0,3,2.5,5.5,5.5,5.5c5.2,0,98.5-4.5,98.5-89v-93C104,2.5,101.5,0,98.5,0z"}),wp.element.createElement("path",{d:"M240.5,0h-93c-3,0-5.5,2.5-5.5,5.5v93c0,3,2.5,5.5,5.5,5.5h39c-1.7,15.5-8.8,50-39,50c-3,0-5.5,2.5-5.5,5.5V182c0,3,2.5,5.5,5.5,5.5c5.2,0,98.5-4.5,98.5-89v-93C246,2.5,243.5,0,240.5,0z"}),wp.element.createElement("path",{d:"M161.3-86.3c3.2,0,3.2-5,0-5C158.1-91.3,158.1-86.3,161.3-86.3L161.3-86.3z"})));return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},g?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+g+")"},"data-src":g}):x,!c.o.isEmpty(l)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:h},value:l}),!c.o.isEmpty(m)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:w},value:m}),!c.o.isEmpty(u)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:v},value:u})),C>1&&wp.element.createElement("div",{className:"ugb-testimonial-column-two"},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+d+")"},"data-src":d}):x,!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:h},value:o}),!c.o.isEmpty(b)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-position-two",style:{color:w},value:b}),!c.o.isEmpty(i)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-body-two",style:{color:v},value:i})),C>2&&wp.element.createElement("div",{className:"ugb-testimonial-column-three"},f?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+f+")"},"data-src":f}):x,!c.o.isEmpty(r)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:h},value:r}),!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-position-three",style:{color:w},value:p}),!c.o.isEmpty(s)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-body-three",style:{color:v},value:s})))},m={href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-testimonial-column-one .testimonial-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-testimonial-column-two .testimonial-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-testimonial-column-three .testimonial-image",attribute:"data-src"},testimonialTitle:{source:"html",selector:".ugb-testimonial-column-one h4",default:Object(c.t)("Ben Adams")},testimonialTitleTwo:{source:"html",selector:".ugb-testimonial-column-two h4",default:Object(c.t)("Alex Johnson")},testimonialTitleThree:{source:"html",selector:".ugb-testimonial-column-three h4",default:Object(c.t)("Sammy Simpson")},position:{source:"html",selector:".ugb-testimonial-position",default:Object(c.t)("Founder")},positionTwo:{source:"html",selector:".ugb-testimonial-position-two",default:Object(c.t)("Editor")},positionThree:{source:"html",selector:".ugb-testimonial-position-three",default:Object(c.t)("Programmer")},body:{source:"html",selector:".ugb-testimonial-body",default:Object(c.t)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{source:"html",selector:".ugb-testimonial-body-two",default:Object(c.t)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{source:"html",selector:".ugb-testimonial-body-three",default:Object(c.t)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},titleColor:{type:"string"},posColor:{type:"string"},bodyTextColor:{type:"string"},iconColor:{type:"string"},columns:{type:"number",default:1}};Object(c.B)("ugb/testimonial",{title:Object(c.t)("Testimonial"),icon:u.q,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Testimonial"),Object(c.t)("Stackable")],attributes:m,edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(50),o=(n.n(l),n(51)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=(e.isSelected,e.editable,e.setState,e.className),n=e.setAttributes,l=e.attributes,o=l.name,r=l.nameTwo,u=l.nameThree,i=l.des,s=l.desTwo,m=l.desThree,b=l.position,p=l.positionTwo,g=l.positionThree,d=(l.href,l.hrefTwo,l.hrefThree,l.mediaID),f=l.mediaIDTwo,h=l.mediaIDThree,w=l.mediaURL,v=l.mediaURLTwo,y=l.mediaURLThree,C=l.columns,E=l.nameColor,x=l.posColor,N=l.desColor,k=l.iconColor,O=l.shapes,j=[{value:"square",label:Object(c.t)("Square")},{value:"circle",label:Object(c.t)("Circle")}],T=a()([t,"ugb-team-member","column-"+C,"image-"+O]);return wp.element.createElement(c.g,null,wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.p,{label:Object(c.t)("Image Shape"),value:O,options:j.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({shapes:e})}}),wp.element.createElement(c.n,{label:Object(c.t)("Columns"),value:C,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(c.l,{initialOpen:!1,title:Object(c.t)("Color Settings"),colorSettings:[{value:E,onChange:function(e){return n({nameColor:e})},label:Object(c.t)("Name Color")},{value:x,onChange:function(e){return n({posColor:e})},label:Object(c.t)("Position Color")},{value:N,onChange:function(e){return n({desColor:e})},label:Object(c.t)("Description Color")},{value:k,onChange:function(e){return n({iconColor:e})},label:Object(c.t)("Icon Color")}]})),wp.element.createElement("div",{className:T},wp.element.createElement("div",{className:"ugb-team-member-column-one"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:d,render:function(e){return wp.element.createElement(c.e,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+w+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:o,onChange:function(e){return n({name:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:b,className:"ugb-team-member-position",onChange:function(e){return n({position:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:i,className:"ugb-team-member-des",onChange:function(e){return n({des:e})},style:{color:N},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-two"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLTwo:e.url,mediaIDTwo:e.id})},allowedTypes:["image"],value:f,render:function(e){return wp.element.createElement(c.e,{className:f?"":"button button-large",onClick:e.open},f?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+v+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:r,onChange:function(e){return n({nameTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:p,className:"ugb-team-member-position",onChange:function(e){return n({positionTwo:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:s,className:"ugb-team-member-des-two",onChange:function(e){return n({desTwo:e})},style:{color:N},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-three"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLThree:e.url,mediaIDThree:e.id})},allowedTypes:["image"],value:h,render:function(e){return wp.element.createElement(c.e,{className:h?"":"button button-large",onClick:e.open},h?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+y+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:u,onChange:function(e){return n({nameThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:g,className:"ugb-team-member-position",onChange:function(e){return n({positionThree:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:m,className:"ugb-team-member-des-three",onChange:function(e){return n({desThree:e})},style:{color:N},keepPlaceholderOnFocus:!0}))))},s=function(e){var t=e.className,n=e.attributes,l=n.name,o=n.nameTwo,r=n.nameThree,u=n.shapes,i=n.des,s=n.desTwo,m=n.desThree,b=n.position,p=n.positionTwo,g=n.positionThree,d=n.mediaURL,f=n.mediaURLTwo,h=n.mediaURLThree,w=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.nameColor),v=n.posColor,y=n.desColor,C=(n.iconColor,n.columns),E=a()([t,"ugb-team-member","column-"+C,"image-"+u]);return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:"ugb-team-member-column-one"},d&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+d+")"},"data-src":d}),!c.o.isEmpty(l)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:w},value:l}),!c.o.isEmpty(b)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:v},value:b}),!c.o.isEmpty(i)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-des",style:{color:y},value:i})),C>1&&wp.element.createElement("div",{className:"ugb-team-member-column-two"},f&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+f+")"},"data-src":f}),!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:w},value:o}),!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:v},value:p}),!c.o.isEmpty(s)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-des-two",style:{color:y},value:s})),C>2&&wp.element.createElement("div",{className:"ugb-team-member-column-three"},h&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+h+")"},"data-src":h}),!c.o.isEmpty(r)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:w},value:r}),!c.o.isEmpty(g)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:v},value:g}),!c.o.isEmpty(m)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-des-three",style:{color:y},value:m})))},m={href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-team-member-column-one .team-member-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-team-member-column-two .team-member-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-team-member-column-three .team-member-image",attribute:"data-src"},name:{source:"html",selector:".ugb-team-member-column-one h4",default:Object(c.t)("Ben Adams")},nameTwo:{source:"html",selector:".ugb-team-member-column-two h4",default:Object(c.t)("Alex Johnson")},nameThree:{source:"html",selector:".ugb-team-member-column-three h4",default:Object(c.t)("Sammy Simpson")},position:{source:"html",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(c.t)("Founder")},positionTwo:{source:"html",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(c.t)("Editor")},positionThree:{source:"html",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(c.t)("Programmer")},des:{source:"html",selector:".ugb-team-member-des",default:Object(c.t)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{source:"html",selector:".ugb-team-member-des-two",default:Object(c.t)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{source:"html",selector:".ugb-team-member-des-three",default:Object(c.t)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},nameColor:{type:"string"},posColor:{type:"string"},desColor:{type:"string"},iconColor:{type:"string"},columns:{type:"number",default:1},shapes:{type:"string",default:"square"}};Object(c.B)("ugb/team-member",{title:Object(c.t)("Team Member"),icon:u.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Team Member"),Object(c.t)("Stackable")],attributes:m,edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(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=n(53),r=(n.n(o),n(54)),a=(n.n(r),n(1)),u=n.n(a),c=n(2),i=n(55),s=n(0),m=function(e){var t=(e.focus,e.setFocus,e.editable,e.setAttributes),n=(e.setState,e.className),o=e.isSelected,r=e.attributes,a=r.text,c=r.moreLabel,i=r.moreText,m=r.lessLabel,b=u()([n,"ugb-expand"]);return wp.element.createElement(s.g,null,wp.element.createElement("div",{className:b},o&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.t)("Less text")),wp.element.createElement(s.o,l({multiline:"p",placeholder:e.attributes.text.default,value:a,onChange:function(e){return t({text:e})},className:"ugb-expand-less-text"},"placeholder",Object(s.t)("Some short text that can be expanded to show more details."))),wp.element.createElement(s.o,l({tagName:"a",placeholder:e.attributes.moreLabel.default,value:c,onChange:function(e){return t({moreLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-more"},"placeholder",Object(s.t)("Show more"))),o&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.t)("More text")),o&&wp.element.createElement(s.o,l({multiline:"p",placeholder:e.attributes.moreText.default,value:i,onChange:function(e){return t({moreText:e})},className:"ugb-expand-more-text"},"placeholder",Object(s.t)("Some short text that can be expanded to show more details. Some additional text that can only be seen when expanded."))),o&&wp.element.createElement(s.o,l({tagName:"a",placeholder:e.attributes.lessLabel.default,value:m,onChange:function(e){return t({lessLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-less"},"placeholder",Object(s.t)("Show less")))))},b=function(e){var t=e.className,n=e.attributes,l=n.text,o=n.moreLabel,r=n.moreText,a=n.lessLabel,c=u()([t,"ugb-expand"]);return wp.element.createElement("div",{className:c},wp.element.createElement("div",{className:"ugb-expand-less-text"},!s.o.isEmpty(l)&&wp.element.createElement(s.o.Content,{multiline:"p",value:l})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!s.o.isEmpty(r)&&wp.element.createElement(s.o.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(s.o.Content,{className:"ugb-expand-more",tagName:"span",value:o}),wp.element.createElement(s.o.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))},p={text:{source:"html",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{source:"html",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{source:"html",selector:".ugb-expand-more",default:Object(s.t)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(s.t)("Show less")}};Object(s.B)("ugb/expand",{title:Object(s.t)("Expand / Show More"),icon:c.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Expand"),Object(s.t)("Show more/less"),Object(s.t)("Stackable")],attributes:p,deprecated:[{attributes:i.b,save:i.a}],edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={text:{source:"html",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{source:"html",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{source:"html",selector:".ugb-expand-more",default:Object(l.t)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(l.t)("Show less")}},r=function(e){var t=e.attributes,n=t.text,o=t.moreLabel,r=t.moreText,a=t.lessLabel;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ugb-expand-less-text"},!l.o.isEmpty(n)&&wp.element.createElement(l.o.Content,{multiline:"p",value:n})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!l.o.isEmpty(r)&&wp.element.createElement(l.o.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(l.o.Content,{className:"ugb-expand-more",tagName:"span",value:o}),wp.element.createElement(l.o.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))}},function(e,t,n){"use strict";var l=n(57),o=(n.n(l),n(58)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=e.className,n=e.setAttributes,l=(e.isSelected,e.editable,e.setState,e.attributes),o=l.numberBox,r=l.numberBoxTwo,u=l.numberBoxThree,i=l.body,s=l.bodyTwo,m=l.bodyThree,b=l.name,p=l.nameTwo,g=l.nameThree,d=l.columns,f=l.numberBoxColor,h=l.nameColor,w=l.bodyTextColor,v=l.numberBGColor,y=a()([t,"ugb-number-box","column-"+d]);return wp.element.createElement(c.g,null,wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.n,{label:Object(c.t)("Columns"),value:d,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return n({numberBoxColor:e})},label:Object(c.t)("Number Color")},{value:v,onChange:function(e){return n({numberBGColor:e})},label:Object(c.t)("Number Background Color")},{value:h,onChange:function(e){return n({nameColor:e})},label:Object(c.t)("Name Color")},{value:w,onChange:function(e){return n({bodyTextColor:e})},label:Object(c.t)("Body Text Color")}]})),wp.element.createElement("div",{className:y},wp.element.createElement("div",null,wp.element.createElement(c.o,{tagName:"span",placeholder:o?o.default:"",value:o,onChange:function(e){return n({numberBox:e})},style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"h4",value:b,className:"ugb-number-box-name",onChange:function(e){return n({name:e})},placeholder:Object(c.t)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:i,className:"ugb-number-box-body",onChange:function(e){return n({body:e})},placeholder:Object(c.t)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(c.o,{tagName:"span",placeholder:r?r.default:"",value:r,onChange:function(e){return n({numberBoxTwo:e})},style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"h4",value:p,className:"ugb-number-box-name-two",onChange:function(e){return n({nameTwo:e})},placeholder:Object(c.t)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:s,className:"ugb-number-box-body-two",onChange:function(e){return n({bodyTwo:e})},placeholder:Object(c.t)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(c.o,{tagName:"span",placeholder:u?u.default:"",value:u,onChange:function(e){return n({numberBoxThree:e})},style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"h4",value:g,className:"ugb-number-box-name-three",onChange:function(e){return n({nameThree:e})},placeholder:Object(c.t)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:m,className:"ugb-number-box-body-three",onChange:function(e){return n({bodyThree:e})},placeholder:Object(c.t)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0}))))},s=function(e){var t=e.className,n=e.attributes,l=n.numberBox,o=n.numberBoxTwo,r=n.numberBoxThree,u=n.body,i=n.bodyTwo,s=n.bodyThree,m=n.name,b=n.nameTwo,p=n.nameThree,g=n.numberBoxColor,d=n.nameColor,f=n.bodyTextColor,h=n.numberBGColor,w=n.columns,v=a()([t,"ugb-number-box","column-"+w]);return wp.element.createElement("div",{className:v},wp.element.createElement("div",{className:"ugb-number-box-column-one"},!c.o.isEmpty(l)&&wp.element.createElement(c.o.Content,{tagName:"span",style:{color:g,backgroundColor:h},value:l}),!c.o.isEmpty(m)&&wp.element.createElement(c.o.Content,{tagName:"h4",className:"ugb-number-box-name",style:{color:d},value:m}),!c.o.isEmpty(u)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-number-box-body",style:{color:f},value:u})),w>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{tagName:"span",style:{color:g,backgroundColor:h},value:o}),!c.o.isEmpty(b)&&wp.element.createElement(c.o.Content,{tagName:"h4",className:"ugb-number-box-name-two",style:{color:d},value:b}),!c.o.isEmpty(i)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-number-box-body-two",style:{color:f},value:i})),w>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},!c.o.isEmpty(r)&&wp.element.createElement(c.o.Content,{tagName:"span",style:{color:g,backgroundColor:h},value:r}),!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"h4",className:"ugb-number-box-name-three",style:{color:d},value:p}),!c.o.isEmpty(s)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-number-box-body-three",style:{color:f},value:s})))},m={numberBox:{source:"html",selector:".ugb-number-box-column-one span",default:Object(c.t)("01")},numberBoxTwo:{source:"html",selector:".ugb-number-box-column-two span",default:Object(c.t)("02")},numberBoxThree:{source:"html",selector:".ugb-number-box-column-three span",default:Object(c.t)("03")},name:{source:"html",selector:".ugb-number-box-name",default:Object(c.t)("Registration")},nameTwo:{source:"html",selector:".ugb-number-box-name-two",default:Object(c.t)("Waiting Period")},nameThree:{source:"html",selector:".ugb-number-box-name-three",default:Object(c.t)("Delivery")},body:{source:"html",selector:".ugb-number-box-body",default:Object(c.t)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyTwo:{source:"html",selector:".ugb-number-box-body-two",default:Object(c.t)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyThree:{source:"html",selector:".ugb-number-box-body-three",default:Object(c.t)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},numberBoxColor:{type:"string"},nameColor:{type:"string"},bodyTextColor:{type:"string"},numberBGColor:{type:"string"},columns:{type:"number",default:1}};Object(c.B)("ugb/number-box",{title:Object(c.t)("Number Box"),icon:u.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Number Box"),Object(c.t)("Stackable")],attributes:m,edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(60),o=(n.n(l),n(61)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(3),i=n(4),s=n(5),m=n(62),b=n(0),p=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.url,u=o.url2,i=o.url3,m=o.pricingBoxTitle,p=o.pricingBoxTitle2,g=o.pricingBoxTitle3,d=o.price,f=o.price2,h=o.price3,w=o.perMonthLabel,v=o.perMonthLabel2,y=o.perMonthLabel3,C=o.buttonText,E=o.buttonText2,x=o.buttonText3,N=o.featureList,k=o.featureList2,O=o.featureList3,j=o.pricingBoxColor,T=o.priceColor,B=o.perMonthLabelColor,S=o.buttonColor,z=o.buttonTextColor,L=o.featureListColor,R=o.columns,A=o.size,I=o.cornerButtonRadius,F=a()([n,"ugb-pricing-box","column-"+R]);return wp.element.createElement(b.g,null,wp.element.createElement(b.i,null,wp.element.createElement(b.k,null,wp.element.createElement(b.n,{label:Object(b.t)("Columns"),value:R,onChange:function(e){return l({columns:e})},min:1,max:3})),wp.element.createElement(b.l,{initialOpen:!1,title:Object(b.t)("Text Colors"),colorSettings:[{value:j,onChange:function(e){return l({pricingBoxColor:e})},label:Object(b.t)("Pricing Title Color")},{value:T,onChange:function(e){return l({priceColor:e})},label:Object(b.t)("Price Color")},{value:B,onChange:function(e){return l({perMonthLabelColor:e})},label:Object(b.t)("Per Month Label Color")},{value:L,onChange:function(e){return l({featureListColor:e})},label:Object(b.t)("Feature List Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:S,buttonTextColor:z,buttonSize:A,buttonBorderRadius:I,onChangeButtonColor:function(e){return l({buttonColor:e})},onChangeButtonTextColor:function(e){return l({buttonTextColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:F},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},wp.element.createElement(b.o,{tagName:"h3",value:m,onChange:function(e){return l({pricingBoxTitle:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:d,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:w,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:A,color:z,backgroundColor:S,text:C,borderRadius:I,onChange:function(e){return l({buttonText:e})}}),wp.element.createElement(b.o,{tagName:"p",value:N,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(b.o,{tagName:"h3",value:p,onChange:function(e){return l({pricingBoxTitle2:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:f,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price2:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:v,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel2:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:A,color:z,backgroundColor:S,text:E,borderRadius:I,onChange:function(e){return l({buttonText2:e})}}),wp.element.createElement(b.o,{tagName:"p",value:k,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList2:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:u,onChange:function(e){return l({url2:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(b.o,{tagName:"h3",value:g,onChange:function(e){return l({pricingBoxTitle3:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:h,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price3:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:y,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel3:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:A,color:z,backgroundColor:S,text:x,borderRadius:I,onChange:function(e){return l({buttonText3:e})}}),wp.element.createElement(b.o,{tagName:"p",value:O,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList3:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:i,onChange:function(e){return l({url3:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))))},g=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.url2,r=n.url3,u=n.pricingBoxTitle,c=n.pricingBoxTitle2,s=n.pricingBoxTitle3,m=n.price,p=n.price2,g=n.price3,d=n.perMonthLabel,f=n.perMonthLabel2,h=n.perMonthLabel3,w=n.buttonText,v=n.buttonText2,y=n.buttonText3,C=n.featureList,E=n.featureList2,x=n.featureList3,N=n.pricingBoxColor,k=n.priceColor,O=n.perMonthLabelColor,j=n.buttonColor,T=n.buttonTextColor,B=n.featureListColor,S=n.columns,z=n.size,L=n.cornerButtonRadius,R=a()([t,"ugb-pricing-box","column-"+S]);return wp.element.createElement("div",{className:R},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},!b.o.isEmpty(u)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:N},value:u}),!b.o.isEmpty(m)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:k},value:m}),!b.o.isEmpty(d)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:d}),w&&!!w.length&&wp.element.createElement(i.a,{size:z,url:l,color:T,text:w,backgroundColor:j,borderRadius:L}),!b.o.isEmpty(C)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:C})),S>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},!b.o.isEmpty(c)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:N},value:c}),!b.o.isEmpty(p)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:k},value:p}),!b.o.isEmpty(f)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:f}),v&&!!v.length&&wp.element.createElement(i.a,{size:z,url:o,color:T,text:v,backgroundColor:j,borderRadius:L}),!b.o.isEmpty(E)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:E})),S>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},!b.o.isEmpty(s)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:N},value:s}),!b.o.isEmpty(g)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:k},value:g}),!b.o.isEmpty(h)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:h}),y&&!!y.length&&wp.element.createElement(i.a,{size:z,url:r,color:T,text:y,backgroundColor:j,borderRadius:L}),!b.o.isEmpty(x)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:x})))},d={url:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-one .ugb-button a",attribute:"href"},url2:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-two .ugb-button a",attribute:"href"},url3:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-three .ugb-button a",attribute:"href"},pricingBoxTitle:{source:"html",selector:".ugb-pricing-box-column-one h3",default:Object(b.t)("Basic")},pricingBoxTitle2:{source:"html",selector:".ugb-pricing-box-column-two h3",default:Object(b.t)("Basic")},pricingBoxTitle3:{source:"html",selector:".ugb-pricing-box-column-three h3",default:Object(b.t)("Basic")},price:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(b.t)("$9")},price2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(b.t)("$9")},price3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(b.t)("$9")},perMonthLabel:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(b.t)("per month")},perMonthLabel2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(b.t)("per month")},perMonthLabel3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(b.t)("per month")},buttonText:{source:"html",selector:".ugb-pricing-box-column-one .ugb-button a",default:Object(b.t)("Buy Now")},buttonText2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-button a",default:Object(b.t)("Buy Now")},buttonText3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-button a",default:Object(b.t)("Buy Now")},featureList:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(b.t)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-feature-list",default:Object(b.t)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-feature-list",default:Object(b.t)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},pricingBoxColor:{type:"string"},priceColor:{type:"string"},perMonthLabelColor:{type:"string"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},featureListColor:{type:"string"},columns:{type:"number",default:1},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}};Object(b.B)("ugb/pricing-box",{title:Object(b.t)("Pricing Box"),icon:u.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Pricing Box"),Object(b.t)("Stackable")],attributes:d,deprecated:[{save:m.a}],edit:p,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){var t=e.attributes,n=t.url,l=t.url2,o=t.url3,r=t.pricingBoxTitle,a=t.pricingBoxTitle2,u=t.pricingBoxTitle3,c=t.price,i=t.price2,s=t.price3,m=t.perMonthLabel,b=t.perMonthLabel2,p=t.perMonthLabel3,g=t.buttonText,d=t.buttonText2,f=t.buttonText3,h=t.featureList,w=t.featureList2,v=t.featureList3,y=t.pricingBoxColor,C=t.priceColor,E=t.perMonthLabelColor,x=t.buttonColor,N=t.buttonTextColor,k=t.featureListColor,O=t.columns,j=t.size,T=t.cornerButtonRadius,B={backgroundColor:x,color:N,borderRadius:T+"px"};return wp.element.createElement("div",{className:"ugb-pricing-box column-"+O},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},r&&!!r.length&&wp.element.createElement("h3",{style:{color:y}},r),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},c),m&&!!m.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},m),g&&!!g.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+j,style:B},g),h&&!!h.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:k}},h)),O>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:y}},a),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},i),b&&!!b.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},b),d&&!!d.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+j,style:B},d),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:k}},w)),O>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},u&&!!u.length&&wp.element.createElement("h3",{style:{color:y}},u),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},s),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},p),f&&!!f.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+j,style:B},f),v&&!!v.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:k}},v)))}},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}var o=n(64),r=(n.n(o),n(65)),a=(n.n(r),n(1)),u=n.n(a),c=n(2),i=n(3),s=n(4),m=n(5),b=n(66),p=n(0),g=function(e){var t=e.className,n=e.setAttributes,o=e.isSelected,r=(e.editable,e.setState,e.attributes),a=r.url,c=r.buttonURL,s=r.buttonText,b=r.buttonColor,g=r.buttonTextColor,d=r.cornerButtonRadius,f=r.size,h=r.title,w=r.titleColor,v=r.subtitle,y=r.subtitleColor,C=r.contentAlign,E=r.id,x=r.backgroundColor,N=r.opacity,k=u()([t,"ugb-header"],{"has-image":a}),O=u()([l(N),"ugb-header-overlay"],{"overlay-opacity":0!==N});return wp.element.createElement(p.g,null,wp.element.createElement(p.d,null,wp.element.createElement(p.a,{value:C,onChange:function(e){return n({contentAlign:e})}}),wp.element.createElement(p.r,null,wp.element.createElement(p.j,{onSelect:function(e){return n({url:e.url,id:e.id})},allowedTypes:["image"],value:E,render:function(e){var t=e.open;return wp.element.createElement(p.h,{className:"components-toolbar__control",label:Object(p.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(p.i,null,wp.element.createElement(p.k,{title:Object(p.t)("General")},wp.element.createElement(p.n,{label:Object(p.t)("Background Opacity"),value:N,min:0,max:10,step:1,onChange:function(e){return n({opacity:e})}})),wp.element.createElement(p.l,{initialOpen:!1,title:Object(p.t)("Header Colors"),colorSettings:[{value:w,onChange:function(e){return n({titleColor:e})},label:Object(p.t)("Title Color")},{value:y,onChange:function(e){return n({subtitleColor:e})},label:Object(p.t)("Subtitle Color")},{value:x,onChange:function(e){return n({backgroundColor:e})},label:Object(p.t)("Heading Background Color")}]}),wp.element.createElement(m.a,{initialOpen:!1,buttonColor:b,buttonTextColor:g,buttonSize:f,buttonBorderRadius:d,onChangeButtonColor:function(e){return n({buttonColor:e})},onChangeButtonTextColor:function(e){return n({buttonTextColor:e})},onChangeButtonSize:function(e){n({size:e})},onChangeButtonBorderRadius:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:k},wp.element.createElement("div",{className:O,style:{backgroundColor:x}}),wp.element.createElement(p.j,{onSelect:function(e){return n({url:e.url,id:e.id})},allowedTypes:["image"],value:E,render:function(e){return[!a&&wp.element.createElement(p.e,{className:E?"":"button button-large",onClick:e.open},Object(p.t)("Upload Image"))]}}),wp.element.createElement("section",{"data-url":a,style:{backgroundImage:a?"url("+a+")":void 0},className:"ugb-header-section"},wp.element.createElement(p.o,{tagName:"h2",className:"ugb-header-title",placeholder:h.default,value:h,onChange:function(e){return n({title:e})},style:{textAlign:C,color:w}}),wp.element.createElement(p.o,{tagName:"p",className:"ugb-header-subtitle",placeholder:v.default,value:v,onChange:function(e){return n({subtitle:e})},style:{textAlign:C,color:y}}),wp.element.createElement(i.a,{size:f,align:C,color:g,backgroundColor:b,text:s,borderRadius:d,onChange:function(e){return n({buttonText:e})}}))),o&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+C},wp.element.createElement(p.f,{icon:"admin-links"}),wp.element.createElement(p.s,{value:c,onChange:function(e){return n({buttonURL:e})}}),wp.element.createElement(p.h,{icon:"editor-break",label:Object(p.t)("Apply"),type:"submit"})))},d=function(e){var t=e.className,n=e.attributes,o=n.url,r=n.buttonURL,a=n.buttonText,c=n.buttonColor,i=n.buttonTextColor,m=n.cornerButtonRadius,b=n.size,g=n.title,d=n.titleColor,f=n.subtitle,h=n.subtitleColor,w=n.contentAlign,v=(n.id,n.backgroundColor),y=n.opacity,C={backgroundImage:o?"url("+o+")":void 0,textAlign:w||void 0},E=u()([t,"ugb-header"],{"has-image":o,"has-no-content":!g&&!f&&!a,"has-content":g||f||a}),x=u()([l(y),"ugb-header-overlay"],{"overlay-opacity":0!==y});return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:x,style:{backgroundColor:v}}),wp.element.createElement("section",{key:"preview","data-url":o,style:C,className:"ugb-header-section"},!p.o.isEmpty(g)&&wp.element.createElement(p.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!p.o.isEmpty(f)&&wp.element.createElement(p.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:h},value:f}),a&&!!a.length&&wp.element.createElement(s.a,{size:b,url:r,align:w,color:i,text:a,backgroundColor:c,borderRadius:m})))},f={title:{source:"html",selector:"h2",default:Object(p.t)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(p.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(p.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}};Object(p.B)("ugb/header",{title:Object(p.t)("Header"),icon:c.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(p.t)("Header"),Object(p.t)("Stackable")],supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),attributes:f,deprecated:[{attributes:b.f,save:b.c},{attributes:b.e,save:b.b},{attributes:b.d,save:b.a}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function o(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}n.d(t,"c",function(){return i}),n.d(t,"f",function(){return s}),n.d(t,"b",function(){return m}),n.d(t,"e",function(){return b}),n.d(t,"a",function(){return p}),n.d(t,"d",function(){return g});var r=n(1),a=n.n(r),u=n(0),c=n(6),i=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,r=t.buttonText,i=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=a()(l(v),{"overlay-opacity":0!==v}),x=p.length||d.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!u.o.isEmpty(p)&&wp.element.createElement(u.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!u.o.isEmpty(d)&&wp.element.createElement(u.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),r&&!!r.length&&wp.element.createElement(c.b,{size:b,url:o,align:h,color:s,text:r,backgroundColor:i,borderRadius:m})))},s={title:{type:"array",source:"children",selector:"h2",default:Object(u.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(u.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},m=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,r=t.buttonText,i=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=a()(l(v),{"overlay-opacity":0!==v}),x=p.length||d.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!u.o.isEmpty(p)&&wp.element.createElement(u.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!u.o.isEmpty(d)&&wp.element.createElement(u.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),r&&!!r.length&&wp.element.createElement(c.a,{size:b,url:o,align:h,color:s,text:r,backgroundColor:i,borderRadius:m})))},b={title:{type:"array",source:"children",selector:"h2",default:Object(u.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(u.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},p=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,r=t.buttonText,u=t.buttonColor,c=t.buttonTextColor,i=t.cornerButtonRadius,s=t.size,m=t.title,b=t.titleColor,p=t.subtitle,g=t.subtitleColor,d=(t.contentAlign,t.id,t.backgroundColor),f=t.opacity,h={backgroundColor:u,color:c,borderRadius:i+"px"},w=n?{backgroundImage:"url("+n+")"}:void 0,v=n?"has-image":"",y=a()(o(f),{"overlay-opacity":0!==f}),C=m||p||r?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+v+" "+C},wp.element.createElement("div",{className:"ugb-header-overlay "+y,style:{backgroundColor:d}}),wp.element.createElement("section",{key:"preview","data-url":n,style:w,className:"ugb-header-section"},m&&!!m.length&&wp.element.createElement("h2",{className:"ugb-header-title",style:{color:b}},m),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-header-subtitle",style:{color:g}},p),r&&!!r.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+s,style:h},r)))},g={title:{type:"array",source:"children",selector:"h2",default:Object(u.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-header a.wp-ugb-button",default:Object(u.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}}},function(e,t,n){"use strict";var l=n(68),o=(n.n(l),n(69)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(70),i=n(0),s=function(e){var t=e.className,n=e.setAttributes,l=e.isSelected,o=(e.editable,e.setState,e.attributes),r=o.url,u=o.href,c=o.title,s=o.titleColor,m=o.subtitle,b=o.subtitleColor,p=o.overlayColor,g=o.id,d=o.height,f=o.width,h=o.verticalAlign,w=o.horizontalAlign,v=o.full,y=[{value:"flex-start",label:Object(i.t)("Top")},{value:"center",label:Object(i.t)("Center")},{value:"flex-end",label:Object(i.t)("Bottom")}],C=[{value:"flex-start",label:Object(i.t)("Left")},{value:"center",label:Object(i.t)("Center")},{value:"flex-end",label:Object(i.t)("Right")}],E=a()([t,"ugb-image-box"],{"has-image":r,"full-width":v});return wp.element.createElement(i.g,null,wp.element.createElement(i.d,null,r&&wp.element.createElement(i.r,null,wp.element.createElement(i.j,{onSelect:function(e){return n({url:e.url,id:e.id})},allowedTypes:["image"],value:g,render:function(e){var t=e.open;return wp.element.createElement(i.h,{className:"components-toolbar__control",label:Object(i.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.q,{label:"Full-Width",checked:!!v,onChange:function(){return n({full:!v})}}),wp.element.createElement(i.n,{label:Object(i.t)("Height"),value:d,min:"135",max:"700",onChange:function(e){return n({height:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Width"),value:f,min:"400",max:"999",onChange:function(e){return n({width:e})}}),wp.element.createElement(i.p,{label:Object(i.t)("Vertical Alignment"),value:h,options:y.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({verticalAlign:e})}}),wp.element.createElement(i.p,{label:Object(i.t)("Horizontal Alignment"),value:w,options:C.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({horizontalAlign:e})}})),wp.element.createElement(i.l,{title:Object(i.t)("Color Settings"),colorSettings:[{value:p,onChange:function(e){return n({overlayColor:e})},label:Object(i.t)("Overlay Color")},{value:s,onChange:function(e){return n({titleColor:e})},label:Object(i.t)("Title Color")},{value:b,onChange:function(e){return n({subtitleColor:e})},label:Object(i.t)("Subtitle Color")}]})),wp.element.createElement("div",{className:E,"data-url":r,style:{width:f+"px",height:d+"px",backgroundImage:"url("+r+")",alignItems:w,justifyContent:h}},wp.element.createElement(i.j,{onSelect:function(e){return n({url:e.url,id:e.id})},allowedTypes:["image"],value:g,render:function(e){return[!r&&wp.element.createElement(i.e,{className:g?"":"button button-large",onClick:e.open},Object(i.t)("Upload Image"))]}}),wp.element.createElement("a",{href:u,style:{backgroundColor:p}}),wp.element.createElement(i.o,{tagName:"h4",placeholder:c.default,value:c,onChange:function(e){return n({title:e})},style:{color:s}}),wp.element.createElement(i.o,{tagName:"p",placeholder:m.default,value:m,onChange:function(e){return n({subtitle:e})},style:{color:b}})),l&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link",style:{marginTop:10}},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:u,onChange:function(e){n({href:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"})))},m=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.href,r=n.title,u=n.titleColor,c=n.subtitle,s=n.subtitleColor,m=n.overlayColor,b=(n.id,n.height),p=n.width,g=n.verticalAlign,d=n.horizontalAlign,f=n.full,h=a()([t,"ugb-image-box"],{"has-image":l,"full-width":f,"has-no-content":!r&&!c,"has-content":r||c});return wp.element.createElement("div",{className:h,"data-url":l,style:{width:p+"px",height:b+"px",backgroundImage:"url("+l+")",alignItems:d,justifyContent:g}},wp.element.createElement("a",{href:o,style:{backgroundColor:m}}),!i.o.isEmpty(r)&&wp.element.createElement(i.o.Content,{tagName:"h4",style:{color:u},value:r}),!i.o.isEmpty(c)&&wp.element.createElement(i.o.Content,{tagName:"p",style:{color:s},value:c}))},b={title:{source:"html",selector:"h4",default:Object(i.t)("Title")},subtitle:{source:"html",selector:"p",default:Object(i.t)("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}};Object(i.B)("ugb/image-box",{title:Object(i.t)("Image Box"),icon:u.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Image Box"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={title:{type:"array",source:"children",selector:"h4",default:Object(l.t)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(l.t)("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}},r=function(e){var t=e.attributes,n=t.url,o=t.title,r=t.titleColor,a=t.subtitle,u=t.subtitleColor,c=t.overlayColor,i=(t.id,t.height),s=t.width,m=t.verticalAlign,b=t.horizontalAlign,p=t.full,g=n?"has-image":"",d=p?"full-width":"",f=o.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+g+" "+f+" "+d,"data-url":n,style:{width:s+"px",height:i+"px",backgroundImage:"url("+n+")",alignItems:b,justifyContent:m}},wp.element.createElement("a",{href:"#",style:{backgroundColor:c}}),!l.o.isEmpty(o)&&wp.element.createElement(l.o.Content,{tagName:"h4",style:{color:r},value:o}),!l.o.isEmpty(a)&&wp.element.createElement(l.o.Content,{tagName:"p",style:{color:u},value:a}))}},function(e,t,n){"use strict";var l=n(72),o=(n.n(l),n(73)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=(e.isSelected,e.editable,e.setState,e.setAttributes),n=e.className,l=e.attributes,o=l.color,r=l.headingColor,u=l.desColor,i=l.title,s=l.counter,m=l.des,b=l.fontSize,p=a()([n,"ugb-countup"]);return wp.element.createElement(c.g,null,wp.element.createElement("div",{className:p},wp.element.createElement(c.o,{tagName:"h4",value:i,onChange:function(e){return t({title:e})},style:{color:r}}),wp.element.createElement(c.o,{tagName:"div",className:"ugb-counter",placeholder:s.default,"data-duration":"1000","data-delay":"16",value:s,onChange:function(e){return t({counter:e})},style:{color:o,fontSize:b+"px"}}),wp.element.createElement(c.o,{tagName:"p",className:"ugb-counter-des",value:m,onChange:function(e){return t({des:e})},style:{color:u}})),wp.element.createElement(c.i,null,wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return t({headingColor:e})},label:Object(c.t)("Heading Color")},{value:o,onChange:function(e){return t({color:e})},label:Object(c.t)("Number Color")},{value:u,onChange:function(e){return t({desColor:e})},label:Object(c.t)("Description Color")}]}),wp.element.createElement(c.k,null,wp.element.createElement(c.n,{label:Object(c.t)("Counter Text Font Size"),max:"100",min:"10",value:b,onChange:function(e){return t({fontSize:e})}}))))},s=function(e){var t=e.className,n=e.attributes,l=n.color,o=n.headingColor,r=n.desColor,u=n.title,i=n.counter,s=n.des,m=n.fontSize,b=a()([t,"ugb-countup"]);return wp.element.createElement("div",{className:b},wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:o},value:u}),wp.element.createElement(c.o.Content,{tagName:"div",className:"ugb-counter",style:{color:l,fontSize:m+"px"},value:i,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(c.o.Content,{tagName:"p",style:{color:r},value:s}))};Object(c.B)("ugb/count-up",{title:Object(c.t)("Count Up"),icon:u.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Count Up"),Object(c.t)("Stackable")],attributes:{title:{source:"html",selector:"h4",default:Object(c.t)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(c.t)("and counting")},fontSize:{type:"number",default:"60"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(75),o=(n.n(l),n(76)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(7),i=n(77),s=n(0),m={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"}))},b=function(e){var t=e.className,n=e.setAttributes,l=e.isSelected,o=e.attributes,r=o.videoLink,u=(o.videoID,o.mediaLink),i=o.overlayColor,b=o.playButtonType,p=o.mediaID,g=[{value:"normal",label:Object(s.t)("Normal Play Button")},{value:"circle",label:Object(s.t)("Play Button with Circle")},{value:"outline",label:Object(s.t)("Outline Play Button")}],d=a()([t,"ugb-video-popup"]);return wp.element.createElement(s.g,null,wp.element.createElement(s.d,null,u&&wp.element.createElement(s.r,null,wp.element.createElement(s.j,{onSelect:function(e){return n({mediaLink:e.url,mediaID:e.id})},allowedTypes:["image"],value:p,render:function(e){var t=e.open;return wp.element.createElement(s.h,{className:"components-toolbar__control",label:Object(s.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(s.i,null,wp.element.createElement(s.k,null,wp.element.createElement(s.p,{label:Object(s.t)("Play Button Style"),value:b,options:g.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}})),wp.element.createElement(s.l,{initialOpen:!1,title:Object(s.t)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return n({overlayColor:e})},label:Object(s.t)("Background / Overlay Color")}]})),wp.element.createElement("div",{className:d,style:{backgroundColor:i}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+u+")"}}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement(s.j,{onSelect:function(e){return n({mediaLink:e.url,mediaID:e.id})},allowedTypes:["image"],value:p,render:function(e){return[!u&&wp.element.createElement(s.e,{className:p?"":"button button-large",onClick:e.open},Object(s.t)("Upload Image"))]}}),wp.element.createElement("div",{className:"ugb-video-overlay",style:{backgroundColor:i}}),wp.element.createElement("span",{className:"ugb-play-button"},m[b]))),l&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(s.f,{icon:"admin-links"}),wp.element.createElement(s.s,{value:r,onChange:function(e){n({videoLink:e,videoID:Object(c.a)(e).id})}}),wp.element.createElement(s.h,{icon:"editor-break",label:Object(s.t)("Apply"),type:"submit"}),wp.element.createElement("p",{className:"ugb-video-popup-link-desc"},wp.element.createElement("i",null,Object(s.t)("Youtube / Vimeo only")))))},p=function(e){var t=e.className,n=e.attributes,l=n.videoLink,o=n.videoID,r=n.mediaLink,u=n.overlayColor,c=n.playButtonType,i=(n.mediaID,a()([t,"ugb-video-popup"]));return wp.element.createElement("div",{className:i,"data-video":o,"data-video-url":l,style:{backgroundColor:u}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+r+")"},"data-url":r}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:u}}),wp.element.createElement("span",{className:"ugb-play-button"},m[c])))},g={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"}};Object(s.B)("ugb/video-popup",{title:Object(s.t)("Video Popup"),icon:u.r,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Video Popup"),Object(s.t)("Stackable")],attributes:g,deprecated:[{attributes:i.b,migrate:function(e){return e.videoID=e.videoLink,e},isEligible:function(e){return"undefined"===typeof e.videoLink},save:i.a}],edit:b,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return r});var l={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"}},o={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"}))},r=function(e){var t=e.attributes,n=t.videoLink,l=t.mediaLink,r=t.overlayColor,a=t.playButtonType;t.mediaID;return wp.element.createElement("div",{className:"ugb-video-popup","data-video":n,style:{backgroundColor:r}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+l+")"},"data-url":l}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:r}}),wp.element.createElement("span",{className:"ugb-play-button"},o[a])))}},function(e,t,n){"use strict";var l=n(79),o=(n.n(l),n(80)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(3),i=n(4),s=n(5),m=n(81),b=n(0),p=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.heading,u=o.tagline,i=o.des,m=o.mediaID,p=o.mediaURL,g=o.headingColor,d=o.taglineColor,f=o.desColor,h=o.buttonURL,w=o.buttonText,v=o.buttonColor,y=o.buttonTextColor,C=o.size,E=o.cornerButtonRadius,x=o.contentAlign,N=a()([n,"ugb-card"],{"has-image":p});return wp.element.createElement(b.g,null,wp.element.createElement(b.d,null,wp.element.createElement(b.a,{value:x,onChange:function(e){return l({contentAlign:e})}}),wp.element.createElement(b.r,null,wp.element.createElement(b.j,{onSelect:function(e){return l({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:m,render:function(e){var t=e.open;return wp.element.createElement(b.h,{className:"components-toolbar__control",label:Object(b.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(b.i,null,wp.element.createElement(b.l,{title:Object(b.t)("Text Colors"),colorSettings:[{value:g,onChange:function(e){return l({headingColor:e})},label:Object(b.t)("Heading Color")},{value:d,onChange:function(e){return l({taglineColor:e})},label:Object(b.t)("Tagline Color")},{value:f,onChange:function(e){return l({desColor:e})},label:Object(b.t)("Description Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:v,buttonTextColor:y,buttonSize:C,buttonBorderRadius:E,onChangeButtonColor:function(e){return l({buttonColor:e})},onChangeButtonTextColor:function(e){return l({buttonTextColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:N},wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+p+")",textAlign:x}},wp.element.createElement(b.j,{onSelect:function(e){return l({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:m,render:function(e){return[!p&&wp.element.createElement(b.e,{className:m?"":"button button-large",onClick:e.open},Object(b.t)("Upload Image"))]}})),wp.element.createElement(b.o,{tagName:"h4",value:r,className:"ugb-card-heading",onChange:function(e){return l({heading:e})},style:{color:g,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:u,className:"ugb-tagline",onChange:function(e){return l({tagline:e})},style:{color:d,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:i,className:"ugb-card-des",onChange:function(e){return l({des:e})},style:{color:f,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:C,align:x,color:y,backgroundColor:v,text:w,borderRadius:E,onChange:function(e){return l({buttonText:e})}})),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+x,style:{marginTop:10}},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:h,onChange:function(e){return l({buttonURL:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))},g=function(e){var t=e.className,n=e.attributes,l=n.heading,o=n.tagline,r=n.des,u=n.mediaURL,c=(n.mediaID,n.headingColor),s=n.taglineColor,m=n.desColor,p=n.buttonURL,g=n.buttonText,d=n.buttonColor,f=n.buttonTextColor,h=n.size,w=n.cornerButtonRadius,v=n.contentAlign,y=a()([t,"ugb-card"],{"has-image":u});return wp.element.createElement("div",{className:y},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:v},"data-src":u}),!b.o.isEmpty(l)&&wp.element.createElement(b.o.Content,{tagName:"h4",style:{color:c,textAlign:v},value:l}),!b.o.isEmpty(o)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:s,textAlign:v},value:o}),!b.o.isEmpty(r)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:m,textAlign:v},value:r}),g&&!!g.length&&wp.element.createElement(i.a,{size:h,url:p,align:v,color:f,text:g,backgroundColor:d,borderRadius:w}))},d={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:Object(b.t)("Ben Adams")},tagline:{source:"html",selector:".ugb-tagline",default:Object(b.t)("Ben is the head of our small team")},des:{source:"html",selector:".ugb-card-des",default:Object(b.t)("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:Object(b.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}};Object(b.B)("ugb/card",{title:Object(b.t)("Card"),icon:u.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Card"),Object(b.t)("Stackable")],attributes:d,deprecated:[{attributes:m.d,save:m.b},{attributes:m.c,save:m.a}],edit:p,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u}),n.d(t,"c",function(){return c});var l=n(0),o=n(6),r={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.t)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.t)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.t)("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:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(l.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}},a=function(e){var t=e.attributes,n=t.heading,r=t.tagline,a=t.des,u=t.mediaURL,c=(t.mediaID,t.headingColor),i=t.taglineColor,s=t.desColor,m=t.buttonURL,b=t.buttonText,p=t.buttonColor,g=t.buttonTextColor,d=t.size,f=t.cornerButtonRadius,h=t.contentAlign,w=u?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+w},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:h},"data-src":u}),!l.o.isEmpty(n)&&wp.element.createElement(l.o.Content,{tagName:"h4",style:{color:c,textAlign:h},value:n}),!l.o.isEmpty(r)&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:i,textAlign:h},value:r}),!l.o.isEmpty(a)&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:a}),b&&!!b.length&&wp.element.createElement(o.a,{size:d,url:m,align:h,color:g,text:b,backgroundColor:p,borderRadius:f}))},u=function(e){var t=e.attributes,n=t.heading,l=t.tagline,o=t.des,r=t.mediaURL,a=(t.mediaID,t.headingColor),u=t.taglineColor,c=t.desColor,i=t.buttonURL,s=t.buttonText,m=t.buttonColor,b=t.buttonTextColor,p=t.size,g=t.cornerButtonRadius,d=t.contentAlign,f={backgroundColor:m,color:b,borderRadius:g+"px"},h=r?"has-image":"",w=n||l||o||s?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-card "+h+" "+w},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+r+")",textAlign:d},"data-src":r}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:a,textAlign:d}},n),l&&!!l.length&&wp.element.createElement("p",{className:"ugb-tagline",style:{color:u,textAlign:d}},l),o&&!!o.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:c,textAlign:d}},o),s&&!!s.length&&wp.element.createElement("a",{href:i,className:"wp-ugb-button wp-block-button ugb-button-"+p+" ugb-button-"+d,style:f},s))},c={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.t)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.t)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.t)("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:".wp-ugb-button",attribute:"href"},buttonText:{type:"array",source:"children",selector:".wp-block-button",default:Object(l.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}}},function(e,t,n){"use strict";function l(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=n(83),r=(n.n(o),n(84)),a=(n.n(r),n(1)),u=n.n(a),c=n(2),i=n(7),s=n(0),m=function(e){var t=e.isSelected,n=(e.setState,e.className),o=e.setAttributes,r=e.attributes,a=r.columns,c=r.imageSize,i=u()([n,"ugb-feature-grid","columns-"+a]);return wp.element.createElement(s.g,null,wp.element.createElement(s.i,null,wp.element.createElement(s.k,null,wp.element.createElement(s.n,{label:Object(s.t)("Columns"),value:a,onChange:function(e){return o({columns:e})},min:1,max:3}),wp.element.createElement(s.n,{label:Object(s.t)("Image Size %"),value:c,onChange:function(e){return o({imageSize:e})},min:0,max:100}))),wp.element.createElement("div",{className:i},[1,2,3].map(function(e){var n=r["imageUrl"+e],a=r["imageID"+e],u=r["title"+e],i=r["description"+e],m=r["linkUrl"+e],b=r["linkText"+e];return wp.element.createElement("div",{key:e},wp.element.createElement("div",{className:"ugb-feature-grid-item"},wp.element.createElement("div",null,wp.element.createElement(s.j,{onSelect:function(t){var n;return o((n={},l(n,"imageUrl"+e,t.url),l(n,"imageID"+e,t.id),n))},allowedTypes:["image"],value:a,render:function(e){return a?wp.element.createElement("img",{src:n,onClick:e.open,style:{width:c+"%"}}):wp.element.createElement(s.e,{className:"button button-large",onClick:e.open},Object(s.t)("Upload Image"))}})),wp.element.createElement(s.o,{tagName:"h5",value:u,onChange:function(t){return o(l({},"title"+e,t))},placeholder:p["title"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement(s.o,{tagName:"p",value:i,onChange:function(t){return o(l({},"description"+e,t))},placeholder:p["description"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement("p",null,wp.element.createElement("a",{href:"#"},wp.element.createElement(s.o,{tagName:"span",value:b,onChange:function(t){return o(l({},"linkText"+e,t))},placeholder:p["linkText"+e].default,formattingControls:["bold","italic","strikethrough"],keepPlaceholderOnFocus:!0})))),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(s.f,{icon:"admin-links"}),wp.element.createElement(s.s,{value:m,onChange:function(t){return o(l({},"linkUrl"+e,t))}}),wp.element.createElement(s.h,{icon:"editor-break",label:Object(s.t)("Apply"),type:"submit"})))})))},b=function(e){var t=e.attributes,n=e.className,l=t.columns,o=t.imageSize,r=u()([n,"ugb-feature-grid","columns-"+l]);return wp.element.createElement("div",{className:r},Object(i.b)(1,l+1).map(function(e){var n=t["imageUrl"+e],l=t["title"+e],r=t["description"+e],a=t["linkUrl"+e],u=t["linkText"+e];return wp.element.createElement("div",{className:"ugb-feature-grid-item",key:e},n&&wp.element.createElement("img",{src:n,style:{width:o+"%"}}),!s.o.isEmpty(l)&&wp.element.createElement(s.o.Content,{tagName:"h5",className:"ugb-fg-title",value:l}),!s.o.isEmpty(r)&&wp.element.createElement(s.o.Content,{tagName:"p",className:"ugb-fg-description",value:r}),!s.o.isEmpty(u)&&wp.element.createElement("p",null,wp.element.createElement(s.o.Content,{tagName:"a",href:a,value:u,className:"ugb-fg-link"})))}))},p={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:Object(s.t)("Feature 1")},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:Object(s.t)("Feature 2")},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:Object(s.t)("Feature 3")},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:Object(s.t)("Some feature description for an awesome feature")},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:Object(s.t)("Some feature description for an awesome feature")},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:Object(s.t)("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:Object(s.t)("View More")},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:Object(s.t)("View More")},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:Object(s.t)("View More")}};Object(s.B)("ugb/feature-grid",{title:Object(s.t)("Feature Grid"),icon:c.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Feature Grid"),Object(s.t)("Stackable")],attributes:p,edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(86),o=(n.n(l),n(87)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(7),i=n(0),s=n(88),m={check:{iconFunc:s.e,circleFunc:s.d,outlineFunc:s.f,title:Object(i.t)("Check"),value:"check"},plus:{iconFunc:s.k,circleFunc:s.j,outlineFunc:s.l,title:Object(i.t)("Plus"),value:"plus"},arrow:{iconFunc:s.b,circleFunc:s.a,outlineFunc:s.c,title:Object(i.t)("Arrow"),value:"arrow"},cross:{iconFunc:s.h,circleFunc:s.g,outlineFunc:s.i,title:Object(i.t)("Cross"),value:"cross"},star:{iconFunc:s.n,circleFunc:s.m,outlineFunc:s.o,title:Object(i.t)("Star"),value:"star"}},b=function(e){return"circle"===e||"outline"===e?e+"Func":"iconFunc"},p=function(e,t,n){var l=b(t),o=Object(c.c)(m[e][l](n),!1);return btoa(o)},g=function(e){function t(e){return function(){return o({icon:e})}}function n(e){return function(){return o({iconShape:e})}}var l=(e.isSelected,e.setState,e.className),o=e.setAttributes,r=(e.insertBlocksAfter,e.attributes),u=r.icon,c=r.iconShape,s=r.iconColor,g=r.iconSize,d=r.text,f=r.columns,h=r.gap,w=a()([l,"ugb-icon-list","ugb-icon-"+u,"column-"+f]),v=p(u,c,s),y={"--icon":"url('data:image/svg+xml;base64,"+v+"')","--icon-size":g?g+"px":void 0,"--gap":h?h+"px":void 0};return wp.element.createElement(i.g,null,wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.b,{label:Object(i.t)("Icon")},wp.element.createElement(i.r,{icon:m[u].iconFunc(),controls:Object.keys(m).map(function(e){return Object.assign({},m[e],{icon:m[e].iconFunc(),isActive:u===e,onClick:t(e)})})})),wp.element.createElement(i.b,{label:Object(i.t)("Icon Shape")},wp.element.createElement(i.r,{icon:m[u][b(c)](),controls:["","circle","outline"].map(function(e){var t=b(e);return Object.assign({},m[u],{icon:m[u][t](),isActive:c===e,onClick:n(e)})})})),wp.element.createElement(i.l,{title:Object(i.t)("Icon Color"),className:"ugb-icon-list-color-picker",initialOpen:!0,opened:!0,colorSettings:[{value:s,onChange:function(e){return o({iconColor:e})},label:Object(i.t)("Icon Color")}]}),wp.element.createElement(i.n,{label:Object(i.t)("Icon Size"),value:g,onChange:function(e){return o({iconSize:e})},min:8,max:30}),wp.element.createElement(i.n,{label:Object(i.t)("Columns"),value:f,onChange:function(e){return o({columns:e})},min:1,max:3}),wp.element.createElement(i.n,{label:Object(i.t)("List Gap"),value:h,onChange:function(e){return o({gap:e})},min:0,max:30}))),wp.element.createElement("div",{className:w,style:y},wp.element.createElement(i.o,{tagName:"ul",multiline:"li",value:d,onChange:function(e){return o({text:e})}})))},d=function(e){var t=e.className,n=e.attributes,l=n.icon,o=n.iconShape,r=n.iconColor,u=n.iconSize,c=n.text,s=n.columns,m=n.gap,b=a()([t,"ugb-icon-list","ugb-icon-"+l,"column-"+s]),g=p(l,o,r),d={"--icon":"url('data:image/svg+xml;base64,"+g+"')","--icon-size":u?u+"px":void 0,"--gap":m?m+"px":void 0};return wp.element.createElement(i.o.Content,{tagName:"ul",className:b,style:d,value:c})},f={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}};Object(i.B)("ugb/icon-list",{title:Object(i.t)("Icon List"),icon:u.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Icon List"),Object(i.t)("Stackable")],attributes:f,edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"e",function(){return o}),n.d(t,"k",function(){return r}),n.d(t,"h",function(){return a}),n.d(t,"n",function(){return u}),n.d(t,"a",function(){return c}),n.d(t,"d",function(){return i}),n.d(t,"j",function(){return s}),n.d(t,"m",function(){return m}),n.d(t,"g",function(){return b}),n.d(t,"c",function(){return p}),n.d(t,"f",function(){return g}),n.d(t,"l",function(){return d}),n.d(t,"o",function(){return f}),n.d(t,"i",function(){return h});var l=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 "}))},o=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"}))},r=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 "}))},a=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 "}))},u=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 "}))},c=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"}))},i=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"}))},s=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"}))},m=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"}))},b=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"}))},p=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"}))},g=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"}))},d=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"}))},f=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 \t "}))},h=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"}))}},function(e,t,n){"use strict";function l(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=n(90),r=(n.n(o),n(91)),a=(n.n(r),n(1)),u=n.n(a),c=n(2),i=n(3),s=n(4),m=n(5),b=n(0),p=function(e){var t,n=e.isSelected,o=(e.setState,e.className),r=e.setAttributes,a=e.attributes,c=a.invert,s=a.contentAlign,p=a.backgroundColor,g=a.textColor,f=a.imageSize,h=a.imageID,w=a.imageUrl,v=a.title,y=a.description,C=a.buttonURL,E=a.buttonText,x=a.buttonColor,N=a.buttonTextColor,k=a.buttonSize,O=a.buttonBorderRadius,j=u()([o,"ugb-feature"],(t={"ugb-has-background":p},l(t,"ugb-content-"+s,s),l(t,"ugb-invert",c),t)),T={backgroundColor:p||void 0,"--image-size":f?f+"px":void 0};return wp.element.createElement(b.g,null,wp.element.createElement(b.d,null,wp.element.createElement(b.a,{value:s,onChange:function(e){return r({contentAlign:e})}})),wp.element.createElement(b.i,null,wp.element.createElement(b.k,null,wp.element.createElement(b.q,{label:Object(b.t)("Reverse Horizontally"),checked:c,onChange:function(){return r({invert:!c})}}),wp.element.createElement(b.n,{label:Object(b.t)("Image Size"),value:f,onChange:function(e){return r({imageSize:e})},help:Object(b.t)("The theme's content width may have an effect here."),min:100,max:600})),wp.element.createElement(b.l,{initialOpen:!0,title:Object(b.t)("Colors"),colorSettings:[{value:p,onChange:function(e){return r({backgroundColor:e})},label:Object(b.t)("Background Color")},{value:g,onChange:function(e){return r({textColor:e})},label:Object(b.t)("Text Color")}]}),wp.element.createElement(m.a,{initialOpen:!1,buttonColor:x,buttonTextColor:N,buttonSize:k,buttonBorderRadius:O,onChangeButtonColor:function(e){return r({buttonColor:e})},onChangeButtonTextColor:function(e){return r({buttonTextColor:e})},onChangeButtonSize:function(e){r({buttonSize:e})},onChangeButtonBorderRadius:function(e){return r({buttonBorderRadius:e})}})),wp.element.createElement("div",{className:j,style:T},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,wp.element.createElement(b.o,{tagName:"h2",value:v,onChange:function(e){return r({title:e})},placeholder:d.title.default,style:{color:g},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:y,onChange:function(e){return r({description:e})},placeholder:d.description.default,style:{color:g},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:k,align:s,color:N,backgroundColor:x,text:E,borderRadius:O,onChange:function(e){return r({buttonText:e})}})),wp.element.createElement("div",{className:"ugb-feature-image-side"},wp.element.createElement(b.j,{onSelect:function(e){return r({imageUrl:e.url,imageID:e.id})},allowedTypes:["image"],value:h,render:function(e){return h?wp.element.createElement("img",{src:w,onClick:e.open}):wp.element.createElement(b.e,{className:"button button-large",onClick:e.open},Object(b.t)("Upload Image"))}})))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+s},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:C,onChange:function(e){return r({buttonURL:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))},g=function(e){var t,n=e.className,o=e.attributes,r=o.invert,a=o.contentAlign,c=o.backgroundColor,i=o.textColor,m=o.imageSize,p=(o.imageID,o.imageUrl),g=o.title,d=o.description,f=o.buttonURL,h=o.buttonText,w=o.buttonColor,v=o.buttonTextColor,y=o.buttonSize,C=o.buttonBorderRadius,E=u()([n,"ugb-feature"],(t={"ugb-has-background":c},l(t,"ugb-content-"+a,a),l(t,"ugb-invert",r),t)),x={backgroundColor:c||void 0,"--image-size":m?m+"px":void 0};return wp.element.createElement("div",{className:E,style:x},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!b.o.isEmpty(g)&&wp.element.createElement(b.o.Content,{tagName:"h2",style:{color:i},value:g}),!b.o.isEmpty(d)&&wp.element.createElement(b.o.Content,{tagName:"p",style:{color:i},value:d}),!b.o.isEmpty(h)&&wp.element.createElement(s.a,{size:y,url:f,align:a,color:v,text:h,backgroundColor:w,borderRadius:C})),wp.element.createElement("div",{className:"ugb-feature-image-side"},p&&wp.element.createElement("img",{src:p,alt:g}))))},d={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:Object(b.t)("Feature Title")},description:{source:"html",selector:"p",default:Object(b.t)("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:Object(b.t)("Learn More")},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4}};Object(b.B)("ugb/feature",{title:Object(b.t)("Feature"),icon:c.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Feature"),Object(b.t)("Stackable")],supports:l({align:!0},"align",["center","wide","full"]),attributes:d,edit:p,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(0);Object(l.u)("stackable.get_pro","core",function(){})}]);
1
+ !function(e){function t(l){if(n[l])return n[l].exports;var o=n[l]={i:l,l:!1,exports:{}};return e[l].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,l){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:l})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=10)}([function(e,t,n){"use strict";n.d(t,"B",function(){return l}),n.d(t,"t",function(){return o}),n.d(t,"n",function(){return a}),n.d(t,"p",function(){return u}),n.d(t,"q",function(){return c}),n.d(t,"f",function(){return i}),n.d(t,"h",function(){return s}),n.d(t,"e",function(){return m}),n.d(t,"r",function(){return b}),n.d(t,"k",function(){return g}),n.d(t,"m",function(){return d}),n.d(t,"b",function(){return p}),n.d(t,"i",function(){return h}),n.d(t,"d",function(){return w}),n.d(t,"a",function(){return v}),n.d(t,"o",function(){return y}),n.d(t,"s",function(){return C}),n.d(t,"j",function(){return E}),n.d(t,"l",function(){return x}),n.d(t,"c",function(){return N}),n.d(t,"g",function(){return j}),n.d(t,"C",function(){return T}),n.d(t,"A",function(){return S}),n.d(t,"z",function(){return z}),n.d(t,"x",function(){return L}),n.d(t,"u",function(){return R}),n.d(t,"v",function(){return A}),n.d(t,"y",function(){return M}),n.d(t,"w",function(){return D});var l=wp.blocks.registerBlockType,o=wp.i18n.__,r=wp.components,a=r.RangeControl,u=r.SelectControl,c=(r.TextControl,r.ToggleControl),i=r.Dashicon,s=r.IconButton,m=r.Button,b=r.Toolbar,g=r.PanelBody,d=r.RadioControl,p=r.BaseControl,f=wp.editor.InspectorControls?wp.editor:wp.blocks,h=f.InspectorControls,w=f.BlockControls,v=f.AlignmentToolbar,y=f.RichText,C=f.URLInput,E=f.MediaUpload,k=wp.editor,x=k.PanelColorSettings,N=k.BlockAlignmentToolbar,O=wp.element,j=O.Fragment,T=O.renderToString,B=lodash,S=B.omit,z=B.merge,I=wp.hooks,L=I.doAction,R=I.addAction,A=I.applyFilters,U=(I.addFilter,stackable),M=U.isPro,D=U.blockSrcUrl;U.primaryColor},function(e,t,n){var l,o;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var o=typeof l;if("string"===o||"number"===o)e.push(l);else if(Array.isArray(l)&&l.length){var a=n.apply(null,l);a&&e.push(a)}else if("object"===o)for(var u in l)r.call(l,u)&&l[u]&&e.push(u)}}return e.join(" ")}var r={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(l=[],void 0!==(o=function(){return n}.apply(t,l))&&(e.exports=o))}()},function(e,t,n){"use strict";n.d(t,"j",function(){return a}),n.d(t,"a",function(){return u}),n.d(t,"g",function(){return c}),n.d(t,"c",function(){return i}),n.d(t,"n",function(){return s}),n.d(t,"o",function(){return m}),n.d(t,"q",function(){return b}),n.d(t,"b",function(){return g}),n.d(t,"p",function(){return d}),n.d(t,"d",function(){return p}),n.d(t,"k",function(){return f}),n.d(t,"h",function(){return h}),n.d(t,"l",function(){return w}),n.d(t,"r",function(){return v}),n.d(t,"m",function(){return y}),n.d(t,"f",function(){return C}),n.d(t,"e",function(){return E}),n.d(t,"i",function(){return k});var l=function(e){return wp.element.createElement("defs",null,wp.element.createElement("linearGradient",e,wp.element.createElement("stop",{offset:"0%",stopColor:"#ab5af1",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#fb6874",stopOpacity:"1"})))},o=1,r=function(){return"stk-icon-"+o++},a=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"20",height:"20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M512 96c-111.118 0-215.584 43.272-294.156 121.844S96 400.882 96 512s43.272 215.584 121.844 294.156S400.882 928 512 928s215.584-43.272 294.156-121.844S928 623.118 928 512s-43.272-215.584-121.843-294.156S623.118 96 512 96zm0-96c282.77 0 512 229.23 512 512s-229.23 512-512 512S0 794.77 0 512 229.23 0 512 0zm-64 704h128v128H448zm0-512h128v384H448z"}))},u=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z"}))},c=function(){return wp.element.createElement(u,null)},i=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 9h12v2H4V9z"}))},s=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z"}))},m=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 14 32"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 29h5.833L0 23h5V9H0l5.833-6H0V0h14v3H8.167L14 9H9v14h5l-5.833 6H14v3H0v-3z"}))},b=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 13 12.916010856628418"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M5.68 12.916a.5.5 0 0 1-.397-.196L3.208 10H1.463C.656 10 0 9.428 0 8.621V1.463C0 .656.656 0 1.463 0h10.074C12.344 0 13 .656 13 1.463v7.158C13 9.428 12.344 10 11.537 10H8.151l-2.073 2.72a.504.504 0 0 1-.398.196zM1.463 1A.464.464 0 0 0 1 1.463v7.158c0 .255.208.463.463.463h1.993a.5.5 0 0 1 .397.196l1.827 2.312L7.507 9.28a.502.502 0 0 1 .397-.196h3.633A.464.464 0 0 0 12 8.621V1.463A.464.464 0 0 0 11.537 1H1.463zm1.193 2h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49zm0 3h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49z"}))},g=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 16 14"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M10 0c-.17 0-.36.05-.52.14C8.04 1.02 4.5 3.58 3 4c-1.38 0-3 .67-3 2.5S1.63 9 3 9c.3.08.64.23 1 .41V14h2v-3.45c1.34.86 2.69 1.83 3.48 2.31.16.09.34.14.52.14.52 0 1-.42 1-1V1c0-.58-.48-1-1-1zm0 12c-.38-.23-.89-.58-1.5-1-.16-.11-.33-.22-.5-.34V2.31c.16-.11.31-.2.47-.31.61-.41 1.16-.77 1.53-1v11zm2-6h4v1h-4V6zm0 2l4 2v1l-4-2V8zm4-6v1l-4 2V4l4-2z"}))},d=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 896 1023"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M821 491q-41-41-95-60 62-26 100-82t38-125q0-93-65.5-158.5T640 0q-71 0-128.5 41T430 147q-32-39-77-61t-97-22q-93 0-158.5 65.5T32 288q0 69 38 125t100 82q-54 19-95 60Q0 630 0 736v191q0 40 28 68t68 28h320q31 0 55.5-18t34.5-46h294q40 0 68-28t28-68V672q0-106-75-181zM527 111q47-47 113-47t113 47 47 113-47 113-113 47-113-47-47-113 47-113zM143 401q-47-47-47-113t47-113 113-47 113 47 47 113-47 113-113 47-113-47zm305 526q0 13-9.5 22.5T416 959H96q-13 0-22.5-9.5T64 927V736q0-79 56.5-135.5T256 544t136 56q1 2 2 3 54 55 54 133v191zm-27-387q-36-30-79-45 43-18 75.5-52t48.5-78q36 44 88 66-54 19-95 60-22 23-38 49zm411 323q0 13-9.5 22.5T800 895H512V736q0-80-46-146 15-30 38-53 57-57 136-57t135.5 56.5T832 672v191z"}))},p=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 8"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 0C1.79 0 0 1.79 0 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm24 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM16 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"}))},f=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 21.027502059936523 10.284000396728516"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M3.028 10.284a1 1 0 0 1-1-1V2.902l-.553.276A1 1 0 1 1 .58 1.389l2-1a.998.998 0 0 1 1.447.895v8a1 1 0 0 1-1 1zm9 0h-5a1.002 1.002 0 0 1-.707-1.707l4-4c.254-.254.394-.591.394-.95 0-.358-.14-.695-.394-.949-.508-.508-1.39-.508-1.9.001a1.33 1.33 0 0 0-.393.948 1 1 0 0 1-2 0c0-.894.348-1.733.98-2.364C8.273 0 10.472 0 11.735 1.264c.632.631.979 1.471.979 2.363 0 .893-.348 1.733-.98 2.364L9.443 8.284h2.586a1 1 0 0 1 0 2zm7.955-5.623a2.725 2.725 0 0 0 .545-1.627 2.753 2.753 0 0 0-2.75-2.75 2.739 2.739 0 0 0-2.44 1.484 1 1 0 1 0 1.776.92.75.75 0 1 1 .664 1.096 1 1 0 0 0 0 2c.689 0 1.25.561 1.25 1.25s-.561 1.25-1.25 1.25-1.25-.561-1.25-1.25a1 1 0 0 0-2 0c0 1.792 1.458 3.25 3.25 3.25s3.25-1.458 3.25-3.25a3.23 3.23 0 0 0-1.045-2.373z"}))},h=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 38"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 0h32v38H0V0zm3 3v32h26V3H3zm2 2h22v7H5V5zm0 9h14v19H5V14zm16 19V14h6v19h-6zM6 6v5h20V6H6z"}))},w=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 896"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M960 0H64Q38 0 19 19T0 64v768q0 26 19 45t45 19h896q26 0 45-19t19-45V64q0-26-19-45T960 0zM64 64h896v714L724 430q-7-12-21-14t-25 7L524 548 350 305q-10-14-28-13t-26 17L64 757V64zm855 768H97l231-447 184 255 179-145zM737 190q13 0 22.5 9.5T769 222t-9.5 22.5T737 254t-22.5-9.5T705 222t9.5-22.5T737 190zm0-64q-40 0-68 28t-28 68 28 68 68 28 68-28 28-68-28-68-68-28z"}))},v=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 38 26"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M2 0h34a2 2 0 0 1 2 2v22a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.77 4C6.24 4 5 5.511 5 7.375v11.25C5 20.489 6.24 22 7.77 22h15.46c1.53 0 2.77-1.511 2.77-3.375V16l6 5h1V5h-1l-6 5V7.375C26 5.511 24.76 4 23.23 4H7.77z"}))},y=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 448 448"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M416 32V0H256L0 288l160 160 23.471-23.904L208 448l240-272V32h-32zM160 425.371L22.39 288 262.621 16H400v137.377l-216.555 247.99-11.34 11.363L160 425.371zm272-255.994L208 425.371l-13.182-12.65L416 160V48h16v121.377z"}),wp.element.createElement("path",{d:"M320 128c17.645 0 32-14.355 32-32s-14.355-32-32-32-32 14.355-32 32 14.355 32 32 32zm0-48c8.836 0 16 7.163 16 16s-7.164 16-16 16-16-7.163-16-16 7.164-16 16-16z"}))},C=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 95.11"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"50 0 65.45 31.31 100 36.33 75 60.7 80.9 95.11 50 78.86 19.1 95.11 25 60.7 0 36.33 34.55 31.31 50 0"}))},E=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,2.4 30.1,16.8 46,19.2 34.5,30.4 37.2,46.2 23,38.7 8.8,46.2 11.5,30.4 0,19.2 15.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,2.4 84.1,16.8 100,19.2 88.5,30.4 91.2,46.2 77,38.7 62.8,46.2 65.5,30.4 54,19.2 69.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,52.1 30.1,66.5 46,68.8 34.5,80 37.2,95.9 23,88.4 8.8,95.9 11.5,80 0,68.8 15.9,66.5 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,52.1 84.1,66.5 100,68.8 88.5,80 91.2,95.9 77,88.4 62.8,95.9 65.5,80 54,68.8 69.9,66.5 "}))},k=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,42.3 2.7,36.1 0,38.8 9,47.8 27.6,29.3 24.8,26.5 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"34.6",width:"64.8",height:"5.1"}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,70.7 2.7,64.4 0,67.1 9,76.2 27.6,57.6 24.8,54.8 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"63",width:"64.8",height:"5.1"}))}},function(e,t,n){"use strict";function l(e){var t=e.className,n=void 0===t?"":t,l=e.align,o=void 0===l?"center":l,u=e.size,c=void 0===u?"normal":u,i=e.color,s=e.text,m=void 0===s?"":s,b=e.backgroundColor,g=e.borderRadius,d=void 0===g?4:g,p=e.isSelected,f=void 0===p?null:p,h=e.onFocus,w=void 0===h?function(){}:h,v=e.onChange,y=void 0===v?function(){}:v,C={borderRadius:d+"px",backgroundColor:b||void 0},E=r()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+c]);return wp.element.createElement("span",{className:E,style:C,"data-is-placeholder-visible":a.o.isEmpty(m)},wp.element.createElement(a.o,{tagName:"span",placeholder:Object(a.t)("Enter Text"),value:m,onChange:y,formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:i},onFocus:w,isSelected:f,keepPlaceholderOnFocus:!0}))}var o=n(1),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.className,n=void 0===t?"":t,l=e.align,o=void 0===l?"center":l,u=e.size,c=void 0===u?"normal":u,i=e.url,s=void 0===i?"":i,m=e.color,b=e.text,g=e.backgroundColor,d=e.borderRadius,p={borderRadius:d+"px",backgroundColor:g||void 0},f=r()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+c]);return wp.element.createElement("div",{className:f,style:p},wp.element.createElement(a.o.Content,{tagName:"a",className:"ugb-button-inner",href:s,style:{color:m},value:b}))}var o=n(1),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.buttonColor,n=e.buttonTextColor,l=e.buttonSize,o=e.buttonBorderRadius,u=e.onChangeButtonColor,c=void 0===u?function(){}:u,i=e.onChangeButtonTextColor,s=void 0===i?function(){}:i,m=e.onChangeButtonSize,b=void 0===m?function(){}:m,g=e.onChangeButtonBorderRadius,d=void 0===g?function(){}:g;return wp.element.createElement(r.g,null,wp.element.createElement(r.l,a({initialOpen:!1,title:Object(r.t)("Button Settings"),colorSettings:[{value:t,onChange:c,label:Object(r.t)("Button Color")},{value:n,onChange:s,label:Object(r.t)("Text Color")}]},e),wp.element.createElement(r.p,{label:Object(r.t)("Size"),value:l,options:[{value:"small",label:Object(r.t)("Small")},{value:"normal",label:Object(r.t)("Normal")},{value:"medium",label:Object(r.t)("Medium")},{value:"large",label:Object(r.t)("Large")}],onChange:b}),wp.element.createElement(r.n,{label:Object(r.t)("Border Radius"),value:o,min:"1",max:"50",onChange:d})))}var o=n(1),r=(n.n(o),n(0)),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e};t.a=l},function(e,t,n){"use strict";function l(e){var t=e.className,n=void 0===t?"":t,l=e.align,o=void 0===l?"center":l,r=e.size,a=void 0===r?"normal":r,i=e.url,s=void 0===i?"":i,m=e.color,b=e.text,g=e.backgroundColor,d=e.borderRadius,p={borderRadius:d+"px",backgroundColor:g||void 0},f=u()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+a]);return wp.element.createElement("div",{className:f,style:p},wp.element.createElement(c.o.Content,{tagName:"a",className:"ugb-button-inner",href:s,style:{color:m},value:b}))}function o(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,r=e.url,a=void 0===r?"":r,u=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={borderRadius:m+"px"};return s&&(b.backgroundColor=s),wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+o,style:b},wp.element.createElement(c.o.Content,{tagName:"a",className:"ugb-button-inner",href:a,style:{color:u},value:i}))}function r(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,r=e.url,a=void 0===r?"":r,u=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={backgroundColor:s,borderRadius:m+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+o,style:b},wp.element.createElement(c.o.Content,{tagName:"a",className:"ugb-button-inner",href:a,style:{color:u},value:i}))}n.d(t,"c",function(){return i}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return m}),n.d(t,"e",function(){return b}),n.d(t,"g",function(){return g}),n.d(t,"d",function(){return d}),n.d(t,"f",function(){return p});var a=n(1),u=n.n(a),c=n(0),i=l,s=o,m=r,b=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.align,r=t.color,a=t.textColor,u=t.size,i=t.cornerButtonRadius,s=t.design,b=wp.element.createElement(m,{align:o,size:u,url:n,color:a,text:l,backgroundColor:r,borderRadius:i});return Object(c.v)("stackable.designs.button.save",b,s,e)},g={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}},d=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.textColor,u=t.size,c=t.cornerButtonRadius,i={backgroundColor:r,color:a,borderRadius:c+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+u,style:i},l))},p={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}}},function(e,t,n){"use strict";function l(e){var t=e.backgroundColor,n=e.backgroundImageID,l=e.backgroundImageURL,o=e.backgroundOpacity,r=e.fixedBackground,i=e.onChangeBackgroundColor,s=void 0===i?function(){}:i,m=e.onChangeBackgroundImage,b=void 0===m?function(e){e.url,e.id}:m,g=e.onRemoveBackgroundImage,d=void 0===g?function(){}:g,p=e.onChangeBackgroundOpacity,f=void 0===p?function(){}:p,h=e.onChangeFixedBackground,w=void 0===h?function(){}:h;return wp.element.createElement(u.g,null,wp.element.createElement(u.l,c({initialOpen:!1,title:Object(u.t)("Background Settings"),colorSettings:[{value:t,onChange:s,label:Object(u.t)("Background Color")}]},e),wp.element.createElement(a.a,{label:Object(u.t)("Background Image"),onRemove:d,onChange:b,imageID:n,imageURL:l}),wp.element.createElement(u.n,{label:Object(u.t)("Background Image Tint Strength"),value:o,onChange:f,min:0,max:10,step:1}),wp.element.createElement(u.q,{label:Object(u.t)("Fixed Background"),checked:r,onChange:w})))}var o=n(39),r=(n.n(o),n(40)),a=(n.n(r),n(41)),u=n(0),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e};t.a=l},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return r}),n.d(t,"a",function(){return a});var l=n(0),o=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(l.C)(e).replace(/viewbox/i,"viewBox");return t?n.replace(/#/g,"%23"):n},a=function(e){var t="";return t=(e.match(/youtube\.com\/watch\?v=([^\&\?\/]+)/i)||[])[1],t||(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)||[])[1],t||(t=(e.match(/^\d+$/i)||[])[1]),t?{type:"vimeo",id:t}:{type:"youtube",id:e})}},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n(11);n.n(l),n(12),n(16),n(19),n(26),n(30),n(36),n(44),n(48),n(52),n(55),n(58),n(62),n(65),n(69),n(73),n(77),n(81),n(85),n(89),n(92),n(96),n(100)},function(e,t){},function(e,t,n){"use strict";var l=n(13),o=(n.n(l),n(14)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(15),i=n(0),s=function(e){var t=e.className,n=e.attributes.height,l=a()([t,"ugb-spacer"]);return wp.element.createElement("div",{className:l,style:{height:n+"px"}})},m=function(e){var t=e.className,n=(e.isSelected,e.attributes.height),l=a()([t,"ugb-spacer"]);return wp.element.createElement(i.g,null,wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.n,{label:Object(i.t)("Height"),value:n,min:"30",max:"200",onChange:function(t){e.setAttributes({height:t})}}))),wp.element.createElement("div",{className:l,style:{height:n+"px"}}))},b={height:{default:50,type:"number"}};Object(i.B)("ugb/spacer",{title:Object(i.t)("Spacer"),icon:u.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Spacer"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,save:c.a}],edit:m,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return o});var l=function(e){var t=e.attributes.height;return wp.element.createElement("div",{style:{height:t+"px"}})},o={height:{default:50,type:"number"}}},function(e,t,n){"use strict";var l=n(17),o=(n.n(l),n(18)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=e.className,n=e.attributes,l=n.height,o=n.width,r=n.color,u=n.alignment,c=a()([t,"ugb-divider"]);return wp.element.createElement("div",{className:c},wp.element.createElement("hr",{align:u,style:{backgroundColor:r,width:o+"%",height:l}}))},s=function(e){var t=(e.isSelected,e.className),n=e.attributes,l=n.height,o=n.width,r=n.color,u=n.alignment,i=a()([t,"ugb-divider"]);return wp.element.createElement(c.g,null,wp.element.createElement(c.d,null,wp.element.createElement(c.a,{value:u,onChange:function(t){e.setAttributes({alignment:t})}})),wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.n,{label:Object(c.t)("Height"),value:l,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(c.n,{label:Object(c.t)("Width"),value:o,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:r,onChange:function(t){return e.setAttributes({color:t})},label:Object(c.t)("Divider Color")}]})),wp.element.createElement("div",{className:i,style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:u,style:{marginTop:0,marginBottom:0,backgroundColor:r,width:o+"%",height:l}})))};Object(c.B)("ugb/divider",{title:Object(c.t)("Divider"),icon:u.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Divider"),Object(c.t)("Stackable")],attributes:{height:{default:1,type:"number"},width:{default:50,type:"number"},color:{type:"string",default:"#dddddd"},alignment:{type:"string",default:"center"}},edit:s,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(20),o=(n.n(l),n(21)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(6),i=n(3),s=n(4),m=n(5),b=n(22),g=(n(25),n(0)),d=function(e){var t=e.isSelected,n=e.className,l=e.setAttributes,o=e.attributes,r=o.url,u=o.text,c=o.color,s=o.textColor,d=o.size,p=o.align,f=o.cornerButtonRadius,h=o.design,w=a()([n,"ugb-button"]),v=wp.element.createElement(i.a,{onChange:function(e){return l({text:e})},className:w,align:p,size:d,backgroundColor:c,color:s,text:u,borderRadius:f}),y=Object(g.v)("stackable.designs.button.edit",v,h,e);return wp.element.createElement(g.g,null,wp.element.createElement(g.d,null,wp.element.createElement(g.c,{value:p,onChange:function(e){l({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(g.i,null,wp.element.createElement(b.a,{selected:h,options:[{label:"Basic",value:"basic",image:"button/images/test.jpg"},{label:"Center",value:"center",image:"button/images/test.jpg",isPro:!0},{label:"Right",value:"right",image:"button/images/test.jpg",isPro:!0},{label:"Left",value:"left",image:"button/images/test.jpg",isPro:!0}],onChange:function(e){l({design:e})}})),wp.element.createElement(g.i,null,wp.element.createElement(m.a,{initialOpen:!0,buttonColor:c,buttonTextColor:s,buttonSize:d,buttonBorderRadius:f,onChangeButtonColor:function(e){return l({color:e})},onChangeButtonTextColor:function(e){return l({textColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),y,t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(g.f,{icon:"admin-links"}),wp.element.createElement(g.s,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(g.h,{icon:"editor-break",label:Object(g.t)("Apply"),type:"submit"})))},p=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.text,r=n.align,u=n.color,c=n.textColor,i=n.size,m=n.cornerButtonRadius,b=n.design,d=a()([t,"ugb-button"]),p=wp.element.createElement(s.a,{className:d,align:r,size:i,url:l,color:c,text:o,backgroundColor:u,borderRadius:m});return Object(g.v)("stackable.designs.button.save",p,b,e)},f={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}};Object(g.B)("ugb/button",{title:Object(g.t)("Button"),icon:u.a,description:"Add customize button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.t)("Button"),Object(g.t)("Stackable")],attributes:f,deprecated:[{attributes:c.g,save:c.e},{attributes:c.f,migrate:function(e){return Object(g.A)(Object(g.z)(e,{align:e.textAlignment}),["textAlignment"])},save:c.d}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return null}var o=n(23),r=(n.n(o),n(0),n(24),n(1));n.n(r);t.a=l},function(e,t){},function(e,t,n){"use strict";function l(e){var t=e.isPro,n=e.imageFile,l=e.label,o=r()({"is-pro":!a.y&&t});return wp.element.createElement("span",{className:o},wp.element.createElement("img",{src:n.match(/https?:/i)?n:a.w+"/"+n,alt:l}),wp.element.createElement("span",{className:"design-label"},l,!a.y&&t&&u()))}var o=n(1),r=n.n(o),a=n(0),u=function(){return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 97.1"},wp.element.createElement("path",{d:"M55.6,32.8c-0.8-0.7-1.8-1.2-2.9-1.6c-1.2-0.4-2.6-0.6-4.2-0.6h-6.5v16.7h6.5c1.6,0,3-0.2,4.2-0.6c1.2-0.4,2.2-1,2.9-1.7 c0.8-0.7,1.4-1.6,1.7-2.7c0.4-1.1,0.6-2.2,0.6-3.6c0-1.2-0.2-2.4-0.6-3.4C57,34.4,56.4,33.5,55.6,32.8z"}),wp.element.createElement("path",{d:"M153,35.2c-1.3-1.4-2.8-2.5-4.6-3.3c-1.8-0.8-3.9-1.1-6.1-1.1c-2.3,0-4.3,0.4-6.1,1.1c-1.8,0.8-3.4,1.8-4.7,3.3 s-2.3,3.1-2.9,5.2c-0.7,2-1,4.3-1,6.9c0,2.6,0.3,4.8,1,6.9c0.7,2,1.7,3.7,2.9,5.2c1.3,1.4,2.8,2.5,4.7,3.2c1.8,0.8,3.9,1.1,6.1,1.1 c2.3,0,4.3-0.4,6.1-1.1c1.8-0.7,3.4-1.8,4.6-3.2c1.3-1.4,2.2-3.1,2.9-5.2s1-4.3,1-6.9c0-2.6-0.3-4.8-1-6.9S154.3,36.6,153,35.2z"}),wp.element.createElement("path",{d:"M100.9,38c0-2.4-0.8-4.2-2.3-5.4c-1.6-1.3-3.9-1.9-7.1-1.9h-5.5v15.5h5.4c1.6,0,3.1-0.2,4.3-0.6c1.2-0.4,2.2-1,3-1.7 c0.8-0.7,1.4-1.6,1.8-2.6C100.7,40.2,100.9,39.2,100.9,38z"}),wp.element.createElement("path",{d:"M178.6,0H21.4C9.6,0,0,9.6,0,21.4v54.3c0,11.8,9.6,21.4,21.4,21.4h157.2c11.8,0,21.4-9.6,21.4-21.4V21.4 C200,9.6,190.4,0,178.6,0z M65.5,45c-0.8,1.9-1.9,3.5-3.4,4.8c-1.5,1.4-3.4,2.4-5.6,3.2c-2.3,0.8-4.9,1.1-7.9,1.1h-6.5v16.4h-8.7 V23.9h15.2c3.1,0,5.8,0.4,8.1,1.1c2.3,0.7,4.2,1.8,5.6,3.1c1.5,1.3,2.6,2.9,3.3,4.7c0.7,1.8,1.1,3.8,1.1,6 C66.6,41,66.3,43.1,65.5,45z M105.8,70.5c-0.8,0-1.4-0.1-1.9-0.5s-1-0.7-1.3-1.3l-9.8-14.9c-0.4-0.6-0.8-1-1.2-1.2 c-0.4-0.2-1.1-0.4-1.9-0.4h-3.7v18.2h-8.7V23.9h14.2c3.2,0,5.9,0.3,8.2,1c2.3,0.7,4.1,1.6,5.6,2.8c1.4,1.2,2.5,2.6,3.2,4.2 c0.7,1.6,1,3.5,1,5.4c0,1.6-0.2,3-0.7,4.4c-0.5,1.4-1.1,2.7-2,3.8c-0.9,1.1-1.9,2.1-3.2,3c-1.3,0.9-2.7,1.5-4.4,2.1 c1.1,0.6,2,1.5,2.8,2.7l11.7,17.2H105.8z M164.2,56.7c-1.1,2.9-2.7,5.4-4.8,7.5c-2.1,2.1-4.5,3.8-7.4,5c-2.9,1.2-6.1,1.8-9.6,1.8 c-3.5,0-6.7-0.6-9.6-1.8c-2.9-1.2-5.4-2.9-7.5-5c-2.1-2.1-3.7-4.6-4.8-7.5c-1.1-2.9-1.7-6.1-1.7-9.5c0-3.4,0.6-6.6,1.7-9.5 c1.1-2.9,2.7-5.4,4.8-7.6c2.1-2.1,4.6-3.8,7.5-5c2.9-1.2,6.1-1.8,9.6-1.8c3.5,0,6.7,0.6,9.6,1.8s5.4,2.9,7.4,5 c2.1,2.1,3.7,4.6,4.8,7.5s1.7,6.1,1.7,9.5C165.9,50.6,165.3,53.8,164.2,56.7z"}))};t.a=l},function(e,t,n){"use strict"},function(e,t,n){"use strict";var l=n(27),o=(n.n(l),n(28)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(29),i=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.url,u=o.text,c=o.color,s=o.size,m=o.align,b=o.cornerButtonRadius,g=o.borderThickness,d=[{value:"small",label:Object(i.t)("Small")},{value:"normal",label:Object(i.t)("Normal ")},{value:"medium",label:Object(i.t)("Medium")},{value:"large",label:Object(i.t)("Large")}],p=a()([l,"ugb-button","ugb-ghost-button","ugb-button-"+m,"ugb-button-"+s]);return wp.element.createElement(i.g,null,wp.element.createElement(i.d,null,wp.element.createElement(i.c,{value:m,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.p,{label:Object(i.t)("Size"),value:s,options:d.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Corner Radius"),value:b,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Border Thickness"),value:g,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(i.l,{title:Object(i.t)("Color Settings"),colorSettings:[{value:c,onChange:function(e){return n({color:e})},label:Object(i.t)("Button Color")}]})),wp.element.createElement("span",{className:p,style:{borderColor:c,borderRadius:b+"px",borderWidth:g+"px"}},wp.element.createElement(i.o,{tagName:"span",placeholder:Object(i.t)("Enter Text"),value:u,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:c},keepPlaceholderOnFocus:!0})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"})))},m=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.text,r=n.align,u=n.color,c=n.size,s=n.cornerButtonRadius,m=n.borderThickness,b={borderColor:u,borderRadius:s+"px",borderWidth:m+"px"},g=a()([t,"ugb-button","ugb-ghost-button","ugb-button-"+r,"ugb-button-"+c]);return wp.element.createElement("div",{className:g,style:b},wp.element.createElement(i.o.Content,{className:"ugb-button-inner",tagName:"a",value:o,href:l,style:{color:u}}))},b={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}};Object(i.B)("ugb/ghost-button",{title:Object(i.t)("Ghost Button"),icon:u.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Ghost Button"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,migrate:function(e){return Object(i.A)(Object(i.z)(e,{align:e.textAlignment}),["textAlignment"])},save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return o});var l=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.size,u=t.cornerButtonRadius,c=t.borderThickness,i={borderColor:r,color:r,borderRadius:u+"px",borderWidth:c+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+a+" ugb-ghost-button",style:i},l))},o={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},textAlignment:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}}},function(e,t,n){"use strict";var l=n(31),o=(n.n(l),n(32)),r=(n.n(o),n(1)),a=n.n(r),u=n(33),c=n.n(u),i=n(2),s=n(0),m=function(e){var t=[{value:"success",label:Object(s.t)("Success")},{value:"error",label:Object(s.t)("Error")},{value:"warning",label:Object(s.t)("Warning")},{value:"info",label:Object(s.t)("Information")}],n=(e.isSelected,e.editable,e.setState,e.setAttributes),l=e.className,o=e.attributes,r=o.text,u=o.color,c=o.textColor,i=o.notifType,m=o.dismissible,b=a()([l,"ugb-notification","type-"+i,"dismissible-"+m]);return wp.element.createElement(s.g,null,wp.element.createElement(s.i,null,wp.element.createElement(s.k,null,wp.element.createElement(s.q,{label:Object(s.t)("Dismissible"),checked:m,onChange:function(){return n({dismissible:!m})}}),wp.element.createElement(s.p,{label:Object(s.t)("Notification Type"),value:i,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}})),wp.element.createElement(s.l,{title:Object(s.t)("Color Settings"),colorSettings:[{value:u,onChange:function(e){return n({color:e})},label:Object(s.t)("Background Color")},{value:c,onChange:function(e){return n({textColor:e})},label:Object(s.t)("Text Color")}]})),wp.element.createElement("div",{className:b},m&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:c}},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(s.o,{tagName:"p",placeholder:e.attributes.text.default,value:r,onChange:function(e){return n({text:e})},className:"wp-ugb-notif notif-"+i,style:{backgroundColor:u,color:c}})))},b=function(e){var t=e.className,n=e.attributes,l=n.text,o=n.color,r=n.textColor,u=n.notifType,i=n.dismissible,m=a()([t,"ugb-notification","type-"+u,"dismissible-"+i]),b={backgroundColor:o,color:r},g=c()(l+u).substr(0,6);return wp.element.createElement("div",{className:m,"data-uid":g},i&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:r}},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(s.o.Content,{tagName:"p",className:"wp-ugb-notif notif-"+u,style:b,value:l}))},g={text:{source:"html",selector:"p",default:Object(s.t)("This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1}};Object(s.B)("ugb/notification",{title:Object(s.t)("Notification"),icon:i.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Notification"),Object(s.t)("Stackable")],attributes:g,edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(34),l=n(9).utf8,o=n(35),r=n(9).bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?r.stringToBytes(e):l.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var u=t.bytesToWords(e),c=8*e.length,i=1732584193,s=-271733879,m=-1732584194,b=271733878,g=0;g<u.length;g++)u[g]=16711935&(u[g]<<8|u[g]>>>24)|4278255360&(u[g]<<24|u[g]>>>8);u[c>>>5]|=128<<c%32,u[14+(c+64>>>9<<4)]=c;for(var d=a._ff,p=a._gg,f=a._hh,h=a._ii,g=0;g<u.length;g+=16){var w=i,v=s,y=m,C=b;i=d(i,s,m,b,u[g+0],7,-680876936),b=d(b,i,s,m,u[g+1],12,-389564586),m=d(m,b,i,s,u[g+2],17,606105819),s=d(s,m,b,i,u[g+3],22,-1044525330),i=d(i,s,m,b,u[g+4],7,-176418897),b=d(b,i,s,m,u[g+5],12,1200080426),m=d(m,b,i,s,u[g+6],17,-1473231341),s=d(s,m,b,i,u[g+7],22,-45705983),i=d(i,s,m,b,u[g+8],7,1770035416),b=d(b,i,s,m,u[g+9],12,-1958414417),m=d(m,b,i,s,u[g+10],17,-42063),s=d(s,m,b,i,u[g+11],22,-1990404162),i=d(i,s,m,b,u[g+12],7,1804603682),b=d(b,i,s,m,u[g+13],12,-40341101),m=d(m,b,i,s,u[g+14],17,-1502002290),s=d(s,m,b,i,u[g+15],22,1236535329),i=p(i,s,m,b,u[g+1],5,-165796510),b=p(b,i,s,m,u[g+6],9,-1069501632),m=p(m,b,i,s,u[g+11],14,643717713),s=p(s,m,b,i,u[g+0],20,-373897302),i=p(i,s,m,b,u[g+5],5,-701558691),b=p(b,i,s,m,u[g+10],9,38016083),m=p(m,b,i,s,u[g+15],14,-660478335),s=p(s,m,b,i,u[g+4],20,-405537848),i=p(i,s,m,b,u[g+9],5,568446438),b=p(b,i,s,m,u[g+14],9,-1019803690),m=p(m,b,i,s,u[g+3],14,-187363961),s=p(s,m,b,i,u[g+8],20,1163531501),i=p(i,s,m,b,u[g+13],5,-1444681467),b=p(b,i,s,m,u[g+2],9,-51403784),m=p(m,b,i,s,u[g+7],14,1735328473),s=p(s,m,b,i,u[g+12],20,-1926607734),i=f(i,s,m,b,u[g+5],4,-378558),b=f(b,i,s,m,u[g+8],11,-2022574463),m=f(m,b,i,s,u[g+11],16,1839030562),s=f(s,m,b,i,u[g+14],23,-35309556),i=f(i,s,m,b,u[g+1],4,-1530992060),b=f(b,i,s,m,u[g+4],11,1272893353),m=f(m,b,i,s,u[g+7],16,-155497632),s=f(s,m,b,i,u[g+10],23,-1094730640),i=f(i,s,m,b,u[g+13],4,681279174),b=f(b,i,s,m,u[g+0],11,-358537222),m=f(m,b,i,s,u[g+3],16,-722521979),s=f(s,m,b,i,u[g+6],23,76029189),i=f(i,s,m,b,u[g+9],4,-640364487),b=f(b,i,s,m,u[g+12],11,-421815835),m=f(m,b,i,s,u[g+15],16,530742520),s=f(s,m,b,i,u[g+2],23,-995338651),i=h(i,s,m,b,u[g+0],6,-198630844),b=h(b,i,s,m,u[g+7],10,1126891415),m=h(m,b,i,s,u[g+14],15,-1416354905),s=h(s,m,b,i,u[g+5],21,-57434055),i=h(i,s,m,b,u[g+12],6,1700485571),b=h(b,i,s,m,u[g+3],10,-1894986606),m=h(m,b,i,s,u[g+10],15,-1051523),s=h(s,m,b,i,u[g+1],21,-2054922799),i=h(i,s,m,b,u[g+8],6,1873313359),b=h(b,i,s,m,u[g+15],10,-30611744),m=h(m,b,i,s,u[g+6],15,-1560198380),s=h(s,m,b,i,u[g+13],21,1309151649),i=h(i,s,m,b,u[g+4],6,-145523070),b=h(b,i,s,m,u[g+11],10,-1120210379),m=h(m,b,i,s,u[g+2],15,718787259),s=h(s,m,b,i,u[g+9],21,-343485551),i=i+w>>>0,s=s+v>>>0,m=m+y>>>0,b=b+C>>>0}return t.endian([i,s,m,b])};a._ff=function(e,t,n,l,o,r,a){var u=e+(t&n|~t&l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._gg=function(e,t,n,l,o,r,a){var u=e+(t&l|n&~l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._hh=function(e,t,n,l,o,r,a){var u=e+(t^n^l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._ii=function(e,t,n,l,o,r,a){var u=e+(n^(t|~l))+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var l=t.wordsToBytes(a(e,n));return n&&n.asBytes?l:n&&n.asString?r.bytesToString(l):t.bytesToHex(l)}}()},function(e,t){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,l=0;n<e.length;n++,l+=8)t[l>>>5]|=e[n]<<24-l%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],l=0;l<e.length;l+=3)for(var o=e[l]<<16|e[l+1]<<8|e[l+2],r=0;r<4;r++)8*l+6*r<=8*e.length?n.push(t.charAt(o>>>6*(3-r)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],l=0,o=0;l<e.length;o=++l%4)0!=o&&n.push((t.indexOf(e.charAt(l-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(l))>>>6-2*o);return n}};e.exports=n}()},function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}e.exports=function(e){return null!=e&&(n(e)||l(e)||!!e._isBuffer)}},function(e,t,n){"use strict";var l=n(37),o=(n.n(l),n(38)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(7),i=n(43),s=n(0),m=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.color,u=o.text,i=o.quoteColor,m=o.backgroundColor,b=o.backgroundImageID,g=o.backgroundImageURL,d=o.backgroundOpacity,p=o.fixedBackground,f=a()([l,"ugb-blockquote","ugb-has-background-opacity-"+1*Math.round(d/1)],{"ugb-has-background":m||g,"ugb-has-background-image":g}),h={"--quote-color":i||void 0,backgroundColor:m||void 0,backgroundImage:g?"url("+g+")":void 0,backgroundAttachment:p?"fixed":void 0,"--ugb-background-color":g?m:void 0};return wp.element.createElement(s.g,null,wp.element.createElement("blockquote",{className:f,style:h},wp.element.createElement(s.o,{className:"ugb-blockquote-text",value:u,onChange:function(e){return n({text:e})},isSelected:t,style:{color:r}})),wp.element.createElement(s.i,null,wp.element.createElement(s.l,{title:Object(s.t)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(s.t)("Text Color")},{value:i,onChange:function(e){return n({quoteColor:e})},label:Object(s.t)("Quote Color")}]}),wp.element.createElement(c.a,{backgroundColor:m,backgroundImageID:b,backgroundImageURL:g,backgroundOpacity:d,fixedBackground:p,onChangeBackgroundColor:function(e){return n({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,l=e.id;return n({backgroundImageURL:t,backgroundImageID:l})},onRemoveBackgroundImage:function(){n({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return n({backgroundOpacity:e})},onChangeFixedBackground:function(e){return n({fixedBackground:!!e})}})))},b=function(e){var t=e.className,n=e.attributes,l=n.color,o=n.text,r=n.quoteColor,u=n.backgroundColor,c=(n.backgroundImageID,n.backgroundImageURL),i=n.backgroundOpacity,m=n.fixedBackground,b=a()([t,"ugb-blockquote","ugb-has-background-opacity-"+1*Math.round(i/1)],{"ugb-has-background":u||c,"ugb-has-background-image":c}),g={"--quote-color":r||void 0,backgroundColor:u||void 0,backgroundImage:c?"url("+c+")":void 0,backgroundAttachment:m?"fixed":void 0,"--ugb-background-color":c?u:void 0};return wp.element.createElement("blockquote",{className:b,style:g},wp.element.createElement(s.o.Content,{tagName:"p",style:{color:l},value:o}))},g={text:{source:"html",selector:"p",default:Object(s.t)("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:""},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}};Object(s.B)("ugb/blockquote",{title:Object(s.t)("Blockquote"),icon:u.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Blockquote"),Object(s.t)("Stackable")],attributes:g,supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:i.d,save:i.b},{attributes:i.c,migrate:function(e){return Object(s.A)(Object(s.z)(e,{quoteColor:e.borderColor}),["borderColor"])},save:i.a}],edit:m,save:b})},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){var t=e.label,n=e.imageID,l=e.imageURL,o=e.onChange,a=void 0===o?function(e){e.url,e.id}:o,u=e.onRemove,c=void 0===u?function(){}:u,i=e.allowedTypes,s=void 0===i?["image"]:i,m=e.help;return wp.element.createElement("div",{className:"ugb-image-control"},wp.element.createElement(r.b,{label:t,help:m},wp.element.createElement(r.j,{onSelect:a,allowedTypes:s,value:n,render:function(e){return wp.element.createElement(r.g,null,l&&wp.element.createElement("div",{className:"ugb-image-preview-wrapper"},wp.element.createElement("button",{className:"ugb-image-preview-remove",onClick:c},wp.element.createElement(r.f,{icon:"no"})),wp.element.createElement("img",{className:"ugb-image-preview",src:l,onClick:e.open})),!l&&wp.element.createElement("div",{className:"ugb-placeholder",onClick:e.open},wp.element.createElement("svg",{viewBox:"0 0 512 376"},wp.element.createElement("path",{d:"M0,0v376h512V0H0z M480,344H32V32h448V344z"}),wp.element.createElement("circle",{cx:"409.1",cy:"102.9",r:"40.9"}),wp.element.createElement("polygon",{points:"480,344 32,344 118.3,179.8 140,191.1 189,113.8 289,226.9 297.9,217.6 315,239.9 341,193.5 393.9,264.7 409,248.8"}))))}})))}var o=n(42),r=(n.n(o),n(0));t.a=l},function(e,t){},function(e,t,n){"use strict";n.d(t,"d",function(){return a}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return i});var l=n(1),o=n.n(l),r=n(0),a={text:{source:"html",selector:"p",default:Object(r.t)("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:""}},u=function(e){var t=e.className,n=e.attributes,l=n.color,a=n.text,u=n.quoteColor,c=o()([t,"ugb-blockquote"]);return wp.element.createElement("blockquote",{className:c,style:{"--quote-color":u}},wp.element.createElement(r.o.Content,{tagName:"p",style:{color:l},value:a}))},c={text:{type:"array",source:"children",selector:"p",default:Object(r.t)("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:"#424242"},borderColor:{type:"string",default:"#2091e1"}},i=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{borderLeftColor:o}},wp.element.createElement("p",{style:{color:n}},l))}},function(e,t,n){"use strict";var l=n(45),o=(n.n(l),n(46)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(47),i=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.color,u=o.text,c=o.quoteColor,s=a()([l,"ugb-pullquote"]);return wp.element.createElement(i.g,null,wp.element.createElement("blockquote",{className:s,style:{"--quote-color":c}},wp.element.createElement(i.o,{tagName:"p",className:"ugb-pullquote-text",value:u,onChange:function(e){return n({text:e})},placeholder:Object(i.t)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:r}})),wp.element.createElement(i.i,null,wp.element.createElement(i.l,{title:Object(i.t)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(i.t)("Text Color")},{value:c,onChange:function(e){return n({quoteColor:e})},label:Object(i.t)("Quote Color")}]})))},m=function(e){var t=e.className,n=e.attributes,l=n.color,o=n.text,r=n.quoteColor,u=a()([t,"ugb-pullquote"]);return wp.element.createElement("blockquote",{className:u,style:{"--quote-color":r}},wp.element.createElement(i.o.Content,{tagName:"p",style:{color:l},value:o}))},b={text:{source:"html",selector:"p",default:Object(i.t)("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:""}};Object(i.B)("ugb/pullquote",{title:Object(i.t)("Pullquote"),icon:u.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Pullquote"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,migrate:function(e){return Object(i.A)(Object(i.z)(e,{quoteColor:e.borderColor}),["borderColor"])},save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r});var l=n(0),o=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{borderTopColor:o,borderBottomColor:o}},wp.element.createElement("p",{style:{color:n}},l))},r={text:{type:"array",source:"children",selector:"p",default:Object(l.t)("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:"#2091e1"},borderColor:{type:"string",default:"#2091e1"}}},function(e,t,n){"use strict";var l=n(49),o=(n.n(l),n(50)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(3),i=n(4),s=n(5),m=n(7),b=n(51),g=n(0),d=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.url,u=o.buttonText,i=o.ctaTitle,b=o.bodyText,d=o.color,p=o.textColor,f=o.size,h=o.borderButtonRadius,w=o.bodyTextColor,v=o.titleColor,y=o.backgroundColor,C=o.backgroundImageID,E=o.backgroundImageURL,k=o.backgroundOpacity,x=o.fixedBackground,N=a()([n,"ugb-cta","columns-"+columns,"ugb-has-background-opacity-"+1*Math.round(k/1)],{"ugb-has-background":y||E,"ugb-has-background-image":E}),O={backgroundColor:y||void 0,backgroundImage:E?"url("+E+")":void 0,backgroundAttachment:x?"fixed":void 0,"--ugb-background-color":E?y:void 0};return wp.element.createElement(g.g,null,wp.element.createElement(g.i,null,wp.element.createElement(g.l,{initialOpen:!0,title:Object(g.t)("Color Settings"),colorSettings:[{value:v,onChange:function(e){return l({titleColor:e})},label:Object(g.t)("Title Color")},{value:w,onChange:function(e){return l({bodyTextColor:e})},label:Object(g.t)("Body Text Color")}]}),wp.element.createElement(m.a,{backgroundColor:y,backgroundImageID:C,backgroundImageURL:E,backgroundOpacity:k,fixedBackground:x,onChangeBackgroundColor:function(e){return l({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,n=e.id;return l({backgroundImageURL:t,backgroundImageID:n})},onRemoveBackgroundImage:function(){l({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return l({backgroundOpacity:e})},onChangeFixedBackground:function(e){return l({fixedBackground:!!e})}}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:d,buttonTextColor:p,buttonSize:f,buttonBorderRadius:h,onChangeButtonColor:function(e){return l({color:e})},onChangeButtonTextColor:function(e){return l({textColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({borderButtonRadius:e})}})),wp.element.createElement("div",{className:N,style:O},wp.element.createElement(g.o,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(g.t)("Add Title"),value:i,onChange:function(e){return l({ctaTitle:e})},keepPlaceholderOnFocus:!0,style:{color:v}}),wp.element.createElement(g.o,{tagName:"p",value:b,className:"ugb-cta-bodyText",onChange:function(e){return l({bodyText:e})},placeholder:Object(g.t)("Write body text\u2026"),style:{color:w}}),wp.element.createElement(c.a,{size:f,color:p,backgroundColor:d,text:u,borderRadius:h,onChange:function(e){return l({buttonText:e})}})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(g.f,{icon:"admin-links"}),wp.element.createElement(g.s,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(g.h,{icon:"editor-break",label:Object(g.t)("Apply"),type:"submit"})))},p=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.buttonText,r=n.ctaTitle,u=n.bodyText,c=n.color,s=n.textColor,m=n.size,b=n.borderButtonRadius,d=n.bodyTextColor,p=n.titleColor,f=n.backgroundColor,h=(n.backgroundImageID,n.backgroundImageURL),w=n.backgroundOpacity,v=n.fixedBackground,y=a()([t,"ugb-cta","columns-"+columns,"ugb-has-background-opacity-"+1*Math.round(w/1)],{"ugb-has-background":f||h,"ugb-has-background-image":h}),C={backgroundColor:f||void 0,backgroundImage:h?"url("+h+")":void 0,backgroundAttachment:v?"fixed":void 0,"--ugb-background-color":h?f:void 0};return wp.element.createElement("div",{className:y,style:C},r&&!!r.length&&wp.element.createElement(g.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:r}),u&&!!u.length&&wp.element.createElement(g.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:d},value:u}),o&&!!o.length&&wp.element.createElement(i.a,{size:m,url:l,color:s,text:o,backgroundColor:c,borderRadius:b}))},f={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(g.t)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(g.t)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{source:"html",selector:".ugb-button a"},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},bgColor:{type:"string"}};Object(g.B)("ugb/cta",{title:Object(g.t)("Call to Action"),icon:u.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.t)("Call to Action"),Object(g.t)("Stackable"),Object(g.t)("CTA")],attributes:f,supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:b.e,save:b.c,migrate:function(e){return Object.assign({backgroundColor:e.bgColor},e)}},{attributes:b.d,save:b.b},{save:b.a}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"e",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return i}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return m});var l=n(1),o=n.n(l),r=n(0),a=n(6),u={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(r.t)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(r.t)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s 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}},c=function(e){var t=e.className,n=e.attributes,l=n.url,u=n.buttonText,c=n.ctaTitle,i=n.bodyText,s=n.color,m=n.textColor,b=n.size,g=n.borderButtonRadius,d=n.bodyTextColor,p=n.titleColor,f=n.bgColor,h=o()([t,"ugb-cta"]);return wp.element.createElement("div",{className:h,style:{backgroundColor:f}},c&&!!c.length&&wp.element.createElement(r.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:c}),i&&!!i.length&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:d},value:i}),u&&!!u.length&&wp.element.createElement(a.c,{size:b,url:l,color:m,text:u,backgroundColor:s,borderRadius:g}))},i={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(r.t)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(r.t)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},s=function(e){var t=e.attributes,n=t.url,l=t.buttonText,o=t.ctaTitle,u=t.bodyText,c=t.color,i=t.textColor,s=t.size,m=t.borderButtonRadius,b=t.bodyTextColor,g=t.titleColor,d=t.bgColor;return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:d}},o&&!!o.length&&wp.element.createElement(r.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:g},value:o}),u&&!!u.length&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:u}),l&&!!l.length&&wp.element.createElement(a.a,{size:s,url:n,color:i,text:l,backgroundColor:c,borderRadius:m}))},m=function(e){var t=e.attributes,n=t.url,l=t.buttonText,o=t.ctaTitle,r=t.bodyText,a=t.color,u=t.textColor,c=t.size,i=t.borderButtonRadius,s=t.bodyTextColor,m=t.titleColor,b=t.bgColor,g={backgroundColor:a,color:u,borderRadius:i+"px"};return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:b}},o&&!!o.length&&wp.element.createElement("h3",{className:"ugb-cta-title",style:{color:m}},o),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-cta-bodyText",style:{color:s}},r),l&&!!l.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-cta-button ugb-button-"+c,style:g},l))}},function(e,t,n){"use strict";var l=n(53),o=(n.n(l),n(54)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=(e.isSelected,e.editable,e.setState,e.className),n=e.setAttributes,l=e.attributes,o=l.testimonialTitle,r=l.testimonialTitleTwo,u=l.testimonialTitleThree,i=l.body,s=l.bodyTwo,m=l.bodyThree,b=l.position,g=l.positionTwo,d=l.positionThree,p=(l.href,l.hrefTwo,l.hrefThree,l.mediaID),f=l.mediaIDTwo,h=l.mediaIDThree,w=l.mediaURL,v=l.mediaURLTwo,y=l.mediaURLThree,C=l.columns,E=l.titleColor,k=l.posColor,x=l.bodyTextColor,N=l.iconColor,O=a()([t,"ugb-testimonial","column-"+C]);return wp.element.createElement(c.g,null,wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.n,{label:Object(c.t)("Columns"),value:C,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(c.l,{initialOpen:!1,title:Object(c.t)("Color Settings"),colorSettings:[{value:E,onChange:function(e){return n({titleColor:e})},label:Object(c.t)("Title Color")},{value:k,onChange:function(e){return n({posColor:e})},label:Object(c.t)("Position Color")},{value:x,onChange:function(e){return n({bodyTextColor:e})},label:Object(c.t)("Body Text Color")},{value:N,onChange:function(e){return n({iconColor:e})},label:Object(c.t)("Icon Color")}]})),wp.element.createElement("div",{className:O},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:p,render:function(e){return wp.element.createElement(c.e,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+w+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:o,onChange:function(e){return n({testimonialTitle:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:b,className:"ugb-testimonial-position",onChange:function(e){return n({position:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:i,className:"ugb-testimonial-body",onChange:function(e){return n({body:e})},style:{color:x},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-two"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLTwo:e.url,mediaIDTwo:e.id})},allowedTypes:["image"],value:f,render:function(e){return wp.element.createElement(c.e,{className:f?"":"button button-large",onClick:e.open},f?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+v+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:r,onChange:function(e){return n({testimonialTitleTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:g,className:"ugb-testimonial-position-two",onChange:function(e){return n({positionTwo:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:s,className:"ugb-testimonial-body-two",onChange:function(e){return n({bodyTwo:e})},style:{color:x},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-three"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLThree:e.url,mediaIDThree:e.id})},allowedTypes:["image"],value:h,render:function(e){return wp.element.createElement(c.e,{className:h?"":"button button-large",onClick:e.open},h?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+y+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:u,onChange:function(e){return n({testimonialTitleThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:d,className:"ugb-testimonial-position-three",onChange:function(e){return n({positionThree:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:m,className:"ugb-testimonial-body-three",onChange:function(e){return n({bodyThree:e})},style:{color:x},keepPlaceholderOnFocus:!0}))))},s=function(e){var t=e.className,n=e.attributes,l=n.testimonialTitle,o=n.testimonialTitleTwo,r=n.testimonialTitleThree,u=n.body,i=n.bodyTwo,s=n.bodyThree,m=n.position,b=n.positionTwo,g=n.positionThree,d=n.mediaURL,p=n.mediaURLTwo,f=n.mediaURLThree,h=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.titleColor),w=n.posColor,v=n.bodyTextColor,y=n.iconColor,C=n.columns,E=a()([t,"ugb-testimonial","column-"+C]),k=wp.element.createElement("div",{className:"quote-icon"},wp.element.createElement("svg",{viewBox:"0 0 246 187.5",style:{fill:y}},wp.element.createElement("path",{d:"M98.5,0h-93C2.5,0,0,2.5,0,5.5v93c0,3,2.5,5.5,5.5,5.5h39c-1.7,15.5-8.8,50-39,50c-3,0-5.5,2.5-5.5,5.5V182c0,3,2.5,5.5,5.5,5.5c5.2,0,98.5-4.5,98.5-89v-93C104,2.5,101.5,0,98.5,0z"}),wp.element.createElement("path",{d:"M240.5,0h-93c-3,0-5.5,2.5-5.5,5.5v93c0,3,2.5,5.5,5.5,5.5h39c-1.7,15.5-8.8,50-39,50c-3,0-5.5,2.5-5.5,5.5V182c0,3,2.5,5.5,5.5,5.5c5.2,0,98.5-4.5,98.5-89v-93C246,2.5,243.5,0,240.5,0z"}),wp.element.createElement("path",{d:"M161.3-86.3c3.2,0,3.2-5,0-5C158.1-91.3,158.1-86.3,161.3-86.3L161.3-86.3z"})));return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+d+")"},"data-src":d}):k,!c.o.isEmpty(l)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:h},value:l}),!c.o.isEmpty(m)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:w},value:m}),!c.o.isEmpty(u)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:v},value:u})),C>1&&wp.element.createElement("div",{className:"ugb-testimonial-column-two"},p?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+p+")"},"data-src":p}):k,!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:h},value:o}),!c.o.isEmpty(b)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-position-two",style:{color:w},value:b}),!c.o.isEmpty(i)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-body-two",style:{color:v},value:i})),C>2&&wp.element.createElement("div",{className:"ugb-testimonial-column-three"},f?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+f+")"},"data-src":f}):k,!c.o.isEmpty(r)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:h},value:r}),!c.o.isEmpty(g)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-position-three",style:{color:w},value:g}),!c.o.isEmpty(s)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-body-three",style:{color:v},value:s})))},m={href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-testimonial-column-one .testimonial-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-testimonial-column-two .testimonial-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-testimonial-column-three .testimonial-image",attribute:"data-src"},testimonialTitle:{source:"html",selector:".ugb-testimonial-column-one h4",default:Object(c.t)("Ben Adams")},testimonialTitleTwo:{source:"html",selector:".ugb-testimonial-column-two h4",default:Object(c.t)("Alex Johnson")},testimonialTitleThree:{source:"html",selector:".ugb-testimonial-column-three h4",default:Object(c.t)("Sammy Simpson")},position:{source:"html",selector:".ugb-testimonial-position",default:Object(c.t)("Founder")},positionTwo:{source:"html",selector:".ugb-testimonial-position-two",default:Object(c.t)("Editor")},positionThree:{source:"html",selector:".ugb-testimonial-position-three",default:Object(c.t)("Programmer")},body:{source:"html",selector:".ugb-testimonial-body",default:Object(c.t)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{source:"html",selector:".ugb-testimonial-body-two",default:Object(c.t)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{source:"html",selector:".ugb-testimonial-body-three",default:Object(c.t)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},titleColor:{type:"string"},posColor:{type:"string"},bodyTextColor:{type:"string"},iconColor:{type:"string"},columns:{type:"number",default:1}};Object(c.B)("ugb/testimonial",{title:Object(c.t)("Testimonial"),icon:u.q,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Testimonial"),Object(c.t)("Stackable")],attributes:m,edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(56),o=(n.n(l),n(57)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=(e.isSelected,e.editable,e.setState,e.className),n=e.setAttributes,l=e.attributes,o=l.name,r=l.nameTwo,u=l.nameThree,i=l.des,s=l.desTwo,m=l.desThree,b=l.position,g=l.positionTwo,d=l.positionThree,p=(l.href,l.hrefTwo,l.hrefThree,l.mediaID),f=l.mediaIDTwo,h=l.mediaIDThree,w=l.mediaURL,v=l.mediaURLTwo,y=l.mediaURLThree,C=l.columns,E=l.nameColor,k=l.posColor,x=l.desColor,N=l.iconColor,O=l.shapes,j=[{value:"square",label:Object(c.t)("Square")},{value:"circle",label:Object(c.t)("Circle")}],T=a()([t,"ugb-team-member","column-"+C,"image-"+O]);return wp.element.createElement(c.g,null,wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.p,{label:Object(c.t)("Image Shape"),value:O,options:j.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({shapes:e})}}),wp.element.createElement(c.n,{label:Object(c.t)("Columns"),value:C,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(c.l,{initialOpen:!1,title:Object(c.t)("Color Settings"),colorSettings:[{value:E,onChange:function(e){return n({nameColor:e})},label:Object(c.t)("Name Color")},{value:k,onChange:function(e){return n({posColor:e})},label:Object(c.t)("Position Color")},{value:x,onChange:function(e){return n({desColor:e})},label:Object(c.t)("Description Color")},{value:N,onChange:function(e){return n({iconColor:e})},label:Object(c.t)("Icon Color")}]})),wp.element.createElement("div",{className:T},wp.element.createElement("div",{className:"ugb-team-member-column-one"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:p,render:function(e){return wp.element.createElement(c.e,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+w+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:o,onChange:function(e){return n({name:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:b,className:"ugb-team-member-position",onChange:function(e){return n({position:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:i,className:"ugb-team-member-des",onChange:function(e){return n({des:e})},style:{color:x},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-two"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLTwo:e.url,mediaIDTwo:e.id})},allowedTypes:["image"],value:f,render:function(e){return wp.element.createElement(c.e,{className:f?"":"button button-large",onClick:e.open},f?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+v+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:r,onChange:function(e){return n({nameTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:g,className:"ugb-team-member-position",onChange:function(e){return n({positionTwo:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:s,className:"ugb-team-member-des-two",onChange:function(e){return n({desTwo:e})},style:{color:x},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-three"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLThree:e.url,mediaIDThree:e.id})},allowedTypes:["image"],value:h,render:function(e){return wp.element.createElement(c.e,{className:h?"":"button button-large",onClick:e.open},h?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+y+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:u,onChange:function(e){return n({nameThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:d,className:"ugb-team-member-position",onChange:function(e){return n({positionThree:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:m,className:"ugb-team-member-des-three",onChange:function(e){return n({desThree:e})},style:{color:x},keepPlaceholderOnFocus:!0}))))},s=function(e){var t=e.className,n=e.attributes,l=n.name,o=n.nameTwo,r=n.nameThree,u=n.shapes,i=n.des,s=n.desTwo,m=n.desThree,b=n.position,g=n.positionTwo,d=n.positionThree,p=n.mediaURL,f=n.mediaURLTwo,h=n.mediaURLThree,w=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.nameColor),v=n.posColor,y=n.desColor,C=(n.iconColor,n.columns),E=a()([t,"ugb-team-member","column-"+C,"image-"+u]);return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:"ugb-team-member-column-one"},p&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+p+")"},"data-src":p}),!c.o.isEmpty(l)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:w},value:l}),!c.o.isEmpty(b)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:v},value:b}),!c.o.isEmpty(i)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-des",style:{color:y},value:i})),C>1&&wp.element.createElement("div",{className:"ugb-team-member-column-two"},f&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+f+")"},"data-src":f}),!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:w},value:o}),!c.o.isEmpty(g)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:v},value:g}),!c.o.isEmpty(s)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-des-two",style:{color:y},value:s})),C>2&&wp.element.createElement("div",{className:"ugb-team-member-column-three"},h&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+h+")"},"data-src":h}),!c.o.isEmpty(r)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:w},value:r}),!c.o.isEmpty(d)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:v},value:d}),!c.o.isEmpty(m)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-des-three",style:{color:y},value:m})))},m={href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-team-member-column-one .team-member-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-team-member-column-two .team-member-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-team-member-column-three .team-member-image",attribute:"data-src"},name:{source:"html",selector:".ugb-team-member-column-one h4",default:Object(c.t)("Ben Adams")},nameTwo:{source:"html",selector:".ugb-team-member-column-two h4",default:Object(c.t)("Alex Johnson")},nameThree:{source:"html",selector:".ugb-team-member-column-three h4",default:Object(c.t)("Sammy Simpson")},position:{source:"html",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(c.t)("Founder")},positionTwo:{source:"html",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(c.t)("Editor")},positionThree:{source:"html",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(c.t)("Programmer")},des:{source:"html",selector:".ugb-team-member-des",default:Object(c.t)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{source:"html",selector:".ugb-team-member-des-two",default:Object(c.t)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{source:"html",selector:".ugb-team-member-des-three",default:Object(c.t)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},nameColor:{type:"string"},posColor:{type:"string"},desColor:{type:"string"},iconColor:{type:"string"},columns:{type:"number",default:1},shapes:{type:"string",default:"square"}};Object(c.B)("ugb/team-member",{title:Object(c.t)("Team Member"),icon:u.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Team Member"),Object(c.t)("Stackable")],attributes:m,edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(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=n(59),r=(n.n(o),n(60)),a=(n.n(r),n(1)),u=n.n(a),c=n(2),i=n(61),s=n(0),m=function(e){var t=(e.focus,e.setFocus,e.editable,e.setAttributes),n=(e.setState,e.className),o=e.isSelected,r=e.attributes,a=r.text,c=r.moreLabel,i=r.moreText,m=r.lessLabel,b=u()([n,"ugb-expand"]);return wp.element.createElement(s.g,null,wp.element.createElement("div",{className:b},o&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.t)("Less text")),wp.element.createElement(s.o,l({multiline:"p",placeholder:e.attributes.text.default,value:a,onChange:function(e){return t({text:e})},className:"ugb-expand-less-text"},"placeholder",Object(s.t)("Some short text that can be expanded to show more details."))),wp.element.createElement(s.o,l({tagName:"a",placeholder:e.attributes.moreLabel.default,value:c,onChange:function(e){return t({moreLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-more"},"placeholder",Object(s.t)("Show more"))),o&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.t)("More text")),o&&wp.element.createElement(s.o,l({multiline:"p",placeholder:e.attributes.moreText.default,value:i,onChange:function(e){return t({moreText:e})},className:"ugb-expand-more-text"},"placeholder",Object(s.t)("Some short text that can be expanded to show more details. Some additional text that can only be seen when expanded."))),o&&wp.element.createElement(s.o,l({tagName:"a",placeholder:e.attributes.lessLabel.default,value:m,onChange:function(e){return t({lessLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-less"},"placeholder",Object(s.t)("Show less")))))},b=function(e){var t=e.className,n=e.attributes,l=n.text,o=n.moreLabel,r=n.moreText,a=n.lessLabel,c=u()([t,"ugb-expand"]);return wp.element.createElement("div",{className:c},wp.element.createElement("div",{className:"ugb-expand-less-text"},!s.o.isEmpty(l)&&wp.element.createElement(s.o.Content,{multiline:"p",value:l})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!s.o.isEmpty(r)&&wp.element.createElement(s.o.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(s.o.Content,{className:"ugb-expand-more",tagName:"span",value:o}),wp.element.createElement(s.o.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))},g={text:{source:"html",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{source:"html",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{source:"html",selector:".ugb-expand-more",default:Object(s.t)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(s.t)("Show less")}};Object(s.B)("ugb/expand",{title:Object(s.t)("Expand / Show More"),icon:c.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Expand"),Object(s.t)("Show more/less"),Object(s.t)("Stackable")],attributes:g,deprecated:[{attributes:i.b,save:i.a}],edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={text:{source:"html",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{source:"html",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{source:"html",selector:".ugb-expand-more",default:Object(l.t)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(l.t)("Show less")}},r=function(e){var t=e.attributes,n=t.text,o=t.moreLabel,r=t.moreText,a=t.lessLabel;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ugb-expand-less-text"},!l.o.isEmpty(n)&&wp.element.createElement(l.o.Content,{multiline:"p",value:n})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!l.o.isEmpty(r)&&wp.element.createElement(l.o.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(l.o.Content,{className:"ugb-expand-more",tagName:"span",value:o}),wp.element.createElement(l.o.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))}},function(e,t,n){"use strict";var l=n(63),o=(n.n(l),n(64)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=e.className,n=e.setAttributes,l=(e.isSelected,e.editable,e.setState,e.attributes),o=l.numberBox,r=l.numberBoxTwo,u=l.numberBoxThree,i=l.body,s=l.bodyTwo,m=l.bodyThree,b=l.name,g=l.nameTwo,d=l.nameThree,p=l.columns,f=l.numberBoxColor,h=l.nameColor,w=l.bodyTextColor,v=l.numberBGColor,y=a()([t,"ugb-number-box","column-"+p]);return wp.element.createElement(c.g,null,wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.n,{label:Object(c.t)("Columns"),value:p,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return n({numberBoxColor:e})},label:Object(c.t)("Number Color")},{value:v,onChange:function(e){return n({numberBGColor:e})},label:Object(c.t)("Number Background Color")},{value:h,onChange:function(e){return n({nameColor:e})},label:Object(c.t)("Name Color")},{value:w,onChange:function(e){return n({bodyTextColor:e})},label:Object(c.t)("Body Text Color")}]})),wp.element.createElement("div",{className:y},wp.element.createElement("div",null,wp.element.createElement(c.o,{tagName:"span",placeholder:o?o.default:"",value:o,onChange:function(e){return n({numberBox:e})},style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"h4",value:b,className:"ugb-number-box-name",onChange:function(e){return n({name:e})},placeholder:Object(c.t)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:i,className:"ugb-number-box-body",onChange:function(e){return n({body:e})},placeholder:Object(c.t)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(c.o,{tagName:"span",placeholder:r?r.default:"",value:r,onChange:function(e){return n({numberBoxTwo:e})},style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"h4",value:g,className:"ugb-number-box-name-two",onChange:function(e){return n({nameTwo:e})},placeholder:Object(c.t)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:s,className:"ugb-number-box-body-two",onChange:function(e){return n({bodyTwo:e})},placeholder:Object(c.t)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(c.o,{tagName:"span",placeholder:u?u.default:"",value:u,onChange:function(e){return n({numberBoxThree:e})},style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"h4",value:d,className:"ugb-number-box-name-three",onChange:function(e){return n({nameThree:e})},placeholder:Object(c.t)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:m,className:"ugb-number-box-body-three",onChange:function(e){return n({bodyThree:e})},placeholder:Object(c.t)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0}))))},s=function(e){var t=e.className,n=e.attributes,l=n.numberBox,o=n.numberBoxTwo,r=n.numberBoxThree,u=n.body,i=n.bodyTwo,s=n.bodyThree,m=n.name,b=n.nameTwo,g=n.nameThree,d=n.numberBoxColor,p=n.nameColor,f=n.bodyTextColor,h=n.numberBGColor,w=n.columns,v=a()([t,"ugb-number-box","column-"+w]);return wp.element.createElement("div",{className:v},wp.element.createElement("div",{className:"ugb-number-box-column-one"},!c.o.isEmpty(l)&&wp.element.createElement(c.o.Content,{tagName:"span",style:{color:d,backgroundColor:h},value:l}),!c.o.isEmpty(m)&&wp.element.createElement(c.o.Content,{tagName:"h4",className:"ugb-number-box-name",style:{color:p},value:m}),!c.o.isEmpty(u)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-number-box-body",style:{color:f},value:u})),w>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{tagName:"span",style:{color:d,backgroundColor:h},value:o}),!c.o.isEmpty(b)&&wp.element.createElement(c.o.Content,{tagName:"h4",className:"ugb-number-box-name-two",style:{color:p},value:b}),!c.o.isEmpty(i)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-number-box-body-two",style:{color:f},value:i})),w>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},!c.o.isEmpty(r)&&wp.element.createElement(c.o.Content,{tagName:"span",style:{color:d,backgroundColor:h},value:r}),!c.o.isEmpty(g)&&wp.element.createElement(c.o.Content,{tagName:"h4",className:"ugb-number-box-name-three",style:{color:p},value:g}),!c.o.isEmpty(s)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-number-box-body-three",style:{color:f},value:s})))},m={numberBox:{source:"html",selector:".ugb-number-box-column-one span",default:Object(c.t)("01")},numberBoxTwo:{source:"html",selector:".ugb-number-box-column-two span",default:Object(c.t)("02")},numberBoxThree:{source:"html",selector:".ugb-number-box-column-three span",default:Object(c.t)("03")},name:{source:"html",selector:".ugb-number-box-name",default:Object(c.t)("Registration")},nameTwo:{source:"html",selector:".ugb-number-box-name-two",default:Object(c.t)("Waiting Period")},nameThree:{source:"html",selector:".ugb-number-box-name-three",default:Object(c.t)("Delivery")},body:{source:"html",selector:".ugb-number-box-body",default:Object(c.t)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyTwo:{source:"html",selector:".ugb-number-box-body-two",default:Object(c.t)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyThree:{source:"html",selector:".ugb-number-box-body-three",default:Object(c.t)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},numberBoxColor:{type:"string"},nameColor:{type:"string"},bodyTextColor:{type:"string"},numberBGColor:{type:"string"},columns:{type:"number",default:1}};Object(c.B)("ugb/number-box",{title:Object(c.t)("Number Box"),icon:u.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Number Box"),Object(c.t)("Stackable")],attributes:m,edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(66),o=(n.n(l),n(67)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(3),i=n(4),s=n(5),m=n(68),b=n(0),g=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.url,u=o.url2,i=o.url3,m=o.pricingBoxTitle,g=o.pricingBoxTitle2,d=o.pricingBoxTitle3,p=o.price,f=o.price2,h=o.price3,w=o.perMonthLabel,v=o.perMonthLabel2,y=o.perMonthLabel3,C=o.buttonText,E=o.buttonText2,k=o.buttonText3,x=o.featureList,N=o.featureList2,O=o.featureList3,j=o.pricingBoxColor,T=o.priceColor,B=o.perMonthLabelColor,S=o.buttonColor,z=o.buttonTextColor,I=o.featureListColor,L=o.columns,R=o.size,A=o.cornerButtonRadius,U=a()([n,"ugb-pricing-box","column-"+L]);return wp.element.createElement(b.g,null,wp.element.createElement(b.i,null,wp.element.createElement(b.k,null,wp.element.createElement(b.n,{label:Object(b.t)("Columns"),value:L,onChange:function(e){return l({columns:e})},min:1,max:3})),wp.element.createElement(b.l,{initialOpen:!1,title:Object(b.t)("Text Colors"),colorSettings:[{value:j,onChange:function(e){return l({pricingBoxColor:e})},label:Object(b.t)("Pricing Title Color")},{value:T,onChange:function(e){return l({priceColor:e})},label:Object(b.t)("Price Color")},{value:B,onChange:function(e){return l({perMonthLabelColor:e})},label:Object(b.t)("Per Month Label Color")},{value:I,onChange:function(e){return l({featureListColor:e})},label:Object(b.t)("Feature List Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:S,buttonTextColor:z,buttonSize:R,buttonBorderRadius:A,onChangeButtonColor:function(e){return l({buttonColor:e})},onChangeButtonTextColor:function(e){return l({buttonTextColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:U},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},wp.element.createElement(b.o,{tagName:"h3",value:m,onChange:function(e){return l({pricingBoxTitle:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:p,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:w,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:R,color:z,backgroundColor:S,text:C,borderRadius:A,onChange:function(e){return l({buttonText:e})}}),wp.element.createElement(b.o,{tagName:"p",value:x,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList:e})},style:{color:I},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(b.o,{tagName:"h3",value:g,onChange:function(e){return l({pricingBoxTitle2:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:f,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price2:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:v,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel2:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:R,color:z,backgroundColor:S,text:E,borderRadius:A,onChange:function(e){return l({buttonText2:e})}}),wp.element.createElement(b.o,{tagName:"p",value:N,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList2:e})},style:{color:I},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:u,onChange:function(e){return l({url2:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(b.o,{tagName:"h3",value:d,onChange:function(e){return l({pricingBoxTitle3:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:h,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price3:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:y,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel3:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:R,color:z,backgroundColor:S,text:k,borderRadius:A,onChange:function(e){return l({buttonText3:e})}}),wp.element.createElement(b.o,{tagName:"p",value:O,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList3:e})},style:{color:I},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:i,onChange:function(e){return l({url3:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))))},d=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.url2,r=n.url3,u=n.pricingBoxTitle,c=n.pricingBoxTitle2,s=n.pricingBoxTitle3,m=n.price,g=n.price2,d=n.price3,p=n.perMonthLabel,f=n.perMonthLabel2,h=n.perMonthLabel3,w=n.buttonText,v=n.buttonText2,y=n.buttonText3,C=n.featureList,E=n.featureList2,k=n.featureList3,x=n.pricingBoxColor,N=n.priceColor,O=n.perMonthLabelColor,j=n.buttonColor,T=n.buttonTextColor,B=n.featureListColor,S=n.columns,z=n.size,I=n.cornerButtonRadius,L=a()([t,"ugb-pricing-box","column-"+S]);return wp.element.createElement("div",{className:L},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},!b.o.isEmpty(u)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:x},value:u}),!b.o.isEmpty(m)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:N},value:m}),!b.o.isEmpty(p)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:p}),w&&!!w.length&&wp.element.createElement(i.a,{size:z,url:l,color:T,text:w,backgroundColor:j,borderRadius:I}),!b.o.isEmpty(C)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:C})),S>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},!b.o.isEmpty(c)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:x},value:c}),!b.o.isEmpty(g)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:N},value:g}),!b.o.isEmpty(f)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:f}),v&&!!v.length&&wp.element.createElement(i.a,{size:z,url:o,color:T,text:v,backgroundColor:j,borderRadius:I}),!b.o.isEmpty(E)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:E})),S>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},!b.o.isEmpty(s)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:x},value:s}),!b.o.isEmpty(d)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:N},value:d}),!b.o.isEmpty(h)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:h}),y&&!!y.length&&wp.element.createElement(i.a,{size:z,url:r,color:T,text:y,backgroundColor:j,borderRadius:I}),!b.o.isEmpty(k)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:k})))},p={url:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-one .ugb-button a",attribute:"href"},url2:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-two .ugb-button a",attribute:"href"},url3:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-three .ugb-button a",attribute:"href"},pricingBoxTitle:{source:"html",selector:".ugb-pricing-box-column-one h3",default:Object(b.t)("Basic")},pricingBoxTitle2:{source:"html",selector:".ugb-pricing-box-column-two h3",default:Object(b.t)("Basic")},pricingBoxTitle3:{source:"html",selector:".ugb-pricing-box-column-three h3",default:Object(b.t)("Basic")},price:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(b.t)("$9")},price2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(b.t)("$9")},price3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(b.t)("$9")},perMonthLabel:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(b.t)("per month")},perMonthLabel2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(b.t)("per month")},perMonthLabel3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(b.t)("per month")},buttonText:{source:"html",selector:".ugb-pricing-box-column-one .ugb-button a",default:Object(b.t)("Buy Now")},buttonText2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-button a",default:Object(b.t)("Buy Now")},buttonText3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-button a",default:Object(b.t)("Buy Now")},featureList:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(b.t)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-feature-list",default:Object(b.t)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-feature-list",default:Object(b.t)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},pricingBoxColor:{type:"string"},priceColor:{type:"string"},perMonthLabelColor:{type:"string"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},featureListColor:{type:"string"},columns:{type:"number",default:1},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}};Object(b.B)("ugb/pricing-box",{title:Object(b.t)("Pricing Box"),icon:u.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Pricing Box"),Object(b.t)("Stackable")],attributes:p,deprecated:[{save:m.a}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){var t=e.attributes,n=t.url,l=t.url2,o=t.url3,r=t.pricingBoxTitle,a=t.pricingBoxTitle2,u=t.pricingBoxTitle3,c=t.price,i=t.price2,s=t.price3,m=t.perMonthLabel,b=t.perMonthLabel2,g=t.perMonthLabel3,d=t.buttonText,p=t.buttonText2,f=t.buttonText3,h=t.featureList,w=t.featureList2,v=t.featureList3,y=t.pricingBoxColor,C=t.priceColor,E=t.perMonthLabelColor,k=t.buttonColor,x=t.buttonTextColor,N=t.featureListColor,O=t.columns,j=t.size,T=t.cornerButtonRadius,B={backgroundColor:k,color:x,borderRadius:T+"px"};return wp.element.createElement("div",{className:"ugb-pricing-box column-"+O},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},r&&!!r.length&&wp.element.createElement("h3",{style:{color:y}},r),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},c),m&&!!m.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},m),d&&!!d.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+j,style:B},d),h&&!!h.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},h)),O>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:y}},a),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},i),b&&!!b.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},b),p&&!!p.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+j,style:B},p),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},w)),O>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},u&&!!u.length&&wp.element.createElement("h3",{style:{color:y}},u),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},s),g&&!!g.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},g),f&&!!f.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+j,style:B},f),v&&!!v.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},v)))}},function(e,t,n){"use strict";var l=n(70),o=(n.n(l),n(71)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(3),i=n(4),s=n(5),m=n(7),b=n(72),g=n(0),d=function(e){var t=e.className,n=e.setAttributes,l=e.isSelected,o=(e.editable,e.setState,e.attributes),r=o.buttonURL,u=o.buttonText,i=o.buttonColor,b=o.buttonTextColor,d=o.cornerButtonRadius,p=o.size,f=o.title,h=o.titleColor,w=o.subtitle,v=o.subtitleColor,y=o.contentAlign,C=o.backgroundColor,E=o.backgroundImageID,k=o.backgroundImageURL,x=o.backgroundOpacity,N=o.fixedBackground,O=a()([t,"ugb-header","ugb-has-background-opacity-"+1*Math.round(x/1)],{"ugb-has-background":C||k,"ugb-has-background-image":k}),j={backgroundColor:C||void 0,backgroundImage:k?"url("+k+")":void 0,backgroundAttachment:N?"fixed":void 0,"--ugb-background-color":k?C:void 0,textAlign:y||void 0};return wp.element.createElement(g.g,null,wp.element.createElement(g.d,null,wp.element.createElement(g.a,{value:y,onChange:function(e){return n({contentAlign:e})}})),wp.element.createElement(g.i,null,wp.element.createElement(g.l,{initialOpen:!0,title:Object(g.t)("Color Settings"),colorSettings:[{value:h,onChange:function(e){return n({titleColor:e})},label:Object(g.t)("Title Color")},{value:v,onChange:function(e){return n({subtitleColor:e})},label:Object(g.t)("Subtitle Color")}]}),wp.element.createElement(m.a,{initialOpen:!0,backgroundColor:C,backgroundImageID:E,backgroundImageURL:k,backgroundOpacity:x,fixedBackground:N,onChangeBackgroundColor:function(e){return n({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,l=e.id;return n({backgroundImageURL:t,backgroundImageID:l})},onRemoveBackgroundImage:function(){n({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return n({backgroundOpacity:e})},onChangeFixedBackground:function(e){return n({fixedBackground:!!e})}}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:i,buttonTextColor:b,buttonSize:p,buttonBorderRadius:d,onChangeButtonColor:function(e){return n({buttonColor:e})},onChangeButtonTextColor:function(e){return n({buttonTextColor:e})},onChangeButtonSize:function(e){n({size:e})},onChangeButtonBorderRadius:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:O,style:j},wp.element.createElement("div",{className:"ugb-header-wrapper"},wp.element.createElement(g.o,{tagName:"h2",className:"ugb-header-title",placeholder:f.default,value:f,onChange:function(e){return n({title:e})},style:{textAlign:y,color:h}}),wp.element.createElement(g.o,{tagName:"p",className:"ugb-header-subtitle",placeholder:w.default,value:w,onChange:function(e){return n({subtitle:e})},style:{textAlign:y,color:v}}),wp.element.createElement(c.a,{size:p,align:y,color:b,backgroundColor:i,text:u,borderRadius:d,onChange:function(e){return n({buttonText:e})}}))),l&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+y},wp.element.createElement(g.f,{icon:"admin-links"}),wp.element.createElement(g.s,{value:r,onChange:function(e){return n({buttonURL:e})}}),wp.element.createElement(g.h,{icon:"editor-break",label:Object(g.t)("Apply"),type:"submit"})))},p=function(e){var t=e.className,n=e.attributes,l=n.buttonURL,o=n.buttonText,r=n.buttonColor,u=n.buttonTextColor,c=n.cornerButtonRadius,s=n.size,m=n.title,b=n.titleColor,d=n.subtitle,p=n.subtitleColor,f=n.contentAlign,h=n.backgroundColor,w=(n.backgroundImageID,n.backgroundImageURL),v=n.backgroundOpacity,y=n.fixedBackground,C=a()([t,"ugb-header","ugb-has-background-opacity-"+1*Math.round(v/1)],{"ugb-has-background":h||w,"ugb-has-background-image":w}),E={backgroundColor:h||void 0,backgroundImage:w?"url("+w+")":void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":w?h:void 0,textAlign:f||void 0};return wp.element.createElement("div",{className:C,style:E},wp.element.createElement("div",{className:"ugb-header-wrapper"},!g.o.isEmpty(m)&&wp.element.createElement(g.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:b},value:m}),!g.o.isEmpty(d)&&wp.element.createElement(g.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:p},value:d}),o&&!!o.length&&wp.element.createElement(i.a,{size:s,url:l,align:f,color:u,text:o,backgroundColor:r,borderRadius:c})))},f={title:{source:"html",selector:"h2",default:Object(g.t)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(g.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(g.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},opacity:{type:"number",default:5},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},id:{type:"number"}};Object(g.B)("ugb/header",{title:Object(g.t)("Header"),icon:u.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.t)("Header"),Object(g.t)("Stackable")],supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),attributes:f,deprecated:[{attributes:b.h,save:b.d,migrate:function(e){return Object.assign({},e,{backgroundOpacity:e.opacity,backgroundImageID:e.id,backgroungImageURL:e.url})}},{attributes:b.g,save:b.c},{attributes:b.f,save:b.b},{attributes:b.e,save:b.a}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function o(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function r(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}n.d(t,"d",function(){return s}),n.d(t,"h",function(){return m}),n.d(t,"c",function(){return b}),n.d(t,"g",function(){return g}),n.d(t,"b",function(){return d}),n.d(t,"f",function(){return p}),n.d(t,"a",function(){return f}),n.d(t,"e",function(){return h});var a=n(1),u=n.n(a),c=n(0),i=n(6),s=function(e){var t=e.className,n=e.attributes,o=n.url,r=n.buttonURL,a=n.buttonText,s=n.buttonColor,m=n.buttonTextColor,b=n.cornerButtonRadius,g=n.size,d=n.title,p=n.titleColor,f=n.subtitle,h=n.subtitleColor,w=n.contentAlign,v=(n.id,n.backgroundColor),y=n.opacity,C={backgroundImage:o?"url("+o+")":void 0,textAlign:w||void 0},E=u()([t,"ugb-header"],{"has-image":o,"has-no-content":!d&&!f&&!a,"has-content":d||f||a}),k=u()([l(y),"ugb-header-overlay"],{"overlay-opacity":0!==y});return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:k,style:{backgroundColor:v}}),wp.element.createElement("section",{key:"preview","data-url":o,style:C,className:"ugb-header-section"},!c.o.isEmpty(d)&&wp.element.createElement(c.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:p},value:d}),!c.o.isEmpty(f)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:h},value:f}),a&&!!a.length&&wp.element.createElement(i.c,{size:g,url:r,align:w,color:m,text:a,backgroundColor:s,borderRadius:b})))},m={title:{source:"html",selector:"h2",default:Object(c.t)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(c.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(c.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},b=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,r=t.buttonText,a=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,g=t.title,d=t.titleColor,p=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=u()(o(v),{"overlay-opacity":0!==v}),k=g.length||p.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+k},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!c.o.isEmpty(g)&&wp.element.createElement(c.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:p}),r&&!!r.length&&wp.element.createElement(i.b,{size:b,url:l,align:h,color:s,text:r,backgroundColor:a,borderRadius:m})))},g={title:{type:"array",source:"children",selector:"h2",default:Object(c.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(c.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(c.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},d=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,r=t.buttonText,a=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,g=t.title,d=t.titleColor,p=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=u()(o(v),{"overlay-opacity":0!==v}),k=g.length||p.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+k},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!c.o.isEmpty(g)&&wp.element.createElement(c.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:p}),r&&!!r.length&&wp.element.createElement(i.a,{size:b,url:l,align:h,color:s,text:r,backgroundColor:a,borderRadius:m})))},p={title:{type:"array",source:"children",selector:"h2",default:Object(c.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(c.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(c.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},f=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,o=t.buttonText,a=t.buttonColor,c=t.buttonTextColor,i=t.cornerButtonRadius,s=t.size,m=t.title,b=t.titleColor,g=t.subtitle,d=t.subtitleColor,p=(t.contentAlign,t.id,t.backgroundColor),f=t.opacity,h={backgroundColor:a,color:c,borderRadius:i+"px"},w=n?{backgroundImage:"url("+n+")"}:void 0,v=n?"has-image":"",y=u()(r(f),{"overlay-opacity":0!==f}),C=m||g||o?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+v+" "+C},wp.element.createElement("div",{className:"ugb-header-overlay "+y,style:{backgroundColor:p}}),wp.element.createElement("section",{key:"preview","data-url":n,style:w,className:"ugb-header-section"},m&&!!m.length&&wp.element.createElement("h2",{className:"ugb-header-title",style:{color:b}},m),g&&!!g.length&&wp.element.createElement("p",{className:"ugb-header-subtitle",style:{color:d}},g),o&&!!o.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+s,style:h},o)))},h={title:{type:"array",source:"children",selector:"h2",default:Object(c.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(c.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-header a.wp-ugb-button",default:Object(c.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}}},function(e,t,n){"use strict";var l=n(74),o=(n.n(l),n(75)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(76),i=n(0),s=function(e){var t=e.className,n=e.setAttributes,l=e.isSelected,o=(e.editable,e.setState,e.attributes),r=o.url,u=o.href,c=o.title,s=o.titleColor,m=o.subtitle,b=o.subtitleColor,g=o.overlayColor,d=o.id,p=o.height,f=o.width,h=o.verticalAlign,w=o.horizontalAlign,v=o.full,y=[{value:"flex-start",label:Object(i.t)("Top")},{value:"center",label:Object(i.t)("Center")},{value:"flex-end",label:Object(i.t)("Bottom")}],C=[{value:"flex-start",label:Object(i.t)("Left")},{value:"center",label:Object(i.t)("Center")},{value:"flex-end",label:Object(i.t)("Right")}],E=a()([t,"ugb-image-box"],{"has-image":r,"full-width":v});return wp.element.createElement(i.g,null,wp.element.createElement(i.d,null,r&&wp.element.createElement(i.r,null,wp.element.createElement(i.j,{onSelect:function(e){return n({url:e.url,id:e.id})},allowedTypes:["image"],value:d,render:function(e){var t=e.open;return wp.element.createElement(i.h,{className:"components-toolbar__control",label:Object(i.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.q,{label:"Full-Width",checked:!!v,onChange:function(){return n({full:!v})}}),wp.element.createElement(i.n,{label:Object(i.t)("Height"),value:p,min:"135",max:"700",onChange:function(e){return n({height:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Width"),value:f,min:"400",max:"999",onChange:function(e){return n({width:e})}}),wp.element.createElement(i.p,{label:Object(i.t)("Vertical Alignment"),value:h,options:y.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({verticalAlign:e})}}),wp.element.createElement(i.p,{label:Object(i.t)("Horizontal Alignment"),value:w,options:C.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({horizontalAlign:e})}})),wp.element.createElement(i.l,{title:Object(i.t)("Color Settings"),colorSettings:[{value:g,onChange:function(e){return n({overlayColor:e})},label:Object(i.t)("Overlay Color")},{value:s,onChange:function(e){return n({titleColor:e})},label:Object(i.t)("Title Color")},{value:b,onChange:function(e){return n({subtitleColor:e})},label:Object(i.t)("Subtitle Color")}]})),wp.element.createElement("div",{className:E,"data-url":r,style:{width:f+"px",height:p+"px",backgroundImage:"url("+r+")",alignItems:w,justifyContent:h}},wp.element.createElement(i.j,{onSelect:function(e){return n({url:e.url,id:e.id})},allowedTypes:["image"],value:d,render:function(e){return[!r&&wp.element.createElement(i.e,{className:d?"":"button button-large",onClick:e.open},Object(i.t)("Upload Image"))]}}),wp.element.createElement("a",{href:u,style:{backgroundColor:g}}),wp.element.createElement(i.o,{tagName:"h4",placeholder:c.default,value:c,onChange:function(e){return n({title:e})},style:{color:s}}),wp.element.createElement(i.o,{tagName:"p",placeholder:m.default,value:m,onChange:function(e){return n({subtitle:e})},style:{color:b}})),l&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link",style:{marginTop:10}},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:u,onChange:function(e){n({href:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"})))},m=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.href,r=n.title,u=n.titleColor,c=n.subtitle,s=n.subtitleColor,m=n.overlayColor,b=(n.id,n.height),g=n.width,d=n.verticalAlign,p=n.horizontalAlign,f=n.full,h=a()([t,"ugb-image-box"],{"has-image":l,"full-width":f,"has-no-content":!r&&!c,"has-content":r||c});return wp.element.createElement("div",{className:h,"data-url":l,style:{width:g+"px",height:b+"px",backgroundImage:"url("+l+")",alignItems:p,justifyContent:d}},wp.element.createElement("a",{href:o,style:{backgroundColor:m}}),!i.o.isEmpty(r)&&wp.element.createElement(i.o.Content,{tagName:"h4",style:{color:u},value:r}),!i.o.isEmpty(c)&&wp.element.createElement(i.o.Content,{tagName:"p",style:{color:s},value:c}))},b={title:{source:"html",selector:"h4",default:Object(i.t)("Title")},subtitle:{source:"html",selector:"p",default:Object(i.t)("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}};Object(i.B)("ugb/image-box",{title:Object(i.t)("Image Box"),icon:u.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Image Box"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={title:{type:"array",source:"children",selector:"h4",default:Object(l.t)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(l.t)("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}},r=function(e){var t=e.attributes,n=t.url,o=t.title,r=t.titleColor,a=t.subtitle,u=t.subtitleColor,c=t.overlayColor,i=(t.id,t.height),s=t.width,m=t.verticalAlign,b=t.horizontalAlign,g=t.full,d=n?"has-image":"",p=g?"full-width":"",f=o.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+d+" "+f+" "+p,"data-url":n,style:{width:s+"px",height:i+"px",backgroundImage:"url("+n+")",alignItems:b,justifyContent:m}},wp.element.createElement("a",{href:"#",style:{backgroundColor:c}}),!l.o.isEmpty(o)&&wp.element.createElement(l.o.Content,{tagName:"h4",style:{color:r},value:o}),!l.o.isEmpty(a)&&wp.element.createElement(l.o.Content,{tagName:"p",style:{color:u},value:a}))}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return"ugb-has-background-opacity-"+1*Math.round(e/1)}var r=n(78),a=(n.n(r),n(79)),u=(n.n(a),n(1)),c=n.n(u),i=n(2),s=n(80),m=n(8),b=n(7),g=n(0),d=function(e){var t=e.setAttributes,n=e.className,r=e.attributes,a=r.columns,u=r.backgroundColor,i=r.backgroundImageID,s=r.backgroundImageURL,m=r.backgroundOpacity,d=r.fixedBackground,p=r.textColor,f=r.countColor,h=r.countSize,w=c()([n,"ugb-countup","ugb-countup-v2","columns-"+a,o(m)],{"ugb-has-background":u||s,"ugb-has-background-image":s}),v={backgroundColor:u||void 0,backgroundImage:s?"url("+s+")":void 0,backgroundAttachment:d?"fixed":void 0,"--ugb-background-color":s?u:void 0};return wp.element.createElement(g.g,null,wp.element.createElement("div",{className:w,style:v},[1,2,3,4].map(function(e){var n=r["title"+e],o=r["description"+e],a=r["countText"+e];return wp.element.createElement("div",{className:"ugb-countup-item",key:e},wp.element.createElement(g.o,{tagName:"h4",value:n,placeholder:Object(g.t)("Stat Title"),onChange:function(n){return t(l({},"title"+e,n))},style:{color:p||void 0},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.o,{tagName:"div",className:"ugb-counter",placeholder:"1,234","data-duration":"1000","data-delay":"16",value:a,onChange:function(n){return t(l({},"countText"+e,n))},style:{color:f||void 0,fontSize:h?h+"px":void 0},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.o,{tagName:"p",className:"ugb-counter-des",placeholder:Object(g.t)("Stat Description"),value:o,onChange:function(n){return t(l({},"description"+e,n))},style:{color:p||void 0},keepPlaceholderOnFocus:!0}))})),wp.element.createElement(g.i,null,wp.element.createElement(g.l,{title:Object(g.t)("Color Settings"),colorSettings:[{value:p,onChange:function(e){return t({textColor:e})},label:Object(g.t)("Heading & Description Color")},{value:f,onChange:function(e){return t({countColor:e})},label:Object(g.t)("Counter Color")}]},wp.element.createElement(g.n,{label:Object(g.t)("Columns"),value:a,onChange:function(e){return t({columns:e})},min:1,max:4}),wp.element.createElement(g.n,{label:Object(g.t)("Counter Text Size"),max:"100",min:"10",value:h,onChange:function(e){return t({countSize:e})}})),wp.element.createElement(b.a,{backgroundColor:u,backgroundImageID:i,backgroundImageURL:s,backgroundOpacity:m,fixedBackground:d,onChangeBackgroundColor:function(e){return t({backgroundColor:e})},onChangeBackgroundImage:function(e){var n=e.url,l=e.id;return t({backgroundImageURL:n,backgroundImageID:l})},onRemoveBackgroundImage:function(){t({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return t({backgroundOpacity:e})},onChangeFixedBackground:function(e){return t({fixedBackground:!!e})}})))},p=function(e){var t=e.className,n=e.attributes,l=n.columns,r=n.backgroundColor,a=n.backgroundImageURL,u=n.fixedBackground,i=n.backgroundOpacity,s=n.textColor,b=n.countColor,d=n.countSize,p=c()([t,"ugb-countup","ugb-countup-v2","columns-"+l,o(i)],{"ugb-has-background":r||a,"ugb-has-background-image":a}),f={backgroundColor:r||void 0,backgroundImage:a?"url("+a+")":void 0,backgroundAttachment:u?"fixed":void 0,"--ugb-background-color":a?r:void 0};return wp.element.createElement("div",{className:p,style:f},Object(m.b)(1,l+1).map(function(e){var t=n["title"+e],l=n["description"+e],o=n["countText"+e];return wp.element.createElement("div",{className:"ugb-countup-item",key:e},!g.o.isEmpty(t)&&wp.element.createElement(g.o.Content,{tagName:"h4",style:{color:s||void 0},value:t}),!g.o.isEmpty(o)&&wp.element.createElement(g.o.Content,{tagName:"div",className:"ugb-counter",style:{color:b||void 0,fontSize:d?d+"px":void 0},value:o,"data-duration":"1000","data-delay":"16"}),!g.o.isEmpty(l)&&wp.element.createElement(g.o.Content,{tagName:"p",style:{color:s||void 0},value:l}))}))},f={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-child(1) h4",default:Object(g.t)("Stat Title")},title2:{source:"html",selector:".ugb-countup-item:nth-child(2) h4",default:Object(g.t)("Stat Title")},title3:{source:"html",selector:".ugb-countup-item:nth-child(3) h4",default:Object(g.t)("Stat Title")},title4:{source:"html",selector:".ugb-countup-item:nth-child(4) h4",default:Object(g.t)("Stat Title")},countText1:{source:"html",selector:".ugb-countup-item:nth-child(1) .ugb-counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup-item:nth-child(2) .ugb-counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup-item:nth-child(3) .ugb-counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup-item:nth-child(4) .ugb-counter",default:"\xa399.99"},description1:{source:"html",selector:".ugb-countup-item:nth-child(1) p",default:Object(g.t)("stat description")},description2:{source:"html",selector:".ugb-countup-item:nth-child(2) p",default:Object(g.t)("stat description")},description3:{source:"html",selector:".ugb-countup-item:nth-child(3) p",default:Object(g.t)("stat description")},description4:{source:"html",selector:".ugb-countup-item:nth-child(4) p",default:Object(g.t)("stat description")},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},title:{source:"html",selector:"h4",default:Object(g.t)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(g.t)("and counting")},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}};Object(g.B)("ugb/count-up",{title:Object(g.t)("Count Up"),icon:i.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.t)("Count Up"),Object(g.t)("Stackable")],attributes:f,supports:l({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:s.b,save:s.a,migrate:function(e){return{columns:1,title1:e.title,description1:e.des,countText1:e.counter,textColor:e.headingColor,countColor:e.color,countSize:e.fontSize}}}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u});var l=n(1),o=n.n(l),r=n(0),a={title:{source:"html",selector:"h4",default:Object(r.t)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(r.t)("and counting")},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},u=function(e){var t=e.className,n=e.attributes,l=n.color,a=n.headingColor,u=n.desColor,c=n.title,i=n.counter,s=n.des,m=n.fontSize,b=o()([t,"ugb-countup"]);return wp.element.createElement("div",{className:b},wp.element.createElement(r.o.Content,{tagName:"h4",style:{color:a},value:c}),wp.element.createElement(r.o.Content,{tagName:"div",className:"ugb-counter",style:{color:l,fontSize:m+"px"},value:i,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(r.o.Content,{tagName:"p",style:{color:u},value:s}))}},function(e,t,n){"use strict";var l=n(82),o=(n.n(l),n(83)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(8),i=n(84),s=n(0),m={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"}))},b=function(e){var t=e.className,n=e.setAttributes,l=e.isSelected,o=e.attributes,r=o.videoLink,u=(o.videoID,o.mediaLink),i=o.overlayColor,b=o.playButtonType,g=o.mediaID,d=[{value:"normal",label:Object(s.t)("Normal Play Button")},{value:"circle",label:Object(s.t)("Play Button with Circle")},{value:"outline",label:Object(s.t)("Outline Play Button")}],p=a()([t,"ugb-video-popup"]);return wp.element.createElement(s.g,null,wp.element.createElement(s.d,null,u&&wp.element.createElement(s.r,null,wp.element.createElement(s.j,{onSelect:function(e){return n({mediaLink:e.url,mediaID:e.id})},allowedTypes:["image"],value:g,render:function(e){var t=e.open;return wp.element.createElement(s.h,{className:"components-toolbar__control",label:Object(s.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(s.i,null,wp.element.createElement(s.k,null,wp.element.createElement(s.p,{label:Object(s.t)("Play Button Style"),value:b,options:d.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}})),wp.element.createElement(s.l,{initialOpen:!1,title:Object(s.t)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return n({overlayColor:e})},label:Object(s.t)("Background / Overlay Color")}]})),wp.element.createElement("div",{className:p,style:{backgroundColor:i}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+u+")"}}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement(s.j,{onSelect:function(e){return n({mediaLink:e.url,mediaID:e.id})},allowedTypes:["image"],value:g,render:function(e){return[!u&&wp.element.createElement(s.e,{className:g?"":"button button-large",onClick:e.open},Object(s.t)("Upload Image"))]}}),wp.element.createElement("div",{className:"ugb-video-overlay",style:{backgroundColor:i}}),wp.element.createElement("span",{className:"ugb-play-button"},m[b]))),l&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(s.f,{icon:"admin-links"}),wp.element.createElement(s.s,{value:r,onChange:function(e){n({videoLink:e,videoID:Object(c.a)(e).id})}}),wp.element.createElement(s.h,{icon:"editor-break",label:Object(s.t)("Apply"),type:"submit"}),wp.element.createElement("p",{className:"ugb-video-popup-link-desc"},wp.element.createElement("i",null,Object(s.t)("Youtube / Vimeo only")))))},g=function(e){var t=e.className,n=e.attributes,l=n.videoLink,o=n.videoID,r=n.mediaLink,u=n.overlayColor,c=n.playButtonType,i=(n.mediaID,a()([t,"ugb-video-popup"]));return wp.element.createElement("div",{className:i,"data-video":o,"data-video-url":l,style:{backgroundColor:u}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+r+")"},"data-url":r}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:u}}),wp.element.createElement("span",{className:"ugb-play-button"},m[c])))},d={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"}};Object(s.B)("ugb/video-popup",{title:Object(s.t)("Video Popup"),icon:u.r,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Video Popup"),Object(s.t)("Stackable")],attributes:d,deprecated:[{attributes:i.b,migrate:function(e){return e.videoID=e.videoLink,e},isEligible:function(e){return"undefined"===typeof e.videoLink},save:i.a}],edit:b,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return r});var l={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"}},o={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"}))},r=function(e){var t=e.attributes,n=t.videoLink,l=t.mediaLink,r=t.overlayColor,a=t.playButtonType;t.mediaID;return wp.element.createElement("div",{className:"ugb-video-popup","data-video":n,style:{backgroundColor:r}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+l+")"},"data-url":l}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:r}}),wp.element.createElement("span",{className:"ugb-play-button"},o[a])))}},function(e,t,n){"use strict";var l=n(86),o=(n.n(l),n(87)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(3),i=n(4),s=n(5),m=n(88),b=n(0),g=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.heading,u=o.tagline,i=o.des,m=o.mediaID,g=o.mediaURL,d=o.headingColor,p=o.taglineColor,f=o.desColor,h=o.buttonURL,w=o.buttonText,v=o.buttonColor,y=o.buttonTextColor,C=o.size,E=o.cornerButtonRadius,k=o.contentAlign,x=a()([n,"ugb-card"],{"has-image":g});return wp.element.createElement(b.g,null,wp.element.createElement(b.d,null,wp.element.createElement(b.a,{value:k,onChange:function(e){return l({contentAlign:e})}}),wp.element.createElement(b.r,null,wp.element.createElement(b.j,{onSelect:function(e){return l({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:m,render:function(e){var t=e.open;return wp.element.createElement(b.h,{className:"components-toolbar__control",label:Object(b.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(b.i,null,wp.element.createElement(b.l,{title:Object(b.t)("Text Colors"),colorSettings:[{value:d,onChange:function(e){return l({headingColor:e})},label:Object(b.t)("Heading Color")},{value:p,onChange:function(e){return l({taglineColor:e})},label:Object(b.t)("Tagline Color")},{value:f,onChange:function(e){return l({desColor:e})},label:Object(b.t)("Description Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:v,buttonTextColor:y,buttonSize:C,buttonBorderRadius:E,onChangeButtonColor:function(e){return l({buttonColor:e})},onChangeButtonTextColor:function(e){return l({buttonTextColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:x},wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+g+")",textAlign:k}},wp.element.createElement(b.j,{onSelect:function(e){return l({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:m,render:function(e){return[!g&&wp.element.createElement(b.e,{className:m?"":"button button-large",onClick:e.open},Object(b.t)("Upload Image"))]}})),wp.element.createElement(b.o,{tagName:"h4",value:r,className:"ugb-card-heading",onChange:function(e){return l({heading:e})},style:{color:d,textAlign:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:u,className:"ugb-tagline",onChange:function(e){return l({tagline:e})},style:{color:p,textAlign:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:i,className:"ugb-card-des",onChange:function(e){return l({des:e})},style:{color:f,textAlign:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:C,align:k,color:y,backgroundColor:v,text:w,borderRadius:E,onChange:function(e){return l({buttonText:e})}})),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+k,style:{marginTop:10}},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:h,onChange:function(e){return l({buttonURL:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))},d=function(e){var t=e.className,n=e.attributes,l=n.heading,o=n.tagline,r=n.des,u=n.mediaURL,c=(n.mediaID,n.headingColor),s=n.taglineColor,m=n.desColor,g=n.buttonURL,d=n.buttonText,p=n.buttonColor,f=n.buttonTextColor,h=n.size,w=n.cornerButtonRadius,v=n.contentAlign,y=a()([t,"ugb-card"],{"has-image":u});return wp.element.createElement("div",{className:y},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:v},"data-src":u}),!b.o.isEmpty(l)&&wp.element.createElement(b.o.Content,{tagName:"h4",style:{color:c,textAlign:v},value:l}),!b.o.isEmpty(o)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:s,textAlign:v},value:o}),!b.o.isEmpty(r)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:m,textAlign:v},value:r}),d&&!!d.length&&wp.element.createElement(i.a,{size:h,url:g,align:v,color:f,text:d,backgroundColor:p,borderRadius:w}))},p={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:Object(b.t)("Ben Adams")},tagline:{source:"html",selector:".ugb-tagline",default:Object(b.t)("Ben is the head of our small team")},des:{source:"html",selector:".ugb-card-des",default:Object(b.t)("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:Object(b.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}};Object(b.B)("ugb/card",{title:Object(b.t)("Card"),icon:u.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Card"),Object(b.t)("Stackable")],attributes:p,deprecated:[{attributes:m.d,save:m.b},{attributes:m.c,save:m.a}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u}),n.d(t,"c",function(){return c});var l=n(0),o=n(6),r={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.t)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.t)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.t)("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:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(l.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}},a=function(e){var t=e.attributes,n=t.heading,r=t.tagline,a=t.des,u=t.mediaURL,c=(t.mediaID,t.headingColor),i=t.taglineColor,s=t.desColor,m=t.buttonURL,b=t.buttonText,g=t.buttonColor,d=t.buttonTextColor,p=t.size,f=t.cornerButtonRadius,h=t.contentAlign,w=u?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+w},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:h},"data-src":u}),!l.o.isEmpty(n)&&wp.element.createElement(l.o.Content,{tagName:"h4",style:{color:c,textAlign:h},value:n}),!l.o.isEmpty(r)&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:i,textAlign:h},value:r}),!l.o.isEmpty(a)&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:a}),b&&!!b.length&&wp.element.createElement(o.a,{size:p,url:m,align:h,color:d,text:b,backgroundColor:g,borderRadius:f}))},u=function(e){var t=e.attributes,n=t.heading,l=t.tagline,o=t.des,r=t.mediaURL,a=(t.mediaID,t.headingColor),u=t.taglineColor,c=t.desColor,i=t.buttonURL,s=t.buttonText,m=t.buttonColor,b=t.buttonTextColor,g=t.size,d=t.cornerButtonRadius,p=t.contentAlign,f={backgroundColor:m,color:b,borderRadius:d+"px"},h=r?"has-image":"",w=n||l||o||s?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-card "+h+" "+w},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+r+")",textAlign:p},"data-src":r}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:a,textAlign:p}},n),l&&!!l.length&&wp.element.createElement("p",{className:"ugb-tagline",style:{color:u,textAlign:p}},l),o&&!!o.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:c,textAlign:p}},o),s&&!!s.length&&wp.element.createElement("a",{href:i,className:"wp-ugb-button wp-block-button ugb-button-"+g+" ugb-button-"+p,style:f},s))},c={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.t)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.t)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.t)("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:".wp-ugb-button",attribute:"href"},buttonText:{type:"array",source:"children",selector:".wp-block-button",default:Object(l.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}}},function(e,t,n){"use strict";function l(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=n(90),r=(n.n(o),n(91)),a=(n.n(r),n(1)),u=n.n(a),c=n(2),i=n(8),s=n(0),m=function(e){var t=e.isSelected,n=(e.setState,e.className),o=e.setAttributes,r=e.attributes,a=r.columns,c=r.imageSize,i=u()([n,"ugb-feature-grid","columns-"+a]);return wp.element.createElement(s.g,null,wp.element.createElement(s.i,null,wp.element.createElement(s.k,null,wp.element.createElement(s.n,{label:Object(s.t)("Columns"),value:a,onChange:function(e){return o({columns:e})},min:1,max:3}),wp.element.createElement(s.n,{label:Object(s.t)("Image Size %"),value:c,onChange:function(e){return o({imageSize:e})},min:0,max:100}))),wp.element.createElement("div",{className:i},[1,2,3].map(function(e){var n=r["imageUrl"+e],a=r["imageID"+e],u=r["title"+e],i=r["description"+e],m=r["linkUrl"+e],b=r["linkText"+e];return wp.element.createElement("div",{key:e},wp.element.createElement("div",{className:"ugb-feature-grid-item"},wp.element.createElement("div",null,wp.element.createElement(s.j,{onSelect:function(t){var n;return o((n={},l(n,"imageUrl"+e,t.url),l(n,"imageID"+e,t.id),n))},allowedTypes:["image"],value:a,render:function(e){return a?wp.element.createElement("img",{src:n,onClick:e.open,style:{width:c+"%"}}):wp.element.createElement(s.e,{className:"button button-large",onClick:e.open},Object(s.t)("Upload Image"))}})),wp.element.createElement(s.o,{tagName:"h5",value:u,onChange:function(t){return o(l({},"title"+e,t))},placeholder:g["title"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement(s.o,{tagName:"p",value:i,onChange:function(t){return o(l({},"description"+e,t))},placeholder:g["description"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement("p",null,wp.element.createElement("a",{href:"#"},wp.element.createElement(s.o,{tagName:"span",value:b,onChange:function(t){return o(l({},"linkText"+e,t))},placeholder:g["linkText"+e].default,formattingControls:["bold","italic","strikethrough"],keepPlaceholderOnFocus:!0})))),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(s.f,{icon:"admin-links"}),wp.element.createElement(s.s,{value:m,onChange:function(t){return o(l({},"linkUrl"+e,t))}}),wp.element.createElement(s.h,{icon:"editor-break",label:Object(s.t)("Apply"),type:"submit"})))})))},b=function(e){var t=e.attributes,n=e.className,l=t.columns,o=t.imageSize,r=u()([n,"ugb-feature-grid","columns-"+l]);return wp.element.createElement("div",{className:r},Object(i.b)(1,l+1).map(function(e){var n=t["imageUrl"+e],l=t["title"+e],r=t["description"+e],a=t["linkUrl"+e],u=t["linkText"+e];return wp.element.createElement("div",{className:"ugb-feature-grid-item",key:e},n&&wp.element.createElement("img",{src:n,style:{width:o+"%"}}),!s.o.isEmpty(l)&&wp.element.createElement(s.o.Content,{tagName:"h5",className:"ugb-fg-title",value:l}),!s.o.isEmpty(r)&&wp.element.createElement(s.o.Content,{tagName:"p",className:"ugb-fg-description",value:r}),!s.o.isEmpty(u)&&wp.element.createElement("p",null,wp.element.createElement(s.o.Content,{tagName:"a",href:a,value:u,className:"ugb-fg-link"})))}))},g={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:Object(s.t)("Feature 1")},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:Object(s.t)("Feature 2")},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:Object(s.t)("Feature 3")},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:Object(s.t)("Some feature description for an awesome feature")},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:Object(s.t)("Some feature description for an awesome feature")},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:Object(s.t)("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:Object(s.t)("View More")},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:Object(s.t)("View More")},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:Object(s.t)("View More")}};Object(s.B)("ugb/feature-grid",{title:Object(s.t)("Feature Grid"),icon:c.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Feature Grid"),Object(s.t)("Stackable")],attributes:g,edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(93),o=(n.n(l),n(94)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(8),i=n(0),s=n(95),m={check:{iconFunc:s.e,circleFunc:s.d,outlineFunc:s.f,title:Object(i.t)("Check"),value:"check"},plus:{iconFunc:s.k,circleFunc:s.j,outlineFunc:s.l,title:Object(i.t)("Plus"),value:"plus"},arrow:{iconFunc:s.b,circleFunc:s.a,outlineFunc:s.c,title:Object(i.t)("Arrow"),value:"arrow"},cross:{iconFunc:s.h,circleFunc:s.g,outlineFunc:s.i,title:Object(i.t)("Cross"),value:"cross"},star:{iconFunc:s.n,circleFunc:s.m,outlineFunc:s.o,title:Object(i.t)("Star"),value:"star"}},b=function(e){return"circle"===e||"outline"===e?e+"Func":"iconFunc"},g=function(e,t,n){var l=b(t),o=Object(c.c)(m[e][l](n),!1);return btoa(o)},d=function(e){function t(e){return function(){return o({icon:e})}}function n(e){return function(){return o({iconShape:e})}}var l=(e.isSelected,e.setState,e.className),o=e.setAttributes,r=(e.insertBlocksAfter,e.attributes),u=r.icon,c=r.iconShape,s=r.iconColor,d=r.iconSize,p=r.text,f=r.columns,h=r.gap,w=a()([l,"ugb-icon-list","ugb-icon-"+u,"column-"+f]),v=g(u,c,s),y={"--icon":"url('data:image/svg+xml;base64,"+v+"')","--icon-size":d?d+"px":void 0,"--gap":h?h+"px":void 0};return wp.element.createElement(i.g,null,wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.b,{label:Object(i.t)("Icon")},wp.element.createElement(i.r,{icon:m[u].iconFunc(),controls:Object.keys(m).map(function(e){return Object.assign({},m[e],{icon:m[e].iconFunc(),isActive:u===e,onClick:t(e)})})})),wp.element.createElement(i.b,{label:Object(i.t)("Icon Shape")},wp.element.createElement(i.r,{icon:m[u][b(c)](),controls:["","circle","outline"].map(function(e){var t=b(e);return Object.assign({},m[u],{icon:m[u][t](),isActive:c===e,onClick:n(e)})})})),wp.element.createElement(i.l,{title:Object(i.t)("Icon Color"),className:"ugb-icon-list-color-picker",initialOpen:!0,opened:!0,colorSettings:[{value:s,onChange:function(e){return o({iconColor:e})},label:Object(i.t)("Icon Color")}]}),wp.element.createElement(i.n,{label:Object(i.t)("Icon Size"),value:d,onChange:function(e){return o({iconSize:e})},min:8,max:30}),wp.element.createElement(i.n,{label:Object(i.t)("Columns"),value:f,onChange:function(e){return o({columns:e})},min:1,max:3}),wp.element.createElement(i.n,{label:Object(i.t)("List Gap"),value:h,onChange:function(e){return o({gap:e})},min:0,max:30}))),wp.element.createElement("div",{className:w,style:y},wp.element.createElement(i.o,{tagName:"ul",multiline:"li",value:p,onChange:function(e){return o({text:e})}})))},p=function(e){var t=e.className,n=e.attributes,l=n.icon,o=n.iconShape,r=n.iconColor,u=n.iconSize,c=n.text,s=n.columns,m=n.gap,b=a()([t,"ugb-icon-list","ugb-icon-"+l,"column-"+s]),d=g(l,o,r),p={"--icon":"url('data:image/svg+xml;base64,"+d+"')","--icon-size":u?u+"px":void 0,"--gap":m?m+"px":void 0};return wp.element.createElement(i.o.Content,{tagName:"ul",className:b,style:p,value:c})},f={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}};Object(i.B)("ugb/icon-list",{title:Object(i.t)("Icon List"),icon:u.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Icon List"),Object(i.t)("Stackable")],attributes:f,edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"e",function(){return o}),n.d(t,"k",function(){return r}),n.d(t,"h",function(){return a}),n.d(t,"n",function(){return u}),n.d(t,"a",function(){return c}),n.d(t,"d",function(){return i}),n.d(t,"j",function(){return s}),n.d(t,"m",function(){return m}),n.d(t,"g",function(){return b}),n.d(t,"c",function(){return g}),n.d(t,"f",function(){return d}),n.d(t,"l",function(){return p}),n.d(t,"o",function(){return f}),n.d(t,"i",function(){return h});var l=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 "}))},o=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"}))},r=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 "}))},a=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 "}))},u=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 "}))},c=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"}))},i=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"}))},s=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"}))},m=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"}))},b=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"}))},g=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"}))},d=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"}))},p=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"}))},f=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 \t "}))},h=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"}))}},function(e,t,n){"use strict";function l(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=n(97),r=(n.n(o),n(98)),a=(n.n(r),n(1)),u=n.n(a),c=n(2),i=n(3),s=n(4),m=n(5),b=n(7),g=n(99),d=n(0),p=function(e){var t,n=e.isSelected,o=(e.setState,e.className),r=e.setAttributes,a=e.attributes,c=a.invert,s=a.contentAlign,g=a.textColor,p=a.imageSize,f=a.imageID,w=a.imageUrl,v=a.title,y=a.description,C=a.buttonURL,E=a.buttonText,k=a.buttonColor,x=a.buttonTextColor,N=a.buttonSize,O=a.buttonBorderRadius,j=a.backgroundColor,T=a.backgroundImageID,B=a.backgroundImageURL,S=a.backgroundOpacity,z=a.fixedBackground,I=u()([o,"ugb-feature","ugb-has-background-opacity-"+1*Math.round(S/1)],(t={},l(t,"ugb-content-"+s,s),l(t,"ugb-invert",c),l(t,"ugb-has-background",j||B),l(t,"ugb-has-background-image",B),t)),L={"--image-size":p?p+"px":void 0,backgroundColor:j||void 0,backgroundImage:B?"url("+B+")":void 0,backgroundAttachment:z?"fixed":void 0,"--ugb-background-color":B?j:void 0};return wp.element.createElement(d.g,null,wp.element.createElement(d.d,null,wp.element.createElement(d.a,{value:s,onChange:function(e){return r({contentAlign:e})}})),wp.element.createElement(d.i,null,wp.element.createElement(d.l,{initialOpen:!0,title:Object(d.t)("General Settings"),colorSettings:[{value:g,onChange:function(e){return r({textColor:e})},label:Object(d.t)("Text Color")}]},wp.element.createElement(d.q,{label:Object(d.t)("Reverse Horizontally"),checked:c,onChange:function(){return r({invert:!c})}}),wp.element.createElement(d.n,{label:Object(d.t)("Image Size"),value:p,onChange:function(e){return r({imageSize:e})},help:Object(d.t)("The theme's content width may have an effect here."),min:100,max:600})),wp.element.createElement(b.a,{backgroundColor:j,backgroundImageID:T,backgroundImageURL:B,backgroundOpacity:S,fixedBackground:z,onChangeBackgroundColor:function(e){return r({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,n=e.id;return r({backgroundImageURL:t,backgroundImageID:n})},onRemoveBackgroundImage:function(){r({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return r({backgroundOpacity:e})},onChangeFixedBackground:function(e){return r({fixedBackground:!!e})}}),wp.element.createElement(m.a,{initialOpen:!1,buttonColor:k,buttonTextColor:x,buttonSize:N,buttonBorderRadius:O,onChangeButtonColor:function(e){return r({buttonColor:e})},onChangeButtonTextColor:function(e){return r({buttonTextColor:e})},onChangeButtonSize:function(e){r({buttonSize:e})},onChangeButtonBorderRadius:function(e){return r({buttonBorderRadius:e})}})),wp.element.createElement("div",{className:I,style:L},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,wp.element.createElement(d.o,{tagName:"h2",value:v,onChange:function(e){return r({title:e})},placeholder:h.title.default,style:{color:g},keepPlaceholderOnFocus:!0}),wp.element.createElement(d.o,{tagName:"p",value:y,onChange:function(e){return r({description:e})},placeholder:h.description.default,style:{color:g},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:N,align:s,color:x,backgroundColor:k,text:E,borderRadius:O,onChange:function(e){return r({buttonText:e})}})),wp.element.createElement("div",{className:"ugb-feature-image-side"},wp.element.createElement(d.j,{onSelect:function(e){return r({imageUrl:e.url,imageID:e.id})},allowedTypes:["image"],value:f,render:function(e){return f?wp.element.createElement("img",{src:w,onClick:e.open}):wp.element.createElement(d.e,{className:"button button-large",onClick:e.open},Object(d.t)("Upload Image"))}})))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+s},wp.element.createElement(d.f,{icon:"admin-links"}),wp.element.createElement(d.s,{value:C,onChange:function(e){return r({buttonURL:e})}}),wp.element.createElement(d.h,{icon:"editor-break",label:Object(d.t)("Apply"),type:"submit"})))},f=function(e){var t,n=e.className,o=e.attributes,r=o.invert,a=o.contentAlign,c=o.textColor,i=o.imageSize,m=(o.imageID,o.imageUrl),b=o.title,g=o.description,p=o.buttonURL,f=o.buttonText,h=o.buttonColor,w=o.buttonTextColor,v=o.buttonSize,y=o.buttonBorderRadius,C=o.backgroundColor,E=(o.backgroundImageID,o.backgroundImageURL),k=o.backgroundOpacity,x=o.fixedBackground,N=u()([n,"ugb-feature","ugb-has-background-opacity-"+1*Math.round(k/1)],(t={},l(t,"ugb-content-"+a,a),l(t,"ugb-invert",r),l(t,"ugb-has-background",C||E),l(t,"ugb-has-background-image",E),t)),O={"--image-size":i?i+"px":void 0,backgroundColor:C||void 0,backgroundImage:E?"url("+E+")":void 0,backgroundAttachment:x?"fixed":void 0,"--ugb-background-color":E?C:void 0};return wp.element.createElement("div",{className:N,style:O},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!d.o.isEmpty(b)&&wp.element.createElement(d.o.Content,{tagName:"h2",style:{color:c},value:b}),!d.o.isEmpty(g)&&wp.element.createElement(d.o.Content,{tagName:"p",style:{color:c},value:g}),!d.o.isEmpty(f)&&wp.element.createElement(s.a,{size:v,url:p,align:a,color:w,text:f,backgroundColor:h,borderRadius:y})),wp.element.createElement("div",{className:"ugb-feature-image-side"},m&&wp.element.createElement("img",{src:m,alt:b}))))},h={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:Object(d.t)("Feature Title")},description:{source:"html",selector:"p",default:Object(d.t)("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:Object(d.t)("Learn More")},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}};Object(d.B)("ugb/feature",{title:Object(d.t)("Feature"),icon:c.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(d.t)("Feature"),Object(d.t)("Stackable")],supports:l({align:!0},"align",["center","wide","full"]),attributes:h,deprecated:[{attributes:g.b,save:g.a}],edit:p,save:f})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(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,"b",function(){return c}),n.d(t,"a",function(){return i});var o=n(1),r=n.n(o),a=n(0),u=n(6),c={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:Object(a.t)("Feature Title")},description:{source:"html",selector:"p",default:Object(a.t)("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:Object(a.t)("Learn More")},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4}},i=function(e){var t,n=e.className,o=e.attributes,c=o.invert,i=o.contentAlign,s=o.backgroundColor,m=o.textColor,b=o.imageSize,g=(o.imageID,o.imageUrl),d=o.title,p=o.description,f=o.buttonURL,h=o.buttonText,w=o.buttonColor,v=o.buttonTextColor,y=o.buttonSize,C=o.buttonBorderRadius,E=r()([n,"ugb-feature"],(t={"ugb-has-background":s},l(t,"ugb-content-"+i,i),l(t,"ugb-invert",c),t)),k={backgroundColor:s||void 0,"--image-size":b?b+"px":void 0};return wp.element.createElement("div",{className:E,style:k},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!a.o.isEmpty(d)&&wp.element.createElement(a.o.Content,{tagName:"h2",style:{color:m},value:d}),!a.o.isEmpty(p)&&wp.element.createElement(a.o.Content,{tagName:"p",style:{color:m},value:p}),!a.o.isEmpty(h)&&wp.element.createElement(u.c,{size:y,url:f,align:i,color:v,text:h,backgroundColor:w,borderRadius:C})),wp.element.createElement("div",{className:"ugb-feature-image-side"},g&&wp.element.createElement("img",{src:g,alt:d}))))}},function(e,t,n){"use strict";var l=n(0);Object(l.u)("stackable.get_pro","core",function(){})}]);
dist/blocks.editor.build.css CHANGED
@@ -1,22 +1,25 @@
1
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
2
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-divider hr{border:0 !important}
3
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-ugb-button__link{background:#fff;width:280px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}
4
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.design-control input{position:absolute;opacity:0;margin-bottom:5px}.design-control input,.design-control img{display:block;border-radius:4px}.design-control img{min-height:40px}.design-control label span{display:block;-webkit-transition:opacity 0.3s ease-in-out;-o-transition:opacity 0.3s ease-in-out;transition:opacity 0.3s ease-in-out;background:#ddd;border-radius:4px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8c3ZnIHdpZHRoPSI0MHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCA0MCA0MCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEuNDE0MjE7IiB4PSIwcHgiIHk9IjBweCI+CiAgICA8ZGVmcz4KICAgICAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPjwhW0NEQVRBWwogICAgICAgICAgICBALXdlYmtpdC1rZXlmcmFtZXMgc3BpbiB7CiAgICAgICAgICAgICAgZnJvbSB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIC13ZWJraXQtdHJhbnNmb3JtOiByb3RhdGUoLTM1OWRlZykKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgQGtleWZyYW1lcyBzcGluIHsKICAgICAgICAgICAgICBmcm9tIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0zNTlkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIHN2ZyB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybS1vcmlnaW46IDUwJSA1MCU7CiAgICAgICAgICAgICAgICAtd2Via2l0LWFuaW1hdGlvbjogc3BpbiAxLjVzIGxpbmVhciBpbmZpbml0ZTsKICAgICAgICAgICAgICAgIC13ZWJraXQtYmFja2ZhY2UtdmlzaWJpbGl0eTogaGlkZGVuOwogICAgICAgICAgICAgICAgYW5pbWF0aW9uOiBzcGluIDEuNXMgbGluZWFyIGluZmluaXRlOwogICAgICAgICAgICB9CiAgICAgICAgXV0+PC9zdHlsZT4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJvdXRlciI+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwwQzIyLjIwNTgsMCAyMy45OTM5LDEuNzg4MTMgMjMuOTkzOSwzLjk5MzlDMjMuOTkzOSw2LjE5OTY4IDIyLjIwNTgsNy45ODc4MSAyMCw3Ljk4NzgxQzE3Ljc5NDIsNy45ODc4MSAxNi4wMDYxLDYuMTk5NjggMTYuMDA2MSwzLjk5MzlDMTYuMDA2MSwxLjc4ODEzIDE3Ljc5NDIsMCAyMCwwWiIgc3R5bGU9ImZpbGw6YmxhY2s7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNNS44NTc4Niw1Ljg1Nzg2QzcuNDE3NTgsNC4yOTgxNSA5Ljk0NjM4LDQuMjk4MTUgMTEuNTA2MSw1Ljg1Nzg2QzEzLjA2NTgsNy40MTc1OCAxMy4wNjU4LDkuOTQ2MzggMTEuNTA2MSwxMS41MDYxQzkuOTQ2MzgsMTMuMDY1OCA3LjQxNzU4LDEzLjA2NTggNS44NTc4NiwxMS41MDYxQzQuMjk4MTUsOS45NDYzOCA0LjI5ODE1LDcuNDE3NTggNS44NTc4Niw1Ljg1Nzg2WiIgc3R5bGU9ImZpbGw6cmdiKDIxMCwyMTAsMjEwKTsiLz4KICAgICAgICA8L2c+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwzMi4wMTIyQzIyLjIwNTgsMzIuMDEyMiAyMy45OTM5LDMzLjgwMDMgMjMuOTkzOSwzNi4wMDYxQzIzLjk5MzksMzguMjExOSAyMi4yMDU4LDQwIDIwLDQwQzE3Ljc5NDIsNDAgMTYuMDA2MSwzOC4yMTE5IDE2LjAwNjEsMzYuMDA2MUMxNi4wMDYxLDMzLjgwMDMgMTcuNzk0MiwzMi4wMTIyIDIwLDMyLjAxMjJaIiBzdHlsZT0iZmlsbDpyZ2IoMTMwLDEzMCwxMzApOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksMjguNDkzOUMzMC4wNTM2LDI2LjkzNDIgMzIuNTgyNCwyNi45MzQyIDM0LjE0MjEsMjguNDkzOUMzNS43MDE5LDMwLjA1MzYgMzUuNzAxOSwzMi41ODI0IDM0LjE0MjEsMzQuMTQyMUMzMi41ODI0LDM1LjcwMTkgMzAuMDUzNiwzNS43MDE5IDI4LjQ5MzksMzQuMTQyMUMyNi45MzQyLDMyLjU4MjQgMjYuOTM0MiwzMC4wNTM2IDI4LjQ5MzksMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxMDEsMTAxLDEwMSk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMy45OTM5LDE2LjAwNjFDNi4xOTk2OCwxNi4wMDYxIDcuOTg3ODEsMTcuNzk0MiA3Ljk4NzgxLDIwQzcuOTg3ODEsMjIuMjA1OCA2LjE5OTY4LDIzLjk5MzkgMy45OTM5LDIzLjk5MzlDMS43ODgxMywyMy45OTM5IDAsMjIuMjA1OCAwLDIwQzAsMTcuNzk0MiAxLjc4ODEzLDE2LjAwNjEgMy45OTM5LDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoMTg3LDE4NywxODcpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTUuODU3ODYsMjguNDkzOUM3LjQxNzU4LDI2LjkzNDIgOS45NDYzOCwyNi45MzQyIDExLjUwNjEsMjguNDkzOUMxMy4wNjU4LDMwLjA1MzYgMTMuMDY1OCwzMi41ODI0IDExLjUwNjEsMzQuMTQyMUM5Ljk0NjM4LDM1LjcwMTkgNy40MTc1OCwzNS43MDE5IDUuODU3ODYsMzQuMTQyMUM0LjI5ODE1LDMyLjU4MjQgNC4yOTgxNSwzMC4wNTM2IDUuODU3ODYsMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxNjQsMTY0LDE2NCk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMzYuMDA2MSwxNi4wMDYxQzM4LjIxMTksMTYuMDA2MSA0MCwxNy43OTQyIDQwLDIwQzQwLDIyLjIwNTggMzguMjExOSwyMy45OTM5IDM2LjAwNjEsMjMuOTkzOUMzMy44MDAzLDIzLjk5MzkgMzIuMDEyMiwyMi4yMDU4IDMyLjAxMjIsMjBDMzIuMDEyMiwxNy43OTQyIDMzLjgwMDMsMTYuMDA2MSAzNi4wMDYxLDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoNzQsNzQsNzQpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksNS44NTc4NkMzMC4wNTM2LDQuMjk4MTUgMzIuNTgyNCw0LjI5ODE1IDM0LjE0MjEsNS44NTc4NkMzNS43MDE5LDcuNDE3NTggMzUuNzAxOSw5Ljk0NjM4IDM0LjE0MjEsMTEuNTA2MUMzMi41ODI0LDEzLjA2NTggMzAuMDUzNiwxMy4wNjU4IDI4LjQ5MzksMTEuNTA2MUMyNi45MzQyLDkuOTQ2MzggMjYuOTM0Miw3LjQxNzU4IDI4LjQ5MzksNS44NTc4NloiIHN0eWxlPSJmaWxsOnJnYig1MCw1MCw1MCk7Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K);background-size:15px;background-position:center;background-repeat:no-repeat}.design-control input:not(:checked)+label span{opacity:0.8}.design-control input:not(:checked)+label span:hover{opacity:1}.design-control input:checked+label img{-webkit-box-shadow:0 0 0 2px #007cba;box-shadow:0 0 0 2px #007cba}.design-panel .components-panel__arrow{top:22px !important}.design-panel .components-panel__body-toggle img{display:block;margin-top:10px;border-radius:4px}.design-panel.is-opened .components-panel__body-toggle img{display:none}.design-panel.design-panel-lite .design-control label span.is-pro{background-image:url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KPHBhdGggZD0iTTE0IDloMWMwLjU1IDAgMSAwLjQ1IDEgMXY3YzAgMC41NS0wLjQ1IDEtMSAxaC0xMGMtMC41NSAwLTEtMC40NS0xLTF2LTdjMC0wLjU1IDAuNDUtMSAxLTFoMXYtM2MwLTIuMjEgMS43OS00IDQtNHM0IDEuNzkgNCA0djN6TTEyIDl2LTNjMC0xLjEtMC45LTItMi0ycy0yIDAuOS0yIDJ2M2g0ek0xMSAxNmwtMC4zNi0yLjE1YzAuNTEtMC4yNCAwLjg2LTAuNzUgMC44Ni0xLjM1IDAtMC44My0wLjY3LTEuNS0xLjUtMS41cy0xLjUgMC42Ny0xLjUgMS41YzAgMC42IDAuMzUgMS4xMSAwLjg2IDEuMzVsLTAuMzYgMi4xNWgyeiI+PC9wYXRoPgo8L3N2Zz4=);background-size:25px;cursor:help}.design-panel.design-panel-lite .design-control label span.is-pro img{opacity:0.5 !important}
5
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
6
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
7
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
8
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
9
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}[data-align="full"] div.ugb-cta{border-radius:0 !important}
10
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
11
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
12
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
13
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
14
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
15
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
16
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-image-box a{pointer-events:none}.ugb-image-box h4,.ugb-image-box p{pointer-events:all !important}
17
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
18
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}form.ugb-video-popup-link{-ms-flex-wrap:wrap;flex-wrap:wrap;margin:5px auto}form.ugb-video-popup-link>svg,form.ugb-video-popup-link>button{-ms-flex-negative:0;flex-shrink:0}form.ugb-video-popup-link .editor-url-input{-ms-flex:1;flex:1}form.ugb-video-popup-link>p{width:100%;-ms-flex-positive:1;flex-grow:1;font-size:.8em;margin:0 0 0 30px}.ugb-video-popup-link .ugb-video-popup-link-desc{text-align:center;margin:0}
19
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.edit-post-visual-editor .ugb-card{margin:0 !important}.edit-post-visual-editor .ugb-card .ugb-card-image-container{padding:0}.edit-post-visual-editor .ugb-card.has-image button{width:100%;height:300px;padding:0}
20
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature-grid [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature-grid"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}.ugb-feature-grid.columns-1>*:nth-child(2),.ugb-feature-grid.columns-1>*:nth-child(3){display:none}.ugb-feature-grid.columns-2>*:nth-child(3){display:none}
21
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-icon-list-color-picker{border-top:none !important}.ugb-icon-list-color-picker .components-panel__body-title{display:none !important}.ugb-icon-list-color-picker .component-color-indicator{vertical-align:bottom !important}.ugb-icon-list ul{list-style:none !important}
22
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}[data-align="full"] .ugb-feature.ugb-has-background{border-radius:0 !important}[data-align="full"] .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) .ugb-button[data-is-placeholder-visible="true"]{display:none}
 
 
 
1
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.wp-admin .ugb-has-background,.wp-admin .ugb-has-background:before{-webkit-transition:color 0.2s ease-in-out,opacity 0.2s ease-in-out,background-color 0.2s ease-in-out,height 0.2s ease-in-out,width 0.2s ease-in-out,padding 0.2s ease-in-out,margin 0.2s ease-in-out,-webkit-transform 0.2s ease-in-out;transition:color 0.2s ease-in-out,opacity 0.2s ease-in-out,background-color 0.2s ease-in-out,height 0.2s ease-in-out,width 0.2s ease-in-out,padding 0.2s ease-in-out,margin 0.2s ease-in-out,-webkit-transform 0.2s ease-in-out;-o-transition:color 0.2s ease-in-out,opacity 0.2s ease-in-out,background-color 0.2s ease-in-out,height 0.2s ease-in-out,width 0.2s ease-in-out,transform 0.2s ease-in-out,padding 0.2s ease-in-out,margin 0.2s ease-in-out;transition:color 0.2s ease-in-out,opacity 0.2s ease-in-out,background-color 0.2s ease-in-out,height 0.2s ease-in-out,width 0.2s ease-in-out,transform 0.2s ease-in-out,padding 0.2s ease-in-out,margin 0.2s ease-in-out;transition:color 0.2s ease-in-out,opacity 0.2s ease-in-out,background-color 0.2s ease-in-out,height 0.2s ease-in-out,width 0.2s ease-in-out,transform 0.2s ease-in-out,padding 0.2s ease-in-out,margin 0.2s ease-in-out,-webkit-transform 0.2s ease-in-out}.wp-admin [class*="ugb-"],.wp-admin [class*="ugb-"] *{-webkit-transition:color 0.2s ease-in-out,opacity 0.2s ease-in-out,background-color 0.2s ease-in-out,height 0.2s ease-in-out,width 0.2s ease-in-out,padding 0.2s ease-in-out,margin 0.2s ease-in-out,-webkit-transform 0.2s ease-in-out;transition:color 0.2s ease-in-out,opacity 0.2s ease-in-out,background-color 0.2s ease-in-out,height 0.2s ease-in-out,width 0.2s ease-in-out,padding 0.2s ease-in-out,margin 0.2s ease-in-out,-webkit-transform 0.2s ease-in-out;-o-transition:color 0.2s ease-in-out,opacity 0.2s ease-in-out,background-color 0.2s ease-in-out,height 0.2s ease-in-out,width 0.2s ease-in-out,transform 0.2s ease-in-out,padding 0.2s ease-in-out,margin 0.2s ease-in-out;transition:color 0.2s ease-in-out,opacity 0.2s ease-in-out,background-color 0.2s ease-in-out,height 0.2s ease-in-out,width 0.2s ease-in-out,transform 0.2s ease-in-out,padding 0.2s ease-in-out,margin 0.2s ease-in-out;transition:color 0.2s ease-in-out,opacity 0.2s ease-in-out,background-color 0.2s ease-in-out,height 0.2s ease-in-out,width 0.2s ease-in-out,transform 0.2s ease-in-out,padding 0.2s ease-in-out,margin 0.2s ease-in-out,-webkit-transform 0.2s ease-in-out}
2
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}
3
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-divider hr{border:0 !important}
4
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.wp-ugb-button__link{background:#fff;width:280px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}
5
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.design-control input{position:absolute;opacity:0}.design-control .components-base-control__field{margin-left:-5px;margin-right:-5px}.design-control .components-radio-control__option{display:inline-block;width:50%;text-align:center}.design-control label>span{padding:5px;display:block;border-radius:8px}.design-control label>span>img{border-radius:4px}.design-control input:checked+label>span{-webkit-box-shadow:inset 0 0 0 2px #888;box-shadow:inset 0 0 0 2px #888}.design-control .is-pro:hover{cursor:help}.design-control .is-pro img{opacity:.4}.design-control .design-label svg{height:12px;margin:0 0 0 5px;fill:#ffad00}
6
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}
7
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}
8
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}[data-align="full"] .ugb-blockquote.ugb-has-background{margin-left:0;margin-right:0;padding-left:10vw;padding-right:10vw}[data-align="full"] .ugb-blockquote.ugb-has-background:after{left:calc(10vw - 70px)}
9
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}[data-align="full"] .ugb-has-background{border-radius:0 !important}
10
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-image-control .ugb-placeholder{height:150px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background:#f1f1f1;margin-bottom:12px}.ugb-image-control .ugb-placeholder svg{height:50px;fill:#ddd}.ugb-image-control .ugb-placeholder,.ugb-image-control .ugb-image-preview{border-radius:4px;cursor:pointer;margin-top:.6rem}.ugb-image-control .ugb-image-preview-wrapper{position:relative}.ugb-image-control .ugb-image-preview-wrapper svg{stroke:rgba(0,0,0,0.3);stroke-width:1px;fill:#fff}.ugb-image-control .ugb-image-preview-remove{background:none !important;color:#ddd;border:none;position:absolute;top:20px;right:4px;cursor:not-allowed}
11
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}
12
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}[data-align="full"] div.ugb-cta{border-radius:0 !important}
13
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}
14
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}
15
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}
16
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}
17
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}
18
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}
19
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-image-box a{pointer-events:none}.ugb-image-box h4,.ugb-image-box p{pointer-events:all !important}
20
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-countup [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/count-up"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}.ugb-countup.columns-1>*:nth-child(2),.ugb-countup.columns-1>*:nth-child(3),.ugb-countup.columns-1>*:nth-child(4){display:none}.ugb-countup.columns-2>*:nth-child(3),.ugb-countup.columns-2>*:nth-child(4){display:none}.ugb-countup.columns-3>*:nth-child(4){display:none}
21
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}form.ugb-video-popup-link{-ms-flex-wrap:wrap;flex-wrap:wrap;margin:5px auto}form.ugb-video-popup-link>svg,form.ugb-video-popup-link>button{-ms-flex-negative:0;flex-shrink:0}form.ugb-video-popup-link .editor-url-input{-ms-flex:1;flex:1}form.ugb-video-popup-link>p{width:100%;-ms-flex-positive:1;flex-grow:1;font-size:.8em;margin:0 0 0 30px}.ugb-video-popup-link .ugb-video-popup-link-desc{text-align:center;margin:0}
22
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.edit-post-visual-editor .ugb-card{margin:0 !important}.edit-post-visual-editor .ugb-card .ugb-card-image-container{padding:0}.edit-post-visual-editor .ugb-card.has-image button{width:100%;height:300px;padding:0}
23
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-feature-grid [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature-grid"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}.ugb-feature-grid.columns-1>*:nth-child(2),.ugb-feature-grid.columns-1>*:nth-child(3){display:none}.ugb-feature-grid.columns-2>*:nth-child(3){display:none}
24
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-icon-list-color-picker{border-top:none !important}.ugb-icon-list-color-picker .components-panel__body-title{display:none !important}.ugb-icon-list-color-picker .component-color-indicator{vertical-align:bottom !important}.ugb-icon-list ul{list-style:none !important}
25
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}[data-align="full"] .ugb-feature.ugb-has-background{border-radius:0 !important}[data-align="full"] .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) .ugb-button[data-is-placeholder-visible="true"]{display:none}
dist/blocks.style.build.css CHANGED
@@ -1,21 +1,22 @@
1
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
2
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-divider{border:0;height:1px;width:100%;background-color:transparent;margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-divider>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-divider>*:first-child{margin-top:0 !important}.wp-block-ugb-divider>*:last-child{margin-bottom:0 !important}.wp-block-ugb-divider hr{background-color:#dddddd;border:0 !important;padding:0 !important}
3
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-button{margin-top:1.5em;margin-bottom:1.5em}.ugb-button>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-button>*:first-child{margin-top:0 !important}.ugb-button>*:last-child{margin-bottom:0 !important}.ugb-button{border:none;border-radius:4px;-webkit-box-shadow:none !important;box-shadow:none !important;cursor:pointer;opacity:1;background:var(--s-primary-color, #2091e1);-webkit-transition:opacity .2s ease-in-out;-o-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;box-shadow:none !important;padding-bottom:calc(.375em - 1px);padding-left:.75em;padding-right:.75em;padding-top:calc(.375em - 1px);font-size:1em;line-height:1.5 !important;-ms-flex-align:center;align-items:center;font-size:1em}.ugb-button .ugb-button-inner{text-decoration:none !important;white-space:nowrap;display:inline-block;color:#fff;-webkit-box-shadow:none !important;box-shadow:none !important;margin:0 !important;padding:0 !important}.ugb-button:hover{opacity:.85;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-button .ugb-button-inner:hover{color:white}.ugb-button-small.ugb-button .ugb-button-inner{font-size:.75em}.ugb-button-medium.ugb-button{padding-left:1.25em;padding-right:1.25em}.ugb-button-medium.ugb-button .ugb-button-inner{font-size:1.25em}.ugb-button-large.ugb-button{padding-left:1.5em;padding-right:1.5em}.ugb-button-large.ugb-button .ugb-button-inner{font-size:1.5em}.ugb-button-left{margin-right:auto;display:table}.ugb-button-center{margin-left:auto;margin-right:auto;display:table}.ugb-button-right{margin-left:auto;display:table}.ugb-button-full{display:block;text-align:center}
4
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-button.ugb-ghost-button{background-color:transparent;border:2px solid var(--s-primary-color, #2091e1);padding-left:1.25em;padding-right:1.25em}.ugb-button.ugb-ghost-button .ugb-button-inner{color:var(--s-primary-color, #2091e1)}.ugb-button.ugb-ghost-button:hover{opacity:.85;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-button.ugb-ghost-button:hover .ugb-button-inner{color:var(--s-primary-color, #2091e1)}
5
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-notification{position:relative}.wp-ugb-notif{border-radius:4px;color:#ffffff;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;padding:35px}.wp-ugb-notif>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-ugb-notif>*:first-child{margin-top:0 !important}.wp-ugb-notif>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.wp-ugb-notif{padding:40px 23.33333px}}@media screen and (max-width: 600px){.wp-ugb-notif{padding:35px 17.5px}}.notif-success{background-color:#40ba7b}.notif-error{background-color:#d9534f}.notif-warning{background-color:#ffdd57;color:#424242}.notif-info{background-color:#2091e1}.ugb-notification,.wp-block-ugb-notification{position:relative}.ugb-notification .close-button,.wp-block-ugb-notification .close-button{position:absolute;right:0;z-index:2;margin-right:1.5rem;margin-top:1.3rem;font-size:8px;padding-top:.3rem;cursor:pointer}.ugb-notification .close-button svg,.wp-block-ugb-notification .close-button svg{width:13px;height:auto}.ugb-notification.dismissible-true .wp-ugb-notif{padding-right:60px}.ugb-notification.type-success svg,.ugb-notification.type-error svg,.ugb-notification.type-info svg{fill:#ffffff}.ugb-notification.type-warning svg{fill:#424242}.ugb-notification.dismissible-true[data-uid]{display:none}
6
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-blockquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;padding:35px;margin-left:35px;margin-right:35px;font-style:italic;text-align:inherit;background:transparent;position:relative;overflow:visible;--quote-color: rgba(129, 141, 165, 0.32)}.ugb-blockquote>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-blockquote>*:first-child{margin-top:0 !important}.ugb-blockquote>*:last-child{margin-bottom:0 !important}.ugb-blockquote p{margin:0}.ugb-blockquote:after,.ugb-blockquote:before,.ugb-blockquote p:after,.ugb-blockquote p:before{display:none}.ugb-blockquote:before{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:100px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}
7
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}blockquote.ugb-pullquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;text-align:center;padding:60px;position:relative;overflow:hidden;--quote-color: rgba(129, 141, 165, .08)}blockquote.ugb-pullquote>*{margin-top:0 !important;margin-bottom:1rem !important}blockquote.ugb-pullquote>*:first-child{margin-top:0 !important}blockquote.ugb-pullquote>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){blockquote.ugb-pullquote{padding:40px 23.33333px}}@media screen and (max-width: 600px){blockquote.ugb-pullquote{padding:35px 17.5px}}blockquote.ugb-pullquote:after,blockquote.ugb-pullquote:before,blockquote.ugb-pullquote p:after,blockquote.ugb-pullquote p:before{display:none}blockquote.ugb-pullquote:before{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:200px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}
8
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}div.ugb-cta{text-align:center;background-color:#f4f4f4;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}div.ugb-cta>*{margin-top:0 !important;margin-bottom:1rem !important}div.ugb-cta>*:first-child{margin-top:0 !important}div.ugb-cta>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){div.ugb-cta{padding:40px 23.33333px}}@media screen and (max-width: 600px){div.ugb-cta{padding:35px 17.5px}}.wp-block-ugb-button .wp-ugb-button:hover{color:white}
9
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-testimonial{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-testimonial>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>*:first-child{margin-top:0 !important}.ugb-testimonial>*:last-child{margin-bottom:0 !important}.ugb-testimonial .testimonial-image{height:75px;width:75px;background-size:cover;background-position:center;border-radius:100%;margin:0 auto 1.3rem}.ugb-testimonial .quote-icon{height:75px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ugb-testimonial .quote-icon svg{height:50px;width:auto;fill:#e6e6e6}.ugb-testimonial>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-testimonial>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>div>*:first-child{margin-top:0 !important}.ugb-testimonial>div>*:last-child{margin-bottom:0 !important}.ugb-testimonial>div p{text-align:center}.ugb-testimonial>div,.ugb-testimonial>div:first-child,.ugb-testimonial>div:last-child{margin:17.5px !important}.ugb-testimonial h4{margin:0 0 .5rem !important;padding-top:0}.ugb-testimonial .ugb-testimonial-position,.ugb-testimonial .ugb-testimonial-position-two,.ugb-testimonial .ugb-testimonial-position-three{opacity:.3;font-size:.75em;margin:0 0 1rem;text-transform:uppercase}.ugb-testimonial .ugb-testimonial-body,.ugb-testimonial .ugb-testimonial-body-two,.ugb-testimonial .ugb-testimonial-body-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-testimonial.column-1 .ugb-testimonial-column-two,.ugb-testimonial.column-1 .ugb-testimonial-column-three{display:none}.ugb-testimonial.column-2 .ugb-testimonial-column-three{display:none}
10
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-team-member{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-team-member>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>*:first-child{margin-top:0 !important}.ugb-team-member>*:last-child{margin-bottom:0 !important}.ugb-team-member .team-member-image{width:300px;height:300px;background-size:cover;background-position:center;margin:0 auto 1.3rem}.ugb-team-member.image-circle .team-member-image{border-radius:100%}.ugb-team-member.column-2 .team-member-image{width:220px;height:220px}.ugb-team-member.column-3 .team-member-image{width:150px;height:150px}.ugb-team-member>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-team-member>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>div>*:first-child{margin-top:0 !important}.ugb-team-member>div>*:last-child{margin-bottom:0 !important}.ugb-team-member>div p{text-align:center}.ugb-team-member>div,.ugb-team-member>div:first-child,.ugb-team-member>div:last-child{margin:17.5px !important}.ugb-team-member h4{margin:0 0 .5rem !important;padding-top:0}.ugb-team-member .ugb-team-member-position{margin:0 0 1rem}.ugb-team-member .ugb-team-member-position{opacity:.3;font-size:.75em;text-transform:uppercase}.ugb-team-member .ugb-team-member-des,.ugb-team-member .ugb-team-member-des-two,.ugb-team-member .ugb-team-member-des-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-team-member.column-1 .ugb-team-member-column-two,.ugb-team-member.column-1 .ugb-team-member-column-three{display:none}.ugb-team-member.column-2 .ugb-team-member-column-three{display:none}.team-member-social a{color:#000000;opacity:.30;padding:0 3px}
11
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-expand{margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-expand>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-expand>*:first-child{margin-top:0 !important}.wp-block-ugb-expand>*:last-child{margin-bottom:0 !important}.wp-block-ugb-expand p:last-child{margin-bottom:0}.wp-block-ugb-expand.ugb-more .ugb-expand-less-text,.wp-block-ugb-expand.ugb-more .ugb-expand-more{display:none}.wp-block-ugb-expand.ugb-more .ugb-expand-more-text,.wp-block-ugb-expand.ugb-more .ugb-expand-less{display:block !important}
12
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-number-box{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-number-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-number-box>*:first-child{margin-top:0 !important}.ugb-number-box>*:last-child{margin-bottom:0 !important}.ugb-number-box span,.ugb-number-box .blocks-rich-text span{background-color:var(--s-primary-color, #ddd);color:#fff;border-radius:100%;font-size:3em;display:block;padding:0;text-align:center;overflow:hidden;margin:0 auto;height:2.5em;width:2.5em;line-height:2.5em !important}.ugb-number-box>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;-ms-flex:1;flex:1;min-width:250px}.ugb-number-box>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-number-box>div>*:first-child{margin-top:0 !important}.ugb-number-box>div>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-number-box>div{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-number-box>div{padding:35px 17.5px}}.ugb-number-box>div,.ugb-number-box>div:first-child,.ugb-number-box>div:last-child{margin:17.5px !important}.ugb-number-box>div p{text-align:center}.ugb-number-box.column-1>div:nth-child(2),.ugb-number-box.column-1>div:nth-child(3){display:none}.ugb-number-box.column-2>div:nth-child(3){display:none}
13
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-pricing-box{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-pricing-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-pricing-box>*:first-child{margin-top:0 !important}.ugb-pricing-box>*:last-child{margin-bottom:0 !important}.ugb-pricing-box>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;-ms-flex:1;flex:1;min-width:250px}.ugb-pricing-box>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-pricing-box>div>*:first-child{margin-top:0 !important}.ugb-pricing-box>div>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-pricing-box>div{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-pricing-box>div{padding:35px 17.5px}}.ugb-pricing-box>div,.ugb-pricing-box>div:first-child,.ugb-pricing-box>div:last-child{margin:17.5px !important}.ugb-pricing-box h3{line-height:100% !important}.ugb-pricing-box .ugb-pricing-box-pricing{font-size:3.5em;line-height:100% !important}.ugb-pricing-box .ugb-pricing-box-per-month-label{font-size:.75em;opacity:.3;text-transform:uppercase;line-height:100% !important}.blocks-button__inline-link.pricing-box{margin:5px auto 0px auto}.ugb-pricing-box.column-1 .ugb-pricing-box-column-two,.ugb-pricing-box.column-1 .ugb-pricing-box-column-three{display:none}.ugb-pricing-box.column-2 .ugb-pricing-box-column-three{display:none}
14
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-header.has-image{padding:0}.ugb-header.has-image .ugb-header-section{padding:9.5rem 4rem;background-size:cover;background-repeat:no-repeat;background-position:center}.ugb-header{margin-top:1.5em;margin-bottom:1.5em;text-align:center;padding:9.5rem 4rem;position:relative}.ugb-header>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-header>*:first-child{margin-top:0 !important}.ugb-header>*:last-child{margin-bottom:0 !important}.ugb-header .ugb-header-overlay{position:absolute;top:0;left:0;right:0;bottom:0;margin:0 !important}.ugb-header .header-image{height:400px;width:600px;background-size:cover;background-repeat:no-repeat;background-position:center}.ugb-header .wp-block-button.ugb-button-center{left:0;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);margin-bottom:1.5em}.ugb-header .wp-block-button.ugb-button-right{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);left:50%;margin-bottom:1.5em}.ugb-header .wp-block-button.ugb-button-left{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);left:-50%;margin-bottom:1.5em}.ugb-header .ugb-header-title{margin-bottom:1rem;padding-bottom:0;margin-top:0;position:relative}.ugb-header .ugb-header-subtitle{margin-bottom:2rem;padding-bottom:0;position:relative}.ugb-header button.components-button{margin-bottom:.5em;position:relative}.ugb-header .ugb-button{position:relative}.ugb-header-overlay.overlay-opacity.overlay-opacity-1{opacity:.1}.ugb-header-overlay.overlay-opacity.overlay-opacity-2{opacity:.2}.ugb-header-overlay.overlay-opacity.overlay-opacity-3{opacity:.3}.ugb-header-overlay.overlay-opacity.overlay-opacity-4{opacity:.4}.ugb-header-overlay.overlay-opacity.overlay-opacity-5{opacity:.5}.ugb-header-overlay.overlay-opacity.overlay-opacity-6{opacity:.6}.ugb-header-overlay.overlay-opacity.overlay-opacity-7{opacity:.7}.ugb-header-overlay.overlay-opacity.overlay-opacity-8{opacity:.8}.ugb-header-overlay.overlay-opacity.overlay-opacity-9{opacity:.9}.ugb-header-overlay.overlay-opacity.overlay-opacity-10{opacity:1}.wp-block-ugb-header.has-no-content{display:none}
15
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-image-box{background-size:cover;background-position:center;padding:2rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;overflow:hidden;background-color:#999;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;margin-left:auto;margin-right:auto}.ugb-image-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-image-box>*:first-child{margin-top:0 !important}.ugb-image-box>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-image-box{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-image-box{padding:35px 17.5px}}.ugb-image-box *{-webkit-transition:all .4s ease-in-out !important;-o-transition:all .4s ease-in-out !important;transition:all .4s ease-in-out !important;border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-image-box button.components-button{z-index:3;margin-bottom:1em}.ugb-image-box a{position:absolute;z-index:2;top:0;left:0;right:0;bottom:0;opacity:0;margin:0 !important}.ugb-image-box h4,.ugb-image-box p{z-index:3;pointer-events:none}.ugb-image-box h4{margin:0 0 0.5em !important}.ugb-image-box p{margin:0 !important;opacity:0;-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}.ugb-image-box:hover a{opacity:.7}.ugb-image-box:hover p{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}.ugb-image-box.full-width{width:100% !important}.wp-block-ugb-image-box.has-no-content{display:none}
16
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-countup{text-align:center;margin-bottom:1em;margin-top:1.5em;margin-bottom:1.5em}.ugb-countup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-countup>*:first-child{margin-top:0 !important}.ugb-countup>*:last-child{margin-bottom:0 !important}.ugb-countup h4,.ugb-countup div,.ugb-countup p{margin:0 !important;line-height:1em}.ugb-countup h4{margin-bottom:1em !important}.ugb-countup p{margin-top:1em !important}.ugb-countup .ugb-countup-hide{visibility:hidden}
17
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.video-popup-image{height:220px;width:220px;background-position:center;background-size:cover;margin-bottom:10px}.ugb-video-popup{position:relative;width:100%;max-width:600px;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;margin-left:auto;margin-right:auto;padding:0;overflow:hidden}.ugb-video-popup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-video-popup>*:first-child{margin-top:0 !important}.ugb-video-popup>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-video-popup{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-video-popup{padding:35px 17.5px}}.ugb-video-popup .ugb-video-preview,.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay,.ugb-video-popup .ugb-play-button{position:absolute;top:0;left:0;right:0;bottom:0}.ugb-video-popup .ugb-video-preview{margin:0 !important;background-size:cover;background-position:center;opacity:.4;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;z-index:1}.ugb-video-popup:hover .ugb-video-preview{opacity:.5}.ugb-video-popup .ugb-video-wrapper{position:relative;width:100%;padding-bottom:56.25%;border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay{z-index:3;-webkit-box-shadow:none !important;box-shadow:none !important;background:transparent !important;display:block !important}.ugb-video-popup .ugb-play-button{z-index:2;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}.ugb-video-popup svg{fill:#fff !important}.ugb-video-popup button.components-button.button{position:absolute;z-index:4;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);top:30%}.ugb-video-popup button.components-button.button:active{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.ugb-video-popup-link .editor-url-input input[type=text]{width:auto !important}
18
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-card{border-radius:4px;margin:30px 0;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}.ugb-card>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-card>*:first-child{margin-top:0 !important}.ugb-card>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-card{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-card{padding:35px 17.5px}}.ugb-card.has-image .ugb-card-image-container{height:300px;background-size:cover;background-position:center;border-top-right-radius:12px;border-top-left-radius:12px;padding-top:0px;margin:-60px -35px 35px !important;width:calc(100% + 35px * 2)}.ugb-card.has-image .ugb-card-image-container+*:not(.wp-ugb-button){margin-top:0 !important;padding-top:0 !important}
19
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature-grid{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:0 -17.5px}.ugb-feature-grid>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid>*:first-child{margin-top:0 !important}.ugb-feature-grid>*:last-child{margin-bottom:0 !important}.ugb-feature-grid>div{-ms-flex:1;flex:1}.ugb-feature-grid>div,.ugb-feature-grid>div:first-child,.ugb-feature-grid>div:last-child{margin:17.5px !important}.ugb-feature-grid .ugb-feature-grid-item{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}.ugb-feature-grid .ugb-feature-grid-item>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid .ugb-feature-grid-item>*:first-child{margin-top:0 !important}.ugb-feature-grid .ugb-feature-grid-item>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-feature-grid .ugb-feature-grid-item{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-feature-grid .ugb-feature-grid-item{padding:35px 17.5px}}@media screen and (max-width: 960px){.ugb-feature-grid.columns-3 .ugb-feature-grid-item>img{width:100% !important}}@media screen and (max-width: 600px){.ugb-feature-grid-item>img{max-width:30vw}.ugb-feature-grid{-ms-flex-direction:column;flex-direction:column}}
20
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-icon-list{margin:0 0 1.5em 0 !important;padding:0 !important;list-style:none !important}.ugb-icon-list li:before{content:'';display:inline-block;vertical-align:middle;height:var(--icon-size, 20px);width:var(--icon-size, 20px);margin-right:1em;background-image:var(--icon);background-size:cover;background-position:center}.ugb-icon-list li{margin-top:0 !important;margin-bottom:var(--gap, 16) !important;text-indent:calc(var(--icon-size, 20px) * -1 - 1em) !important;padding-left:calc(var(--icon-size, 20px) + 1em) !important}.ugb-icon-list li:last-child{margin-bottom:0}.ugb-icon-list.column-2{-webkit-columns:2;columns:2}.ugb-icon-list.column-3{-webkit-columns:3;columns:3}.ugb-icon-list.column-2 li,.ugb-icon-list.column-3 li{-webkit-column-break-inside:avoid;break-inside:avoid}
21
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature{margin-top:1.5em;margin-bottom:1.5em}.ugb-feature>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature>*:first-child{margin-top:0 !important}.ugb-feature>*:last-child{margin-bottom:0 !important}.ugb-feature .ugb-feature-wrapper{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-feature .ugb-feature-wrapper>div{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;margin-top:1.5em;margin-bottom:1.5em;margin:0 17.5px}.ugb-feature .ugb-feature-wrapper>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature .ugb-feature-wrapper>div>*:first-child{margin-top:0 !important}.ugb-feature .ugb-feature-wrapper>div>*:last-child{margin-bottom:0 !important}.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.ugb-feature .ugb-feature-image-side{-ms-flex-align:center;align-items:center}.ugb-feature .ugb-feature-image-side img{max-width:var(--image-size, 400px);width:var(--image-size, 400px)}.ugb-feature.ugb-content-left{text-align:left}.ugb-feature.ugb-content-center{text-align:center}.ugb-feature.ugb-content-right{text-align:right}.ugb-feature.alignfull .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature.ugb-has-background{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}@media screen and (max-width: 782px){.ugb-feature.ugb-has-background{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-feature.ugb-has-background{padding:35px 17.5px}}.ugb-feature.alignfull.ugb-has-background{border-radius:0;margin-top:0;margin-bottom:0}@media screen and (max-width: 768px){.ugb-feature .ugb-feature-wrapper,.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.ugb-feature .ugb-feature-wrapper{text-align:center}.ugb-feature .ugb-feature-wrapper>div:first-child{margin-top:60px}.ugb-feature .ugb-feature-wrapper .ugb-feature-image-side img{width:60vw}.ugb-feature .ugb-button{margin:0 auto}}
 
1
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}
2
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.wp-block-ugb-divider{border:0;height:1px;width:100%;background-color:transparent;margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-divider>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-divider>*:first-child{margin-top:0 !important}.wp-block-ugb-divider>*:last-child{margin-bottom:0 !important}.wp-block-ugb-divider hr{background-color:#dddddd;border:0 !important;padding:0 !important}
3
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-button{margin-top:1.5em;margin-bottom:1.5em}.ugb-button>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-button>*:first-child{margin-top:0 !important}.ugb-button>*:last-child{margin-bottom:0 !important}.ugb-button{border:none;border-radius:4px;-webkit-box-shadow:none !important;box-shadow:none !important;cursor:pointer;opacity:1;background:var(--s-primary-color, #2091e1);-webkit-transition:opacity .2s ease-in-out;-o-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;box-shadow:none !important;padding-bottom:calc(.375em - 1px);padding-left:.75em;padding-right:.75em;padding-top:calc(.375em - 1px);font-size:1em;line-height:1.5 !important;-ms-flex-align:center;align-items:center;font-size:1em}.ugb-button .ugb-button-inner{text-decoration:none !important;white-space:nowrap;display:inline-block;color:#fff;-webkit-box-shadow:none !important;box-shadow:none !important;margin:0 !important;padding:0 !important}.ugb-button:hover{opacity:.85;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-button .ugb-button-inner:hover{color:white}.ugb-button-small.ugb-button .ugb-button-inner{font-size:.75em}.ugb-button-medium.ugb-button{padding-left:1.25em;padding-right:1.25em}.ugb-button-medium.ugb-button .ugb-button-inner{font-size:1.25em}.ugb-button-large.ugb-button{padding-left:1.5em;padding-right:1.5em}.ugb-button-large.ugb-button .ugb-button-inner{font-size:1.5em}.ugb-button-left{margin-right:auto;display:table}.ugb-button-center{margin-left:auto;margin-right:auto;display:table}.ugb-button-right{margin-left:auto;display:table}.ugb-button-full{display:block;text-align:center}
4
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-button.ugb-ghost-button{background-color:transparent;border:2px solid var(--s-primary-color, #2091e1);padding-left:1.25em;padding-right:1.25em}.ugb-button.ugb-ghost-button .ugb-button-inner{color:var(--s-primary-color, #2091e1)}.ugb-button.ugb-ghost-button:hover{opacity:.85;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-button.ugb-ghost-button:hover .ugb-button-inner{color:var(--s-primary-color, #2091e1)}
5
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.wp-block-ugb-notification{position:relative}.wp-ugb-notif{border-radius:4px;color:#ffffff;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px;padding:35px}.wp-ugb-notif>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-ugb-notif>*:first-child{margin-top:0 !important}.wp-ugb-notif>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.wp-ugb-notif{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.wp-ugb-notif{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.notif-success{background-color:#40ba7b}.notif-error{background-color:#d9534f}.notif-warning{background-color:#ffdd57;color:#424242}.notif-info{background-color:#2091e1}.ugb-notification,.wp-block-ugb-notification{position:relative}.ugb-notification .close-button,.wp-block-ugb-notification .close-button{position:absolute;right:0;z-index:2;margin-right:1.5rem;margin-top:1.3rem;font-size:8px;padding-top:.3rem;cursor:pointer}.ugb-notification .close-button svg,.wp-block-ugb-notification .close-button svg{width:13px;height:auto}.ugb-notification.dismissible-true .wp-ugb-notif{padding-right:60px}.ugb-notification.type-success svg,.ugb-notification.type-error svg,.ugb-notification.type-info svg{fill:#ffffff}.ugb-notification.type-warning svg{fill:#424242}.ugb-notification.dismissible-true[data-uid]{display:none}
6
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-blockquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;padding:35px;margin-left:35px;margin-right:35px;font-style:italic;text-align:inherit;background:transparent;position:relative;overflow:visible;--quote-color: rgba(129, 141, 165, 0.32)}.ugb-blockquote>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-blockquote>*:first-child{margin-top:0 !important}.ugb-blockquote>*:last-child{margin-bottom:0 !important}.ugb-blockquote p{margin:0}.ugb-blockquote:after,.ugb-blockquote:before,.ugb-blockquote p:after,.ugb-blockquote p:before{display:none}.ugb-blockquote:after{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:100px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}.ugb-blockquote.alignfull{padding-left:10vw;padding-right:10vw}.ugb-blockquote.alignfull:after{left:calc(10vw - 70px)}.ugb-blockquote.ugb-has-background:after{top:0;left:10px}
7
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-has-background{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px}@media screen and (max-width: 782px){.ugb-has-background{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-has-background{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.ugb-has-background-image{position:relative;background-size:cover;background-position:center}.ugb-has-background-image:before{display:block !important;content:'';position:absolute;z-index:1;top:0;right:0;left:0;bottom:0;background-color:var(--ugb-background-color, #fff)}.ugb-has-background-image>*{position:relative;z-index:2}.alignfull.ugb-has-background{border-radius:0;margin-top:0;margin-bottom:0}.ugb-has-background-opacity-0:before{opacity:0}.ugb-has-background-opacity-1:before{opacity:.1}.ugb-has-background-opacity-2:before{opacity:.2}.ugb-has-background-opacity-3:before{opacity:.3}.ugb-has-background-opacity-4:before{opacity:.4}.ugb-has-background-opacity-5:before{opacity:.5}.ugb-has-background-opacity-6:before{opacity:.6}.ugb-has-background-opacity-7:before{opacity:.7}.ugb-has-background-opacity-8:before{opacity:.8}.ugb-has-background-opacity-9:before{opacity:.9}.ugb-has-background-opacity-10:before{opacity:1}
8
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}blockquote.ugb-pullquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px;text-align:center;padding:60px;position:relative;overflow:hidden;--quote-color: rgba(129, 141, 165, .08)}blockquote.ugb-pullquote>*{margin-top:0 !important;margin-bottom:1rem !important}blockquote.ugb-pullquote>*:first-child{margin-top:0 !important}blockquote.ugb-pullquote>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){blockquote.ugb-pullquote{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){blockquote.ugb-pullquote{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}blockquote.ugb-pullquote:after,blockquote.ugb-pullquote:before,blockquote.ugb-pullquote p:after,blockquote.ugb-pullquote p:before{display:none}blockquote.ugb-pullquote:before{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:200px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}
9
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}div.ugb-cta{text-align:center;background-color:#f4f4f4;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px}div.ugb-cta>*{margin-top:0 !important;margin-bottom:1rem !important}div.ugb-cta>*:first-child{margin-top:0 !important}div.ugb-cta>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){div.ugb-cta{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){div.ugb-cta{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.wp-block-ugb-button .wp-ugb-button:hover{color:white}
10
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-testimonial{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-testimonial>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>*:first-child{margin-top:0 !important}.ugb-testimonial>*:last-child{margin-bottom:0 !important}.ugb-testimonial .testimonial-image{height:75px;width:75px;background-size:cover;background-position:center;border-radius:100%;margin:0 auto 1.3rem}.ugb-testimonial .quote-icon{height:75px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ugb-testimonial .quote-icon svg{height:50px;width:auto;fill:#e6e6e6}.ugb-testimonial>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-testimonial>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>div>*:first-child{margin-top:0 !important}.ugb-testimonial>div>*:last-child{margin-bottom:0 !important}.ugb-testimonial>div p{text-align:center}.ugb-testimonial>div,.ugb-testimonial>div:first-child,.ugb-testimonial>div:last-child{margin:17.5px !important}.ugb-testimonial h4{margin:0 0 .5rem !important;padding-top:0}.ugb-testimonial .ugb-testimonial-position,.ugb-testimonial .ugb-testimonial-position-two,.ugb-testimonial .ugb-testimonial-position-three{opacity:.3;font-size:.75em;margin:0 0 1rem;text-transform:uppercase}.ugb-testimonial .ugb-testimonial-body,.ugb-testimonial .ugb-testimonial-body-two,.ugb-testimonial .ugb-testimonial-body-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-testimonial.column-1 .ugb-testimonial-column-two,.ugb-testimonial.column-1 .ugb-testimonial-column-three{display:none}.ugb-testimonial.column-2 .ugb-testimonial-column-three{display:none}
11
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-team-member{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-team-member>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>*:first-child{margin-top:0 !important}.ugb-team-member>*:last-child{margin-bottom:0 !important}.ugb-team-member .team-member-image{width:300px;height:300px;background-size:cover;background-position:center;margin:0 auto 1.3rem}.ugb-team-member.image-circle .team-member-image{border-radius:100%}.ugb-team-member.column-2 .team-member-image{width:220px;height:220px}.ugb-team-member.column-3 .team-member-image{width:150px;height:150px}.ugb-team-member>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-team-member>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>div>*:first-child{margin-top:0 !important}.ugb-team-member>div>*:last-child{margin-bottom:0 !important}.ugb-team-member>div p{text-align:center}.ugb-team-member>div,.ugb-team-member>div:first-child,.ugb-team-member>div:last-child{margin:17.5px !important}.ugb-team-member h4{margin:0 0 .5rem !important;padding-top:0}.ugb-team-member .ugb-team-member-position{margin:0 0 1rem}.ugb-team-member .ugb-team-member-position{opacity:.3;font-size:.75em;text-transform:uppercase}.ugb-team-member .ugb-team-member-des,.ugb-team-member .ugb-team-member-des-two,.ugb-team-member .ugb-team-member-des-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-team-member.column-1 .ugb-team-member-column-two,.ugb-team-member.column-1 .ugb-team-member-column-three{display:none}.ugb-team-member.column-2 .ugb-team-member-column-three{display:none}.team-member-social a{color:#000000;opacity:.30;padding:0 3px}
12
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.wp-block-ugb-expand{margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-expand>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-expand>*:first-child{margin-top:0 !important}.wp-block-ugb-expand>*:last-child{margin-bottom:0 !important}.wp-block-ugb-expand p:last-child{margin-bottom:0}.wp-block-ugb-expand.ugb-more .ugb-expand-less-text,.wp-block-ugb-expand.ugb-more .ugb-expand-more{display:none}.wp-block-ugb-expand.ugb-more .ugb-expand-more-text,.wp-block-ugb-expand.ugb-more .ugb-expand-less{display:block !important}
13
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-number-box{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-number-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-number-box>*:first-child{margin-top:0 !important}.ugb-number-box>*:last-child{margin-bottom:0 !important}.ugb-number-box span,.ugb-number-box .blocks-rich-text span{background-color:var(--s-primary-color, #ddd);color:#fff;border-radius:100%;font-size:3em;display:block;padding:0;text-align:center;overflow:hidden;margin:0 auto;height:2.5em;width:2.5em;line-height:2.5em !important}.ugb-number-box>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px;-ms-flex:1;flex:1;min-width:250px}.ugb-number-box>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-number-box>div>*:first-child{margin-top:0 !important}.ugb-number-box>div>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-number-box>div{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-number-box>div{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.ugb-number-box>div,.ugb-number-box>div:first-child,.ugb-number-box>div:last-child{margin:17.5px !important}.ugb-number-box>div p{text-align:center}.ugb-number-box.column-1>div:nth-child(2),.ugb-number-box.column-1>div:nth-child(3){display:none}.ugb-number-box.column-2>div:nth-child(3){display:none}
14
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-pricing-box{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-pricing-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-pricing-box>*:first-child{margin-top:0 !important}.ugb-pricing-box>*:last-child{margin-bottom:0 !important}.ugb-pricing-box>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px;-ms-flex:1;flex:1;min-width:250px}.ugb-pricing-box>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-pricing-box>div>*:first-child{margin-top:0 !important}.ugb-pricing-box>div>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-pricing-box>div{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-pricing-box>div{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.ugb-pricing-box>div,.ugb-pricing-box>div:first-child,.ugb-pricing-box>div:last-child{margin:17.5px !important}.ugb-pricing-box h3{line-height:100% !important}.ugb-pricing-box .ugb-pricing-box-pricing{font-size:3.5em;line-height:100% !important}.ugb-pricing-box .ugb-pricing-box-per-month-label{font-size:.75em;opacity:.3;text-transform:uppercase;line-height:100% !important}.blocks-button__inline-link.pricing-box{margin:5px auto 0px auto}.ugb-pricing-box.column-1 .ugb-pricing-box-column-two,.ugb-pricing-box.column-1 .ugb-pricing-box-column-three{display:none}.ugb-pricing-box.column-2 .ugb-pricing-box-column-three{display:none}
15
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-header{margin-top:1.5em;margin-bottom:1.5em;text-align:center;padding:9.5rem 4rem;position:relative}.ugb-header>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-header>*:first-child{margin-top:0 !important}.ugb-header>*:last-child{margin-bottom:0 !important}.ugb-header .wp-block-button.ugb-button-center{left:0;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);margin-bottom:1.5em}.ugb-header .wp-block-button.ugb-button-right{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);left:50%;margin-bottom:1.5em}.ugb-header .wp-block-button.ugb-button-left{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);left:-50%;margin-bottom:1.5em}.ugb-header .ugb-header-title{margin-bottom:1rem;padding-bottom:0;margin-top:0;position:relative}.ugb-header .ugb-header-subtitle{margin-bottom:2rem;padding-bottom:0;position:relative}.ugb-header button.components-button{margin-bottom:.5em;position:relative}.ugb-header .ugb-button{position:relative}.ugb-header.has-image{padding:0}.ugb-header.has-image .ugb-header-section{padding:9.5rem 4rem;background-size:cover;background-repeat:no-repeat;background-position:center}.ugb-header .ugb-header-overlay{position:absolute;top:0;left:0;right:0;bottom:0;margin:0 !important}.ugb-header-overlay.overlay-opacity.overlay-opacity-1{opacity:.1}.ugb-header-overlay.overlay-opacity.overlay-opacity-2{opacity:.2}.ugb-header-overlay.overlay-opacity.overlay-opacity-3{opacity:.3}.ugb-header-overlay.overlay-opacity.overlay-opacity-4{opacity:.4}.ugb-header-overlay.overlay-opacity.overlay-opacity-5{opacity:.5}.ugb-header-overlay.overlay-opacity.overlay-opacity-6{opacity:.6}.ugb-header-overlay.overlay-opacity.overlay-opacity-7{opacity:.7}.ugb-header-overlay.overlay-opacity.overlay-opacity-8{opacity:.8}.ugb-header-overlay.overlay-opacity.overlay-opacity-9{opacity:.9}.ugb-header-overlay.overlay-opacity.overlay-opacity-10{opacity:1}.wp-block-ugb-header.has-no-content{display:none}
16
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-image-box{background-size:cover;background-position:center;padding:2rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;overflow:hidden;background-color:#999;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px;margin-left:auto;margin-right:auto;max-width:100%}.ugb-image-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-image-box>*:first-child{margin-top:0 !important}.ugb-image-box>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-image-box{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-image-box{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.ugb-image-box *{-webkit-transition:all .4s ease-in-out !important;-o-transition:all .4s ease-in-out !important;transition:all .4s ease-in-out !important;border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-image-box button.components-button{z-index:3;margin-bottom:1em}.ugb-image-box a{position:absolute;z-index:2;top:0;left:0;right:0;bottom:0;opacity:0;margin:0 !important}.ugb-image-box h4,.ugb-image-box p{z-index:3;pointer-events:none}.ugb-image-box h4{margin:0 0 0.5em !important}.ugb-image-box p{margin:0 !important;opacity:0;-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}.ugb-image-box:hover a{opacity:.7}.ugb-image-box:hover p{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}.ugb-image-box.full-width{width:100% !important}.wp-block-ugb-image-box.has-no-content{display:none}
17
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-countup{text-align:center;margin-top:1.5em;margin-bottom:1.5em}.ugb-countup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-countup>*:first-child{margin-top:0 !important}.ugb-countup>*:last-child{margin-bottom:0 !important}.ugb-countup .ugb-counter{line-height:1em !important}.ugb-countup .ugb-countup-hide{visibility:hidden}.ugb-countup{margin-top:1.5em;margin-bottom:1.5em;text-align:center;display:-ms-flexbox !important;display:flex !important;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}.ugb-countup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-countup>*:first-child{margin-top:0 !important}.ugb-countup>*:last-child{margin-bottom:0 !important}.ugb-countup:not(.ugb-has-background):not(.alignwide):not(.alignfull){margin-left:-17.5px;margin-right:-17.5px}.ugb-countup .ugb-countup-item{margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;margin:0 17.5px !important}.ugb-countup .ugb-countup-item>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-countup .ugb-countup-item>*:first-child{margin-top:0 !important}.ugb-countup .ugb-countup-item>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-countup.columns-4{display:grid !important;grid-template-columns:1fr 1fr;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;grid-gap:35px}.ugb-countup.columns-4 .ugb-countup-item{margin:0 !important}.ugb-countup .ugb-counter{font-size:calc(1rem + 4vw) !important}}@media screen and (max-width: 600px){.ugb-countup.columns-3{-ms-flex-direction:column;flex-direction:column}.ugb-countup.columns-3 .ugb-countup-item:not(:last-child){margin-bottom:35px !important}}.ugb-countup:not(.ugb-countup-v2){-ms-flex-direction:column;flex-direction:column}
18
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.video-popup-image{height:220px;width:220px;background-position:center;background-size:cover;margin-bottom:10px}.ugb-video-popup{position:relative;width:100%;max-width:600px;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px;margin-left:auto;margin-right:auto;padding:0;overflow:hidden}.ugb-video-popup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-video-popup>*:first-child{margin-top:0 !important}.ugb-video-popup>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-video-popup{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-video-popup{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.ugb-video-popup .ugb-video-preview,.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay,.ugb-video-popup .ugb-play-button{position:absolute;top:0;left:0;right:0;bottom:0}.ugb-video-popup .ugb-video-preview{margin:0 !important;background-size:cover;background-position:center;opacity:.4;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;z-index:1}.ugb-video-popup:hover .ugb-video-preview{opacity:.5}.ugb-video-popup .ugb-video-wrapper{position:relative;width:100%;padding-bottom:56.25%;border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay{z-index:3;-webkit-box-shadow:none !important;box-shadow:none !important;background:transparent !important;display:block !important}.ugb-video-popup .ugb-play-button{z-index:2;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}.ugb-video-popup svg{fill:#fff !important}.ugb-video-popup button.components-button.button{position:absolute;z-index:4;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);top:30%}.ugb-video-popup button.components-button.button:active{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.ugb-video-popup-link .editor-url-input input[type=text]{width:auto !important}
19
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-card{border-radius:4px;margin:30px 0;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px}.ugb-card>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-card>*:first-child{margin-top:0 !important}.ugb-card>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-card{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-card{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.ugb-card.has-image .ugb-card-image-container{height:300px;background-size:cover;background-position:center;border-top-right-radius:12px;border-top-left-radius:12px;padding-top:0px;margin:calc(var(--box-padding-vert) * -1) calc(var(--box-padding-hori) * -1) var(--box-padding-vert) !important;width:calc(100% + var(--box-padding-hori) * 2)}.ugb-card.has-image .ugb-card-image-container+*:not(.wp-ugb-button){margin-top:0 !important;padding-top:0 !important}
20
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-feature-grid{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:0 -17.5px}.ugb-feature-grid>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid>*:first-child{margin-top:0 !important}.ugb-feature-grid>*:last-child{margin-bottom:0 !important}.ugb-feature-grid>div{-ms-flex:1;flex:1}.ugb-feature-grid>div,.ugb-feature-grid>div:first-child,.ugb-feature-grid>div:last-child{margin:17.5px !important}.ugb-feature-grid .ugb-feature-grid-item{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px}.ugb-feature-grid .ugb-feature-grid-item>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid .ugb-feature-grid-item>*:first-child{margin-top:0 !important}.ugb-feature-grid .ugb-feature-grid-item>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-feature-grid .ugb-feature-grid-item{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-feature-grid .ugb-feature-grid-item{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}@media screen and (max-width: 960px){.ugb-feature-grid.columns-3 .ugb-feature-grid-item>img{width:100% !important}}@media screen and (max-width: 600px){.ugb-feature-grid-item>img{max-width:30vw}.ugb-feature-grid{-ms-flex-direction:column;flex-direction:column}}
21
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-icon-list{margin:0 0 1.5em 0 !important;padding:0 !important;list-style:none !important}.ugb-icon-list li:before{content:'';display:inline-block;vertical-align:middle;height:var(--icon-size, 20px);width:var(--icon-size, 20px);margin-right:1em;background-image:var(--icon);background-size:cover;background-position:center}.ugb-icon-list li{margin-top:0 !important;margin-bottom:var(--gap, 16) !important;text-indent:calc(var(--icon-size, 20px) * -1 - 1em) !important;padding-left:calc(var(--icon-size, 20px) + 1em) !important}.ugb-icon-list li:last-child{margin-bottom:0}.ugb-icon-list.column-2{-webkit-columns:2;columns:2}.ugb-icon-list.column-3{-webkit-columns:3;columns:3}@media screen and (max-width: 600px){.ugb-icon-list.column-3{-webkit-columns:2;columns:2}}.ugb-icon-list.column-2 li,.ugb-icon-list.column-3 li{-webkit-column-break-inside:avoid;break-inside:avoid}
22
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-feature{margin-top:1.5em;margin-bottom:1.5em}.ugb-feature>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature>*:first-child{margin-top:0 !important}.ugb-feature>*:last-child{margin-bottom:0 !important}.ugb-feature .ugb-feature-wrapper{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-feature .ugb-feature-wrapper>div{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;margin-top:1.5em;margin-bottom:1.5em;margin:0 17.5px}.ugb-feature .ugb-feature-wrapper>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature .ugb-feature-wrapper>div>*:first-child{margin-top:0 !important}.ugb-feature .ugb-feature-wrapper>div>*:last-child{margin-bottom:0 !important}.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.ugb-feature .ugb-feature-image-side{-ms-flex-align:center;align-items:center}.ugb-feature .ugb-feature-image-side img{max-width:var(--image-size, 400px);width:var(--image-size, 400px)}.ugb-feature.ugb-content-left{text-align:left}.ugb-feature.ugb-content-center{text-align:center}.ugb-feature.ugb-content-right{text-align:right}.ugb-feature.alignfull .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature.ugb-has-background{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px}@media screen and (max-width: 782px){.ugb-feature.ugb-has-background{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-feature.ugb-has-background{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.ugb-feature.alignfull.ugb-has-background{border-radius:0;margin-top:0;margin-bottom:0}@media screen and (max-width: 768px){.ugb-feature .ugb-feature-wrapper,.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.ugb-feature .ugb-feature-wrapper{text-align:center}.ugb-feature .ugb-feature-wrapper>div:first-child{margin-top:60px}.ugb-feature .ugb-feature-wrapper .ugb-feature-image-side img{width:60vw}.ugb-feature .ugb-button{margin:0 auto}}
plugin.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Essential Gutenberg blocks in one plugin. Simple, flexible, and customizable.
6
  * Author: Gambit Technologies, Inc
7
  * Author URI: http://gambit.ph
8
- * Version: 1.4
9
  *
10
  * @package Stackable
11
  */
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  }
17
 
18
  defined( 'STACKABLE_IS_PRO' ) || define( 'STACKABLE_IS_PRO', false );
19
- defined( 'STACKABLE_VERSION' ) || define( 'STACKABLE_VERSION', '1.4' );
20
  defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
21
 
22
  /**
5
  * Description: Essential Gutenberg blocks in one plugin. Simple, flexible, and customizable.
6
  * Author: Gambit Technologies, Inc
7
  * Author URI: http://gambit.ph
8
+ * Version: 1.5
9
  *
10
  * @package Stackable
11
  */
16
  }
17
 
18
  defined( 'STACKABLE_IS_PRO' ) || define( 'STACKABLE_IS_PRO', false );
19
+ defined( 'STACKABLE_VERSION' ) || define( 'STACKABLE_VERSION', '1.5' );
20
  defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
21
 
22
  /**
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Stackable - Ultimate Gutenberg Blocks ===
2
  Contributors: bfintal, gambitph, freemius
3
- Tags: gutenberg, blocks, gutenberg blocks, page builder, editor, wordpress 5.0, options
4
  Requires at least: 4.8
5
  Tested up to: 4.9.8
6
  Requires PHP: 5.3
7
- Stable tag: 1.4
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -14,11 +14,11 @@ A comprehensive collection of page building blocks for Gutenberg - the new WordP
14
 
15
  Stackable is a comprehensive collection of page builder blocks for Gutenberg - the new WordPress editor. Stackable gives you the capability to build awesome front pages and landing pages.
16
 
17
- Stackable provides more functionality and design options for your site. We've come up with a collection of cool blocks that will make website building a breeze. We made sure our blocks look great, so feel free to mix different blocks together and customize their styles to suit your design needs.
18
 
19
  [View our website](https://wpstackable.com) which was made with Gutenberg + Stackable.
20
 
21
- ## 21 Kick-ass blocks so far and counting..
22
 
23
  - Feature Grid — [View Block](https://wpstackable.com/feature-grid-block/)
24
  - Feature — [View Block](https://wpstackable.com/feature-block/)
@@ -48,8 +48,9 @@ Get our WordPress theme that's beautiful & flexible, Gutenberg-ready and made es
48
 
49
  ### Learn More About Stackable - Ultimate Gutenberg Blocks
50
 
 
51
  - [Subscribe to our newsletter](http://eepurl.com/dJY9xI)
52
- - [Website wpstackable.com](https://wpstackable.com)
53
  - [Twitter @wpstackable](https://twitter.com/wpstackable)
54
  - [Facebook Page WPStackable](https://www.facebook.com/Stackable-870555573068267/)
55
 
@@ -61,25 +62,29 @@ Note: v1.x is not backward compatible with lower versions, upgrading will most l
61
 
62
  = Minimum Requirements =
63
 
64
- You’ll need the **Gutenberg plugin** for this to work. Once you’ve downloaded both Gutenberg and your copy of Stackable, install both on your WordPress website, activate them, and you’re good to go.
65
 
66
  == Frequently Asked Questions ==
67
 
68
- **What is Gutenberg and why do I need it for Stackable to work?**
69
 
70
- Gutenberg is a beta project by Matt Mullenweg, the co-founder of WordPress. It’s a visual builder prototype of the new WordPress editor that’s coming out with WordPress 5.0 sometime this year.
71
 
72
- Since it’s yet to be fully integrated with WordPress, Gutenberg comes as a separate plugin for developers and beta testers. Stackable is an add-on for the current Gutenberg plugin, so you’ll need both of them installed for you to use Stackable.
 
 
73
 
74
  **What are blocks?**
75
 
76
- Blocks are the new shortcodes in Gutenberg. They're the basic elements that you add into your content to build your pages, like buttons, cards, videos, etc.
 
 
77
 
78
  Stackable gives you lots of awesome blocks for you to create awesome landing pages and front pages.
79
 
80
  **Can I use this add-on for other page builders I’m using?**
81
 
82
- Nope. Stackable only works with Gutenberg.
83
 
84
  == Screenshots ==
85
 
@@ -91,6 +96,22 @@ Nope. Stackable only works with Gutenberg.
91
 
92
  == Changelog ==
93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  = 1.4 =
95
  * Fixed: Smaller box padding for smaller screens
96
  * Fixed: Better responsive styles for the feature grid block
1
  === Stackable - Ultimate Gutenberg Blocks ===
2
  Contributors: bfintal, gambitph, freemius
3
+ Tags: gutenberg, block, blocks, gutenberg blocks, page builder, editor, wordpress 5.0
4
  Requires at least: 4.8
5
  Tested up to: 4.9.8
6
  Requires PHP: 5.3
7
+ Stable tag: 1.5
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
14
 
15
  Stackable is a comprehensive collection of page builder blocks for Gutenberg - the new WordPress editor. Stackable gives you the capability to build awesome front pages and landing pages.
16
 
17
+ Stackable provides more functionality and design options for your site. We've come up with a collection of cool blocks that will make website building a breeze. We made sure our blocks look great even in small devices, so feel free to mix different blocks together and customize their styles to suit your design needs.
18
 
19
  [View our website](https://wpstackable.com) which was made with Gutenberg + Stackable.
20
 
21
+ ## Kick-ass blocks
22
 
23
  - Feature Grid — [View Block](https://wpstackable.com/feature-grid-block/)
24
  - Feature — [View Block](https://wpstackable.com/feature-block/)
48
 
49
  ### Learn More About Stackable - Ultimate Gutenberg Blocks
50
 
51
+ - [What is Stackable](https://wpstackable.com/blog/welcome-to-stackable/)
52
  - [Subscribe to our newsletter](http://eepurl.com/dJY9xI)
53
+ - [Visit us in wpstackable.com](https://wpstackable.com)
54
  - [Twitter @wpstackable](https://twitter.com/wpstackable)
55
  - [Facebook Page WPStackable](https://www.facebook.com/Stackable-870555573068267/)
56
 
62
 
63
  = Minimum Requirements =
64
 
65
+ You’ll need the **Gutenberg plugin** or WordPress version 5.0+ for this to work.
66
 
67
  == Frequently Asked Questions ==
68
 
69
+ **What is Gutenberg? Why WordPress 5.0?**
70
 
71
+ Gutenberg is what the cool kids call the new content editor which will come out soon in WordPress 5.0.
72
 
73
+ The new content editor replaces the old text editor, and it gives you a more visual way of creating your content.
74
+
75
+ With WordPress 5.0 / Gutenberg, you build your pages using *blocks*, and Stackable provides you with lots of cool ones.
76
 
77
  **What are blocks?**
78
 
79
+ Blocks are the new shortcodes in WordPress 5.0 / Gutenberg.
80
+
81
+ They're the basic elements that you add into your content to build your pages, like buttons, cards, videos, etc.
82
 
83
  Stackable gives you lots of awesome blocks for you to create awesome landing pages and front pages.
84
 
85
  **Can I use this add-on for other page builders I’m using?**
86
 
87
+ Nope. Stackable only works with Gutenberg, the new WordPress editor.
88
 
89
  == Screenshots ==
90
 
96
 
97
  == Changelog ==
98
 
99
+ = 1.5 =
100
+ * New: Count-up block can now have 1 to 4 columns
101
+ * New: Count-up block can now be resized to wide and full-width
102
+ * New: Count-up block can now have backgrounds
103
+ * New: Adjacent full-width blocks are margin-less in the editor
104
+ * New: Blockquote block can now be resized to wide and full-width
105
+ * New: Blockquote block can now have backgrounds
106
+ * New: Call-to-Action block can now have background images & background image tints
107
+ * New: Feature block can now have background images & background image tints
108
+ * New: Header block now has a fixed background
109
+ * Changed: Standardized background settings for the Header block
110
+ * Fixed: Card image goes past container in mobile
111
+ * Fixed: Better responsiveness for Icon List block, it now collapses from 3 to 2 columns on mobile
112
+ * Fixed: Image box is too wide in mobile
113
+ * Fixed: Better handling for wide and full widths
114
+
115
  = 1.4 =
116
  * Fixed: Smaller box padding for smaller screens
117
  * Fixed: Better responsive styles for the feature grid block
src/block/blockquote/deprecated.js CHANGED
@@ -1,7 +1,48 @@
 
1
  import {
2
  __,
 
3
  } from '../../wp-imports'
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  export const deprecatedSchema_0_7 = {
6
  text: {
7
  type: 'array',
1
+ import classnames from 'classnames'
2
  import {
3
  __,
4
+ RichText,
5
  } from '../../wp-imports'
6
 
7
+ export const deprecatedSchema_1_4 = {
8
+ text: {
9
+ source: 'html',
10
+ selector: 'p',
11
+ 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.' )
12
+ },
13
+ color: {
14
+ type: 'string',
15
+ default: '',
16
+ },
17
+ quoteColor: {
18
+ type: 'string',
19
+ default: '',
20
+ },
21
+ }
22
+
23
+ export const deprecatedSave_1_4 = ( props ) => {
24
+
25
+ const { className } = props
26
+ const { color, text, quoteColor } = props.attributes
27
+
28
+ const mainClasses = classnames( [
29
+ className,
30
+ 'ugb-blockquote',
31
+ ] )
32
+
33
+ return (
34
+ <blockquote
35
+ className={ mainClasses }
36
+ style={ { '--quote-color': quoteColor } }>
37
+ <RichText.Content
38
+ tagName="p"
39
+ style={ { color } }
40
+ value={ text }
41
+ />
42
+ </blockquote>
43
+ )
44
+ }
45
+
46
  export const deprecatedSchema_0_7 = {
47
  text: {
48
  type: 'array',
src/block/blockquote/editor.scss CHANGED
@@ -4,3 +4,12 @@
4
  * CSS for just Backend enqueued after style.scss
5
  * which makes it higher in priority.
6
  */
 
 
 
 
 
 
 
 
 
4
  * CSS for just Backend enqueued after style.scss
5
  * which makes it higher in priority.
6
  */
7
+ [data-align="full"] .ugb-blockquote.ugb-has-background {
8
+ margin-left: 0;
9
+ margin-right: 0;
10
+ padding-left: 10vw;
11
+ padding-right: 10vw;
12
+ &:after {
13
+ left: calc(10vw - 70px);
14
+ }
15
+ }
src/block/blockquote/index.js CHANGED
@@ -10,7 +10,11 @@ import './style.scss';
10
  import './editor.scss';
11
  import classnames from 'classnames'
12
  import { QuoteIcon } from '../../icons'
13
- import { deprecatedSchema_0_7, deprecatedSave_0_7 } from './deprecated'
 
 
 
 
14
 
15
  import {
16
  registerBlockType,
@@ -27,20 +31,33 @@ export const edit = ( props ) => {
27
 
28
  const { isSelected, setAttributes, className } = props
29
 
30
- const { color, text, quoteColor } = props.attributes
 
 
 
31
 
32
  const mainClasses = classnames( [
33
  className,
34
  'ugb-blockquote',
35
- ] )
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
  return (
38
  <Fragment>
39
  <blockquote
40
  className={ mainClasses }
41
- style={ {
42
- '--quote-color': quoteColor
43
- } }>
44
  <RichText
45
  className='ugb-blockquote-text'
46
  value={ text }
@@ -68,6 +85,18 @@ export const edit = ( props ) => {
68
  ] }
69
  >
70
  </PanelColorSettings>
 
 
 
 
 
 
 
 
 
 
 
 
71
  </InspectorControls>
72
  </Fragment>
73
  )
@@ -76,17 +105,32 @@ export const edit = ( props ) => {
76
  export const save = ( props ) => {
77
 
78
  const { className } = props
79
- const { color, text, quoteColor } = props.attributes
 
 
 
80
 
81
  const mainClasses = classnames( [
82
  className,
83
  'ugb-blockquote',
84
- ] )
 
 
 
 
 
 
 
 
 
 
 
 
85
 
86
  return (
87
  <blockquote
88
  className={ mainClasses }
89
- style={ { '--quote-color': quoteColor } }>
90
  <RichText.Content
91
  tagName="p"
92
  style={ { color } }
@@ -110,6 +154,23 @@ const schema = {
110
  type: 'string',
111
  default: '',
112
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  }
114
 
115
 
@@ -126,17 +187,25 @@ const schema = {
126
  * registered; otherwise `undefined`.
127
  */
128
  registerBlockType( 'ugb/blockquote', {
129
- // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
130
- title: __( 'Blockquote' ), // Block title.
131
- icon: QuoteIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
132
- category: 'stackable-ultimate-gutenberg-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
133
  keywords: [
134
  __( 'Blockquote' ),
135
  __( 'Stackable' ),
136
  ],
137
  attributes: schema,
138
 
 
 
 
 
 
139
  deprecated: [
 
 
 
 
140
  {
141
  attributes: deprecatedSchema_0_7,
142
  migrate: attributes => {
10
  import './editor.scss';
11
  import classnames from 'classnames'
12
  import { QuoteIcon } from '../../icons'
13
+ import PanelBackgroundSettings from '../../components/panel-background-settings'
14
+ import {
15
+ deprecatedSchema_1_4, deprecatedSave_1_4,
16
+ deprecatedSchema_0_7, deprecatedSave_0_7,
17
+ } from './deprecated'
18
 
19
  import {
20
  registerBlockType,
31
 
32
  const { isSelected, setAttributes, className } = props
33
 
34
+ const {
35
+ color, text, quoteColor,
36
+ backgroundColor, backgroundImageID, backgroundImageURL, backgroundOpacity, fixedBackground,
37
+ } = props.attributes
38
 
39
  const mainClasses = classnames( [
40
  className,
41
  'ugb-blockquote',
42
+ 'ugb-has-background-opacity-' + ( 1 * Math.round( backgroundOpacity / 1 ) ),
43
+ ], {
44
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
45
+ 'ugb-has-background-image': backgroundImageURL,
46
+ } )
47
+
48
+ const mainStyle = {
49
+ '--quote-color': quoteColor ? quoteColor : undefined,
50
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
51
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
52
+ 'backgroundAttachment': fixedBackground ? 'fixed' : undefined,
53
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
54
+ }
55
 
56
  return (
57
  <Fragment>
58
  <blockquote
59
  className={ mainClasses }
60
+ style={ mainStyle }>
 
 
61
  <RichText
62
  className='ugb-blockquote-text'
63
  value={ text }
85
  ] }
86
  >
87
  </PanelColorSettings>
88
+ <PanelBackgroundSettings
89
+ backgroundColor={ backgroundColor }
90
+ backgroundImageID={ backgroundImageID }
91
+ backgroundImageURL={ backgroundImageURL }
92
+ backgroundOpacity={ backgroundOpacity }
93
+ fixedBackground={ fixedBackground }
94
+ onChangeBackgroundColor={ backgroundColor => setAttributes( { backgroundColor } ) }
95
+ onChangeBackgroundImage={ ( { url, id } ) => setAttributes( { backgroundImageURL: url, backgroundImageID: id } ) }
96
+ onRemoveBackgroundImage={ () => { setAttributes( { backgroundImageURL: '', backgroundImageID: 0 } ) } }
97
+ onChangeBackgroundOpacity={ backgroundOpacity => setAttributes( { backgroundOpacity } ) }
98
+ onChangeFixedBackground={ value => setAttributes( { fixedBackground: !! value } ) }
99
+ />
100
  </InspectorControls>
101
  </Fragment>
102
  )
105
  export const save = ( props ) => {
106
 
107
  const { className } = props
108
+ const {
109
+ color, text, quoteColor,
110
+ backgroundColor, backgroundImageID, backgroundImageURL, backgroundOpacity, fixedBackground,
111
+ } = props.attributes
112
 
113
  const mainClasses = classnames( [
114
  className,
115
  'ugb-blockquote',
116
+ 'ugb-has-background-opacity-' + ( 1 * Math.round( backgroundOpacity / 1 ) ),
117
+ ], {
118
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
119
+ 'ugb-has-background-image': backgroundImageURL,
120
+ } )
121
+
122
+ const mainStyle = {
123
+ '--quote-color': quoteColor ? quoteColor : undefined,
124
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
125
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
126
+ 'backgroundAttachment': fixedBackground ? 'fixed' : undefined,
127
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
128
+ }
129
 
130
  return (
131
  <blockquote
132
  className={ mainClasses }
133
+ style={ mainStyle }>
134
  <RichText.Content
135
  tagName="p"
136
  style={ { color } }
154
  type: 'string',
155
  default: '',
156
  },
157
+ backgroundColor: {
158
+ type: 'string',
159
+ },
160
+ backgroundImageID: {
161
+ type: 'number',
162
+ },
163
+ backgroundImageURL: {
164
+ type: 'string',
165
+ },
166
+ backgroundOpacity: {
167
+ type: 'number',
168
+ default: 5,
169
+ },
170
+ fixedBackground: {
171
+ type: 'boolean',
172
+ default: false,
173
+ },
174
  }
175
 
176
 
187
  * registered; otherwise `undefined`.
188
  */
189
  registerBlockType( 'ugb/blockquote', {
190
+ title: __( 'Blockquote' ),
191
+ icon: QuoteIcon,
192
+ category: 'stackable-ultimate-gutenberg-blocks',
 
193
  keywords: [
194
  __( 'Blockquote' ),
195
  __( 'Stackable' ),
196
  ],
197
  attributes: schema,
198
 
199
+ supports: {
200
+ align: true,
201
+ align: [ 'center', 'wide', 'full' ],
202
+ },
203
+
204
  deprecated: [
205
+ {
206
+ attributes: deprecatedSchema_1_4,
207
+ save: deprecatedSave_1_4,
208
+ },
209
  {
210
  attributes: deprecatedSchema_0_7,
211
  migrate: attributes => {
src/block/blockquote/style.scss CHANGED
@@ -23,7 +23,7 @@
23
  display: none;
24
  }
25
  }
26
- &:before {
27
  content: "❛❛";
28
  display: block;
29
  position: absolute;
@@ -36,4 +36,16 @@
36
  opacity: 1;
37
  color: var(--quote-color);
38
  }
39
- }
 
 
 
 
 
 
 
 
 
 
 
 
23
  display: none;
24
  }
25
  }
26
+ &:after {
27
  content: "❛❛";
28
  display: block;
29
  position: absolute;
36
  opacity: 1;
37
  color: var(--quote-color);
38
  }
39
+
40
+ &.alignfull {
41
+ padding-left: 10vw;
42
+ padding-right: 10vw;
43
+ &:after {
44
+ left: calc(10vw - 70px);
45
+ }
46
+ }
47
+ &.ugb-has-background:after {
48
+ top: 0;
49
+ left: 10px;
50
+ }
51
+ }
src/block/button/deprecated.js CHANGED
@@ -1,8 +1,43 @@
 
1
  import {
2
  RichText,
3
  applyFilters,
4
  } from '../../wp-imports'
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  function _ButtonSave_1_1_2( props ) {
7
  const {
8
  align = 'center',
1
+ import classnames from 'classnames'
2
  import {
3
  RichText,
4
  applyFilters,
5
  } from '../../wp-imports'
6
 
7
+ function _ButtonSave_1_4( props ) {
8
+ const {
9
+ className = '',
10
+ align = 'center',
11
+ size = 'normal',
12
+ url = '', color, text, backgroundColor, borderRadius } = props
13
+
14
+ const style = {
15
+ borderRadius: borderRadius + 'px',
16
+ backgroundColor: backgroundColor ? backgroundColor : undefined,
17
+ }
18
+
19
+ const mainClasses = classnames( [
20
+ className,
21
+ 'ugb-button',
22
+ `ugb-button-${align}`,
23
+ `ugb-button-${size}`,
24
+ ] )
25
+
26
+ return (
27
+ <div className={ mainClasses } style={ style }>
28
+ <RichText.Content
29
+ tagName="a"
30
+ className={ `ugb-button-inner` }
31
+ href={ url }
32
+ style={ { color } }
33
+ value={ text }
34
+ />
35
+ </div>
36
+ );
37
+ }
38
+
39
+ export const ButtonSave_1_4 = _ButtonSave_1_4
40
+
41
  function _ButtonSave_1_1_2( props ) {
42
  const {
43
  align = 'center',
src/block/button/index.js CHANGED
@@ -15,7 +15,6 @@ import ButtonEdit from './button-edit'
15
  import ButtonSave from './button-save'
16
  import PanelButtonSettings from '../../components/panel-button-settings'
17
  import DesignPanelBody from '../../components/design-panel-body'
18
- import DesignPanelItem from '../../components/design-panel-item'
19
  import DisplayLogic from '../../components/display-logic'
20
 
21
  import {
@@ -73,10 +72,10 @@ export const edit = ( props ) => {
73
  <DesignPanelBody
74
  selected={ design }
75
  options={ [
76
- { label: <DesignPanelItem imageFile="button/images/test.jpg" />, title: 'Basic', value: 'basic' },
77
- { label: <DesignPanelItem imageFile="button/images/test.jpg" isPro={ true } />, title: 'Center', value: 'center' },
78
- { label: <DesignPanelItem imageFile="https://via.placeholder.com/350x150" isPro={ true } />, title: 'Right', value: 'right' },
79
- { label: <DesignPanelItem imageFile="https://via.placeholder.com/350x150" isPro={ true } />, title: 'Full', value: 'full' },
80
  ] }
81
  onChange={ ( design ) => { setAttributes( { design } ) } }
82
  />
15
  import ButtonSave from './button-save'
16
  import PanelButtonSettings from '../../components/panel-button-settings'
17
  import DesignPanelBody from '../../components/design-panel-body'
 
18
  import DisplayLogic from '../../components/display-logic'
19
 
20
  import {
72
  <DesignPanelBody
73
  selected={ design }
74
  options={ [
75
+ { label: 'Basic', value: 'basic', image: 'button/images/test.jpg' },
76
+ { label: 'Center', value: 'center', image: 'button/images/test.jpg', isPro: true },
77
+ { label: 'Right', value: 'right', image: 'button/images/test.jpg', isPro: true },
78
+ { label: 'Left', value: 'left', image: 'button/images/test.jpg', isPro: true },
79
  ] }
80
  onChange={ ( design ) => { setAttributes( { design } ) } }
81
  />
src/block/call-to-action/deprecated.js CHANGED
@@ -1,8 +1,106 @@
 
1
  import {
2
  RichText,
3
  __,
4
  } from '../../wp-imports'
5
- import { ButtonSave_1_1 } from '../button/deprecated.js'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
  export const deprecatedSchema_1_1 = {
8
  url: {
1
+ import classnames from 'classnames'
2
  import {
3
  RichText,
4
  __,
5
  } from '../../wp-imports'
6
+ import {
7
+ ButtonSave_1_4,
8
+ ButtonSave_1_1,
9
+ } from '../button/deprecated.js'
10
+
11
+ export const deprecatedSchema_1_4 = {
12
+ url: {
13
+ type: 'string',
14
+ source: 'attribute',
15
+ selector: '.ugb-button a',
16
+ attribute: 'href',
17
+ },
18
+ ctaTitle: {
19
+ source: 'html',
20
+ selector: 'h3',
21
+ default: __( 'Get Started Today' )
22
+ },
23
+ bodyText: {
24
+ source: 'html',
25
+ selector: 'p',
26
+ 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.' )
27
+ },
28
+ buttonText: {
29
+ source: 'html',
30
+ selector: '.ugb-button a',
31
+ },
32
+ color: {
33
+ type: 'string',
34
+ },
35
+ textColor: {
36
+ type: 'string',
37
+ default: '#ffffff',
38
+ },
39
+ titleColor: {
40
+ type: 'string',
41
+ },
42
+ bodyTextColor: {
43
+ type: 'string',
44
+ },
45
+ bgColor: {
46
+ type: 'string',
47
+ },
48
+ size: {
49
+ type: 'string',
50
+ default: 'normal',
51
+ },
52
+ borderButtonRadius: {
53
+ type: 'number',
54
+ default: 4,
55
+ },
56
+ }
57
+
58
+ export const deprecatedSave_1_4 = ( props ) => {
59
+
60
+ const { className } = props
61
+ const {
62
+ url,
63
+ buttonText,
64
+ ctaTitle,
65
+ bodyText,
66
+ color,
67
+ textColor,
68
+ size,
69
+ borderButtonRadius,
70
+ bodyTextColor,
71
+ titleColor,
72
+ bgColor,
73
+ } = props.attributes;
74
+
75
+ const mainClasses = classnames( [
76
+ className,
77
+ 'ugb-cta',
78
+ ] )
79
+
80
+ return (
81
+ <div className={ mainClasses } style={ { backgroundColor: bgColor } }>
82
+ { ctaTitle && !! ctaTitle.length && (
83
+ <RichText.Content
84
+ tagName="h3"
85
+ className='ugb-cta-title'
86
+ style={ { color: titleColor } }
87
+ value={ ctaTitle }
88
+ />
89
+ ) }
90
+ { bodyText && !! bodyText.length && (
91
+ <RichText.Content
92
+ tagName="p"
93
+ className='ugb-cta-bodyText'
94
+ style={ { color: bodyTextColor } }
95
+ value={ bodyText }
96
+ />
97
+ ) }
98
+ { buttonText && !! buttonText.length && (
99
+ <ButtonSave_1_4 size={ size } url={ url } color={ textColor } text={ buttonText } backgroundColor={ color } borderRadius={ borderButtonRadius } />
100
+ ) }
101
+ </div>
102
+ );
103
+ }
104
 
105
  export const deprecatedSchema_1_1 = {
106
  url: {
src/block/call-to-action/index.js CHANGED
@@ -14,7 +14,9 @@ import { CTAIcon } from '../../icons'
14
  import ButtonEdit from '../button/button-edit'
15
  import ButtonSave from '../button/button-save'
16
  import PanelButtonSettings from '../../components/panel-button-settings'
 
17
  import {
 
18
  deprecatedSchema_1_1, deprecatedSave_1_1,
19
  deprecatedSave_0_7,
20
  } from './deprecated'
@@ -55,13 +57,29 @@ export const edit = ( props ) => {
55
  borderButtonRadius,
56
  bodyTextColor,
57
  titleColor,
58
- bgColor,
 
 
 
 
59
  } = props.attributes;
60
 
61
  const mainClasses = classnames( [
62
  className,
63
  'ugb-cta',
64
- ] )
 
 
 
 
 
 
 
 
 
 
 
 
65
 
66
  return (
67
  <Fragment>
@@ -70,11 +88,6 @@ export const edit = ( props ) => {
70
  initialOpen={ true }
71
  title={ __( 'Color Settings' ) }
72
  colorSettings={ [
73
- {
74
- value: bgColor,
75
- onChange: ( colorValue ) => setAttributes( { bgColor: colorValue } ),
76
- label: __( 'Background Color' ),
77
- },
78
  {
79
  value: titleColor,
80
  onChange: ( colorValue ) => setAttributes( { titleColor: colorValue } ),
@@ -88,6 +101,18 @@ export const edit = ( props ) => {
88
  ] }
89
  >
90
  </PanelColorSettings>
 
 
 
 
 
 
 
 
 
 
 
 
91
  <PanelButtonSettings
92
  initialOpen={ false }
93
  buttonColor={ color }
@@ -100,7 +125,7 @@ export const edit = ( props ) => {
100
  onChangeButtonBorderRadius={ ( value ) => setAttributes( { borderButtonRadius: value } ) }
101
  />
102
  </InspectorControls>
103
- <div className={ mainClasses } style={ { backgroundColor: bgColor } }>
104
  <RichText
105
  className={ 'ugb-cta-title' }
106
  tagName={ 'h3' }
@@ -161,16 +186,32 @@ export const save = ( props ) => {
161
  borderButtonRadius,
162
  bodyTextColor,
163
  titleColor,
164
- bgColor,
 
 
 
 
165
  } = props.attributes;
166
 
167
  const mainClasses = classnames( [
168
  className,
169
  'ugb-cta',
170
- ] )
 
 
 
 
 
 
 
 
 
 
 
 
171
 
172
  return (
173
- <div className={ mainClasses } style={ { backgroundColor: bgColor } }>
174
  { ctaTitle && !! ctaTitle.length && (
175
  <RichText.Content
176
  tagName="h3"
@@ -228,9 +269,6 @@ const schema = {
228
  bodyTextColor: {
229
  type: 'string',
230
  },
231
- bgColor: {
232
- type: 'string',
233
- },
234
  size: {
235
  type: 'string',
236
  default: 'normal',
@@ -239,6 +277,28 @@ const schema = {
239
  type: 'number',
240
  default: 4,
241
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
242
  }
243
 
244
  /**
@@ -254,10 +314,9 @@ const schema = {
254
  * registered; otherwise `undefined`.
255
  */
256
  registerBlockType( 'ugb/cta', {
257
- // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
258
- title: __( 'Call to Action' ), // Block title.
259
- icon: CTAIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
260
- category: 'stackable-ultimate-gutenberg-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
261
  keywords: [
262
  __( 'Call to Action' ),
263
  __( 'Stackable' ),
@@ -269,6 +328,16 @@ registerBlockType( 'ugb/cta', {
269
  align: [ 'center', 'wide', 'full' ],
270
  },
271
  deprecated: [
 
 
 
 
 
 
 
 
 
 
272
  {
273
  attributes: deprecatedSchema_1_1,
274
  save: deprecatedSave_1_1,
14
  import ButtonEdit from '../button/button-edit'
15
  import ButtonSave from '../button/button-save'
16
  import PanelButtonSettings from '../../components/panel-button-settings'
17
+ import PanelBackgroundSettings from '../../components/panel-background-settings'
18
  import {
19
+ deprecatedSchema_1_4, deprecatedSave_1_4,
20
  deprecatedSchema_1_1, deprecatedSave_1_1,
21
  deprecatedSave_0_7,
22
  } from './deprecated'
57
  borderButtonRadius,
58
  bodyTextColor,
59
  titleColor,
60
+ backgroundColor,
61
+ backgroundImageID,
62
+ backgroundImageURL,
63
+ backgroundOpacity,
64
+ fixedBackground,
65
  } = props.attributes;
66
 
67
  const mainClasses = classnames( [
68
  className,
69
  'ugb-cta',
70
+ `columns-${columns}`,
71
+ 'ugb-has-background-opacity-' + ( 1 * Math.round( backgroundOpacity / 1 ) ),
72
+ ], {
73
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
74
+ 'ugb-has-background-image': backgroundImageURL,
75
+ } )
76
+
77
+ const mainStyle = {
78
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
79
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
80
+ 'backgroundAttachment': fixedBackground ? 'fixed' : undefined,
81
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
82
+ }
83
 
84
  return (
85
  <Fragment>
88
  initialOpen={ true }
89
  title={ __( 'Color Settings' ) }
90
  colorSettings={ [
 
 
 
 
 
91
  {
92
  value: titleColor,
93
  onChange: ( colorValue ) => setAttributes( { titleColor: colorValue } ),
101
  ] }
102
  >
103
  </PanelColorSettings>
104
+ <PanelBackgroundSettings
105
+ backgroundColor={ backgroundColor }
106
+ backgroundImageID={ backgroundImageID }
107
+ backgroundImageURL={ backgroundImageURL }
108
+ backgroundOpacity={ backgroundOpacity }
109
+ fixedBackground={ fixedBackground }
110
+ onChangeBackgroundColor={ backgroundColor => setAttributes( { backgroundColor } ) }
111
+ onChangeBackgroundImage={ ( { url, id } ) => setAttributes( { backgroundImageURL: url, backgroundImageID: id } ) }
112
+ onRemoveBackgroundImage={ () => { setAttributes( { backgroundImageURL: '', backgroundImageID: 0 } ) } }
113
+ onChangeBackgroundOpacity={ backgroundOpacity => setAttributes( { backgroundOpacity } ) }
114
+ onChangeFixedBackground={ value => setAttributes( { fixedBackground: !! value } ) }
115
+ />
116
  <PanelButtonSettings
117
  initialOpen={ false }
118
  buttonColor={ color }
125
  onChangeButtonBorderRadius={ ( value ) => setAttributes( { borderButtonRadius: value } ) }
126
  />
127
  </InspectorControls>
128
+ <div className={ mainClasses } style={ mainStyle }>
129
  <RichText
130
  className={ 'ugb-cta-title' }
131
  tagName={ 'h3' }
186
  borderButtonRadius,
187
  bodyTextColor,
188
  titleColor,
189
+ backgroundColor,
190
+ backgroundImageID,
191
+ backgroundImageURL,
192
+ backgroundOpacity,
193
+ fixedBackground,
194
  } = props.attributes;
195
 
196
  const mainClasses = classnames( [
197
  className,
198
  'ugb-cta',
199
+ `columns-${columns}`,
200
+ 'ugb-has-background-opacity-' + ( 1 * Math.round( backgroundOpacity / 1 ) ),
201
+ ], {
202
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
203
+ 'ugb-has-background-image': backgroundImageURL,
204
+ } )
205
+
206
+ const mainStyle = {
207
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
208
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
209
+ 'backgroundAttachment': fixedBackground ? 'fixed' : undefined,
210
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
211
+ }
212
 
213
  return (
214
+ <div className={ mainClasses } style={ mainStyle }>
215
  { ctaTitle && !! ctaTitle.length && (
216
  <RichText.Content
217
  tagName="h3"
269
  bodyTextColor: {
270
  type: 'string',
271
  },
 
 
 
272
  size: {
273
  type: 'string',
274
  default: 'normal',
277
  type: 'number',
278
  default: 4,
279
  },
280
+ backgroundColor: {
281
+ type: 'string',
282
+ },
283
+ backgroundImageID: {
284
+ type: 'number',
285
+ },
286
+ backgroundImageURL: {
287
+ type: 'string',
288
+ },
289
+ backgroundOpacity: {
290
+ type: 'number',
291
+ default: 5,
292
+ },
293
+ fixedBackground: {
294
+ type: 'boolean',
295
+ default: false,
296
+ },
297
+
298
+ // Keep the old attributes. Gutenberg issue https://github.com/WordPress/gutenberg/issues/10406
299
+ bgColor: {
300
+ type: 'string',
301
+ },
302
  }
303
 
304
  /**
314
  * registered; otherwise `undefined`.
315
  */
316
  registerBlockType( 'ugb/cta', {
317
+ title: __( 'Call to Action' ),
318
+ icon: CTAIcon,
319
+ category: 'stackable-ultimate-gutenberg-blocks',
 
320
  keywords: [
321
  __( 'Call to Action' ),
322
  __( 'Stackable' ),
328
  align: [ 'center', 'wide', 'full' ],
329
  },
330
  deprecated: [
331
+ {
332
+ attributes: deprecatedSchema_1_4,
333
+ save: deprecatedSave_1_4,
334
+ migrate: attributes => {
335
+ return {
336
+ backgroundColor: attributes.bgColor,
337
+ ...attributes,
338
+ }
339
+ },
340
+ },
341
  {
342
  attributes: deprecatedSchema_1_1,
343
  save: deprecatedSave_1_1,
src/block/card/style.scss CHANGED
@@ -5,58 +5,23 @@
5
  */
6
  .ugb-card {
7
  border-radius: 4px;
8
- // box-shadow: 0 0 5px rgba(0,0,0,0.1);
9
  margin: 30px 0;
10
- // padding-bottom: 30px;
11
  @include baseBlock();
12
  @include box();
13
- // box-shadow: $box-shadow;
14
- // border-radius: $box-border-radius;
15
- // padding: $box-padding;
16
- // &:not(.has-image) {
17
- // padding-top: 30px;
18
- // }
19
  &.has-image {
20
  .ugb-card-image-container {
21
  height: 300px;
22
- // width: 100%;
23
- // margin: 0 auto 20px;
24
  background-size: cover;
25
  background-position: center;
26
  border-top-right-radius: $box-radius;
27
  border-top-left-radius: $box-radius;
28
  padding-top: 0px;
29
- margin: -60px -35px 35px !important;
30
- width: calc(100% + 35px * 2);
31
  + *:not(.wp-ugb-button) {
32
  margin-top: 0 !important;
33
  padding-top: 0 !important;
34
  }
35
  }
36
  }
37
- // > *:first-child {
38
- // margin-top: 0 !important;
39
- // }
40
- // > *:last-child {
41
- // margin-bottom: 0 !important;
42
- // }
43
- // > h4, > * {
44
- // margin: 0 30px .5rem !important;
45
- // }
46
- // .wp-ugb-button {
47
- // margin-top: 1rem !important;
48
- // }
49
- // .ugb-card-image-container {
50
- // margin: 0 0 20px !important;
51
- // }
52
- // .ugb-tagline {
53
- // opacity: .7;
54
- // }
55
- // .wp-block-button.ugb-button-center {
56
- // margin-left: 0 !important;
57
- // margin-right: 0 !important;
58
- // }
59
- // .wp-block-button.ugb-button-right {
60
- // transform: translateX(-100%) translateX(-60px);
61
- // }
62
  }
5
  */
6
  .ugb-card {
7
  border-radius: 4px;
 
8
  margin: 30px 0;
 
9
  @include baseBlock();
10
  @include box();
 
 
 
 
 
 
11
  &.has-image {
12
  .ugb-card-image-container {
13
  height: 300px;
 
 
14
  background-size: cover;
15
  background-position: center;
16
  border-top-right-radius: $box-radius;
17
  border-top-left-radius: $box-radius;
18
  padding-top: 0px;
19
+ margin: calc(var(--box-padding-vert) * -1) calc(var(--box-padding-hori) * -1) var(--box-padding-vert) !important;
20
+ width: calc(100% + var(--box-padding-hori) * 2);
21
  + *:not(.wp-ugb-button) {
22
  margin-top: 0 !important;
23
  padding-top: 0 !important;
24
  }
25
  }
26
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  }
src/block/count-up/deprecated.js ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import classnames from 'classnames'
2
+ import {
3
+ __,
4
+ RichText,
5
+ } from '../../wp-imports'
6
+
7
+ export const deprecatedSchema_1_4 = {
8
+ title: {
9
+ source: 'html',
10
+ selector: 'h4',
11
+ default: __( 'Happy Customers' )
12
+ },
13
+ counter: {
14
+ source: 'html',
15
+ selector: '.ugb-counter',
16
+ default: '12,345'
17
+ },
18
+ des: {
19
+ source: 'html',
20
+ selector: 'p',
21
+ default: __( 'and counting' )
22
+ },
23
+ fontSize: {
24
+ type: 'number',
25
+ default: 60,
26
+ },
27
+ headingColor: {
28
+ type: 'string',
29
+ },
30
+ desColor: {
31
+ type: 'string',
32
+ },
33
+ color: {
34
+ type: 'string',
35
+ },
36
+ }
37
+
38
+ export const deprecatedSave_1_4 = ( props ) => {
39
+
40
+ const { className } = props
41
+ const { color, headingColor, desColor, title, counter, des, fontSize } = props.attributes
42
+
43
+ const mainClasses = classnames( [
44
+ className,
45
+ 'ugb-countup',
46
+ ] )
47
+
48
+ return (
49
+ <div className={ mainClasses }>
50
+ <RichText.Content
51
+ tagName="h4"
52
+ style={ { color: headingColor } }
53
+ value={ title }
54
+ />
55
+ <RichText.Content
56
+ tagName="div"
57
+ className='ugb-counter'
58
+ style={ { color: color, fontSize: fontSize + 'px' } }
59
+ value={ counter }
60
+ data-duration="1000"
61
+ data-delay="16"
62
+ />
63
+ <RichText.Content
64
+ tagName="p"
65
+ style={ { color: desColor } }
66
+ value={ des }
67
+ />
68
+ </div>
69
+ );
70
+ }
src/block/count-up/editor.scss CHANGED
@@ -4,3 +4,34 @@
4
  * CSS for just Backend enqueued after style.scss
5
  * which makes it higher in priority.
6
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  * CSS for just Backend enqueued after style.scss
5
  * which makes it higher in priority.
6
  */
7
+
8
+ // Fade out placeholder text.
9
+ .ugb-countup {
10
+ [data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
11
+ opacity: 0.5;
12
+ }
13
+ }
14
+
15
+ // Only show placeholder text while selected or typing.
16
+ [data-type="ugb/count-up"]:not(.is-selected):not(.is-typing) {
17
+ [data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
18
+ display: none;
19
+ }
20
+ }
21
+
22
+ // Hide columns.
23
+ .ugb-countup.columns-1 {
24
+ > *:nth-child(2), > *:nth-child(3), > *:nth-child(4) {
25
+ display: none;
26
+ }
27
+ }
28
+ .ugb-countup.columns-2 {
29
+ > *:nth-child(3), > *:nth-child(4) {
30
+ display: none;
31
+ }
32
+ }
33
+ .ugb-countup.columns-3 {
34
+ > *:nth-child(4) {
35
+ display: none;
36
+ }
37
+ }
src/block/count-up/index.js CHANGED
@@ -10,6 +10,11 @@ import './style.scss';
10
  import './editor.scss';
11
  import classnames from 'classnames'
12
  import { NumberBoxIcon } from '../../icons'
 
 
 
 
 
13
 
14
  import {
15
  registerBlockType,
@@ -18,83 +23,123 @@ import {
18
  RangeControl,
19
  InspectorControls,
20
  RichText,
21
- PanelBody,
22
  Fragment,
23
  } from '../../wp-imports'
24
 
25
  export const edit = ( props ) => {
26
 
27
- const { isSelected, editable, setState, setAttributes, className } = props
28
-
29
- const { color, headingColor, desColor, title, counter, des, fontSize } = props.attributes
 
 
 
30
 
31
  const mainClasses = classnames( [
32
  className,
33
  'ugb-countup',
34
- ] )
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  return (
37
  <Fragment>
38
- <div className={ mainClasses }>
39
- <RichText
40
- tagName={ 'h4' }
41
- value={ title }
42
- onChange={ ( nextValue ) => setAttributes( { title: nextValue } ) }
43
- style={{ color: headingColor }}
44
- />
45
- <RichText
46
- tagName={ 'div' }
47
- className={ 'ugb-counter' }
48
- placeholder={ counter.default }
49
- data-duration="1000"
50
- data-delay="16"
51
- value={ counter }
52
- onChange={ ( nextValue ) => setAttributes( { counter: nextValue } ) }
53
- style={ {
54
- color: color,
55
- fontSize: fontSize + 'px'
56
- } }
57
- />
58
- <RichText
59
- tagName={ 'p' }
60
- className={ 'ugb-counter-des' }
61
- value={ des }
62
- onChange={ ( nextValue ) => setAttributes( { des: nextValue } ) }
63
- style={{ color: desColor }}
64
- />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  </div>
66
  <InspectorControls>
67
  <PanelColorSettings
68
  title={ __( 'Color Settings' ) }
69
  colorSettings={ [
70
  {
71
- value: headingColor,
72
- onChange: ( colorValue ) => setAttributes( { headingColor: colorValue } ),
73
- label: __( 'Heading Color' ),
74
  },
75
  {
76
- value: color,
77
- onChange: ( colorValue ) => setAttributes( { color: colorValue } ),
78
- label: __( 'Number Color' ),
79
- },
80
- {
81
- value: desColor,
82
- onChange: ( colorValue ) => setAttributes( { desColor: colorValue } ),
83
- label: __( 'Description Color' ),
84
  },
85
  ] }
86
  >
87
- </PanelColorSettings>
88
- <PanelBody>
89
  <RangeControl
90
- label={ __( 'Counter Text Font Size' ) }
 
 
 
 
 
 
 
91
  max="100"
92
  min="10"
93
- value={ fontSize }
94
- onChange={ ( newFontSize ) => setAttributes( { fontSize: newFontSize } ) }
95
- >
96
- </RangeControl>
97
- </PanelBody>
 
 
 
 
 
 
 
 
 
 
 
98
  </InspectorControls>
99
  </Fragment>
100
  )
@@ -102,38 +147,201 @@ export const edit = ( props ) => {
102
 
103
  export const save = ( props ) => {
104
 
105
- const { className } = props
106
- const { color, headingColor, desColor, title, counter, des, fontSize } = props.attributes
 
 
 
 
107
 
108
  const mainClasses = classnames( [
109
  className,
110
  'ugb-countup',
111
- ] )
 
 
 
 
 
 
 
 
 
 
 
 
 
112
 
113
  return (
114
- <div className={ mainClasses }>
115
- <RichText.Content
116
- tagName="h4"
117
- style={ { color: headingColor } }
118
- value={ title }
119
- />
120
- <RichText.Content
121
- tagName="div"
122
- className='ugb-counter'
123
- style={ { color: color, fontSize: fontSize + 'px' } }
124
- value={ counter }
125
- data-duration="1000"
126
- data-delay="16"
127
- />
128
- <RichText.Content
129
- tagName="p"
130
- style={ { color: desColor } }
131
- value={ des }
132
- />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  </div>
134
  );
135
  }
136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
 
138
  /**
139
  * Register: Gutenberg Block.
@@ -156,41 +364,31 @@ registerBlockType( 'ugb/count-up', {
156
  __( 'Count Up' ),
157
  __( 'Stackable' ),
158
  ],
159
- attributes: {
160
- title: {
161
- source: 'html',
162
- selector: 'h4',
163
- default: __( 'Happy Customers' )
164
- },
165
- counter: {
166
- source: 'html',
167
- selector: '.ugb-counter',
168
- default: '12,345'
169
- },
170
- des: {
171
- source: 'html',
172
- selector: 'p',
173
- default: __( 'and counting' )
174
- },
175
- fontSize: {
176
- type: 'number',
177
- default: '60',
178
- },
179
- headingColor: {
180
- type: 'string',
181
- },
182
- desColor: {
183
- type: 'string',
184
- },
185
- color: {
186
- type: 'string',
187
- },
188
-
189
- },
190
-
191
- // The "edit" property must be a valid function.
192
- edit: edit,
193
-
194
- // The "save" property must be specified and must be a valid function.
195
- save: save,
196
  } );
10
  import './editor.scss';
11
  import classnames from 'classnames'
12
  import { NumberBoxIcon } from '../../icons'
13
+ import {
14
+ deprecatedSchema_1_4, deprecatedSave_1_4,
15
+ } from './deprecated'
16
+ import { range } from '../../util'
17
+ import PanelBackgroundSettings from '../../components/panel-background-settings'
18
 
19
  import {
20
  registerBlockType,
23
  RangeControl,
24
  InspectorControls,
25
  RichText,
 
26
  Fragment,
27
  } from '../../wp-imports'
28
 
29
  export const edit = ( props ) => {
30
 
31
+ const { setAttributes, className, attributes } = props
32
+ const {
33
+ columns,
34
+ backgroundColor, backgroundImageID, backgroundImageURL, backgroundOpacity, fixedBackground,
35
+ textColor, countColor, countSize
36
+ } = attributes
37
 
38
  const mainClasses = classnames( [
39
  className,
40
  'ugb-countup',
41
+ 'ugb-countup-v2', // For backward compatibility.
42
+ `columns-${columns}`,
43
+ opacityToClass( backgroundOpacity ),
44
+ ], {
45
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
46
+ 'ugb-has-background-image': backgroundImageURL,
47
+ } )
48
+
49
+ const mainStyle = {
50
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
51
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
52
+ 'backgroundAttachment': fixedBackground ? 'fixed' : undefined,
53
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
54
+ }
55
 
56
  return (
57
  <Fragment>
58
+ <div className={ mainClasses } style={ mainStyle }>
59
+ { [1, 2, 3, 4].map( i => {
60
+ const title = attributes[ `title${i}` ]
61
+ const description = attributes[ `description${i}` ]
62
+ const countText = attributes[ `countText${i}` ]
63
+ return (
64
+ <div className='ugb-countup-item' key={ i }>
65
+ <RichText
66
+ tagName='h4'
67
+ value={ title }
68
+ placeholder={ __( 'Stat Title' ) }
69
+ onChange={ value => setAttributes( { [ `title${i}` ]: value } ) }
70
+ style={ { color: textColor ? textColor : undefined } }
71
+ keepPlaceholderOnFocus
72
+ />
73
+ <RichText
74
+ tagName='div'
75
+ className='ugb-counter'
76
+ placeholder='1,234'
77
+ data-duration='1000'
78
+ data-delay='16'
79
+ value={ countText }
80
+ onChange={ value => setAttributes( { [ `countText${i}` ]: value } ) }
81
+ style={ {
82
+ color: countColor ? countColor : undefined,
83
+ fontSize: countSize ? countSize + 'px' : undefined,
84
+ } }
85
+ keepPlaceholderOnFocus
86
+ />
87
+ <RichText
88
+ tagName='p'
89
+ className='ugb-counter-des'
90
+ placeholder={ __( 'Stat Description' ) }
91
+ value={ description }
92
+ onChange={ value => setAttributes( { [ `description${i}` ]: value } ) }
93
+ style={ { color: textColor ? textColor : undefined } }
94
+ keepPlaceholderOnFocus
95
+ />
96
+ </div>
97
+ )
98
+ } ) }
99
  </div>
100
  <InspectorControls>
101
  <PanelColorSettings
102
  title={ __( 'Color Settings' ) }
103
  colorSettings={ [
104
  {
105
+ value: textColor,
106
+ onChange: textColor => setAttributes( { textColor } ),
107
+ label: __( 'Heading & Description Color' ),
108
  },
109
  {
110
+ value: countColor,
111
+ onChange: countColor => setAttributes( { countColor } ),
112
+ label: __( 'Counter Color' ),
 
 
 
 
 
113
  },
114
  ] }
115
  >
 
 
116
  <RangeControl
117
+ label={ __( 'Columns' ) }
118
+ value={ columns }
119
+ onChange={ columns => setAttributes( { columns } ) }
120
+ min={ 1 }
121
+ max={ 4 }
122
+ />
123
+ <RangeControl
124
+ label={ __( 'Counter Text Size' ) }
125
  max="100"
126
  min="10"
127
+ value={ countSize }
128
+ onChange={ countSize => setAttributes( { countSize } ) }
129
+ />
130
+ </PanelColorSettings>
131
+ <PanelBackgroundSettings
132
+ backgroundColor={ backgroundColor }
133
+ backgroundImageID={ backgroundImageID }
134
+ backgroundImageURL={ backgroundImageURL }
135
+ backgroundOpacity={ backgroundOpacity }
136
+ fixedBackground={ fixedBackground }
137
+ onChangeBackgroundColor={ backgroundColor => setAttributes( { backgroundColor } ) }
138
+ onChangeBackgroundImage={ ( { url, id } ) => setAttributes( { backgroundImageURL: url, backgroundImageID: id } ) }
139
+ onRemoveBackgroundImage={ () => { setAttributes( { backgroundImageURL: '', backgroundImageID: 0 } ) } }
140
+ onChangeBackgroundOpacity={ backgroundOpacity => setAttributes( { backgroundOpacity } ) }
141
+ onChangeFixedBackground={ value => setAttributes( { fixedBackground: !! value } ) }
142
+ />
143
  </InspectorControls>
144
  </Fragment>
145
  )
147
 
148
  export const save = ( props ) => {
149
 
150
+ const { className, attributes } = props
151
+ const {
152
+ columns,
153
+ backgroundColor, backgroundImageURL, fixedBackground, backgroundOpacity,
154
+ textColor, countColor, countSize
155
+ } = attributes
156
 
157
  const mainClasses = classnames( [
158
  className,
159
  'ugb-countup',
160
+ 'ugb-countup-v2', // For backward compatibility.
161
+ `columns-${columns}`,
162
+ opacityToClass( backgroundOpacity ),
163
+ ], {
164
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
165
+ 'ugb-has-background-image': backgroundImageURL,
166
+ } )
167
+
168
+ const mainStyle = {
169
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
170
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
171
+ 'backgroundAttachment': fixedBackground ? 'fixed' : undefined,
172
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
173
+ }
174
 
175
  return (
176
+ <div className={ mainClasses } style={ mainStyle }>
177
+ { range( 1, columns + 1 ).map( i => {
178
+ const title = attributes[ `title${i}` ]
179
+ const description = attributes[ `description${i}` ]
180
+ const countText = attributes[ `countText${i}` ]
181
+ return (
182
+ <div className='ugb-countup-item' key={ i }>
183
+ { ! RichText.isEmpty( title ) && (
184
+ <RichText.Content
185
+ tagName='h4'
186
+ style={ { color: textColor ? textColor : undefined } }
187
+ value={ title }
188
+ />
189
+ ) }
190
+ { ! RichText.isEmpty( countText ) && (
191
+ <RichText.Content
192
+ tagName='div'
193
+ className='ugb-counter'
194
+ style={ {
195
+ color: countColor ? countColor : undefined,
196
+ fontSize: countSize ? countSize + 'px' : undefined,
197
+ } }
198
+ value={ countText }
199
+ data-duration='1000'
200
+ data-delay='16'
201
+ />
202
+ ) }
203
+ { ! RichText.isEmpty( description ) && (
204
+ <RichText.Content
205
+ tagName='p'
206
+ style={ { color: textColor ? textColor : undefined } }
207
+ value={ description }
208
+ />
209
+ ) }
210
+ </div>
211
+ )
212
+ } ) }
213
  </div>
214
  );
215
  }
216
 
217
+ function opacityToClass( ratio ) {
218
+ return 'ugb-has-background-opacity-' + ( 1 * Math.round( ratio / 1 ) );
219
+ }
220
+
221
+ export const schema = {
222
+ columns: {
223
+ type: 'number',
224
+ default: 4,
225
+ },
226
+ backgroundColor: {
227
+ type: 'string',
228
+ },
229
+ backgroundImageID: {
230
+ type: 'number',
231
+ },
232
+ backgroundImageURL: {
233
+ type: 'string',
234
+ },
235
+ backgroundOpacity: {
236
+ type: 'number',
237
+ default: 5,
238
+ },
239
+ fixedBackground: {
240
+ type: 'boolean',
241
+ default: false,
242
+ },
243
+ title1: {
244
+ source: 'html',
245
+ selector: '.ugb-countup-item:nth-child(1) h4',
246
+ default: __( 'Stat Title' ),
247
+ },
248
+ title2: {
249
+ source: 'html',
250
+ selector: '.ugb-countup-item:nth-child(2) h4',
251
+ default: __( 'Stat Title' ),
252
+ },
253
+ title3: {
254
+ source: 'html',
255
+ selector: '.ugb-countup-item:nth-child(3) h4',
256
+ default: __( 'Stat Title' ),
257
+ },
258
+ title4: {
259
+ source: 'html',
260
+ selector: '.ugb-countup-item:nth-child(4) h4',
261
+ default: __( 'Stat Title' ),
262
+ },
263
+ countText1: {
264
+ source: 'html',
265
+ selector: '.ugb-countup-item:nth-child(1) .ugb-counter',
266
+ default: '$99.99'
267
+ },
268
+ countText2: {
269
+ source: 'html',
270
+ selector: '.ugb-countup-item:nth-child(2) .ugb-counter',
271
+ default: '1,234'
272
+ },
273
+ countText3: {
274
+ source: 'html',
275
+ selector: '.ugb-countup-item:nth-child(3) .ugb-counter',
276
+ default: '1,234.56'
277
+ },
278
+ countText4: {
279
+ source: 'html',
280
+ selector: '.ugb-countup-item:nth-child(4) .ugb-counter',
281
+ default: '£99.99'
282
+ },
283
+ description1: {
284
+ source: 'html',
285
+ selector: '.ugb-countup-item:nth-child(1) p',
286
+ default: __( 'stat description' )
287
+ },
288
+ description2: {
289
+ source: 'html',
290
+ selector: '.ugb-countup-item:nth-child(2) p',
291
+ default: __( 'stat description' )
292
+ },
293
+ description3: {
294
+ source: 'html',
295
+ selector: '.ugb-countup-item:nth-child(3) p',
296
+ default: __( 'stat description' )
297
+ },
298
+ description4: {
299
+ source: 'html',
300
+ selector: '.ugb-countup-item:nth-child(4) p',
301
+ default: __( 'stat description' )
302
+ },
303
+ textColor: {
304
+ type: 'string',
305
+ },
306
+ countColor: {
307
+ type: 'string',
308
+ },
309
+ countSize: {
310
+ type: 'number',
311
+ default: 40,
312
+ },
313
+
314
+ // Keep the old attributes. Gutenberg issue https://github.com/WordPress/gutenberg/issues/10406
315
+ title: {
316
+ source: 'html',
317
+ selector: 'h4',
318
+ default: __( 'Happy Customers' )
319
+ },
320
+ counter: {
321
+ source: 'html',
322
+ selector: '.ugb-counter',
323
+ default: '12,345'
324
+ },
325
+ des: {
326
+ source: 'html',
327
+ selector: 'p',
328
+ default: __( 'and counting' )
329
+ },
330
+ fontSize: {
331
+ type: 'number',
332
+ default: 60,
333
+ },
334
+ headingColor: {
335
+ type: 'string',
336
+ },
337
+ desColor: {
338
+ type: 'string',
339
+ },
340
+ color: {
341
+ type: 'string',
342
+ },
343
+ }
344
+
345
 
346
  /**
347
  * Register: Gutenberg Block.
364
  __( 'Count Up' ),
365
  __( 'Stackable' ),
366
  ],
367
+ attributes: schema,
368
+
369
+ supports: {
370
+ align: true,
371
+ align: [ 'center', 'wide', 'full' ],
372
+ },
373
+
374
+ deprecated: [
375
+ {
376
+ attributes: deprecatedSchema_1_4,
377
+ save: deprecatedSave_1_4,
378
+ migrate: attributes => {
379
+ return {
380
+ columns: 1,
381
+ title1: attributes.title,
382
+ description1: attributes.des,
383
+ countText1: attributes.counter,
384
+ textColor: attributes.headingColor,
385
+ countColor: attributes.color,
386
+ countSize: attributes.fontSize,
387
+ }
388
+ },
389
+ },
390
+ ],
391
+
392
+ edit,
393
+ save,
 
 
 
 
 
 
 
 
 
 
394
  } );
src/block/count-up/style.scss CHANGED
@@ -5,19 +5,65 @@
5
  */
6
  .ugb-countup {
7
  text-align: center;
8
- margin-bottom: 1em;
9
  @include baseBlock();
10
- h4, div, p {
11
- margin: 0 !important;
12
- line-height: 1em;
13
- }
14
- h4 {
15
- margin-bottom: 1em !important;
16
- }
17
- p {
18
- margin-top: 1em !important;
19
- }
20
  .ugb-countup-hide {
21
  visibility: hidden;
22
  }
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  */
6
  .ugb-countup {
7
  text-align: center;
 
8
  @include baseBlock();
9
+ .ugb-counter {
10
+ line-height: 1em !important;
11
+ }
 
 
 
 
 
 
 
12
  .ugb-countup-hide {
13
  visibility: hidden;
14
  }
15
+ }
16
+ .ugb-countup {
17
+ @include baseBlock();
18
+ text-align: center;
19
+ display: flex !important;
20
+ flex-wrap: nowrap;
21
+ flex-direction: row;
22
+ justify-content: center;
23
+ &:not(.ugb-has-background):not(.alignwide):not(.alignfull) {
24
+ margin-left: (- $box-hori-padding / 2);
25
+ margin-right: (- $box-hori-padding / 2);
26
+ }
27
+ .ugb-countup-item {
28
+ @include baseBlock();
29
+ flex: 1;
30
+ margin: 0 ($box-hori-padding / 2) !important;
31
+ }
32
+ }
33
+
34
+ .ugb-countup {
35
+
36
+ // Collapse to 4 columns to 2 rows of 2-columns.
37
+ @media screen and (max-width: $break-medium) {
38
+ &.columns-4 {
39
+ display: grid !important;
40
+ grid-template-columns: 1fr 1fr;
41
+ justify-content: center;
42
+ align-items: center;
43
+ grid-gap: $box-hori-padding;
44
+ .ugb-countup-item {
45
+ margin: 0 !important;
46
+ }
47
+ }
48
+
49
+ // Resize numbers to make them smaller in small screens.
50
+ .ugb-counter {
51
+ font-size: calc(1rem + 4vw) !important;
52
+ }
53
+ }
54
+
55
+ // Collapse 3 columns to 1 column.
56
+ @media screen and (max-width: $break-small) {
57
+ &.columns-3 {
58
+ flex-direction: column;
59
+ .ugb-countup-item:not(:last-child) {
60
+ margin-bottom: $box-hori-padding !important;
61
+ }
62
+ }
63
+ }
64
+ }
65
+
66
+ // Backward compatibility. < v1.5 when we only had 1 column.
67
+ .ugb-countup:not(.ugb-countup-v2) {
68
+ flex-direction: column;
69
+ }
src/block/feature/deprecated.js ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import classnames from 'classnames'
2
+ import {
3
+ __,
4
+ RichText,
5
+ } from '../../wp-imports'
6
+ import {
7
+ ButtonSave_1_4,
8
+ } from '../button/deprecated.js'
9
+
10
+ export const deprecatedSchema_1_4 = {
11
+ backgroundColor: {
12
+ type: 'string',
13
+ },
14
+ textColor: {
15
+ type: 'string',
16
+ },
17
+ invert: {
18
+ type: 'boolean',
19
+ default: false,
20
+ },
21
+ contentAlign: {
22
+ type: 'string',
23
+ default: 'left',
24
+ },
25
+ imageSize: {
26
+ type: 'number',
27
+ default: 400,
28
+ },
29
+ imageID: {
30
+ type: 'number',
31
+ },
32
+ imageUrl: {
33
+ type: 'url',
34
+ },
35
+ title: {
36
+ source: 'html',
37
+ selector: 'h2',
38
+ default: __( 'Feature Title' ),
39
+ },
40
+ description: {
41
+ source: 'html',
42
+ selector: 'p',
43
+ default: __( 'Some feature description for an awesome feature' ),
44
+ },
45
+ buttonURL: {
46
+ type: 'string',
47
+ source: 'attribute',
48
+ selector: '.ugb-button-inner',
49
+ attribute: 'href',
50
+ },
51
+ buttonText: {
52
+ source: 'html',
53
+ selector: '.ugb-button-inner',
54
+ default: __( 'Learn More' ),
55
+ },
56
+ buttonColor: {
57
+ type: 'string',
58
+ },
59
+ buttonTextColor: {
60
+ type: 'string',
61
+ },
62
+ buttonSize: {
63
+ type: 'string',
64
+ default: 'normal',
65
+ },
66
+ buttonBorderRadius: {
67
+ type: 'number',
68
+ default: 4,
69
+ },
70
+ }
71
+
72
+ export const deprecatedSave_1_4 = ( props ) => {
73
+
74
+ const {
75
+ className,
76
+ } = props
77
+
78
+ const {
79
+ invert,
80
+ contentAlign,
81
+ backgroundColor,
82
+ textColor,
83
+ imageSize,
84
+ imageID,
85
+ imageUrl,
86
+ title,
87
+ description,
88
+ buttonURL,
89
+ buttonText,
90
+ buttonColor,
91
+ buttonTextColor,
92
+ buttonSize,
93
+ buttonBorderRadius,
94
+ } = props.attributes;
95
+
96
+ const mainClasses = classnames( [
97
+ className,
98
+ 'ugb-feature',
99
+ ], {
100
+ 'ugb-has-background': backgroundColor,
101
+ [ `ugb-content-${contentAlign}` ]: contentAlign,
102
+ 'ugb-invert': invert,
103
+ } )
104
+
105
+ const style = {
106
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
107
+ '--image-size': imageSize ? `${imageSize}px` : undefined,
108
+ }
109
+
110
+ return (
111
+ <div className={ mainClasses } style={ style }>
112
+ <div className='ugb-feature-wrapper'>
113
+ <div>
114
+ { ! RichText.isEmpty( title ) && (
115
+ <RichText.Content
116
+ tagName='h2'
117
+ style={ { color: textColor } }
118
+ value={ title }
119
+ />
120
+ ) }
121
+ { ! RichText.isEmpty( description ) && (
122
+ <RichText.Content
123
+ tagName='p'
124
+ style={ { color: textColor } }
125
+ value={ description }
126
+ />
127
+ ) }
128
+ { ! RichText.isEmpty( buttonText ) && (
129
+ <ButtonSave_1_4 size={ buttonSize } url={ buttonURL } align={ contentAlign } color={ buttonTextColor } text={ buttonText } backgroundColor={ buttonColor } borderRadius={ buttonBorderRadius } />
130
+ ) }
131
+ </div>
132
+ <div className='ugb-feature-image-side'>
133
+ { imageUrl && (
134
+ <img src={ imageUrl } alt={ title } />
135
+ ) }
136
+ </div>
137
+ </div>
138
+ </div>
139
+ );
140
+ }
src/block/feature/index.js CHANGED
@@ -9,6 +9,10 @@ import { FeatureIcon } from '../../icons'
9
  import ButtonEdit from '../button/button-edit'
10
  import ButtonSave from '../button/button-save'
11
  import PanelButtonSettings from '../../components/panel-button-settings'
 
 
 
 
12
 
13
  import {
14
  registerBlockType,
@@ -41,7 +45,6 @@ export const edit = ( props ) => {
41
  const {
42
  invert,
43
  contentAlign,
44
- backgroundColor,
45
  textColor,
46
  imageSize,
47
  imageID,
@@ -54,20 +57,30 @@ export const edit = ( props ) => {
54
  buttonTextColor,
55
  buttonSize,
56
  buttonBorderRadius,
 
 
 
 
 
57
  } = props.attributes;
58
 
59
  const mainClasses = classnames( [
60
  className,
61
  'ugb-feature',
 
62
  ], {
63
- 'ugb-has-background': backgroundColor,
64
  [ `ugb-content-${contentAlign}` ]: contentAlign,
65
  'ugb-invert': invert,
 
 
66
  } )
67
 
68
- const style = {
69
- 'backgroundColor': backgroundColor ? backgroundColor : undefined,
70
  '--image-size': imageSize ? `${imageSize}px` : undefined,
 
 
 
 
71
  }
72
 
73
  return (
@@ -79,7 +92,17 @@ export const edit = ( props ) => {
79
  />
80
  </BlockControls>
81
  <InspectorControls>
82
- <PanelBody>
 
 
 
 
 
 
 
 
 
 
83
  <ToggleControl
84
  label={ __( 'Reverse Horizontally' ) }
85
  checked={ invert }
@@ -93,24 +116,19 @@ export const edit = ( props ) => {
93
  min={ 100 }
94
  max={ 600 }
95
  />
96
- </PanelBody>
97
- <PanelColorSettings
98
- initialOpen={ true }
99
- title={ __( 'Colors' ) }
100
- colorSettings={ [
101
- {
102
- value: backgroundColor,
103
- onChange: backgroundColor => setAttributes( { backgroundColor } ),
104
- label: __( 'Background Color' ),
105
- },
106
- {
107
- value: textColor,
108
- onChange: textColor => setAttributes( { textColor } ),
109
- label: __( 'Text Color' ),
110
- },
111
- ] }
112
- >
113
  </PanelColorSettings>
 
 
 
 
 
 
 
 
 
 
 
 
114
  <PanelButtonSettings
115
  initialOpen={ false }
116
  buttonColor={ buttonColor }
@@ -123,7 +141,7 @@ export const edit = ( props ) => {
123
  onChangeButtonBorderRadius={ ( value ) => setAttributes( { buttonBorderRadius: value } ) }
124
  />
125
  </InspectorControls>
126
- <div className={ mainClasses } style={ style }>
127
  <div className='ugb-feature-wrapper'>
128
  <div>
129
  <RichText
@@ -196,7 +214,6 @@ export const save = ( props ) => {
196
  const {
197
  invert,
198
  contentAlign,
199
- backgroundColor,
200
  textColor,
201
  imageSize,
202
  imageID,
@@ -209,24 +226,34 @@ export const save = ( props ) => {
209
  buttonTextColor,
210
  buttonSize,
211
  buttonBorderRadius,
 
 
 
 
 
212
  } = props.attributes;
213
 
214
  const mainClasses = classnames( [
215
  className,
216
  'ugb-feature',
 
217
  ], {
218
- 'ugb-has-background': backgroundColor,
219
  [ `ugb-content-${contentAlign}` ]: contentAlign,
220
  'ugb-invert': invert,
 
 
221
  } )
222
 
223
- const style = {
224
- 'backgroundColor': backgroundColor ? backgroundColor : undefined,
225
  '--image-size': imageSize ? `${imageSize}px` : undefined,
 
 
 
 
226
  }
227
 
228
  return (
229
- <div className={ mainClasses } style={ style }>
230
  <div className='ugb-feature-wrapper'>
231
  <div>
232
  { ! RichText.isEmpty( title ) && (
@@ -258,9 +285,6 @@ export const save = ( props ) => {
258
  }
259
 
260
  export const schema = {
261
- backgroundColor: {
262
- type: 'string',
263
- },
264
  textColor: {
265
  type: 'string',
266
  },
@@ -317,6 +341,23 @@ export const schema = {
317
  type: 'number',
318
  default: 4,
319
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
320
  }
321
 
322
  /**
@@ -328,9 +369,9 @@ export const schema = {
328
  * registered; otherwise `undefined`.
329
  */
330
  registerBlockType( 'ugb/feature', {
331
- title: __( 'Feature' ), // Block title.
332
- icon: FeatureIcon, // Block icon from Dashicons or a custom component
333
- category: 'stackable-ultimate-gutenberg-blocks', // Block category
334
  keywords: [
335
  __( 'Feature' ),
336
  __( 'Stackable' ),
@@ -341,7 +382,13 @@ registerBlockType( 'ugb/feature', {
341
  },
342
  attributes: schema,
343
 
344
- edit: edit,
 
 
 
 
 
345
 
346
- save: save,
 
347
  } );
9
  import ButtonEdit from '../button/button-edit'
10
  import ButtonSave from '../button/button-save'
11
  import PanelButtonSettings from '../../components/panel-button-settings'
12
+ import PanelBackgroundSettings from '../../components/panel-background-settings'
13
+ import {
14
+ deprecatedSchema_1_4, deprecatedSave_1_4,
15
+ } from './deprecated'
16
 
17
  import {
18
  registerBlockType,
45
  const {
46
  invert,
47
  contentAlign,
 
48
  textColor,
49
  imageSize,
50
  imageID,
57
  buttonTextColor,
58
  buttonSize,
59
  buttonBorderRadius,
60
+ backgroundColor,
61
+ backgroundImageID,
62
+ backgroundImageURL,
63
+ backgroundOpacity,
64
+ fixedBackground,
65
  } = props.attributes;
66
 
67
  const mainClasses = classnames( [
68
  className,
69
  'ugb-feature',
70
+ 'ugb-has-background-opacity-' + ( 1 * Math.round( backgroundOpacity / 1 ) ),
71
  ], {
 
72
  [ `ugb-content-${contentAlign}` ]: contentAlign,
73
  'ugb-invert': invert,
74
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
75
+ 'ugb-has-background-image': backgroundImageURL,
76
  } )
77
 
78
+ const mainStyle = {
 
79
  '--image-size': imageSize ? `${imageSize}px` : undefined,
80
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
81
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
82
+ 'backgroundAttachment': fixedBackground ? 'fixed' : undefined,
83
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
84
  }
85
 
86
  return (
92
  />
93
  </BlockControls>
94
  <InspectorControls>
95
+ <PanelColorSettings
96
+ initialOpen={ true }
97
+ title={ __( 'General Settings' ) }
98
+ colorSettings={ [
99
+ {
100
+ value: textColor,
101
+ onChange: textColor => setAttributes( { textColor } ),
102
+ label: __( 'Text Color' ),
103
+ },
104
+ ] }
105
+ >
106
  <ToggleControl
107
  label={ __( 'Reverse Horizontally' ) }
108
  checked={ invert }
116
  min={ 100 }
117
  max={ 600 }
118
  />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  </PanelColorSettings>
120
+ <PanelBackgroundSettings
121
+ backgroundColor={ backgroundColor }
122
+ backgroundImageID={ backgroundImageID }
123
+ backgroundImageURL={ backgroundImageURL }
124
+ backgroundOpacity={ backgroundOpacity }
125
+ fixedBackground={ fixedBackground }
126
+ onChangeBackgroundColor={ backgroundColor => setAttributes( { backgroundColor } ) }
127
+ onChangeBackgroundImage={ ( { url, id } ) => setAttributes( { backgroundImageURL: url, backgroundImageID: id } ) }
128
+ onRemoveBackgroundImage={ () => { setAttributes( { backgroundImageURL: '', backgroundImageID: 0 } ) } }
129
+ onChangeBackgroundOpacity={ backgroundOpacity => setAttributes( { backgroundOpacity } ) }
130
+ onChangeFixedBackground={ value => setAttributes( { fixedBackground: !! value } ) }
131
+ />
132
  <PanelButtonSettings
133
  initialOpen={ false }
134
  buttonColor={ buttonColor }
141
  onChangeButtonBorderRadius={ ( value ) => setAttributes( { buttonBorderRadius: value } ) }
142
  />
143
  </InspectorControls>
144
+ <div className={ mainClasses } style={ mainStyle }>
145
  <div className='ugb-feature-wrapper'>
146
  <div>
147
  <RichText
214
  const {
215
  invert,
216
  contentAlign,
 
217
  textColor,
218
  imageSize,
219
  imageID,
226
  buttonTextColor,
227
  buttonSize,
228
  buttonBorderRadius,
229
+ backgroundColor,
230
+ backgroundImageID,
231
+ backgroundImageURL,
232
+ backgroundOpacity,
233
+ fixedBackground,
234
  } = props.attributes;
235
 
236
  const mainClasses = classnames( [
237
  className,
238
  'ugb-feature',
239
+ 'ugb-has-background-opacity-' + ( 1 * Math.round( backgroundOpacity / 1 ) ),
240
  ], {
 
241
  [ `ugb-content-${contentAlign}` ]: contentAlign,
242
  'ugb-invert': invert,
243
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
244
+ 'ugb-has-background-image': backgroundImageURL,
245
  } )
246
 
247
+ const mainStyle = {
 
248
  '--image-size': imageSize ? `${imageSize}px` : undefined,
249
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
250
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
251
+ 'backgroundAttachment': fixedBackground ? 'fixed' : undefined,
252
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
253
  }
254
 
255
  return (
256
+ <div className={ mainClasses } style={ mainStyle }>
257
  <div className='ugb-feature-wrapper'>
258
  <div>
259
  { ! RichText.isEmpty( title ) && (
285
  }
286
 
287
  export const schema = {
 
 
 
288
  textColor: {
289
  type: 'string',
290
  },
341
  type: 'number',
342
  default: 4,
343
  },
344
+ backgroundColor: {
345
+ type: 'string',
346
+ },
347
+ backgroundImageID: {
348
+ type: 'number',
349
+ },
350
+ backgroundImageURL: {
351
+ type: 'string',
352
+ },
353
+ backgroundOpacity: {
354
+ type: 'number',
355
+ default: 5,
356
+ },
357
+ fixedBackground: {
358
+ type: 'boolean',
359
+ default: false,
360
+ },
361
  }
362
 
363
  /**
369
  * registered; otherwise `undefined`.
370
  */
371
  registerBlockType( 'ugb/feature', {
372
+ title: __( 'Feature' ),
373
+ icon: FeatureIcon,
374
+ category: 'stackable-ultimate-gutenberg-blocks',
375
  keywords: [
376
  __( 'Feature' ),
377
  __( 'Stackable' ),
382
  },
383
  attributes: schema,
384
 
385
+ deprecated: [
386
+ {
387
+ attributes: deprecatedSchema_1_4,
388
+ save: deprecatedSave_1_4,
389
+ },
390
+ ],
391
 
392
+ edit,
393
+ save,
394
  } );
src/block/header/deprecated.js CHANGED
@@ -5,10 +5,161 @@ import {
5
  __,
6
  } from '../../wp-imports'
7
  import {
 
8
  ButtonSave_1_1_2,
9
  ButtonSave_1_1
10
  } from '../button/deprecated.js'
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  export const deprecatedSave_1_1_2 = ( props ) => {
13
 
14
  const {
5
  __,
6
  } from '../../wp-imports'
7
  import {
8
+ ButtonSave_1_4,
9
  ButtonSave_1_1_2,
10
  ButtonSave_1_1
11
  } from '../button/deprecated.js'
12
 
13
+ function opacityToClass_1_4( ratio ) {
14
+ return ( ratio === 0 ) ?
15
+ null :
16
+ 'overlay-opacity-' + ( 1 * Math.round( ratio / 1 ) );
17
+ }
18
+
19
+ export const deprecatedSave_1_4 = ( props ) => {
20
+
21
+ const { className } = props
22
+ const {
23
+ url,
24
+ buttonURL,
25
+ buttonText,
26
+ buttonColor,
27
+ buttonTextColor,
28
+ cornerButtonRadius,
29
+ size,
30
+ title,
31
+ titleColor,
32
+ subtitle,
33
+ subtitleColor,
34
+ contentAlign,
35
+ id,
36
+ backgroundColor,
37
+ opacity
38
+ } = props.attributes
39
+
40
+ const style = {
41
+ backgroundImage: url ? `url(${ url })` : undefined,
42
+ textAlign: contentAlign ? contentAlign : undefined,
43
+ }
44
+
45
+ const mainClasses = classnames( [
46
+ className,
47
+ 'ugb-header',
48
+ ], {
49
+ 'has-image': url,
50
+ 'has-no-content': ! title && ! subtitle && ! buttonText,
51
+ 'has-content': title || subtitle || buttonText
52
+ } )
53
+
54
+ const overlayClasses = classnames( [
55
+ opacityToClass_1_4( opacity ),
56
+ 'ugb-header-overlay',
57
+ ], {
58
+ 'overlay-opacity': opacity !== 0,
59
+ } );
60
+
61
+ return (
62
+ <div className={ mainClasses }>
63
+ <div className={ overlayClasses }
64
+ style={ { backgroundColor: backgroundColor } }>
65
+ </div>
66
+ <section
67
+ key="preview"
68
+ data-url={ url }
69
+ style={ style }
70
+ className={ 'ugb-header-section' }>
71
+ { ! RichText.isEmpty( title ) && (
72
+ <RichText.Content
73
+ tagName='h2'
74
+ className='ugb-header-title'
75
+ style={ { color: titleColor } }
76
+ value={ title }
77
+ />
78
+ ) }
79
+ { ! RichText.isEmpty( subtitle ) && (
80
+ <RichText.Content
81
+ tagName='p'
82
+ className='ugb-header-subtitle'
83
+ style={ { color: subtitleColor } }
84
+ value={ subtitle }
85
+ />
86
+ ) }
87
+ { buttonText && !! buttonText.length && (
88
+ <ButtonSave_1_4 size={ size } url={ buttonURL } align={ contentAlign } color={ buttonTextColor } text={ buttonText } backgroundColor={ buttonColor } borderRadius={ cornerButtonRadius } />
89
+ ) }
90
+ </section>
91
+ </div>
92
+ );
93
+ }
94
+
95
+ export const deprecatedSchema_1_4 = {
96
+ title: {
97
+ source: 'html',
98
+ selector: 'h2',
99
+ default: __( 'Heading Title' )
100
+ },
101
+ subtitle: {
102
+ source: 'html',
103
+ selector: 'p',
104
+ default: __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.' )
105
+ },
106
+ url: {
107
+ type: 'string',
108
+ source: 'attribute',
109
+ selector: '.ugb-header .ugb-header-section',
110
+ attribute: 'data-url',
111
+ },
112
+ buttonURL: {
113
+ type: 'string',
114
+ source: 'attribute',
115
+ selector: '.ugb-button-inner',
116
+ attribute: 'href',
117
+ },
118
+ titleColor: {
119
+ type: 'string',
120
+ default: '#ffffff',
121
+ },
122
+ subtitleColor: {
123
+ type: 'string',
124
+ default: '#ffffff',
125
+ },
126
+ buttonText: {
127
+ source: 'html',
128
+ selector: '.ugb-button-inner',
129
+ default: __( 'Button' )
130
+ },
131
+ buttonColor: {
132
+ type: 'string',
133
+ },
134
+ buttonTextColor: {
135
+ type: 'string',
136
+ default: '#ffffff',
137
+ },
138
+ size: {
139
+ type: 'string',
140
+ default: 'normal',
141
+ },
142
+ cornerButtonRadius: {
143
+ type: 'number',
144
+ default: 4,
145
+ },
146
+ contentAlign: {
147
+ type: 'string',
148
+ default: 'center',
149
+ },
150
+ id: {
151
+ type: 'number',
152
+ },
153
+ backgroundColor: {
154
+ type: 'string',
155
+ default: '#000000',
156
+ },
157
+ opacity: {
158
+ type: 'number',
159
+ default: 5,
160
+ },
161
+ }
162
+
163
  export const deprecatedSave_1_1_2 = ( props ) => {
164
 
165
  const {
src/block/header/index.js CHANGED
@@ -12,7 +12,9 @@ import { HeaderIcon } from '../../icons'
12
  import ButtonEdit from '../button/button-edit'
13
  import ButtonSave from '../button/button-save'
14
  import PanelButtonSettings from '../../components/panel-button-settings'
 
15
  import {
 
16
  deprecatedSave_1_1_2, deprecatedSchema_1_1_2,
17
  deprecatedSave_1_1, deprecatedSchema_1_1,
18
  deprecatedSave_0_7, deprecatedSchema_0_7,
@@ -49,7 +51,6 @@ export const edit = ( props ) => {
49
  } = props
50
 
51
  const {
52
- url,
53
  buttonURL,
54
  buttonText,
55
  buttonColor,
@@ -61,24 +62,29 @@ export const edit = ( props ) => {
61
  subtitle,
62
  subtitleColor,
63
  contentAlign,
64
- id,
65
  backgroundColor,
66
- opacity,
 
 
 
67
  } = props.attributes
68
 
69
  const mainClasses = classnames( [
70
  className,
71
  'ugb-header',
 
72
  ], {
73
- 'has-image': url,
 
74
  } )
75
 
76
- const overlayClasses = classnames( [
77
- opacityToClass( opacity ),
78
- 'ugb-header-overlay',
79
- ], {
80
- 'overlay-opacity': opacity !== 0,
81
- } );
 
82
 
83
  return (
84
  <Fragment>
@@ -87,38 +93,11 @@ export const edit = ( props ) => {
87
  value={ contentAlign }
88
  onChange={ ( newAlign ) => setAttributes( { contentAlign: newAlign } ) }
89
  />
90
- <Toolbar>
91
- <MediaUpload
92
- onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
93
- allowedTypes={ [ 'image' ] }
94
- value={ id }
95
- render={ ( { open } ) => (
96
- <IconButton
97
- className="components-toolbar__control"
98
- label={ __( 'Edit image' ) }
99
- icon="edit"
100
- onClick={ open }
101
- />
102
- ) }
103
- />
104
- </Toolbar>
105
  </BlockControls>
106
  <InspectorControls>
107
- <PanelBody
108
- title={ __( 'General' ) }
109
- >
110
- <RangeControl
111
- label={ __( 'Background Opacity' ) }
112
- value={ opacity }
113
- min={ 0 }
114
- max={ 10 }
115
- step={ 1 }
116
- onChange={ ( ratio ) => setAttributes( { opacity: ratio } ) }
117
- />
118
- </PanelBody>
119
  <PanelColorSettings
120
- initialOpen={ false }
121
- title={ __( 'Header Colors' ) }
122
  colorSettings={ [
123
  {
124
  value: titleColor,
@@ -130,14 +109,22 @@ export const edit = ( props ) => {
130
  onChange: ( colorValue ) => setAttributes( { subtitleColor: colorValue } ),
131
  label: __( 'Subtitle Color' ),
132
  },
133
- {
134
- value: backgroundColor,
135
- onChange: ( colorValue ) => setAttributes( { backgroundColor: colorValue } ),
136
- label: __( 'Heading Background Color' ),
137
- },
138
  ] }
139
  >
140
  </PanelColorSettings>
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  <PanelButtonSettings
142
  initialOpen={ false }
143
  buttonColor={ buttonColor }
@@ -150,40 +137,11 @@ export const edit = ( props ) => {
150
  onChangeButtonBorderRadius={ ( value ) => setAttributes( { cornerButtonRadius: value } ) }
151
  />
152
  </InspectorControls>
153
- <div className={ mainClasses } >
154
- <div className={ overlayClasses }
155
- style={ {
156
- backgroundColor: backgroundColor,
157
- } }
158
- >
159
- </div>
160
- <MediaUpload
161
- onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
162
- allowedTypes={ [ 'image' ] }
163
- value={id}
164
- render={ function( obj ) {
165
- return [
166
- ! url && (
167
- <Button
168
- className={ id ? '' : 'button button-large' }
169
- onClick={ obj.open }
170
- >
171
- {__('Upload Image')}
172
- </Button>
173
- )
174
- ]
175
- } }
176
- />
177
- <section
178
- data-url={ url }
179
- style={ {
180
- backgroundImage: url ? `url(${ url })` : undefined,
181
- } }
182
- className={ 'ugb-header-section' }
183
- >
184
  <RichText
185
- tagName="h2"
186
- className={ 'ugb-header-title' }
187
  placeholder={ title.default }
188
  value={ title }
189
  onChange={ ( value ) => setAttributes( { title: value } ) }
@@ -193,8 +151,8 @@ export const edit = ( props ) => {
193
  } }
194
  />
195
  <RichText
196
- tagName="p"
197
- className={ 'ugb-header-subtitle' }
198
  placeholder={ subtitle.default }
199
  value={ subtitle }
200
  onChange={ ( value ) => setAttributes( { subtitle: value } ) }
@@ -206,7 +164,7 @@ export const edit = ( props ) => {
206
  <ButtonEdit size={ size } align={ contentAlign } color={ buttonTextColor } backgroundColor={ buttonColor } text={ buttonText } borderRadius={ cornerButtonRadius }
207
  onChange={ (text) => setAttributes( { buttonText: text } ) }
208
  />
209
- </section>
210
  </div>
211
  { isSelected && (
212
  <form
@@ -234,7 +192,6 @@ export const save = ( props ) => {
234
 
235
  const { className } = props
236
  const {
237
- url,
238
  buttonURL,
239
  buttonText,
240
  buttonColor,
@@ -246,42 +203,33 @@ export const save = ( props ) => {
246
  subtitle,
247
  subtitleColor,
248
  contentAlign,
249
- id,
250
  backgroundColor,
251
- opacity
 
 
 
252
  } = props.attributes
253
 
254
- const style = {
255
- backgroundImage: url ? `url(${ url })` : undefined,
256
- textAlign: contentAlign ? contentAlign : undefined,
257
- }
258
-
259
  const mainClasses = classnames( [
260
  className,
261
  'ugb-header',
 
262
  ], {
263
- 'has-image': url,
264
- 'has-no-content': ! title && ! subtitle && ! buttonText,
265
- 'has-content': title || subtitle || buttonText
266
  } )
267
 
268
- const overlayClasses = classnames( [
269
- opacityToClass( opacity ),
270
- 'ugb-header-overlay',
271
- ], {
272
- 'overlay-opacity': opacity !== 0,
273
- } );
 
274
 
275
  return (
276
- <div className={ mainClasses }>
277
- <div className={ overlayClasses }
278
- style={ { backgroundColor: backgroundColor } }>
279
- </div>
280
- <section
281
- key="preview"
282
- data-url={ url }
283
- style={ style }
284
- className={ 'ugb-header-section' }>
285
  { ! RichText.isEmpty( title ) && (
286
  <RichText.Content
287
  tagName='h2'
@@ -301,7 +249,7 @@ export const save = ( props ) => {
301
  { buttonText && !! buttonText.length && (
302
  <ButtonSave size={ size } url={ buttonURL } align={ contentAlign } color={ buttonTextColor } text={ buttonText } backgroundColor={ buttonColor } borderRadius={ cornerButtonRadius } />
303
  ) }
304
- </section>
305
  </div>
306
  );
307
  }
@@ -317,12 +265,6 @@ const schema = {
317
  selector: 'p',
318
  default: __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.' )
319
  },
320
- url: {
321
- type: 'string',
322
- source: 'attribute',
323
- selector: '.ugb-header .ugb-header-section',
324
- attribute: 'data-url',
325
- },
326
  buttonURL: {
327
  type: 'string',
328
  source: 'attribute',
@@ -361,17 +303,39 @@ const schema = {
361
  type: 'string',
362
  default: 'center',
363
  },
364
- id: {
365
- type: 'number',
366
- },
367
  backgroundColor: {
368
  type: 'string',
369
  default: '#000000',
370
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
371
  opacity: {
372
  type: 'number',
373
  default: 5,
374
  },
 
 
 
 
 
 
 
 
 
375
  }
376
 
377
 
@@ -388,10 +352,9 @@ const schema = {
388
  * registered; otherwise `undefined`.
389
  */
390
  registerBlockType( 'ugb/header', {
391
- // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
392
- title: __( 'Header' ), // Block title.
393
- icon: HeaderIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
394
- category: 'stackable-ultimate-gutenberg-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
395
  keywords: [
396
  __( 'Header' ),
397
  __( 'Stackable' ),
@@ -403,6 +366,18 @@ registerBlockType( 'ugb/header', {
403
  attributes: schema,
404
 
405
  deprecated: [
 
 
 
 
 
 
 
 
 
 
 
 
406
  {
407
  attributes: deprecatedSchema_1_1_2,
408
  save: deprecatedSave_1_1_2,
@@ -419,10 +394,4 @@ registerBlockType( 'ugb/header', {
419
 
420
  edit,
421
  save,
422
- } );
423
-
424
- function opacityToClass( ratio ) {
425
- return ( ratio === 0 ) ?
426
- null :
427
- 'overlay-opacity-' + ( 1 * Math.round( ratio / 1 ) );
428
- }
12
  import ButtonEdit from '../button/button-edit'
13
  import ButtonSave from '../button/button-save'
14
  import PanelButtonSettings from '../../components/panel-button-settings'
15
+ import PanelBackgroundSettings from '../../components/panel-background-settings'
16
  import {
17
+ deprecatedSave_1_4, deprecatedSchema_1_4,
18
  deprecatedSave_1_1_2, deprecatedSchema_1_1_2,
19
  deprecatedSave_1_1, deprecatedSchema_1_1,
20
  deprecatedSave_0_7, deprecatedSchema_0_7,
51
  } = props
52
 
53
  const {
 
54
  buttonURL,
55
  buttonText,
56
  buttonColor,
62
  subtitle,
63
  subtitleColor,
64
  contentAlign,
 
65
  backgroundColor,
66
+ backgroundImageID,
67
+ backgroundImageURL,
68
+ backgroundOpacity,
69
+ fixedBackground,
70
  } = props.attributes
71
 
72
  const mainClasses = classnames( [
73
  className,
74
  'ugb-header',
75
+ 'ugb-has-background-opacity-' + ( 1 * Math.round( backgroundOpacity / 1 ) ),
76
  ], {
77
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
78
+ 'ugb-has-background-image': backgroundImageURL,
79
  } )
80
 
81
+ const mainStyle = {
82
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
83
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
84
+ 'backgroundAttachment': fixedBackground ? 'fixed' : undefined,
85
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
86
+ 'textAlign': contentAlign ? contentAlign : undefined,
87
+ }
88
 
89
  return (
90
  <Fragment>
93
  value={ contentAlign }
94
  onChange={ ( newAlign ) => setAttributes( { contentAlign: newAlign } ) }
95
  />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  </BlockControls>
97
  <InspectorControls>
 
 
 
 
 
 
 
 
 
 
 
 
98
  <PanelColorSettings
99
+ initialOpen={ true }
100
+ title={ __( 'Color Settings' ) }
101
  colorSettings={ [
102
  {
103
  value: titleColor,
109
  onChange: ( colorValue ) => setAttributes( { subtitleColor: colorValue } ),
110
  label: __( 'Subtitle Color' ),
111
  },
 
 
 
 
 
112
  ] }
113
  >
114
  </PanelColorSettings>
115
+ <PanelBackgroundSettings
116
+ initialOpen={ true }
117
+ backgroundColor={ backgroundColor }
118
+ backgroundImageID={ backgroundImageID }
119
+ backgroundImageURL={ backgroundImageURL }
120
+ backgroundOpacity={ backgroundOpacity }
121
+ fixedBackground={ fixedBackground }
122
+ onChangeBackgroundColor={ backgroundColor => setAttributes( { backgroundColor } ) }
123
+ onChangeBackgroundImage={ ( { url, id } ) => setAttributes( { backgroundImageURL: url, backgroundImageID: id } ) }
124
+ onRemoveBackgroundImage={ () => { setAttributes( { backgroundImageURL: '', backgroundImageID: 0 } ) } }
125
+ onChangeBackgroundOpacity={ backgroundOpacity => setAttributes( { backgroundOpacity } ) }
126
+ onChangeFixedBackground={ value => setAttributes( { fixedBackground: !! value } ) }
127
+ />
128
  <PanelButtonSettings
129
  initialOpen={ false }
130
  buttonColor={ buttonColor }
137
  onChangeButtonBorderRadius={ ( value ) => setAttributes( { cornerButtonRadius: value } ) }
138
  />
139
  </InspectorControls>
140
+ <div className={ mainClasses } style={ mainStyle }>
141
+ <div className='ugb-header-wrapper'>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  <RichText
143
+ tagName='h2'
144
+ className='ugb-header-title'
145
  placeholder={ title.default }
146
  value={ title }
147
  onChange={ ( value ) => setAttributes( { title: value } ) }
151
  } }
152
  />
153
  <RichText
154
+ tagName='p'
155
+ className='ugb-header-subtitle'
156
  placeholder={ subtitle.default }
157
  value={ subtitle }
158
  onChange={ ( value ) => setAttributes( { subtitle: value } ) }
164
  <ButtonEdit size={ size } align={ contentAlign } color={ buttonTextColor } backgroundColor={ buttonColor } text={ buttonText } borderRadius={ cornerButtonRadius }
165
  onChange={ (text) => setAttributes( { buttonText: text } ) }
166
  />
167
+ </div>
168
  </div>
169
  { isSelected && (
170
  <form
192
 
193
  const { className } = props
194
  const {
 
195
  buttonURL,
196
  buttonText,
197
  buttonColor,
203
  subtitle,
204
  subtitleColor,
205
  contentAlign,
 
206
  backgroundColor,
207
+ backgroundImageID,
208
+ backgroundImageURL,
209
+ backgroundOpacity,
210
+ fixedBackground,
211
  } = props.attributes
212
 
 
 
 
 
 
213
  const mainClasses = classnames( [
214
  className,
215
  'ugb-header',
216
+ 'ugb-has-background-opacity-' + ( 1 * Math.round( backgroundOpacity / 1 ) ),
217
  ], {
218
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
219
+ 'ugb-has-background-image': backgroundImageURL,
 
220
  } )
221
 
222
+ const mainStyle = {
223
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
224
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
225
+ 'backgroundAttachment': fixedBackground ? 'fixed' : undefined,
226
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
227
+ 'textAlign': contentAlign ? contentAlign : undefined,
228
+ }
229
 
230
  return (
231
+ <div className={ mainClasses } style={ mainStyle }>
232
+ <div className='ugb-header-wrapper'>
 
 
 
 
 
 
 
233
  { ! RichText.isEmpty( title ) && (
234
  <RichText.Content
235
  tagName='h2'
249
  { buttonText && !! buttonText.length && (
250
  <ButtonSave size={ size } url={ buttonURL } align={ contentAlign } color={ buttonTextColor } text={ buttonText } backgroundColor={ buttonColor } borderRadius={ cornerButtonRadius } />
251
  ) }
252
+ </div>
253
  </div>
254
  );
255
  }
265
  selector: 'p',
266
  default: __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.' )
267
  },
 
 
 
 
 
 
268
  buttonURL: {
269
  type: 'string',
270
  source: 'attribute',
303
  type: 'string',
304
  default: 'center',
305
  },
 
 
 
306
  backgroundColor: {
307
  type: 'string',
308
  default: '#000000',
309
  },
310
+ backgroundImageID: {
311
+ type: 'number',
312
+ },
313
+ backgroundImageURL: {
314
+ type: 'string',
315
+ },
316
+ backgroundOpacity: {
317
+ type: 'number',
318
+ default: 5,
319
+ },
320
+ fixedBackground: {
321
+ type: 'boolean',
322
+ default: false,
323
+ },
324
+
325
+ // Keep the old attributes. Gutenberg issue https://github.com/WordPress/gutenberg/issues/10406
326
  opacity: {
327
  type: 'number',
328
  default: 5,
329
  },
330
+ url: {
331
+ type: 'string',
332
+ source: 'attribute',
333
+ selector: '.ugb-header .ugb-header-section',
334
+ attribute: 'data-url',
335
+ },
336
+ id: {
337
+ type: 'number',
338
+ },
339
  }
340
 
341
 
352
  * registered; otherwise `undefined`.
353
  */
354
  registerBlockType( 'ugb/header', {
355
+ title: __( 'Header' ),
356
+ icon: HeaderIcon,
357
+ category: 'stackable-ultimate-gutenberg-blocks',
 
358
  keywords: [
359
  __( 'Header' ),
360
  __( 'Stackable' ),
366
  attributes: schema,
367
 
368
  deprecated: [
369
+ {
370
+ attributes: deprecatedSchema_1_4,
371
+ save: deprecatedSave_1_4,
372
+ migrate: attributes => {
373
+ return {
374
+ ...attributes,
375
+ backgroundOpacity: attributes.opacity,
376
+ backgroundImageID: attributes.id,
377
+ backgroungImageURL: attributes.url,
378
+ }
379
+ },
380
+ },
381
  {
382
  attributes: deprecatedSchema_1_1_2,
383
  save: deprecatedSave_1_1_2,
394
 
395
  edit,
396
  save,
397
+ } );
 
 
 
 
 
 
src/block/header/style.scss CHANGED
@@ -3,35 +3,12 @@
3
  *
4
  * CSS for both Frontend+Backend.
5
  */
6
- .ugb-header.has-image {
7
- padding: 0;
8
- .ugb-header-section {
9
- padding: 9.5rem 4rem;
10
- background-size: cover;
11
- background-repeat: no-repeat;
12
- background-position: center;
13
- }
14
- }
15
  .ugb-header {
16
  @include baseBlock();
17
  text-align: center;
18
  padding: 9.5rem 4rem;
19
  position: relative;
20
- .ugb-header-overlay {
21
- position: absolute;
22
- top: 0;
23
- left: 0;
24
- right: 0;
25
- bottom: 0;
26
- margin: 0 !important;
27
- }
28
- .header-image {
29
- height: 400px;
30
- width: 600px;
31
- background-size: cover;
32
- background-repeat: no-repeat;
33
- background-position: center;
34
- }
35
  .wp-block-button.ugb-button-center {
36
  left: 0;
37
  transform: translateX(0);
@@ -67,6 +44,29 @@
67
  }
68
  }
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  .ugb-header-overlay.overlay-opacity.overlay-opacity-1 {
71
  opacity: .1;
72
  }
3
  *
4
  * CSS for both Frontend+Backend.
5
  */
6
+
 
 
 
 
 
 
 
 
7
  .ugb-header {
8
  @include baseBlock();
9
  text-align: center;
10
  padding: 9.5rem 4rem;
11
  position: relative;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  .wp-block-button.ugb-button-center {
13
  left: 0;
14
  transform: translateX(0);
44
  }
45
  }
46
 
47
+
48
+ /**
49
+ * Deprecated as of v1.4
50
+ */
51
+ .ugb-header.has-image {
52
+ padding: 0;
53
+ .ugb-header-section {
54
+ padding: 9.5rem 4rem;
55
+ background-size: cover;
56
+ background-repeat: no-repeat;
57
+ background-position: center;
58
+ }
59
+ }
60
+ .ugb-header {
61
+ .ugb-header-overlay {
62
+ position: absolute;
63
+ top: 0;
64
+ left: 0;
65
+ right: 0;
66
+ bottom: 0;
67
+ margin: 0 !important;
68
+ }
69
+ }
70
  .ugb-header-overlay.overlay-opacity.overlay-opacity-1 {
71
  opacity: .1;
72
  }
src/block/icon-list/style.scss CHANGED
@@ -35,6 +35,11 @@
35
  &.column-3 {
36
  columns: 3;
37
  }
 
 
 
 
 
38
  // @from https://css-tricks.com/almanac/properties/b/break-inside/
39
  &.column-2, &.column-3 {
40
  li {
@@ -42,4 +47,4 @@
42
  break-inside: avoid;
43
  }
44
  }
45
- }
35
  &.column-3 {
36
  columns: 3;
37
  }
38
+ @media screen and (max-width: $break-small) {
39
+ &.column-3 {
40
+ columns: 2;
41
+ }
42
+ }
43
  // @from https://css-tricks.com/almanac/properties/b/break-inside/
44
  &.column-2, &.column-3 {
45
  li {
47
  break-inside: avoid;
48
  }
49
  }
50
+ }
src/block/image-box/style.scss CHANGED
@@ -17,7 +17,8 @@
17
  @include baseBlock();
18
  @include box();
19
  margin-left: auto;
20
- margin-right: auto;
 
21
  * {
22
  transition: all .4s ease-in-out !important;
23
  border: 0 !important;
@@ -48,7 +49,7 @@
48
  margin: 0 !important;
49
  opacity: 0;
50
  transform: translateY(-15px);
51
- }
52
  &:hover a {
53
  opacity: .7;
54
  }
@@ -56,7 +57,20 @@
56
  opacity: 1;
57
  transform: translateY(0);
58
  }
59
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  .ugb-image-box.full-width {
61
  width: 100% !important;
62
  }
17
  @include baseBlock();
18
  @include box();
19
  margin-left: auto;
20
+ margin-right: auto;
21
+ max-width: 100%;
22
  * {
23
  transition: all .4s ease-in-out !important;
24
  border: 0 !important;
49
  margin: 0 !important;
50
  opacity: 0;
51
  transform: translateY(-15px);
52
+ }
53
  &:hover a {
54
  opacity: .7;
55
  }
57
  opacity: 1;
58
  transform: translateY(0);
59
  }
60
+ // Behavior for non-touch devices.
61
+ // @media not all and (hover: none) {
62
+ // &:hover a {
63
+ // opacity: .7;
64
+ // }
65
+ // &:hover p {
66
+ // opacity: 1;
67
+ // transform: translateY(0);
68
+ // }
69
+ // }
70
+ // a:hover, a:active {
71
+ // opacity: .7;
72
+ // }
73
+ }
74
  .ugb-image-box.full-width {
75
  width: 100% !important;
76
  }
src/blocks.js CHANGED
@@ -5,6 +5,7 @@
5
  * this is the file that Webpack is compiling into blocks.editor.build.js
6
  */
7
 
 
8
  import './block/spacer'
9
  import './block/divider'
10
  import './block/button'
5
  * this is the file that Webpack is compiling into blocks.editor.build.js
6
  */
7
 
8
+ import './editor.scss'
9
  import './block/spacer'
10
  import './block/divider'
11
  import './block/button'
src/common.scss CHANGED
@@ -54,16 +54,29 @@ $box-radius: 12px;
54
  $box-hori-padding: 35px;
55
  $box-vert-padding: 60px;
56
 
 
 
 
 
 
 
57
  @mixin box() {
58
  box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
59
  background-color: #fff;
60
- border-radius: $box-radius;
 
61
  padding: $box-vert-padding $box-hori-padding;
 
 
62
  @media screen and (max-width: $break-medium) {
63
  padding: ($box-vert-padding * 2/3) ($box-hori-padding * 2/3);
 
 
64
  }
65
  @media screen and (max-width: $break-small) {
66
  padding: $box-hori-padding ($box-hori-padding / 2);
 
 
67
  }
68
  }
69
 
@@ -98,6 +111,33 @@ $box-vert-padding: 60px;
98
  align-items: center;
99
  }
100
 
 
101
  [class*="ugb-"].alignfull {
102
  border-radius: 0 !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  }
 
 
 
 
 
54
  $box-hori-padding: 35px;
55
  $box-vert-padding: 60px;
56
 
57
+ /**
58
+ * For blocks with a box outline, we can use the custom properties:
59
+ * --box-padding-vert
60
+ * --box-padding-hori
61
+ * to get the current padding values
62
+ */
63
  @mixin box() {
64
  box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
65
  background-color: #fff;
66
+ border-radius: $box-radius;
67
+ overflow: hidden;
68
  padding: $box-vert-padding $box-hori-padding;
69
+ --box-padding-vert: #{$box-vert-padding};
70
+ --box-padding-hori: #{$box-hori-padding};
71
  @media screen and (max-width: $break-medium) {
72
  padding: ($box-vert-padding * 2/3) ($box-hori-padding * 2/3);
73
+ --box-padding-vert: #{($box-vert-padding * 2/3)};
74
+ --box-padding-hori: #{($box-hori-padding * 2/3)};
75
  }
76
  @media screen and (max-width: $break-small) {
77
  padding: $box-hori-padding ($box-hori-padding / 2);
78
+ --box-padding-vert: #{$box-hori-padding};
79
+ --box-padding-hori: #{($box-hori-padding / 2)};
80
  }
81
  }
82
 
111
  align-items: center;
112
  }
113
 
114
+ // Alignfull and alignwide that works with background-attachment: fixed;
115
  [class*="ugb-"].alignfull {
116
  border-radius: 0 !important;
117
+
118
+ width: 100vw;
119
+ margin-left: -50vw;
120
+ left: 50%;
121
+ transform: none;
122
+ position: relative;
123
+ }
124
+
125
+ @media (min-width: 1000px) {
126
+ [class*="ugb-"].alignwide {
127
+ width: 75vw;
128
+ margin-left: -37.5vw;
129
+ left: 50%;
130
+ transform: none;
131
+ position: relative;
132
+ }
133
+ }
134
+
135
+ // Full-widths should be on top of each other in the editor.
136
+ [data-type^="ugb/"][data-align="full"] + [data-type^="ugb/"][data-align="full"] {
137
+ margin-top: -32px;
138
  }
139
+
140
+ // box-sizing: content-box;
141
+ // max-width: var(--content-width, 900px);
142
+ // padding-left: calc(50vw - var(--content-width, 900px) / 2);
143
+ // padding-right: calc(50vw - var(--content-width, 900px) / 2);
src/components/design-panel-body/editor.scss CHANGED
@@ -1,60 +1,44 @@
1
  .design-control {
 
2
  input {
3
  position: absolute;
4
  opacity: 0;
5
- margin-bottom: 5px;
6
  }
7
- input, img {
8
- display: block;
9
- border-radius: 4px;
10
  }
11
- img {
12
- min-height: 40px;
 
 
13
  }
14
- label span {
 
15
  display: block;
16
- transition: opacity 0.3s ease-in-out;
17
- background: #ddd;
18
- border-radius: 4px;
19
- background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8c3ZnIHdpZHRoPSI0MHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCA0MCA0MCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEuNDE0MjE7IiB4PSIwcHgiIHk9IjBweCI+CiAgICA8ZGVmcz4KICAgICAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPjwhW0NEQVRBWwogICAgICAgICAgICBALXdlYmtpdC1rZXlmcmFtZXMgc3BpbiB7CiAgICAgICAgICAgICAgZnJvbSB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIC13ZWJraXQtdHJhbnNmb3JtOiByb3RhdGUoLTM1OWRlZykKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgQGtleWZyYW1lcyBzcGluIHsKICAgICAgICAgICAgICBmcm9tIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0zNTlkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIHN2ZyB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybS1vcmlnaW46IDUwJSA1MCU7CiAgICAgICAgICAgICAgICAtd2Via2l0LWFuaW1hdGlvbjogc3BpbiAxLjVzIGxpbmVhciBpbmZpbml0ZTsKICAgICAgICAgICAgICAgIC13ZWJraXQtYmFja2ZhY2UtdmlzaWJpbGl0eTogaGlkZGVuOwogICAgICAgICAgICAgICAgYW5pbWF0aW9uOiBzcGluIDEuNXMgbGluZWFyIGluZmluaXRlOwogICAgICAgICAgICB9CiAgICAgICAgXV0+PC9zdHlsZT4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJvdXRlciI+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwwQzIyLjIwNTgsMCAyMy45OTM5LDEuNzg4MTMgMjMuOTkzOSwzLjk5MzlDMjMuOTkzOSw2LjE5OTY4IDIyLjIwNTgsNy45ODc4MSAyMCw3Ljk4NzgxQzE3Ljc5NDIsNy45ODc4MSAxNi4wMDYxLDYuMTk5NjggMTYuMDA2MSwzLjk5MzlDMTYuMDA2MSwxLjc4ODEzIDE3Ljc5NDIsMCAyMCwwWiIgc3R5bGU9ImZpbGw6YmxhY2s7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNNS44NTc4Niw1Ljg1Nzg2QzcuNDE3NTgsNC4yOTgxNSA5Ljk0NjM4LDQuMjk4MTUgMTEuNTA2MSw1Ljg1Nzg2QzEzLjA2NTgsNy40MTc1OCAxMy4wNjU4LDkuOTQ2MzggMTEuNTA2MSwxMS41MDYxQzkuOTQ2MzgsMTMuMDY1OCA3LjQxNzU4LDEzLjA2NTggNS44NTc4NiwxMS41MDYxQzQuMjk4MTUsOS45NDYzOCA0LjI5ODE1LDcuNDE3NTggNS44NTc4Niw1Ljg1Nzg2WiIgc3R5bGU9ImZpbGw6cmdiKDIxMCwyMTAsMjEwKTsiLz4KICAgICAgICA8L2c+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwzMi4wMTIyQzIyLjIwNTgsMzIuMDEyMiAyMy45OTM5LDMzLjgwMDMgMjMuOTkzOSwzNi4wMDYxQzIzLjk5MzksMzguMjExOSAyMi4yMDU4LDQwIDIwLDQwQzE3Ljc5NDIsNDAgMTYuMDA2MSwzOC4yMTE5IDE2LjAwNjEsMzYuMDA2MUMxNi4wMDYxLDMzLjgwMDMgMTcuNzk0MiwzMi4wMTIyIDIwLDMyLjAxMjJaIiBzdHlsZT0iZmlsbDpyZ2IoMTMwLDEzMCwxMzApOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksMjguNDkzOUMzMC4wNTM2LDI2LjkzNDIgMzIuNTgyNCwyNi45MzQyIDM0LjE0MjEsMjguNDkzOUMzNS43MDE5LDMwLjA1MzYgMzUuNzAxOSwzMi41ODI0IDM0LjE0MjEsMzQuMTQyMUMzMi41ODI0LDM1LjcwMTkgMzAuMDUzNiwzNS43MDE5IDI4LjQ5MzksMzQuMTQyMUMyNi45MzQyLDMyLjU4MjQgMjYuOTM0MiwzMC4wNTM2IDI4LjQ5MzksMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxMDEsMTAxLDEwMSk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMy45OTM5LDE2LjAwNjFDNi4xOTk2OCwxNi4wMDYxIDcuOTg3ODEsMTcuNzk0MiA3Ljk4NzgxLDIwQzcuOTg3ODEsMjIuMjA1OCA2LjE5OTY4LDIzLjk5MzkgMy45OTM5LDIzLjk5MzlDMS43ODgxMywyMy45OTM5IDAsMjIuMjA1OCAwLDIwQzAsMTcuNzk0MiAxLjc4ODEzLDE2LjAwNjEgMy45OTM5LDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoMTg3LDE4NywxODcpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTUuODU3ODYsMjguNDkzOUM3LjQxNzU4LDI2LjkzNDIgOS45NDYzOCwyNi45MzQyIDExLjUwNjEsMjguNDkzOUMxMy4wNjU4LDMwLjA1MzYgMTMuMDY1OCwzMi41ODI0IDExLjUwNjEsMzQuMTQyMUM5Ljk0NjM4LDM1LjcwMTkgNy40MTc1OCwzNS43MDE5IDUuODU3ODYsMzQuMTQyMUM0LjI5ODE1LDMyLjU4MjQgNC4yOTgxNSwzMC4wNTM2IDUuODU3ODYsMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxNjQsMTY0LDE2NCk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMzYuMDA2MSwxNi4wMDYxQzM4LjIxMTksMTYuMDA2MSA0MCwxNy43OTQyIDQwLDIwQzQwLDIyLjIwNTggMzguMjExOSwyMy45OTM5IDM2LjAwNjEsMjMuOTkzOUMzMy44MDAzLDIzLjk5MzkgMzIuMDEyMiwyMi4yMDU4IDMyLjAxMjIsMjBDMzIuMDEyMiwxNy43OTQyIDMzLjgwMDMsMTYuMDA2MSAzNi4wMDYxLDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoNzQsNzQsNzQpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksNS44NTc4NkMzMC4wNTM2LDQuMjk4MTUgMzIuNTgyNCw0LjI5ODE1IDM0LjE0MjEsNS44NTc4NkMzNS43MDE5LDcuNDE3NTggMzUuNzAxOSw5Ljk0NjM4IDM0LjE0MjEsMTEuNTA2MUMzMi41ODI0LDEzLjA2NTggMzAuMDUzNiwxMy4wNjU4IDI4LjQ5MzksMTEuNTA2MUMyNi45MzQyLDkuOTQ2MzggMjYuOTM0Miw3LjQxNzU4IDI4LjQ5MzksNS44NTc4NloiIHN0eWxlPSJmaWxsOnJnYig1MCw1MCw1MCk7Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K);
20
- background-size: 15px;
21
- background-position: center;
22
- background-repeat: no-repeat;
23
- }
24
- input {
25
- &:not(:checked) + label span {
26
- opacity: 0.8;
27
- &:hover {
28
- opacity: 1;
29
- }
30
  }
31
  }
32
- input:checked + label img {
33
- box-shadow: 0 0 0 2px #007cba;
34
  }
35
- }
36
 
37
- .design-panel {
38
- .components-panel__arrow {
39
- top: 22px !important;
40
- }
41
- .components-panel__body-toggle img {
42
- display: block;
43
- margin-top: 10px;
44
- border-radius: 4px;
45
- }
46
- &.is-opened .components-panel__body-toggle img {
47
- display: none;
48
  }
49
- }
50
 
51
- .design-panel.design-panel-lite {
52
- .design-control label span.is-pro {
53
- img {
54
- opacity: 0.5 !important;
 
55
  }
56
- background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KPHBhdGggZD0iTTE0IDloMWMwLjU1IDAgMSAwLjQ1IDEgMXY3YzAgMC41NS0wLjQ1IDEtMSAxaC0xMGMtMC41NSAwLTEtMC40NS0xLTF2LTdjMC0wLjU1IDAuNDUtMSAxLTFoMXYtM2MwLTIuMjEgMS43OS00IDQtNHM0IDEuNzkgNCA0djN6TTEyIDl2LTNjMC0xLjEtMC45LTItMi0ycy0yIDAuOS0yIDJ2M2g0ek0xMSAxNmwtMC4zNi0yLjE1YzAuNTEtMC4yNCAwLjg2LTAuNzUgMC44Ni0xLjM1IDAtMC44My0wLjY3LTEuNS0xLjUtMS41cy0xLjUgMC42Ny0xLjUgMS41YzAgMC42IDAuMzUgMS4xMSAwLjg2IDEuMzVsLTAuMzYgMi4xNWgyeiI+PC9wYXRoPgo8L3N2Zz4=);
57
- background-size: 25px;
58
- cursor: help;
59
  }
60
  }
1
  .design-control {
2
+ // Hide the radio button.
3
  input {
4
  position: absolute;
5
  opacity: 0;
 
6
  }
7
+ .components-base-control__field {
8
+ margin-left: -5px;
9
+ margin-right: -5px;
10
  }
11
+ .components-radio-control__option {
12
+ display: inline-block;
13
+ width: 50%;
14
+ text-align: center;
15
  }
16
+ label > span {
17
+ padding: 5px;
18
  display: block;
19
+ border-radius: 8px;
20
+ > img {
21
+ border-radius: 4px;
 
 
 
 
 
 
 
 
 
 
 
22
  }
23
  }
24
+ input:checked + label > span {
25
+ box-shadow: inset 0 0 0 2px #888;
26
  }
 
27
 
28
+ .is-pro {
29
+ &:hover {
30
+ cursor: help;
31
+ }
32
+ img {
33
+ opacity: .4;
34
+ }
 
 
 
 
35
  }
 
36
 
37
+ .design-label {
38
+ svg {
39
+ height: 12px;
40
+ margin: 0 0 0 5px;
41
+ fill: #ffad00;
42
  }
 
 
 
43
  }
44
  }
src/components/design-panel-body/index.js CHANGED
@@ -6,6 +6,7 @@ import {
6
  doAction,
7
  isPro,
8
  } from '../../wp-imports'
 
9
 
10
  import classnames from 'classnames'
11
 
@@ -16,13 +17,13 @@ function DesignPanelBody( props ) {
16
 
17
  const selectedOption = options.find( opt => opt.value === selected )
18
  const panelClassName = classnames( 'design-panel', {
19
- 'design-panel-lite': ! isPro
20
  } )
21
 
22
  const onChangeHandler = ( value ) => {
23
  const selectedOption = options.find( opt => opt.value === value )
24
  if ( ! isPro ) {
25
- if ( selectedOption.label.props.isPro ) {
26
  doAction( 'stackable.get_pro' );
27
  return;
28
  }
@@ -30,6 +31,15 @@ function DesignPanelBody( props ) {
30
  onChange( value )
31
  }
32
 
 
 
 
 
 
 
 
 
 
33
  return (
34
  <PanelBody
35
  title={ <span>{ title } – { selectedOption.title } { selectedOption.label }</span> }
@@ -39,7 +49,7 @@ function DesignPanelBody( props ) {
39
  <RadioControl
40
  className="design-control"
41
  selected={ selected }
42
- options={ options }
43
  onChange={ onChangeHandler }
44
  />
45
  </PanelBody>
6
  doAction,
7
  isPro,
8
  } from '../../wp-imports'
9
+ import DesignPanelItem from '../design-panel-item'
10
 
11
  import classnames from 'classnames'
12
 
17
 
18
  const selectedOption = options.find( opt => opt.value === selected )
19
  const panelClassName = classnames( 'design-panel', {
20
+ 'design-panel-lite': ! isPro,
21
  } )
22
 
23
  const onChangeHandler = ( value ) => {
24
  const selectedOption = options.find( opt => opt.value === value )
25
  if ( ! isPro ) {
26
+ if ( selectedOption.isPro ) {
27
  doAction( 'stackable.get_pro' );
28
  return;
29
  }
31
  onChange( value )
32
  }
33
 
34
+ // Convert the options.
35
+ const fixedOptions = options.map( ( option, i ) => {
36
+ return {
37
+ label: <DesignPanelItem imageFile={ option.image } isPro={ option.isPro } label={ option.label } />,
38
+ title: option.label,
39
+ value: option.value,
40
+ }
41
+ } )
42
+
43
  return (
44
  <PanelBody
45
  title={ <span>{ title } – { selectedOption.title } { selectedOption.label }</span> }
49
  <RadioControl
50
  className="design-control"
51
  selected={ selected }
52
+ options={ fixedOptions }
53
  onChange={ onChangeHandler }
54
  />
55
  </PanelBody>
src/components/design-panel-item/index.js CHANGED
@@ -1,14 +1,46 @@
1
  import classnames from 'classnames'
2
- import { blockSrcUrl } from '../../wp-imports'
 
 
 
 
3
 
4
- function DesignPanelItem( { isPro, imageFile } ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  const classNames = classnames( {
6
- 'is-pro': isPro,
7
  } )
8
 
9
  return (
10
  <span className={ classNames }>
11
- <img src={ imageFile.match( /https?:/i ) ? imageFile : `${blockSrcUrl}/${imageFile}` } />
 
 
 
 
12
  </span>
13
  )
14
  }
1
  import classnames from 'classnames'
2
+ import {
3
+ Dashicon,
4
+ blockSrcUrl,
5
+ isPro as isProBuild,
6
+ } from '../../wp-imports'
7
 
8
+ export const ProIcon = () => {
9
+ return (
10
+ <svg className="dashicon" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 97.1">
11
+ <path d="M55.6,32.8c-0.8-0.7-1.8-1.2-2.9-1.6c-1.2-0.4-2.6-0.6-4.2-0.6h-6.5v16.7h6.5c1.6,0,3-0.2,4.2-0.6c1.2-0.4,2.2-1,2.9-1.7
12
+ c0.8-0.7,1.4-1.6,1.7-2.7c0.4-1.1,0.6-2.2,0.6-3.6c0-1.2-0.2-2.4-0.6-3.4C57,34.4,56.4,33.5,55.6,32.8z"/>
13
+ <path d="M153,35.2c-1.3-1.4-2.8-2.5-4.6-3.3c-1.8-0.8-3.9-1.1-6.1-1.1c-2.3,0-4.3,0.4-6.1,1.1c-1.8,0.8-3.4,1.8-4.7,3.3
14
+ s-2.3,3.1-2.9,5.2c-0.7,2-1,4.3-1,6.9c0,2.6,0.3,4.8,1,6.9c0.7,2,1.7,3.7,2.9,5.2c1.3,1.4,2.8,2.5,4.7,3.2c1.8,0.8,3.9,1.1,6.1,1.1
15
+ c2.3,0,4.3-0.4,6.1-1.1c1.8-0.7,3.4-1.8,4.6-3.2c1.3-1.4,2.2-3.1,2.9-5.2s1-4.3,1-6.9c0-2.6-0.3-4.8-1-6.9S154.3,36.6,153,35.2z"/>
16
+ <path d="M100.9,38c0-2.4-0.8-4.2-2.3-5.4c-1.6-1.3-3.9-1.9-7.1-1.9h-5.5v15.5h5.4c1.6,0,3.1-0.2,4.3-0.6c1.2-0.4,2.2-1,3-1.7
17
+ c0.8-0.7,1.4-1.6,1.8-2.6C100.7,40.2,100.9,39.2,100.9,38z"/>
18
+ <path d="M178.6,0H21.4C9.6,0,0,9.6,0,21.4v54.3c0,11.8,9.6,21.4,21.4,21.4h157.2c11.8,0,21.4-9.6,21.4-21.4V21.4
19
+ C200,9.6,190.4,0,178.6,0z M65.5,45c-0.8,1.9-1.9,3.5-3.4,4.8c-1.5,1.4-3.4,2.4-5.6,3.2c-2.3,0.8-4.9,1.1-7.9,1.1h-6.5v16.4h-8.7
20
+ V23.9h15.2c3.1,0,5.8,0.4,8.1,1.1c2.3,0.7,4.2,1.8,5.6,3.1c1.5,1.3,2.6,2.9,3.3,4.7c0.7,1.8,1.1,3.8,1.1,6
21
+ C66.6,41,66.3,43.1,65.5,45z M105.8,70.5c-0.8,0-1.4-0.1-1.9-0.5s-1-0.7-1.3-1.3l-9.8-14.9c-0.4-0.6-0.8-1-1.2-1.2
22
+ c-0.4-0.2-1.1-0.4-1.9-0.4h-3.7v18.2h-8.7V23.9h14.2c3.2,0,5.9,0.3,8.2,1c2.3,0.7,4.1,1.6,5.6,2.8c1.4,1.2,2.5,2.6,3.2,4.2
23
+ c0.7,1.6,1,3.5,1,5.4c0,1.6-0.2,3-0.7,4.4c-0.5,1.4-1.1,2.7-2,3.8c-0.9,1.1-1.9,2.1-3.2,3c-1.3,0.9-2.7,1.5-4.4,2.1
24
+ c1.1,0.6,2,1.5,2.8,2.7l11.7,17.2H105.8z M164.2,56.7c-1.1,2.9-2.7,5.4-4.8,7.5c-2.1,2.1-4.5,3.8-7.4,5c-2.9,1.2-6.1,1.8-9.6,1.8
25
+ c-3.5,0-6.7-0.6-9.6-1.8c-2.9-1.2-5.4-2.9-7.5-5c-2.1-2.1-3.7-4.6-4.8-7.5c-1.1-2.9-1.7-6.1-1.7-9.5c0-3.4,0.6-6.6,1.7-9.5
26
+ c1.1-2.9,2.7-5.4,4.8-7.6c2.1-2.1,4.6-3.8,7.5-5c2.9-1.2,6.1-1.8,9.6-1.8c3.5,0,6.7,0.6,9.6,1.8s5.4,2.9,7.4,5
27
+ c2.1,2.1,3.7,4.6,4.8,7.5s1.7,6.1,1.7,9.5C165.9,50.6,165.3,53.8,164.2,56.7z"/>
28
+ </svg>
29
+ )
30
+ }
31
+
32
+ function DesignPanelItem( { isPro, imageFile, label } ) {
33
  const classNames = classnames( {
34
+ 'is-pro': ! isProBuild && isPro,
35
  } )
36
 
37
  return (
38
  <span className={ classNames }>
39
+ <img src={ imageFile.match( /https?:/i ) ? imageFile : `${blockSrcUrl}/${imageFile}` } alt={ label } />
40
+ <span className='design-label'>
41
+ { label }
42
+ { ( ! isProBuild && isPro ) && ProIcon() }
43
+ </span>
44
  </span>
45
  )
46
  }
src/components/image-control/editor.scss ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ugb-image-control {
2
+ .ugb-placeholder {
3
+ height: 150px;
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ background: #f1f1f1;
8
+ margin-bottom: 12px;
9
+ svg {
10
+ height: 50px;
11
+ fill: #ddd;
12
+ }
13
+ }
14
+ .ugb-placeholder,
15
+ .ugb-image-preview {
16
+ border-radius: 4px;
17
+ cursor: pointer;
18
+ margin-top: .6rem;
19
+ }
20
+ .ugb-image-preview-wrapper {
21
+ position: relative;
22
+ svg {
23
+ stroke: rgba(0,0,0,0.3);
24
+ stroke-width: 1px;
25
+ fill: #fff;
26
+ }
27
+ }
28
+ .ugb-image-preview-remove {
29
+ background: none !important;
30
+ color: #ddd;
31
+ border: none;
32
+ position: absolute;
33
+ top: 20px;
34
+ right: 4px;
35
+ cursor: not-allowed;
36
+ }
37
+ }
src/components/image-control/images/image.svg ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <svg viewBox="0 0 512 376">
2
+ <path d="M0,0v376h512V0H0z M480,344H32V32h448V344z"/>
3
+ <circle cx="409.1" cy="102.9" r="40.9"/>
4
+ <polygon points="480,344 32,344 118.3,179.8 140,191.1 189,113.8 289,226.9 297.9,217.6 315,239.9 341,193.5 393.9,264.7 409,248.8"/>
5
+ </svg>
src/components/image-control/index.js ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import './editor.scss'
2
+ import {
3
+ BaseControl,
4
+ MediaUpload,
5
+ Fragment,
6
+ Dashicon,
7
+ } from '../../wp-imports'
8
+
9
+ function ImageControl( props ) {
10
+ const {
11
+ label,
12
+ imageID,
13
+ imageURL,
14
+ onChange = ( { url, id } ) => {},
15
+ onRemove = () => {},
16
+ allowedTypes = ['image'],
17
+ help,
18
+ } = props
19
+
20
+ return (
21
+ <div className='ugb-image-control'>
22
+ <BaseControl label={ label } help={ help }>
23
+ <MediaUpload
24
+ onSelect={ onChange }
25
+ allowedTypes={ allowedTypes }
26
+ value={ imageID }
27
+ render={ obj => {
28
+ return (
29
+ <Fragment>
30
+ { imageURL &&
31
+ <div className='ugb-image-preview-wrapper'>
32
+ <button className='ugb-image-preview-remove' onClick={ onRemove }><Dashicon icon='no'/></button>
33
+ <img className='ugb-image-preview' src={ imageURL } onClick={ obj.open } />
34
+ </div>
35
+ }
36
+ { ! imageURL && <div className='ugb-placeholder' onClick={ obj.open }>
37
+ <svg viewBox="0 0 512 376">
38
+ <path d="M0,0v376h512V0H0z M480,344H32V32h448V344z"/>
39
+ <circle cx="409.1" cy="102.9" r="40.9"/>
40
+ <polygon points="480,344 32,344 118.3,179.8 140,191.1 189,113.8 289,226.9 297.9,217.6 315,239.9 341,193.5 393.9,264.7 409,248.8"/>
41
+ </svg>
42
+ </div> }
43
+ </Fragment>
44
+ )
45
+ } }
46
+ />
47
+ </BaseControl>
48
+ </div>
49
+ )
50
+ }
51
+
52
+ export default ImageControl
src/components/panel-background-settings/editor.scss ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ // Editor only: Remove border radius on full width.
2
+ [data-align="full"] {
3
+ .ugb-has-background {
4
+ border-radius: 0 !important;
5
+ }
6
+ }
src/components/panel-background-settings/index.js ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import './editor.scss'
2
+ import './style.scss'
3
+ import ImageControl from '../image-control'
4
+ import {
5
+ __,
6
+ Fragment,
7
+ PanelColorSettings,
8
+ RangeControl,
9
+ ToggleControl,
10
+ } from '../../wp-imports'
11
+
12
+ function PanelBackgroundSettings( props ) {
13
+
14
+ const {
15
+ backgroundColor,
16
+ backgroundImageID,
17
+ backgroundImageURL,
18
+ backgroundOpacity,
19
+ fixedBackground,
20
+ onChangeBackgroundColor = () => {},
21
+ onChangeBackgroundImage = ( { url, id } ) => {},
22
+ onRemoveBackgroundImage = () => {},
23
+ onChangeBackgroundOpacity = () => {},
24
+ onChangeFixedBackground = () => {},
25
+ } = props
26
+
27
+ return (
28
+ <Fragment>
29
+ <PanelColorSettings
30
+ initialOpen={ false }
31
+ title={ __( 'Background Settings' ) }
32
+ colorSettings={ [
33
+ {
34
+ value: backgroundColor,
35
+ onChange: onChangeBackgroundColor,
36
+ label: __( 'Background Color' ),
37
+ },
38
+ ] }
39
+ { ...props }
40
+ >
41
+ <ImageControl
42
+ label={ __( 'Background Image' ) }
43
+ onRemove={ onRemoveBackgroundImage }
44
+ onChange={ onChangeBackgroundImage }
45
+ imageID={ backgroundImageID }
46
+ imageURL={ backgroundImageURL }
47
+ />
48
+ <RangeControl
49
+ label={ __( 'Background Image Tint Strength' ) }
50
+ value={ backgroundOpacity }
51
+ onChange={ onChangeBackgroundOpacity }
52
+ min={ 0 }
53
+ max={ 10 }
54
+ step={ 1 }
55
+ />
56
+ <ToggleControl
57
+ label={ __( 'Fixed Background' ) }
58
+ checked={ fixedBackground }
59
+ onChange={ onChangeFixedBackground }
60
+ />
61
+ </PanelColorSettings>
62
+ </Fragment>
63
+ )
64
+ }
65
+
66
+ export default PanelBackgroundSettings
src/components/panel-background-settings/style.scss ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Background/boxed styles
3
+ */
4
+ .ugb-has-background {
5
+ @include box();
6
+ }
7
+ .ugb-has-background-image {
8
+ position: relative;
9
+ background-size: cover;
10
+ background-position: center;
11
+ &:before {
12
+ display: block !important;
13
+ content: '';
14
+ position: absolute;
15
+ z-index: 1;
16
+ top: 0;
17
+ right: 0;
18
+ left: 0;
19
+ bottom: 0;
20
+ background-color: var(--ugb-background-color, #fff);
21
+ }
22
+ > * {
23
+ position: relative;
24
+ z-index: 2;
25
+ }
26
+ }
27
+ .alignfull.ugb-has-background {
28
+ border-radius: 0;
29
+ margin-top: 0;
30
+ margin-bottom: 0;
31
+ }
32
+ @for $i from 0 through 10 {
33
+ .ugb-has-background-opacity-#{ $i }:before {
34
+ opacity: $i * 0.1;
35
+ }
36
+ }
src/editor.scss ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ // Editor only: Smooth changes.
2
+ $effect-transition: color .2s ease-in-out, opacity .2s ease-in-out, background-color .2s ease-in-out, height .2s ease-in-out, width .2s ease-in-out, transform .2s ease-in-out, padding .2s ease-in-out, margin .2s ease-in-out;
3
+ .wp-admin .ugb-has-background {
4
+ &, &:before {
5
+ transition: $effect-transition;
6
+ }
7
+ }
8
+ .wp-admin [class*="ugb-"], .wp-admin [class*="ugb-"] * {
9
+ transition: $effect-transition;
10
+ }