Stackable – Page Builder Gutenberg Blocks - Version 1.6

Version Description

Read the news update * New: Image Box block can now support 1-4 columns and now has better user experience * New: Video Popup's color can now be changed * New: Moved the background image picker for the Video Popup * New: Team Member block now has placeholder images instead of an 'Upload Button' * New: Feature Grid block now has placeholder images * New: Feature block now has a placeholder image * New: Card block now has a placeholder image * New: Testimonial block now has a placeholder image * Change: Testimonial block layout was changed * Fixed: Ensure the video popup block's close button doesn't have a background

Download this release

Release Info

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

Code changes from version 1.5.1 to 1.6

Files changed (43) hide show
  1. dist/admin.welcome.css +1 -1
  2. dist/admin.welcome.min.css +1 -1
  3. dist/blocks.build.js +1 -1
  4. dist/blocks.editor.build.css +26 -25
  5. dist/blocks.frontend.build.js +14 -16
  6. dist/blocks.frontend.build.min.js +1 -1
  7. dist/blocks.style.build.css +22 -22
  8. plugin.php +3 -3
  9. readme.txt +25 -6
  10. src/block/button/index.js +4 -5
  11. src/block/card/editor.scss +1 -16
  12. src/block/card/index.js +11 -38
  13. src/block/card/style.scss +12 -14
  14. src/block/feature-grid/editor.scss +7 -0
  15. src/block/feature-grid/index.js +9 -13
  16. src/block/feature/editor.scss +4 -0
  17. src/block/feature/index.js +7 -14
  18. src/block/image-box/deprecated.js +120 -0
  19. src/block/image-box/editor.scss +63 -1
  20. src/block/image-box/index.js +250 -214
  21. src/block/image-box/style.scss +70 -8
  22. src/block/team-member/deprecated.js +231 -0
  23. src/block/team-member/editor.scss +10 -0
  24. src/block/team-member/index.js +246 -292
  25. src/block/team-member/style.scss +42 -73
  26. src/block/testimonial/deprecated.js +235 -0
  27. src/block/testimonial/editor.scss +10 -0
  28. src/block/testimonial/index.js +218 -309
  29. src/block/testimonial/style.scss +29 -83
  30. src/block/video-popup/deprecated.js +69 -0
  31. src/block/video-popup/index.js +88 -92
  32. src/block/video-popup/style.scss +52 -9
  33. src/common.scss +1 -1
  34. src/components/image-control/editor.scss +13 -2
  35. src/components/image-upload-placeholder/editor.scss +53 -0
  36. src/components/image-upload-placeholder/images/image.svg +5 -0
  37. src/components/image-upload-placeholder/index.js +63 -0
  38. src/components/panel-background-settings/index.js +29 -23
  39. src/components/vertical-alignment-toolbar/images/bottom.svg +7 -0
  40. src/components/vertical-alignment-toolbar/images/center.svg +8 -0
  41. src/components/vertical-alignment-toolbar/images/top.svg +7 -0
  42. src/components/vertical-alignment-toolbar/index.js +100 -0
  43. src/editor.scss +1 -1
dist/admin.welcome.css CHANGED
@@ -64,7 +64,7 @@ form[class*="ugb-"][class*="-link"],
64
  }
65
 
66
  .editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text] {
67
- width: 100%;
68
  }
69
 
70
  /**
64
  }
65
 
66
  .editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text] {
67
+ width: 100% !important;
68
  }
69
 
70
  /**
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;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}}
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%!important}[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=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,backgroundImageURL: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(){})}]);
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=11)}([function(e,t,n){"use strict";n.d(t,"A",function(){return l}),n.d(t,"s",function(){return o}),n.d(t,"m",function(){return a}),n.d(t,"o",function(){return u}),n.d(t,"p",function(){return i}),n.d(t,"e",function(){return c}),n.d(t,"g",function(){return s}),n.d(t,"q",function(){return m}),n.d(t,"j",function(){return b}),n.d(t,"l",function(){return g}),n.d(t,"b",function(){return d}),n.d(t,"h",function(){return h}),n.d(t,"d",function(){return f}),n.d(t,"a",function(){return w}),n.d(t,"n",function(){return y}),n.d(t,"r",function(){return v}),n.d(t,"i",function(){return C}),n.d(t,"k",function(){return k}),n.d(t,"c",function(){return x}),n.d(t,"f",function(){return N}),n.d(t,"B",function(){return j}),n.d(t,"z",function(){return B}),n.d(t,"y",function(){return I}),n.d(t,"w",function(){return L}),n.d(t,"t",function(){return R}),n.d(t,"u",function(){return z}),n.d(t,"x",function(){return U}),n.d(t,"v",function(){return D});var l=wp.blocks.registerBlockType,o=wp.i18n.__,r=wp.components,a=r.RangeControl,u=r.SelectControl,i=(r.TextControl,r.ToggleControl),c=r.Dashicon,s=r.IconButton,m=(r.Button,r.Toolbar),b=r.PanelBody,g=r.RadioControl,d=r.BaseControl,p=wp.editor.InspectorControls?wp.editor:wp.blocks,h=p.InspectorControls,f=p.BlockControls,w=p.AlignmentToolbar,y=p.RichText,v=p.URLInput,C=p.MediaUpload,E=wp.editor,k=E.PanelColorSettings,x=E.BlockAlignmentToolbar,O=wp.element,N=O.Fragment,j=O.renderToString,T=lodash,B=T.omit,I=T.merge,S=wp.hooks,L=S.doAction,R=S.addAction,z=S.applyFilters,A=(S.addFilter,stackable),U=A.isPro,D=A.blockSrcUrl;A.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 i}),n.d(t,"c",function(){return c}),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 h}),n.d(t,"h",function(){return f}),n.d(t,"l",function(){return w}),n.d(t,"r",function(){return y}),n.d(t,"m",function(){return v}),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"}))},i=function(){return wp.element.createElement(u,null)},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 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"}))},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 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"}))},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 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"}))},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 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"}))},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 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";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.B)(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,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,i=void 0===u?"normal":u,c=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,h=void 0===p?null:p,f=e.onFocus,w=void 0===f?function(){}:f,y=e.onChange,v=void 0===y?function(){}:y,C={borderRadius:d+"px",backgroundColor:b||void 0},E=r()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+i]);return wp.element.createElement("span",{className:E,style:C,"data-is-placeholder-visible":a.n.isEmpty(m)},wp.element.createElement(a.n,{tagName:"span",placeholder:Object(a.s)("Enter Text"),value:m,onChange:v,formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:c},onFocus:w,isSelected:h,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,i=void 0===u?"normal":u,c=e.url,s=void 0===c?"":c,m=e.color,b=e.text,g=e.backgroundColor,d=e.borderRadius,p={borderRadius:d+"px",backgroundColor:g||void 0},h=r()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+i]);return wp.element.createElement("div",{className:h,style:p},wp.element.createElement(a.n.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,i=void 0===u?function(){}:u,c=e.onChangeButtonTextColor,s=void 0===c?function(){}:c,m=e.onChangeButtonSize,b=void 0===m?function(){}:m,g=e.onChangeButtonBorderRadius,d=void 0===g?function(){}:g;return wp.element.createElement(r.f,null,wp.element.createElement(r.k,a({initialOpen:!1,title:Object(r.s)("Button Settings"),colorSettings:[{value:t,onChange:i,label:Object(r.s)("Button Color")},{value:n,onChange:s,label:Object(r.s)("Text Color")}]},e),wp.element.createElement(r.o,{label:Object(r.s)("Size"),value:l,options:[{value:"small",label:Object(r.s)("Small")},{value:"normal",label:Object(r.s)("Normal")},{value:"medium",label:Object(r.s)("Medium")},{value:"large",label:Object(r.s)("Large")}],onChange:b}),wp.element.createElement(r.m,{label:Object(r.s)("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.backgroundColor,n=e.backgroundImageID,l=e.backgroundImageURL,o=e.backgroundOpacity,r=e.fixedBackground,c=e.onChangeBackgroundColor,s=void 0===c?function(){}:c,m=e.onChangeBackgroundImage,b=e.onRemoveBackgroundImage,g=e.onChangeBackgroundOpacity,d=e.onChangeFixedBackground;return wp.element.createElement(u.f,null,wp.element.createElement(u.k,i({initialOpen:!1,title:Object(u.s)("Background Settings"),colorSettings:[{value:t,onChange:s,label:Object(u.s)("Background Color")}]},e),m&&wp.element.createElement(a.a,{label:Object(u.s)("Background Image"),onRemove:b,onChange:m,imageID:n,imageURL:l}),g&&wp.element.createElement(u.m,{label:Object(u.s)("Background Image Tint Strength"),value:o,onChange:g,min:0,max:10,step:1}),d&&wp.element.createElement(u.p,{label:Object(u.s)("Fixed Background"),checked:r,onChange:d})))}var o=n(40),r=(n.n(o),n(41)),a=(n.n(r),n(42)),u=n(0),i=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";var l=n(56),o=(n.n(l),n(1)),r=n.n(o),a=n(0),u=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},i=function(e){var t=e.imageID,n=e.imageURL,l=e.onChange,o=void 0===l?function(e){e.url,e.id}:l,i=e.onRemove,c=void 0===i?function(){}:i,s=e.className,m=void 0===s?"":s,b=e.allowedTypes,g=void 0===b?["image"]:b,d=e.render,p=void 0===d?void 0:d,h=e.hasRemove,f=void 0===h||h,w=r()([m,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),y={backgroundImage:n&&!p?"url("+n+")":void 0};return wp.element.createElement(a.i,{onSelect:o,allowedTypes:g,value:t,render:function(t){return n&&p?wp.element.createElement("div",u({},e,{render:void 0,className:w,onClick:t.open,style:y,"data-is-placeholder-visible":!n}),p):wp.element.createElement("div",u({},e,{className:w,onClick:t.open,style:y,"data-is-placeholder-visible":!n}),n&&f&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){c(),e.stopPropagation()}},wp.element.createElement(a.e,{icon:"no"})),!n&&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"})))}})};t.a=i},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,c=e.url,s=void 0===c?"":c,m=e.color,b=e.text,g=e.backgroundColor,d=e.borderRadius,p={borderRadius:d+"px",backgroundColor:g||void 0},h=u()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+a]);return wp.element.createElement("div",{className:h,style:p},wp.element.createElement(i.n.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,c=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(i.n.Content,{tagName:"a",className:"ugb-button-inner",href:a,style:{color:u},value:c}))}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,c=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(i.n.Content,{tagName:"a",className:"ugb-button-inner",href:a,style:{color:u},value:c}))}n.d(t,"c",function(){return c}),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),i=n(0),c=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,c=t.cornerButtonRadius,s=t.design,b=wp.element.createElement(m,{align:o,size:u,url:n,color:a,text:l,backgroundColor:r,borderRadius:c});return Object(i.u)("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,i=t.cornerButtonRadius,c={backgroundColor:r,color:a,borderRadius:i+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+u,style:c},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){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(12);n.n(l),n(13),n(17),n(20),n(27),n(31),n(37),n(45),n(49),n(53),n(58),n(62),n(66),n(69),n(73),n(77),n(82),n(86),n(90),n(94),n(97),n(101),n(105)},function(e,t){},function(e,t,n){"use strict";var l=n(14),o=(n.n(l),n(15)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(16),c=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(c.f,null,wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.m,{label:Object(c.s)("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(c.A)("ugb/spacer",{title:Object(c.s)("Spacer"),icon:u.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Spacer"),Object(c.s)("Stackable")],attributes:b,deprecated:[{attributes:i.b,save:i.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(18),o=(n.n(l),n(19)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(0),c=function(e){var t=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("div",{className:i},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,c=a()([t,"ugb-divider"]);return wp.element.createElement(i.f,null,wp.element.createElement(i.d,null,wp.element.createElement(i.a,{value:u,onChange:function(t){e.setAttributes({alignment:t})}})),wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.m,{label:Object(i.s)("Height"),value:l,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(i.m,{label:Object(i.s)("Width"),value:o,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(i.k,{title:Object(i.s)("Color Settings"),colorSettings:[{value:r,onChange:function(t){return e.setAttributes({color:t})},label:Object(i.s)("Divider Color")}]})),wp.element.createElement("div",{className:c,style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:u,style:{marginTop:0,marginBottom:0,backgroundColor:r,width:o+"%",height:l}})))};Object(i.A)("ugb/divider",{title:Object(i.s)("Divider"),icon:u.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Divider"),Object(i.s)("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:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(21),o=(n.n(l),n(22)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(9),c=n(4),s=n(5),m=n(6),b=n(23),g=(n(26),n(0)),d=function(e){var t=e.isSelected,n=e.className,l=e.setAttributes,o=e.attributes,r=o.url,u=o.text,i=o.color,s=o.textColor,d=o.size,p=o.align,h=o.cornerButtonRadius,f=o.design,w=a()([n,"ugb-button"]),y=wp.element.createElement(c.a,{onChange:function(e){return l({text:e})},className:w,align:p,size:d,backgroundColor:i,color:s,text:u,borderRadius:h}),v=Object(g.u)("stackable.designs.button.edit",y,f,e);return wp.element.createElement(g.f,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.h,null,wp.element.createElement(b.a,{selected:f,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.h,null,wp.element.createElement(m.a,{initialOpen:!0,buttonColor:i,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})}})),v,t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.r,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.s)("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,i=n.textColor,c=n.size,m=n.cornerButtonRadius,b=n.design,d=a()([t,"ugb-button"]),p=wp.element.createElement(s.a,{className:d,align:r,size:c,url:l,color:i,text:o,backgroundColor:u,borderRadius:m});return Object(g.u)("stackable.designs.button.save",p,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.A)("ugb/button",{title:Object(g.s)("Button"),icon:u.a,description:"Add a customizable button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Button"),Object(g.s)("Stackable")],attributes:h,deprecated:[{attributes:i.g,save:i.e},{attributes:i.f,migrate:function(e){return Object(g.z)(Object(g.y)(e,{align:e.textAlignment}),["textAlignment"])},save:i.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(24),r=(n.n(o),n(0),n(25),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.x&&t});return wp.element.createElement("span",{className:o},wp.element.createElement("img",{src:n.match(/https?:/i)?n:a.v+"/"+n,alt:l}),wp.element.createElement("span",{className:"design-label"},l,!a.x&&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(28),o=(n.n(l),n(29)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(30),c=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.url,u=o.text,i=o.color,s=o.size,m=o.align,b=o.cornerButtonRadius,g=o.borderThickness,d=[{value:"small",label:Object(c.s)("Small")},{value:"normal",label:Object(c.s)("Normal ")},{value:"medium",label:Object(c.s)("Medium")},{value:"large",label:Object(c.s)("Large")}],p=a()([l,"ugb-button","ugb-ghost-button","ugb-button-"+m,"ugb-button-"+s]);return wp.element.createElement(c.f,null,wp.element.createElement(c.d,null,wp.element.createElement(c.c,{value:m,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.o,{label:Object(c.s)("Size"),value:s,options:d.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(c.m,{label:Object(c.s)("Corner Radius"),value:b,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(c.m,{label:Object(c.s)("Border Thickness"),value:g,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(c.k,{title:Object(c.s)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return n({color:e})},label:Object(c.s)("Button Color")}]})),wp.element.createElement("span",{className:p,style:{borderColor:i,borderRadius:b+"px",borderWidth:g+"px"}},wp.element.createElement(c.n,{tagName:"span",placeholder:Object(c.s)("Enter Text"),value:u,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:i},keepPlaceholderOnFocus:!0})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(c.e,{icon:"admin-links"}),wp.element.createElement(c.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(c.g,{icon:"editor-break",label:Object(c.s)("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,i=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-"+i]);return wp.element.createElement("div",{className:g,style:b},wp.element.createElement(c.n.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(c.A)("ugb/ghost-button",{title:Object(c.s)("Ghost Button"),icon:u.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Ghost Button"),Object(c.s)("Stackable")],attributes:b,deprecated:[{attributes:i.b,migrate:function(e){return Object(c.z)(Object(c.y)(e,{align:e.textAlignment}),["textAlignment"])},save:i.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,i=t.borderThickness,c={borderColor:r,color:r,borderRadius:u+"px",borderWidth:i+"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:c},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(32),o=(n.n(l),n(33)),r=(n.n(o),n(1)),a=n.n(r),u=n(34),i=n.n(u),c=n(2),s=n(0),m=function(e){var t=[{value:"success",label:Object(s.s)("Success")},{value:"error",label:Object(s.s)("Error")},{value:"warning",label:Object(s.s)("Warning")},{value:"info",label:Object(s.s)("Information")}],n=(e.isSelected,e.editable,e.setState,e.setAttributes),l=e.className,o=e.attributes,r=o.text,u=o.color,i=o.textColor,c=o.notifType,m=o.dismissible,b=a()([l,"ugb-notification","type-"+c,"dismissible-"+m]);return wp.element.createElement(s.f,null,wp.element.createElement(s.h,null,wp.element.createElement(s.j,null,wp.element.createElement(s.p,{label:Object(s.s)("Dismissible"),checked:m,onChange:function(){return n({dismissible:!m})}}),wp.element.createElement(s.o,{label:Object(s.s)("Notification Type"),value:c,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}})),wp.element.createElement(s.k,{title:Object(s.s)("Color Settings"),colorSettings:[{value:u,onChange:function(e){return n({color:e})},label:Object(s.s)("Background Color")},{value:i,onChange:function(e){return n({textColor:e})},label:Object(s.s)("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:i}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(s.n,{tagName:"p",placeholder:e.attributes.text.default,value:r,onChange:function(e){return n({text:e})},className:"wp-ugb-notif notif-"+c,style:{backgroundColor:u,color:i}})))},b=function(e){var t=e.className,n=e.attributes,l=n.text,o=n.color,r=n.textColor,u=n.notifType,c=n.dismissible,m=a()([t,"ugb-notification","type-"+u,"dismissible-"+c]),b={backgroundColor:o,color:r},g=i()(l+u).substr(0,6);return wp.element.createElement("div",{className:m,"data-uid":g},c&&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.n.Content,{tagName:"p",className:"wp-ugb-notif notif-"+u,style:b,value:l}))},g={text:{source:"html",selector:"p",default:Object(s.s)("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.A)("ugb/notification",{title:Object(s.s)("Notification"),icon:c.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.s)("Notification"),Object(s.s)("Stackable")],attributes:g,edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(35),l=n(10).utf8,o=n(36),r=n(10).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),i=8*e.length,c=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[i>>>5]|=128<<i%32,u[14+(i+64>>>9<<4)]=i;for(var d=a._ff,p=a._gg,h=a._hh,f=a._ii,g=0;g<u.length;g+=16){var w=c,y=s,v=m,C=b;c=d(c,s,m,b,u[g+0],7,-680876936),b=d(b,c,s,m,u[g+1],12,-389564586),m=d(m,b,c,s,u[g+2],17,606105819),s=d(s,m,b,c,u[g+3],22,-1044525330),c=d(c,s,m,b,u[g+4],7,-176418897),b=d(b,c,s,m,u[g+5],12,1200080426),m=d(m,b,c,s,u[g+6],17,-1473231341),s=d(s,m,b,c,u[g+7],22,-45705983),c=d(c,s,m,b,u[g+8],7,1770035416),b=d(b,c,s,m,u[g+9],12,-1958414417),m=d(m,b,c,s,u[g+10],17,-42063),s=d(s,m,b,c,u[g+11],22,-1990404162),c=d(c,s,m,b,u[g+12],7,1804603682),b=d(b,c,s,m,u[g+13],12,-40341101),m=d(m,b,c,s,u[g+14],17,-1502002290),s=d(s,m,b,c,u[g+15],22,1236535329),c=p(c,s,m,b,u[g+1],5,-165796510),b=p(b,c,s,m,u[g+6],9,-1069501632),m=p(m,b,c,s,u[g+11],14,643717713),s=p(s,m,b,c,u[g+0],20,-373897302),c=p(c,s,m,b,u[g+5],5,-701558691),b=p(b,c,s,m,u[g+10],9,38016083),m=p(m,b,c,s,u[g+15],14,-660478335),s=p(s,m,b,c,u[g+4],20,-405537848),c=p(c,s,m,b,u[g+9],5,568446438),b=p(b,c,s,m,u[g+14],9,-1019803690),m=p(m,b,c,s,u[g+3],14,-187363961),s=p(s,m,b,c,u[g+8],20,1163531501),c=p(c,s,m,b,u[g+13],5,-1444681467),b=p(b,c,s,m,u[g+2],9,-51403784),m=p(m,b,c,s,u[g+7],14,1735328473),s=p(s,m,b,c,u[g+12],20,-1926607734),c=h(c,s,m,b,u[g+5],4,-378558),b=h(b,c,s,m,u[g+8],11,-2022574463),m=h(m,b,c,s,u[g+11],16,1839030562),s=h(s,m,b,c,u[g+14],23,-35309556),c=h(c,s,m,b,u[g+1],4,-1530992060),b=h(b,c,s,m,u[g+4],11,1272893353),m=h(m,b,c,s,u[g+7],16,-155497632),s=h(s,m,b,c,u[g+10],23,-1094730640),c=h(c,s,m,b,u[g+13],4,681279174),b=h(b,c,s,m,u[g+0],11,-358537222),m=h(m,b,c,s,u[g+3],16,-722521979),s=h(s,m,b,c,u[g+6],23,76029189),c=h(c,s,m,b,u[g+9],4,-640364487),b=h(b,c,s,m,u[g+12],11,-421815835),m=h(m,b,c,s,u[g+15],16,530742520),s=h(s,m,b,c,u[g+2],23,-995338651),c=f(c,s,m,b,u[g+0],6,-198630844),b=f(b,c,s,m,u[g+7],10,1126891415),m=f(m,b,c,s,u[g+14],15,-1416354905),s=f(s,m,b,c,u[g+5],21,-57434055),c=f(c,s,m,b,u[g+12],6,1700485571),b=f(b,c,s,m,u[g+3],10,-1894986606),m=f(m,b,c,s,u[g+10],15,-1051523),s=f(s,m,b,c,u[g+1],21,-2054922799),c=f(c,s,m,b,u[g+8],6,1873313359),b=f(b,c,s,m,u[g+15],10,-30611744),m=f(m,b,c,s,u[g+6],15,-1560198380),s=f(s,m,b,c,u[g+13],21,1309151649),c=f(c,s,m,b,u[g+4],6,-145523070),b=f(b,c,s,m,u[g+11],10,-1120210379),m=f(m,b,c,s,u[g+2],15,718787259),s=f(s,m,b,c,u[g+9],21,-343485551),c=c+w>>>0,s=s+y>>>0,m=m+v>>>0,b=b+C>>>0}return t.endian([c,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(38),o=(n.n(l),n(39)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(7),c=n(44),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,c=o.quoteColor,m=o.backgroundColor,b=o.backgroundImageID,g=o.backgroundImageURL,d=o.backgroundOpacity,p=o.fixedBackground,h=a()([l,"ugb-blockquote","ugb-has-background-opacity-"+1*Math.round(d/1)],{"ugb-has-background":m||g,"ugb-has-background-image":g}),f={"--quote-color":c||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.f,null,wp.element.createElement("blockquote",{className:h,style:f},wp.element.createElement(s.n,{className:"ugb-blockquote-text",value:u,onChange:function(e){return n({text:e})},isSelected:t,style:{color:r}})),wp.element.createElement(s.h,null,wp.element.createElement(s.k,{title:Object(s.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(s.s)("Text Color")},{value:c,onChange:function(e){return n({quoteColor:e})},label:Object(s.s)("Quote Color")}]}),wp.element.createElement(i.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,i=(n.backgroundImageID,n.backgroundImageURL),c=n.backgroundOpacity,m=n.fixedBackground,b=a()([t,"ugb-blockquote","ugb-has-background-opacity-"+1*Math.round(c/1)],{"ugb-has-background":u||i,"ugb-has-background-image":i}),g={"--quote-color":r||void 0,backgroundColor:u||void 0,backgroundImage:i?"url("+i+")":void 0,backgroundAttachment:m?"fixed":void 0,"--ugb-background-color":i?u:void 0};return wp.element.createElement("blockquote",{className:b,style:g},wp.element.createElement(s.n.Content,{tagName:"p",style:{color:l},value:o}))},g={text:{source:"html",selector:"p",default:Object(s.s)("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.A)("ugb/blockquote",{title:Object(s.s)("Blockquote"),icon:u.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.s)("Blockquote"),Object(s.s)("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:c.d,save:c.b},{attributes:c.c,migrate:function(e){return Object(s.z)(Object(s.y)(e,{quoteColor:e.borderColor}),["borderColor"])},save:c.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,i=void 0===u?function(){}:u,c=e.allowedTypes,s=void 0===c?["image"]:c,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.i,{onSelect:a,allowedTypes:s,value:n,render:function(e){return wp.element.createElement(r.f,null,l&&wp.element.createElement("div",{className:"ugb-image-preview-wrapper"},wp.element.createElement("button",{className:"ugb-image-preview-remove",onClick:i},wp.element.createElement(r.e,{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(43),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 i}),n.d(t,"a",function(){return c});var l=n(1),o=n.n(l),r=n(0),a={text:{source:"html",selector:"p",default:Object(r.s)("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,i=o()([t,"ugb-blockquote"]);return wp.element.createElement("blockquote",{className:i,style:{"--quote-color":u}},wp.element.createElement(r.n.Content,{tagName:"p",style:{color:l},value:a}))},i={text:{type:"array",source:"children",selector:"p",default:Object(r.s)("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"}},c=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(46),o=(n.n(l),n(47)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(48),c=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.color,u=o.text,i=o.quoteColor,s=a()([l,"ugb-pullquote"]);return wp.element.createElement(c.f,null,wp.element.createElement("blockquote",{className:s,style:{"--quote-color":i}},wp.element.createElement(c.n,{tagName:"p",className:"ugb-pullquote-text",value:u,onChange:function(e){return n({text:e})},placeholder:Object(c.s)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:r}})),wp.element.createElement(c.h,null,wp.element.createElement(c.k,{title:Object(c.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(c.s)("Text Color")},{value:i,onChange:function(e){return n({quoteColor:e})},label:Object(c.s)("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(c.n.Content,{tagName:"p",style:{color:l},value:o}))},b={text:{source:"html",selector:"p",default:Object(c.s)("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(c.A)("ugb/pullquote",{title:Object(c.s)("Pullquote"),icon:u.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Pullquote"),Object(c.s)("Stackable")],attributes:b,deprecated:[{attributes:i.b,migrate:function(e){return Object(c.z)(Object(c.y)(e,{quoteColor:e.borderColor}),["borderColor"])},save:i.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.s)("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(50),o=(n.n(l),n(51)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(4),c=n(5),s=n(6),m=n(7),b=n(52),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,c=o.ctaTitle,b=o.bodyText,d=o.color,p=o.textColor,h=o.size,f=o.borderButtonRadius,w=o.bodyTextColor,y=o.titleColor,v=o.backgroundColor,C=o.backgroundImageID,E=o.backgroundImageURL,k=o.backgroundOpacity,x=o.fixedBackground,O=a()([n,"ugb-cta","columns-"+columns,"ugb-has-background-opacity-"+1*Math.round(k/1)],{"ugb-has-background":v||E,"ugb-has-background-image":E}),N={backgroundColor:v||void 0,backgroundImage:E?"url("+E+")":void 0,backgroundAttachment:x?"fixed":void 0,"--ugb-background-color":E?v:void 0};return wp.element.createElement(g.f,null,wp.element.createElement(g.h,null,wp.element.createElement(g.k,{initialOpen:!0,title:Object(g.s)("Color Settings"),colorSettings:[{value:y,onChange:function(e){return l({titleColor:e})},label:Object(g.s)("Title Color")},{value:w,onChange:function(e){return l({bodyTextColor:e})},label:Object(g.s)("Body Text Color")}]}),wp.element.createElement(m.a,{backgroundColor:v,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:h,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:O,style:N},wp.element.createElement(g.n,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(g.s)("Add Title"),value:c,onChange:function(e){return l({ctaTitle:e})},keepPlaceholderOnFocus:!0,style:{color:y}}),wp.element.createElement(g.n,{tagName:"p",value:b,className:"ugb-cta-bodyText",onChange:function(e){return l({bodyText:e})},placeholder:Object(g.s)("Write body text\u2026"),style:{color:w}}),wp.element.createElement(i.a,{size:h,color:p,backgroundColor:d,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(g.e,{icon:"admin-links"}),wp.element.createElement(g.r,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.s)("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,i=n.color,s=n.textColor,m=n.size,b=n.borderButtonRadius,d=n.bodyTextColor,p=n.titleColor,h=n.backgroundColor,f=(n.backgroundImageID,n.backgroundImageURL),w=n.backgroundOpacity,y=n.fixedBackground,v=a()([t,"ugb-cta","columns-"+columns,"ugb-has-background-opacity-"+1*Math.round(w/1)],{"ugb-has-background":h||f,"ugb-has-background-image":f}),C={backgroundColor:h||void 0,backgroundImage:f?"url("+f+")":void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f?h:void 0};return wp.element.createElement("div",{className:v,style:C},r&&!!r.length&&wp.element.createElement(g.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:r}),u&&!!u.length&&wp.element.createElement(g.n.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:d},value:u}),o&&!!o.length&&wp.element.createElement(c.a,{size:m,url:l,color:s,text:o,backgroundColor:i,borderRadius:b}))},h={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(g.s)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(g.s)("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.A)("ugb/cta",{title:Object(g.s)("Call to Action"),icon:u.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Call to Action"),Object(g.s)("Stackable"),Object(g.s)("CTA")],attributes:h,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 i}),n.d(t,"d",function(){return c}),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(9),u={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(r.s)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(r.s)("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}},i=function(e){var t=e.className,n=e.attributes,l=n.url,u=n.buttonText,i=n.ctaTitle,c=n.bodyText,s=n.color,m=n.textColor,b=n.size,g=n.borderButtonRadius,d=n.bodyTextColor,p=n.titleColor,h=n.bgColor,f=o()([t,"ugb-cta"]);return wp.element.createElement("div",{className:f,style:{backgroundColor:h}},i&&!!i.length&&wp.element.createElement(r.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:i}),c&&!!c.length&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:d},value:c}),u&&!!u.length&&wp.element.createElement(a.c,{size:b,url:l,color:m,text:u,backgroundColor:s,borderRadius:g}))},c={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(r.s)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(r.s)("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,i=t.color,c=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.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:g},value:o}),u&&!!u.length&&wp.element.createElement(r.n.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:c,text:l,backgroundColor:i,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,i=t.size,c=t.borderButtonRadius,s=t.bodyTextColor,m=t.titleColor,b=t.bgColor,g={backgroundColor:a,color:u,borderRadius:c+"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-"+i,style:g},l))}},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(54),r=(n.n(o),n(55)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(8),s=n(3),m=n(57),b=n(0),g=function(e){var t=e.className,n=e.setAttributes,o=e.attributes,r=o.columns,a=o.titleColor,i=o.posColor,s=o.bodyTextColor,m=u()([t,"ugb-testimonial","columns-"+r]);return wp.element.createElement(b.f,null,wp.element.createElement(b.h,null,wp.element.createElement(b.j,null,wp.element.createElement(b.m,{label:Object(b.s)("Columns"),value:r,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Color Settings"),colorSettings:[{value:s,onChange:function(e){return n({bodyTextColor:e})},label:Object(b.s)("Body Text Color")},{value:a,onChange:function(e){return n({titleColor:e})},label:Object(b.s)("Title Color")},{value:i,onChange:function(e){return n({posColor:e})},label:Object(b.s)("Position Color")}]})),wp.element.createElement("div",{className:m},[1,2,3].map(function(e){var t=o["mediaURL"+e],r=o["mediaID"+e],u=o["name"+e],m=o["position"+e],g=o["testimonial"+e];return wp.element.createElement("div",{className:"ugb-testimonial-item"},wp.element.createElement(b.n,{tagName:"p",className:"ugb-testimonial-body",value:g,onChange:function(t){return n(l({},"testimonial"+e,t))},style:{color:s},placeholder:Object(b.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage."),keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{className:"testimonial-image",imageID:r,imageURL:t,onRemove:function(){var t;n((t={},l(t,"mediaURL"+e,""),l(t,"mediaID"+e,""),t))},onChange:function(t){var o,r=t.url,a=t.id;n((o={},l(o,"mediaURL"+e,r),l(o,"mediaID"+e,a),o))},hasRemove:!1}),wp.element.createElement(b.n,{tagName:"h4",value:u,onChange:function(t){return n(l({},"name"+e,t))},style:{color:a},placeholder:Object(b.s)("Name"),keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:m,className:"ugb-testimonial-position",onChange:function(t){return n(l({},"position"+e,t))},style:{color:i},keepPlaceholderOnFocus:!0}))})))},d=function(e){var t=e.className,n=e.attributes,l=n.columns,o=n.titleColor,r=n.posColor,a=n.bodyTextColor,i=u()([t,"ugb-testimonial","columns-"+l]);return wp.element.createElement("div",{className:i},Object(s.b)(1,l+1).map(function(e){var t=n["mediaURL"+e],l=n["name"+e],u=n["position"+e],i=n["testimonial"+e];return wp.element.createElement("div",{className:"ugb-testimonial-item"},!b.n.isEmpty(i)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:a},value:i}),t&&wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+t+")"}}),!b.n.isEmpty(l)&&wp.element.createElement(b.n.Content,{tagName:"h4",style:{color:o},value:l}),!b.n.isEmpty(u)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:r},value:u}))}))},p={mediaID1:{type:"number"},mediaID2:{type:"number"},mediaID3:{type:"number"},mediaURL1:{type:"string"},mediaURL2:{type:"string"},mediaURL3:{type:"string"},name1:{source:"html",selector:".ugb-testimonial-item:nth-child(1) h4",default:Object(b.s)("Ben Adams")},name2:{source:"html",selector:".ugb-testimonial-item:nth-child(2) h4",default:Object(b.s)("Alex Johnson")},name3:{source:"html",selector:".ugb-testimonial-item:nth-child(3) h4",default:Object(b.s)("Sammy Simpson")},position1:{source:"html",selector:".ugb-testimonial-item:nth-child(1) .ugb-testimonial-position",default:Object(b.s)("Founder")},position2:{source:"html",selector:".ugb-testimonial-item:nth-child(2) .ugb-testimonial-position",default:Object(b.s)("Editor")},position3:{source:"html",selector:".ugb-testimonial-item:nth-child(3) .ugb-testimonial-position",default:Object(b.s)("Programmer")},testimonial1:{source:"html",selector:".ugb-testimonial-item:nth-child(1) .ugb-testimonial-body",default:Object(b.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},testimonial2:{source:"html",selector:".ugb-testimonial-item:nth-child(2) .ugb-testimonial-body",default:Object(b.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},testimonial3:{source:"html",selector:".ugb-testimonial-item:nth-child(3) .ugb-testimonial-body",default:Object(b.s)("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"},columns:{type:"number",default:2},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(b.s)("Ben Adams")},testimonialTitleTwo:{source:"html",selector:".ugb-testimonial-column-two h4",default:Object(b.s)("Alex Johnson")},testimonialTitleThree:{source:"html",selector:".ugb-testimonial-column-three h4",default:Object(b.s)("Sammy Simpson")},position:{source:"html",selector:".ugb-testimonial-position",default:Object(b.s)("Founder")},positionTwo:{source:"html",selector:".ugb-testimonial-position-two",default:Object(b.s)("Editor")},positionThree:{source:"html",selector:".ugb-testimonial-position-three",default:Object(b.s)("Programmer")},body:{source:"html",selector:".ugb-testimonial-body",default:Object(b.s)("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(b.s)("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(b.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},iconColor:{type:"string"}};Object(b.A)("ugb/testimonial",{title:Object(b.s)("Testimonial"),icon:i.q,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.s)("Testimonial"),Object(b.s)("Stackable")],attributes:p,deprecated:[{attributes:m.b,save:m.a,migrate:function(e){return Object(b.z)(Object.assign({},e,{mediaID1:e.mediaID,mediaID2:e.mediaIDTwo,mediaID3:e.mediaIDThree,mediaURL1:e.mediaURL,mediaURL2:e.mediaURLTwo,mediaURL3:e.mediaURLThree,name1:e.testimonialTitle,name2:e.testimonialTitleTwo,name3:e.testimonialTitleThree,position1:e.position,position2:e.positionTwo,position3:e.positionThree,testimonial1:e.body,testimonial2:e.bodyTwo,testimonial3:e.bodyThree}),["mediaID","mediaIDTwo","mediaIDThree","mediaURL","mediaURLTwo","mediaURLThree","testimonialTitle","testimonialTitleTwo","testimonialTitleThree","postion","positionTwo","positionThree","body","bodyTwo","bodyThree"])}}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u});var l=n(1),o=n.n(l),r=n(0),a=function(e){var t=e.className,n=e.attributes,l=n.testimonialTitle,a=n.testimonialTitleTwo,u=n.testimonialTitleThree,i=n.body,c=n.bodyTwo,s=n.bodyThree,m=n.position,b=n.positionTwo,g=n.positionThree,d=n.mediaURL,p=n.mediaURLTwo,h=n.mediaURLThree,f=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.titleColor),w=n.posColor,y=n.bodyTextColor,v=n.iconColor,C=n.columns,E=o()([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:v}},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,!r.n.isEmpty(l)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:f},value:l}),!r.n.isEmpty(m)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:w},value:m}),!r.n.isEmpty(i)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:y},value:i})),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,!r.n.isEmpty(a)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:f},value:a}),!r.n.isEmpty(b)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-position-two",style:{color:w},value:b}),!r.n.isEmpty(c)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-body-two",style:{color:y},value:c})),C>2&&wp.element.createElement("div",{className:"ugb-testimonial-column-three"},h?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+h+")"},"data-src":h}):k,!r.n.isEmpty(u)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:f},value:u}),!r.n.isEmpty(g)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-position-three",style:{color:w},value:g}),!r.n.isEmpty(s)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-body-three",style:{color:y},value:s})))},u={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(r.s)("Ben Adams")},testimonialTitleTwo:{source:"html",selector:".ugb-testimonial-column-two h4",default:Object(r.s)("Alex Johnson")},testimonialTitleThree:{source:"html",selector:".ugb-testimonial-column-three h4",default:Object(r.s)("Sammy Simpson")},position:{source:"html",selector:".ugb-testimonial-position",default:Object(r.s)("Founder")},positionTwo:{source:"html",selector:".ugb-testimonial-position-two",default:Object(r.s)("Editor")},positionThree:{source:"html",selector:".ugb-testimonial-position-three",default:Object(r.s)("Programmer")},body:{source:"html",selector:".ugb-testimonial-body",default:Object(r.s)("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(r.s)("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(r.s)("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}}},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),i=n(2),c=n(3),s=n(8),m=n(61),b=n(0),g=function(e){var t=(e.isSelected,e.editable,e.setState,e.className),n=e.setAttributes,o=e.attributes,r=e.attributes,a=r.columns,i=r.nameColor,c=r.posColor,m=r.desColor,g=r.shapes,d=[{value:"square",label:Object(b.s)("Square")},{value:"circle",label:Object(b.s)("Circle")}],p=u()([t,"ugb-team-member","columns-"+a,"image-"+g]);return wp.element.createElement(b.f,null,wp.element.createElement(b.h,null,wp.element.createElement(b.j,null,wp.element.createElement(b.o,{label:Object(b.s)("Image Shape"),value:g,options:d.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({shapes:e})}}),wp.element.createElement(b.m,{label:Object(b.s)("Columns"),value:a,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return n({nameColor:e})},label:Object(b.s)("Name Color")},{value:c,onChange:function(e){return n({posColor:e})},label:Object(b.s)("Position Color")},{value:m,onChange:function(e){return n({desColor:e})},label:Object(b.s)("Description Color")}]})),wp.element.createElement("div",{className:p},[1,2,3].map(function(e){var t=o["mediaURL"+e],r=o["mediaID"+e],a=o["name"+e],u=o["position"+e],g=o["description"+e];return wp.element.createElement("div",{className:"ugb-team-member-item"},wp.element.createElement(s.a,{className:"team-member-image",imageID:r,imageURL:t,onRemove:function(){var t;n((t={},l(t,"mediaURL"+e,""),l(t,"mediaID"+e,""),t))},onChange:function(t){var o,r=t.url,a=t.id;n((o={},l(o,"mediaURL"+e,r),l(o,"mediaID"+e,a),o))},hasRemove:!1}),wp.element.createElement(b.n,{tagName:"h4",value:a,onChange:function(t){return n(l({},"name"+e,t))},style:{color:i},placeholder:Object(b.s)("Team Member name"),keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:u,className:"ugb-team-member-position",onChange:function(t){return n(l({},"position"+e,t))},style:{color:c},placeholder:Object(b.s)("Position"),keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:g,className:"ugb-team-member-desc",onChange:function(t){return n(l({},"description"+e,t))},style:{color:m},placeholder:Object(b.s)("Team member description. This guy is the head of our small team. He loves walking his dog, Walter, when he has some free time."),keepPlaceholderOnFocus:!0}))})))},d=function(e){var t=e.className,n=e.attributes,l=e.attributes,o=l.shapes,r=l.nameColor,a=l.posColor,i=l.desColor,s=l.columns,m=u()([t,"ugb-team-member","columns-"+s,"image-"+o]);return wp.element.createElement("div",{className:m},Object(c.b)(1,s+1).map(function(e){var t=n["mediaURL"+e],l=n["name"+e],o=n["position"+e],u=n["description"+e];return wp.element.createElement("div",{key:e},wp.element.createElement("div",{className:"ugb-team-member-item"},t&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:t?"url("+t+")":void 0},"data-src":t||void 0}),!b.n.isEmpty(l)&&wp.element.createElement(b.n.Content,{tagName:"h4",style:{color:r},value:l}),!b.n.isEmpty(o)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:a},value:o}),!b.n.isEmpty(u)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-team-member-desc",style:{color:i},value:u})))}))},p={href1:{type:"url"},href2:{type:"url"},href3:{type:"url"},mediaID1:{type:"number"},mediaID2:{type:"number"},mediaID3:{type:"number"},mediaURL1:{type:"string",source:"attribute",selector:".ugb-team-member-item:nth-child(1) .team-member-image",attribute:"data-src"},mediaURL2:{type:"string",source:"attribute",selector:".ugb-team-member-item:nth-child(2) .team-member-image",attribute:"data-src"},mediaURL3:{type:"string",source:"attribute",selector:".ugb-team-member-item:nth-child(3) .team-member-image",attribute:"data-src"},name1:{source:"html",selector:".ugb-team-member-item:nth-child(1) h4",default:Object(b.s)("Ben Adams")},name2:{source:"html",selector:".ugb-team-member-item:nth-child(2) h4",default:Object(b.s)("Alex Johnson")},name3:{source:"html",selector:".ugb-team-member-item:nth-child(3) h4",default:Object(b.s)("Sammy Simpson")},position1:{source:"html",selector:".ugb-team-member-item:nth-child(1) .ugb-team-member-position",default:Object(b.s)("Founder")},position2:{source:"html",selector:".ugb-team-member-item:nth-child(2) .ugb-team-member-position",default:Object(b.s)("Editor")},position3:{source:"html",selector:".ugb-team-member-item:nth-child(3) .ugb-team-member-position",default:Object(b.s)("Programmer")},description1:{source:"html",selector:".ugb-team-member-item:nth-child(1) .ugb-team-member-desc",default:Object(b.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},description2:{source:"html",selector:".ugb-team-member-item:nth-child(2) .ugb-team-member-desc",default:Object(b.s)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},description3:{source:"html",selector:".ugb-team-member-item:nth-child(3) .ugb-team-member-desc",default:Object(b.s)("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"},columns:{type:"number",default:2},shapes:{type:"string",default:"circle"},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(b.s)("Ben Adams")},nameTwo:{source:"html",selector:".ugb-team-member-column-two h4",default:Object(b.s)("Alex Johnson")},nameThree:{source:"html",selector:".ugb-team-member-column-three h4",default:Object(b.s)("Sammy Simpson")},position:{source:"html",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(b.s)("Founder")},positionTwo:{source:"html",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(b.s)("Editor")},positionThree:{source:"html",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(b.s)("Programmer")},des:{source:"html",selector:".ugb-team-member-des",default:Object(b.s)("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(b.s)("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(b.s)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},iconColor:{type:"string"}};Object(b.A)("ugb/team-member",{title:Object(b.s)("Team Member"),icon:i.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.s)("Team Member"),Object(b.s)("Stackable")],attributes:p,deprecated:[{attributes:m.b,save:m.a,migrate:function(e){return Object(b.z)(Object.assign({},e,{href1:e.href,href2:e.hrefTwo,href3:e.hrefThree,mediaID1:e.mediaID,mediaID2:e.mediaIDTwo,mediaID3:e.mediaIDThree,mediaURL1:e.mediaURL,mediaURL2:e.mediaURLTwo,mediaURL3:e.mediaURLThree,name1:e.name,name2:e.nameTwo,name3:e.nameThree,position1:e.position,position2:e.positionTwo,position3:e.positionThree,description1:e.des,description2:e.desTwo,description3:e.desThree}),["href","hrefTwo","hrefThree","mediaID","mediaIDTwo","mediaIDThree","mediaURL","mediaURLTwo","mediaURLThree","name","nameTwo","nameThree","postion","positionTwo","positionThree","des","desTwo","desThree"])}}],edit:g,save:d})},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={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(r.s)("Ben Adams")},nameTwo:{source:"html",selector:".ugb-team-member-column-two h4",default:Object(r.s)("Alex Johnson")},nameThree:{source:"html",selector:".ugb-team-member-column-three h4",default:Object(r.s)("Sammy Simpson")},position:{source:"html",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(r.s)("Founder")},positionTwo:{source:"html",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(r.s)("Editor")},positionThree:{source:"html",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(r.s)("Programmer")},des:{source:"html",selector:".ugb-team-member-des",default:Object(r.s)("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(r.s)("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(r.s)("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"}},u=function(e){var t=e.className,n=e.attributes,l=n.name,a=n.nameTwo,u=n.nameThree,i=n.shapes,c=n.des,s=n.desTwo,m=n.desThree,b=n.position,g=n.positionTwo,d=n.positionThree,p=n.mediaURL,h=n.mediaURLTwo,f=n.mediaURLThree,w=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.nameColor),y=n.posColor,v=n.desColor,C=(n.iconColor,n.columns),E=o()([t,"ugb-team-member","column-"+C,"image-"+i]);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}),!r.n.isEmpty(l)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:w},value:l}),!r.n.isEmpty(b)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:y},value:b}),!r.n.isEmpty(c)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-des",style:{color:v},value:c})),C>1&&wp.element.createElement("div",{className:"ugb-team-member-column-two"},h&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+h+")"},"data-src":h}),!r.n.isEmpty(a)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:w},value:a}),!r.n.isEmpty(g)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:y},value:g}),!r.n.isEmpty(s)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-des-two",style:{color:v},value:s})),C>2&&wp.element.createElement("div",{className:"ugb-team-member-column-three"},f&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+f+")"},"data-src":f}),!r.n.isEmpty(u)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:w},value:u}),!r.n.isEmpty(d)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:y},value:d}),!r.n.isEmpty(m)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-des-three",style:{color:v},value:m})))}},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(63),r=(n.n(o),n(64)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(65),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,i=r.moreLabel,c=r.moreText,m=r.lessLabel,b=u()([n,"ugb-expand"]);return wp.element.createElement(s.f,null,wp.element.createElement("div",{className:b},o&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.s)("Less text")),wp.element.createElement(s.n,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.s)("Some short text that can be expanded to show more details."))),wp.element.createElement(s.n,l({tagName:"a",placeholder:e.attributes.moreLabel.default,value:i,onChange:function(e){return t({moreLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-more"},"placeholder",Object(s.s)("Show more"))),o&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.s)("More text")),o&&wp.element.createElement(s.n,l({multiline:"p",placeholder:e.attributes.moreText.default,value:c,onChange:function(e){return t({moreText:e})},className:"ugb-expand-more-text"},"placeholder",Object(s.s)("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.n,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.s)("Show less")))))},b=function(e){var t=e.className,n=e.attributes,l=n.text,o=n.moreLabel,r=n.moreText,a=n.lessLabel,i=u()([t,"ugb-expand"]);return wp.element.createElement("div",{className:i},wp.element.createElement("div",{className:"ugb-expand-less-text"},!s.n.isEmpty(l)&&wp.element.createElement(s.n.Content,{multiline:"p",value:l})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!s.n.isEmpty(r)&&wp.element.createElement(s.n.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(s.n.Content,{className:"ugb-expand-more",tagName:"span",value:o}),wp.element.createElement(s.n.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.s)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(s.s)("Show less")}};Object(s.A)("ugb/expand",{title:Object(s.s)("Expand / Show More"),icon:i.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.s)("Expand"),Object(s.s)("Show more/less"),Object(s.s)("Stackable")],attributes:g,deprecated:[{attributes:c.b,save:c.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.s)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(l.s)("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.n.isEmpty(n)&&wp.element.createElement(l.n.Content,{multiline:"p",value:n})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!l.n.isEmpty(r)&&wp.element.createElement(l.n.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(l.n.Content,{className:"ugb-expand-more",tagName:"span",value:o}),wp.element.createElement(l.n.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))}},function(e,t,n){"use strict";var l=n(67),o=(n.n(l),n(68)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(0),c=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,c=l.body,s=l.bodyTwo,m=l.bodyThree,b=l.name,g=l.nameTwo,d=l.nameThree,p=l.columns,h=l.numberBoxColor,f=l.nameColor,w=l.bodyTextColor,y=l.numberBGColor,v=a()([t,"ugb-number-box","column-"+p]);return wp.element.createElement(i.f,null,wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.m,{label:Object(i.s)("Columns"),value:p,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(i.k,{title:Object(i.s)("Color Settings"),colorSettings:[{value:h,onChange:function(e){return n({numberBoxColor:e})},label:Object(i.s)("Number Color")},{value:y,onChange:function(e){return n({numberBGColor:e})},label:Object(i.s)("Number Background Color")},{value:f,onChange:function(e){return n({nameColor:e})},label:Object(i.s)("Name Color")},{value:w,onChange:function(e){return n({bodyTextColor:e})},label:Object(i.s)("Body Text Color")}]})),wp.element.createElement("div",{className:v},wp.element.createElement("div",null,wp.element.createElement(i.n,{tagName:"span",placeholder:o?o.default:"",value:o,onChange:function(e){return n({numberBox:e})},style:{color:h,backgroundColor:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"h4",value:b,className:"ugb-number-box-name",onChange:function(e){return n({name:e})},placeholder:Object(i.s)("Add name\u2026"),style:{color:f},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:c,className:"ugb-number-box-body",onChange:function(e){return n({body:e})},placeholder:Object(i.s)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(i.n,{tagName:"span",placeholder:r?r.default:"",value:r,onChange:function(e){return n({numberBoxTwo:e})},style:{color:h,backgroundColor:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"h4",value:g,className:"ugb-number-box-name-two",onChange:function(e){return n({nameTwo:e})},placeholder:Object(i.s)("Add name\u2026"),style:{color:f},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:s,className:"ugb-number-box-body-two",onChange:function(e){return n({bodyTwo:e})},placeholder:Object(i.s)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(i.n,{tagName:"span",placeholder:u?u.default:"",value:u,onChange:function(e){return n({numberBoxThree:e})},style:{color:h,backgroundColor:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"h4",value:d,className:"ugb-number-box-name-three",onChange:function(e){return n({nameThree:e})},placeholder:Object(i.s)("Add name\u2026"),style:{color:f},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:m,className:"ugb-number-box-body-three",onChange:function(e){return n({bodyThree:e})},placeholder:Object(i.s)("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,c=n.bodyTwo,s=n.bodyThree,m=n.name,b=n.nameTwo,g=n.nameThree,d=n.numberBoxColor,p=n.nameColor,h=n.bodyTextColor,f=n.numberBGColor,w=n.columns,y=a()([t,"ugb-number-box","column-"+w]);return wp.element.createElement("div",{className:y},wp.element.createElement("div",{className:"ugb-number-box-column-one"},!i.n.isEmpty(l)&&wp.element.createElement(i.n.Content,{tagName:"span",style:{color:d,backgroundColor:f},value:l}),!i.n.isEmpty(m)&&wp.element.createElement(i.n.Content,{tagName:"h4",className:"ugb-number-box-name",style:{color:p},value:m}),!i.n.isEmpty(u)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-number-box-body",style:{color:h},value:u})),w>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},!i.n.isEmpty(o)&&wp.element.createElement(i.n.Content,{tagName:"span",style:{color:d,backgroundColor:f},value:o}),!i.n.isEmpty(b)&&wp.element.createElement(i.n.Content,{tagName:"h4",className:"ugb-number-box-name-two",style:{color:p},value:b}),!i.n.isEmpty(c)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-number-box-body-two",style:{color:h},value:c})),w>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},!i.n.isEmpty(r)&&wp.element.createElement(i.n.Content,{tagName:"span",style:{color:d,backgroundColor:f},value:r}),!i.n.isEmpty(g)&&wp.element.createElement(i.n.Content,{tagName:"h4",className:"ugb-number-box-name-three",style:{color:p},value:g}),!i.n.isEmpty(s)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-number-box-body-three",style:{color:h},value:s})))},m={numberBox:{source:"html",selector:".ugb-number-box-column-one span",default:Object(i.s)("01")},numberBoxTwo:{source:"html",selector:".ugb-number-box-column-two span",default:Object(i.s)("02")},numberBoxThree:{source:"html",selector:".ugb-number-box-column-three span",default:Object(i.s)("03")},name:{source:"html",selector:".ugb-number-box-name",default:Object(i.s)("Registration")},nameTwo:{source:"html",selector:".ugb-number-box-name-two",default:Object(i.s)("Waiting Period")},nameThree:{source:"html",selector:".ugb-number-box-name-three",default:Object(i.s)("Delivery")},body:{source:"html",selector:".ugb-number-box-body",default:Object(i.s)("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(i.s)("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(i.s)("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(i.A)("ugb/number-box",{title:Object(i.s)("Number Box"),icon:u.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Number Box"),Object(i.s)("Stackable")],attributes:m,edit:c,save:s})},function(e,t){},function(e,t){},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),i=n(4),c=n(5),s=n(6),m=n(72),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,c=o.url3,m=o.pricingBoxTitle,g=o.pricingBoxTitle2,d=o.pricingBoxTitle3,p=o.price,h=o.price2,f=o.price3,w=o.perMonthLabel,y=o.perMonthLabel2,v=o.perMonthLabel3,C=o.buttonText,E=o.buttonText2,k=o.buttonText3,x=o.featureList,O=o.featureList2,N=o.featureList3,j=o.pricingBoxColor,T=o.priceColor,B=o.perMonthLabelColor,I=o.buttonColor,S=o.buttonTextColor,L=o.featureListColor,R=o.columns,z=o.size,A=o.cornerButtonRadius,U=a()([n,"ugb-pricing-box","column-"+R]);return wp.element.createElement(b.f,null,wp.element.createElement(b.h,null,wp.element.createElement(b.j,null,wp.element.createElement(b.m,{label:Object(b.s)("Columns"),value:R,onChange:function(e){return l({columns:e})},min:1,max:3})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Text Colors"),colorSettings:[{value:j,onChange:function(e){return l({pricingBoxColor:e})},label:Object(b.s)("Pricing Title Color")},{value:T,onChange:function(e){return l({priceColor:e})},label:Object(b.s)("Price Color")},{value:B,onChange:function(e){return l({perMonthLabelColor:e})},label:Object(b.s)("Per Month Label Color")},{value:L,onChange:function(e){return l({featureListColor:e})},label:Object(b.s)("Feature List Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:I,buttonTextColor:S,buttonSize:z,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.n,{tagName:"h3",value:m,onChange:function(e){return l({pricingBoxTitle:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{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.n,{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(i.a,{size:z,color:S,backgroundColor:I,text:C,borderRadius:A,onChange:function(e){return l({buttonText:e})}}),wp.element.createElement(b.n,{tagName:"p",value:x,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.e,{icon:"admin-links"}),wp.element.createElement(b.r,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.s)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(b.n,{tagName:"h3",value:g,onChange:function(e){return l({pricingBoxTitle2:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:h,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price2:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:y,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel2:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:z,color:S,backgroundColor:I,text:E,borderRadius:A,onChange:function(e){return l({buttonText2:e})}}),wp.element.createElement(b.n,{tagName:"p",value:O,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.e,{icon:"admin-links"}),wp.element.createElement(b.r,{value:u,onChange:function(e){return l({url2:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.s)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(b.n,{tagName:"h3",value:d,onChange:function(e){return l({pricingBoxTitle3:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:f,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price3:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:v,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel3:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:z,color:S,backgroundColor:I,text:k,borderRadius:A,onChange:function(e){return l({buttonText3:e})}}),wp.element.createElement(b.n,{tagName:"p",value:N,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.e,{icon:"admin-links"}),wp.element.createElement(b.r,{value:c,onChange:function(e){return l({url3:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.s)("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,i=n.pricingBoxTitle2,s=n.pricingBoxTitle3,m=n.price,g=n.price2,d=n.price3,p=n.perMonthLabel,h=n.perMonthLabel2,f=n.perMonthLabel3,w=n.buttonText,y=n.buttonText2,v=n.buttonText3,C=n.featureList,E=n.featureList2,k=n.featureList3,x=n.pricingBoxColor,O=n.priceColor,N=n.perMonthLabelColor,j=n.buttonColor,T=n.buttonTextColor,B=n.featureListColor,I=n.columns,S=n.size,L=n.cornerButtonRadius,R=a()([t,"ugb-pricing-box","column-"+I]);return wp.element.createElement("div",{className:R},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},!b.n.isEmpty(u)&&wp.element.createElement(b.n.Content,{tagName:"h3",style:{color:x},value:u}),!b.n.isEmpty(m)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:O},value:m}),!b.n.isEmpty(p)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:p}),w&&!!w.length&&wp.element.createElement(c.a,{size:S,url:l,color:T,text:w,backgroundColor:j,borderRadius:L}),!b.n.isEmpty(C)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:C})),I>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},!b.n.isEmpty(i)&&wp.element.createElement(b.n.Content,{tagName:"h3",style:{color:x},value:i}),!b.n.isEmpty(g)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:O},value:g}),!b.n.isEmpty(h)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:h}),y&&!!y.length&&wp.element.createElement(c.a,{size:S,url:o,color:T,text:y,backgroundColor:j,borderRadius:L}),!b.n.isEmpty(E)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:E})),I>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},!b.n.isEmpty(s)&&wp.element.createElement(b.n.Content,{tagName:"h3",style:{color:x},value:s}),!b.n.isEmpty(d)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:O},value:d}),!b.n.isEmpty(f)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:f}),v&&!!v.length&&wp.element.createElement(c.a,{size:S,url:r,color:T,text:v,backgroundColor:j,borderRadius:L}),!b.n.isEmpty(k)&&wp.element.createElement(b.n.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.s)("Basic")},pricingBoxTitle2:{source:"html",selector:".ugb-pricing-box-column-two h3",default:Object(b.s)("Basic")},pricingBoxTitle3:{source:"html",selector:".ugb-pricing-box-column-three h3",default:Object(b.s)("Basic")},price:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(b.s)("$9")},price2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(b.s)("$9")},price3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(b.s)("$9")},perMonthLabel:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(b.s)("per month")},perMonthLabel2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(b.s)("per month")},perMonthLabel3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(b.s)("per month")},buttonText:{source:"html",selector:".ugb-pricing-box-column-one .ugb-button a",default:Object(b.s)("Buy Now")},buttonText2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-button a",default:Object(b.s)("Buy Now")},buttonText3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-button a",default:Object(b.s)("Buy Now")},featureList:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(b.s)("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.s)("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.s)("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.A)("ugb/pricing-box",{title:Object(b.s)("Pricing Box"),icon:u.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.s)("Pricing Box"),Object(b.s)("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,i=t.price,c=t.price2,s=t.price3,m=t.perMonthLabel,b=t.perMonthLabel2,g=t.perMonthLabel3,d=t.buttonText,p=t.buttonText2,h=t.buttonText3,f=t.featureList,w=t.featureList2,y=t.featureList3,v=t.pricingBoxColor,C=t.priceColor,E=t.perMonthLabelColor,k=t.buttonColor,x=t.buttonTextColor,O=t.featureListColor,N=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-"+N},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},r&&!!r.length&&wp.element.createElement("h3",{style:{color:v}},r),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},i),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),f&&!!f.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},f)),N>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:v}},a),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},c),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:O}},w)),N>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},u&&!!u.length&&wp.element.createElement("h3",{style:{color:v}},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),h&&!!h.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+j,style:B},h),y&&!!y.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},y)))}},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),i=n(4),c=n(5),s=n(6),m=n(7),b=n(76),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,c=o.buttonColor,b=o.buttonTextColor,d=o.cornerButtonRadius,p=o.size,h=o.title,f=o.titleColor,w=o.subtitle,y=o.subtitleColor,v=o.contentAlign,C=o.backgroundColor,E=o.backgroundImageID,k=o.backgroundImageURL,x=o.backgroundOpacity,O=o.fixedBackground,N=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:O?"fixed":void 0,"--ugb-background-color":k?C:void 0,textAlign:v||void 0};return wp.element.createElement(g.f,null,wp.element.createElement(g.d,null,wp.element.createElement(g.a,{value:v,onChange:function(e){return n({contentAlign:e})}})),wp.element.createElement(g.h,null,wp.element.createElement(g.k,{initialOpen:!0,title:Object(g.s)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return n({titleColor:e})},label:Object(g.s)("Title Color")},{value:y,onChange:function(e){return n({subtitleColor:e})},label:Object(g.s)("Subtitle Color")}]}),wp.element.createElement(m.a,{initialOpen:!0,backgroundColor:C,backgroundImageID:E,backgroundImageURL:k,backgroundOpacity:x,fixedBackground:O,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:c,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:N,style:j},wp.element.createElement("div",{className:"ugb-header-wrapper"},wp.element.createElement(g.n,{tagName:"h2",className:"ugb-header-title",placeholder:h.default,value:h,onChange:function(e){return n({title:e})},style:{textAlign:v,color:f}}),wp.element.createElement(g.n,{tagName:"p",className:"ugb-header-subtitle",placeholder:w.default,value:w,onChange:function(e){return n({subtitle:e})},style:{textAlign:v,color:y}}),wp.element.createElement(i.a,{size:p,align:v,color:b,backgroundColor:c,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-"+v},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.r,{value:r,onChange:function(e){return n({buttonURL:e})}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.s)("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,i=n.cornerButtonRadius,s=n.size,m=n.title,b=n.titleColor,d=n.subtitle,p=n.subtitleColor,h=n.contentAlign,f=n.backgroundColor,w=(n.backgroundImageID,n.backgroundImageURL),y=n.backgroundOpacity,v=n.fixedBackground,C=a()([t,"ugb-header","ugb-has-background-opacity-"+1*Math.round(y/1)],{"ugb-has-background":f||w,"ugb-has-background-image":w}),E={backgroundColor:f||void 0,backgroundImage:w?"url("+w+")":void 0,backgroundAttachment:v?"fixed":void 0,"--ugb-background-color":w?f:void 0,textAlign:h||void 0};return wp.element.createElement("div",{className:C,style:E},wp.element.createElement("div",{className:"ugb-header-wrapper"},!g.n.isEmpty(m)&&wp.element.createElement(g.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:b},value:m}),!g.n.isEmpty(d)&&wp.element.createElement(g.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:p},value:d}),o&&!!o.length&&wp.element.createElement(c.a,{size:s,url:l,align:h,color:u,text:o,backgroundColor:r,borderRadius:i})))},h={title:{source:"html",selector:"h2",default:Object(g.s)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(g.s)("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.s)("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.A)("ugb/header",{title:Object(g.s)("Header"),icon:u.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Header"),Object(g.s)("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:h,deprecated:[{attributes:b.h,save:b.d,migrate:function(e){return Object.assign({},e,{backgroundOpacity:e.opacity,backgroundImageID:e.id,backgroundImageURL: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 h}),n.d(t,"e",function(){return f});var a=n(1),u=n.n(a),i=n(0),c=n(9),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,h=n.subtitle,f=n.subtitleColor,w=n.contentAlign,y=(n.id,n.backgroundColor),v=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&&!h&&!a,"has-content":d||h||a}),k=u()([l(v),"ugb-header-overlay"],{"overlay-opacity":0!==v});return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:k,style:{backgroundColor:y}}),wp.element.createElement("section",{key:"preview","data-url":o,style:C,className:"ugb-header-section"},!i.n.isEmpty(d)&&wp.element.createElement(i.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:p},value:d}),!i.n.isEmpty(h)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:h}),a&&!!a.length&&wp.element.createElement(c.c,{size:g,url:r,align:w,color:m,text:a,backgroundColor:s,borderRadius:b})))},m={title:{source:"html",selector:"h2",default:Object(i.s)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(i.s)("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(i.s)("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,h=t.subtitleColor,f=t.contentAlign,w=(t.id,t.backgroundColor),y=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=u()(o(y),{"overlay-opacity":0!==y}),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:v,className:"ugb-header-section"},!i.n.isEmpty(g)&&wp.element.createElement(i.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!i.n.isEmpty(p)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:h},value:p}),r&&!!r.length&&wp.element.createElement(c.b,{size:b,url:l,align:f,color:s,text:r,backgroundColor:a,borderRadius:m})))},g={title:{type:"array",source:"children",selector:"h2",default:Object(i.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(i.s)("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(i.s)("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,h=t.subtitleColor,f=t.contentAlign,w=(t.id,t.backgroundColor),y=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=u()(o(y),{"overlay-opacity":0!==y}),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:v,className:"ugb-header-section"},!i.n.isEmpty(g)&&wp.element.createElement(i.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!i.n.isEmpty(p)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:h},value:p}),r&&!!r.length&&wp.element.createElement(c.a,{size:b,url:l,align:f,color:s,text:r,backgroundColor:a,borderRadius:m})))},p={title:{type:"array",source:"children",selector:"h2",default:Object(i.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(i.s)("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(i.s)("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}},h=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,o=t.buttonText,a=t.buttonColor,i=t.buttonTextColor,c=t.cornerButtonRadius,s=t.size,m=t.title,b=t.titleColor,g=t.subtitle,d=t.subtitleColor,p=(t.contentAlign,t.id,t.backgroundColor),h=t.opacity,f={backgroundColor:a,color:i,borderRadius:c+"px"},w=n?{backgroundImage:"url("+n+")"}:void 0,y=n?"has-image":"",v=u()(r(h),{"overlay-opacity":0!==h}),C=m||g||o?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+y+" "+C},wp.element.createElement("div",{className:"ugb-header-overlay "+v,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:f},o)))},f={title:{type:"array",source:"children",selector:"h2",default:Object(i.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(i.s)("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(i.s)("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";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(78),r=(n.n(o),n(79)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(80),s=n(8),m=n(3),b=n(81),g=n(0),d=function(e){var t=e.className,n=e.setAttributes,o=e.isSelected,r=(e.editable,e.setState,e.attributes),a=r.titleColor,i=r.subtitleColor,m=r.overlayColor,b=r.height,d=r.width,p=r.verticalAlign,h=r.horizontalAlign,f=r.align,w=r.columns,y=u()([t,"ugb-image-box-wrapper","ugb-image-box-v2","columns-"+w]),v={textAlign:h||void 0,"--overlay-color":m};return wp.element.createElement(g.f,null,wp.element.createElement(g.d,null,wp.element.createElement(g.a,{value:h,onChange:function(e){return n({horizontalAlign:e})}}),wp.element.createElement(c.a,{value:p,onChange:function(e){return n({verticalAlign:e})}})),wp.element.createElement(g.h,null,wp.element.createElement(g.j,null,wp.element.createElement(g.m,{label:Object(g.s)("Columns"),value:w,onChange:function(e){return n({columns:e})},min:1,max:4}),wp.element.createElement(g.m,{label:Object(g.s)("Height"),value:b,min:"135",max:"700",onChange:function(e){return n({height:e})}}),"wide"!==f&&"full"!==f&&1===w&&wp.element.createElement(g.m,{label:Object(g.s)("Width"),value:d,min:"400",max:"999",help:Object(g.s)("Only available for single column & if centered"),onChange:function(e){return n({width:e})}})),wp.element.createElement(g.k,{title:Object(g.s)("Color Settings"),initialOpen:!0,colorSettings:[{value:m,onChange:function(e){return n({overlayColor:e})},label:Object(g.s)("Overlay Color")},{value:a,onChange:function(e){return n({titleColor:e})},label:Object(g.s)("Title Color")},{value:i,onChange:function(e){return n({subtitleColor:e})},label:Object(g.s)("Subtitle Color")}]})),wp.element.createElement("div",{className:y,style:v},[1,2,3,4].map(function(e){var t=r["imageURL"+e],u=r["imageID"+e],c=r["title"+e],m=r["description"+e],y=r["link"+e],v={backgroundImage:t?"url("+t+")":void 0,maxWidth:"wide"!==f&&"full"!==f&&1===w?d:void 0,height:b,textAlign:h,justifyContent:p};return wp.element.createElement("div",{className:"ugb-image-box-editor-wrapper"},wp.element.createElement("div",{className:"ugb-image-box",style:v},wp.element.createElement(s.a,{imageID:u,imageURL:t,onRemove:function(){var t;n((t={},l(t,"imageURL"+e,""),l(t,"imageID"+e,""),t))},onChange:function(t){var o,r=t.url,a=t.id;n((o={},l(o,"imageURL"+e,r),l(o,"imageID"+e,a),o))},render:null}),t&&wp.element.createElement("a",{href:y}),t&&wp.element.createElement(g.n,{tagName:"h4",placeholder:Object(g.s)("Image Title"),value:c,onChange:function(t){return n(l({},"title"+e,t))},style:{color:a},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement(g.n,{tagName:"p",placeholder:Object(g.s)("Image description"),value:m,onChange:function(t){return n(l({},"description"+e,t))},style:{color:i},keepPlaceholderOnFocus:!0})),o&&wp.element.createElement("form",{className:"blocks-button__inline-link",onSubmit:function(e){return e.preventDefault()}},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.r,{value:y,onChange:function(t){n(l({},"link"+e,t))}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.s)("Apply"),type:"submit"})))})))},p=function(e){var t=e.className,n=e.attributes,l=e.attributes,o=l.titleColor,r=l.subtitleColor,a=l.overlayColor,i=l.height,c=l.width,s=l.verticalAlign,b=l.horizontalAlign,d=l.align,p=l.columns,h=u()([t,"ugb-image-box-wrapper","ugb-image-box-v2","columns-"+p]),f={textAlign:b||void 0,"--overlay-color":a};return wp.element.createElement("div",{className:h,style:f},Object(m.b)(1,p+1).map(function(e){var t=n["imageURL"+e],l=(n["imageID"+e],n["title"+e]),a=n["description"+e],u=n["link"+e],m={backgroundImage:t?"url("+t+")":void 0,maxWidth:"wide"!==d&&"full"!==d&&1===p?c:void 0,height:i,textAlign:b,justifyContent:s};return wp.element.createElement("div",{className:"ugb-image-box",style:m},wp.element.createElement("a",{href:u}),!g.n.isEmpty(l)&&wp.element.createElement(g.n.Content,{tagName:"h4",style:{color:o},value:l}),!g.n.isEmpty(a)&&wp.element.createElement(g.n.Content,{tagName:"p",style:{color:r},value:a}))}))},h={columns:{type:"number",default:3},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string"},width:{type:"number",default:400},height:{type:"number",default:400},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1},title:{source:"html",selector:"h4",default:Object(g.s)("Title")},subtitle:{source:"html",selector:"p",default:Object(g.s)("Subtitle goes here")},id:{type:"number"},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"}};[1,2,3,4].forEach(function(e){h["title"+e]={source:"html",selector:".ugb-image-box-wrapper > *:nth-child("+e+") h4",default:Object(g.s)("Title")},h["description"+e]={source:"html",selector:".ugb-image-box-wrapper > *:nth-child("+e+") p",default:Object(g.s)("Image description")},h["imageURL"+e]={type:"string"},h["imageID"+e]={type:"number"},h["link"+e]={type:"string",source:"attribute",selector:".ugb-image-box-wrapper > *:nth-child("+e+") a",attribute:"href"}}),Object(g.A)("ugb/image-box",{title:Object(g.s)("Image Box"),icon:i.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Image Box"),Object(g.s)("Stackable")],supports:l({align:!0},"align",["center","wide","full"]),attributes:h,deprecated:[{attributes:b.d,save:b.b,migrate:function(e){return Object(g.z)(Object.assign({},e,{columns:1,horizontalAlign:"flex-end"===e.horizontalAlign?"right":"flex-start"===e.horizontalAlign?"left":e.horizontalAlign,align:e.full?"wide":"",title1:e.title,description1:e.subtitle,link1:e.href,imageURL1:e.url,imageID1:e.id}),["full","title","subtitle","href","url","id"])}},{attributes:b.c,save:b.a}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){function t(e){return function(){return r(l===e?void 0:e)}}var n=e.isCollapsed,l=e.value,r=e.onChange,u=a(m,function(e){return e.align===l});return wp.element.createElement(o.q,{isCollapsed:n,icon:u?u.icon:s(),label:Object(o.s)("Change Vertical Alignment"),controls:m.map(function(e){var n=e.align,o=l===n;return Object.assign({},e,{isActive:o,onClick:t(n)})})})}var o=n(0),r=lodash,a=r.find,u=wp.viewport.withViewportMatch,i=wp.data.withSelect,c=wp.compose.compose,s=function(){return wp.element.createElement("svg",{viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("rect",{x:"3",y:"3",width:"14",height:"2"}),wp.element.createElement("path",{d:"M10.6,17.1H9.4V8.4L8.1,9.7L7,9l3-3l3,3l-1.1,0.8l-1.3-1.3C10.6,8.5,10.6,17.1,10.6,17.1z"}))},m=[{icon:s(),title:Object(o.s)("Align Top"),align:"flex-start"},{icon:function(){return wp.element.createElement("svg",{viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("rect",{x:"3",y:"9",width:"14",height:"2"}),wp.element.createElement("path",{d:"M10.6,18.4H9.4v-3.9l-1.3,1.3L7,15l3-3l3,3l-1.1,0.8l-1.3-1.3V18.4z"}),wp.element.createElement("path",{d:"M9.4,1.6h1.2v3.9l1.3-1.3L13,5l-3,3L7,5l1.1-0.8l1.3,1.3V1.6z"}))}(),title:Object(o.s)("Align center"),align:"center"},{icon:function(){return wp.element.createElement("svg",{viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("rect",{x:"3",y:"15.1",width:"14",height:"2"}),wp.element.createElement("path",{d:"M9.4,2.9h1.2v8.6l1.3-1.3L13,11l-3,3l-3-3l1.1-0.8l1.3,1.3V2.9z"}))}(),title:Object(o.s)("Align right"),align:"flex-end"}];t.a=c(u({isLargeViewport:"medium"}),i(function(e,t){var n=t.clientId,l=t.isLargeViewport,o=t.isCollapsed,r=e("core/editor"),a=r.getBlockRootClientId,u=r.getEditorSettings;return{isCollapsed:o||!l||!u().hasFixedToolbar&&a(n)}}))(l)},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"d",function(){return u}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return c});var l=n(1),o=n.n(l),r=n(0),a=function(e){var t=e.className,n=e.attributes,l=n.url,a=n.href,u=n.title,i=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,h=n.full,f=o()([t,"ugb-image-box"],{"has-image":l,"full-width":h,"has-no-content":!u&&!c,"has-content":u||c});return wp.element.createElement("div",{className:f,"data-url":l,style:{width:g+"px",height:b+"px",backgroundImage:"url("+l+")",alignItems:p,justifyContent:d}},wp.element.createElement("a",{href:a,style:{backgroundColor:m}}),!r.n.isEmpty(u)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:i},value:u}),!r.n.isEmpty(c)&&wp.element.createElement(r.n.Content,{tagName:"p",style:{color:s},value:c}))},u={title:{source:"html",selector:"h4",default:Object(r.s)("Title")},subtitle:{source:"html",selector:"p",default:Object(r.s)("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}},i={title:{type:"array",source:"children",selector:"h4",default:Object(r.s)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(r.s)("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}},c=function(e){var t=e.attributes,n=t.url,l=t.title,o=t.titleColor,a=t.subtitle,u=t.subtitleColor,i=t.overlayColor,c=(t.id,t.height),s=t.width,m=t.verticalAlign,b=t.horizontalAlign,g=t.full,d=n?"has-image":"",p=g?"full-width":"",h=l.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+d+" "+h+" "+p,"data-url":n,style:{width:s+"px",height:c+"px",backgroundImage:"url("+n+")",alignItems:b,justifyContent:m}},wp.element.createElement("a",{href:"#",style:{backgroundColor:i}}),!r.n.isEmpty(l)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:o},value:l}),!r.n.isEmpty(a)&&wp.element.createElement(r.n.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(83),a=(n.n(r),n(84)),u=(n.n(a),n(1)),i=n.n(u),c=n(2),s=n(85),m=n(3),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,c=r.backgroundImageID,s=r.backgroundImageURL,m=r.backgroundOpacity,d=r.fixedBackground,p=r.textColor,h=r.countColor,f=r.countSize,w=i()([n,"ugb-countup","ugb-countup-v2","columns-"+a,o(m)],{"ugb-has-background":u||s,"ugb-has-background-image":s}),y={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.f,null,wp.element.createElement("div",{className:w,style:y},[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.n,{tagName:"h4",value:n,placeholder:Object(g.s)("Stat Title"),onChange:function(n){return t(l({},"title"+e,n))},style:{color:p||void 0},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.n,{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:h||void 0,fontSize:f?f+"px":void 0},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.n,{tagName:"p",className:"ugb-counter-des",placeholder:Object(g.s)("Stat Description"),value:o,onChange:function(n){return t(l({},"description"+e,n))},style:{color:p||void 0},keepPlaceholderOnFocus:!0}))})),wp.element.createElement(g.h,null,wp.element.createElement(g.k,{title:Object(g.s)("Color Settings"),colorSettings:[{value:p,onChange:function(e){return t({textColor:e})},label:Object(g.s)("Heading & Description Color")},{value:h,onChange:function(e){return t({countColor:e})},label:Object(g.s)("Counter Color")}]},wp.element.createElement(g.m,{label:Object(g.s)("Columns"),value:a,onChange:function(e){return t({columns:e})},min:1,max:4}),wp.element.createElement(g.m,{label:Object(g.s)("Counter Text Size"),max:"100",min:"10",value:f,onChange:function(e){return t({countSize:e})}})),wp.element.createElement(b.a,{backgroundColor:u,backgroundImageID:c,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,c=n.backgroundOpacity,s=n.textColor,b=n.countColor,d=n.countSize,p=i()([t,"ugb-countup","ugb-countup-v2","columns-"+l,o(c)],{"ugb-has-background":r||a,"ugb-has-background-image":a}),h={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:h},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.n.isEmpty(t)&&wp.element.createElement(g.n.Content,{tagName:"h4",style:{color:s||void 0},value:t}),!g.n.isEmpty(o)&&wp.element.createElement(g.n.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.n.isEmpty(l)&&wp.element.createElement(g.n.Content,{tagName:"p",style:{color:s||void 0},value:l}))}))},h={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.s)("Stat Title")},title2:{source:"html",selector:".ugb-countup-item:nth-child(2) h4",default:Object(g.s)("Stat Title")},title3:{source:"html",selector:".ugb-countup-item:nth-child(3) h4",default:Object(g.s)("Stat Title")},title4:{source:"html",selector:".ugb-countup-item:nth-child(4) h4",default:Object(g.s)("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.s)("stat description")},description2:{source:"html",selector:".ugb-countup-item:nth-child(2) p",default:Object(g.s)("stat description")},description3:{source:"html",selector:".ugb-countup-item:nth-child(3) p",default:Object(g.s)("stat description")},description4:{source:"html",selector:".ugb-countup-item:nth-child(4) p",default:Object(g.s)("stat description")},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},title:{source:"html",selector:"h4",default:Object(g.s)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(g.s)("and counting")},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}};Object(g.A)("ugb/count-up",{title:Object(g.s)("Count Up"),icon:c.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Count Up"),Object(g.s)("Stackable")],attributes:h,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.s)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(r.s)("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,i=n.title,c=n.counter,s=n.des,m=n.fontSize,b=o()([t,"ugb-countup"]);return wp.element.createElement("div",{className:b},wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:a},value:i}),wp.element.createElement(r.n.Content,{tagName:"div",className:"ugb-counter",style:{color:l,fontSize:m+"px"},value:c,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(r.n.Content,{tagName:"p",style:{color:u},value:s}))}},function(e,t,n){"use strict";var l=n(87),o=(n.n(l),n(88)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(3),c=n(7),s=n(89),m=n(0),b={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"}))},g=function(e){var t=e.className,n=e.setAttributes,l=e.isSelected,o=e.attributes,r=o.videoLink,u=(o.videoID,o.backgroundImageID),s=o.backgroundImageURL,g=o.backgroundColor,d=o.playButtonType,p=o.backgroundOpacity,h=[{value:"normal",label:Object(m.s)("Normal Play Button")},{value:"circle",label:Object(m.s)("Play Button with Circle")},{value:"outline",label:Object(m.s)("Outline Play Button")}],f=a()([t,"ugb-video-popup","ugb-has-background-opacity-"+1*Math.round(p/1)],{"ugb-has-background":g||s,"ugb-has-background-image":s}),w={backgroundColor:g||void 0,backgroundImage:s?"url("+s+")":void 0,"--ugb-background-color":s?g:void 0};return wp.element.createElement(m.f,null,wp.element.createElement(m.h,null,wp.element.createElement(m.j,null,wp.element.createElement(m.o,{label:Object(m.s)("Play Button Style"),value:d,options:h.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}})),wp.element.createElement(c.a,{initialOpen:!0,backgroundColor:g,backgroundImageID:u,backgroundImageURL:s,backgroundOpacity: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})}})),wp.element.createElement("div",{className:f,style:w},wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("span",{className:"ugb-play-button"},b[d]))),l&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(m.e,{icon:"admin-links"}),wp.element.createElement(m.r,{value:r,onChange:function(e){n({videoLink:e,videoID:Object(i.a)(e).id})}}),wp.element.createElement(m.g,{icon:"editor-break",label:Object(m.s)("Apply"),type:"submit"}),wp.element.createElement("p",{className:"ugb-video-popup-link-desc"},wp.element.createElement("i",null,Object(m.s)("Youtube / Vimeo only")))))},d=function(e){var t=e.className,n=e.attributes,l=(n.videoLink,n.videoID),o=n.playButtonType,r=(n.backgroundImageID,n.backgroundImageURL),u=n.backgroundColor,i=n.backgroundOpacity,c=a()([t,"ugb-video-popup","ugb-has-background-opacity-"+1*Math.round(i/1)],{"ugb-has-background":u||r,"ugb-has-background-image":r}),s={backgroundColor:u||void 0,backgroundImage:r?"url("+r+")":void 0,"--ugb-background-color":r?u:void 0};return wp.element.createElement("div",{className:c,style:s,"data-video":l},wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#"}),wp.element.createElement("span",{className:"ugb-play-button"},b[o])))},p={videoLink:{type:"string"},videoID:{type:"string",source:"attribute",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}};Object(m.A)("ugb/video-popup",{title:Object(m.s)("Video Popup"),icon:u.r,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.s)("Video Popup"),Object(m.s)("Stackable")],attributes:p,deprecated:[{attributes:s.d,save:s.b,migrate:function(e){return Object(m.z)(Object.assign({},e,{backgroundOpacity:5,backgroundColor:e.overlayColor,backgroundImageID:e.mediaID,backgroundImageURL:e.mediaLink}),["overlayColor","mediaID","mediaLink"])}},{attributes:s.c,migrate:function(e){return e.videoID=e.videoLink,e},save:s.a}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return u}),n.d(t,"a",function(){return c});var l=n(1),o=n.n(l),r=function(e){var t=e.className,n=e.attributes,l=n.videoLink,r=n.videoID,a=n.mediaLink,u=n.overlayColor,c=n.playButtonType,s=(n.mediaID,o()([t,"ugb-video-popup"]));return wp.element.createElement("div",{className:s,"data-video":r,"data-video-url":l,style:{backgroundColor:u}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+a+")"},"data-url":a}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:u}}),wp.element.createElement("span",{className:"ugb-play-button"},i[c])))},a={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"}},u={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"}},i={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"}))},c=function(e){var t=e.attributes,n=t.videoLink,l=t.mediaLink,o=t.overlayColor,r=t.playButtonType;t.mediaID;return wp.element.createElement("div",{className:"ugb-video-popup","data-video":n,style:{backgroundColor:o}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+l+")"},"data-url":l}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:o}}),wp.element.createElement("span",{className:"ugb-play-button"},i[r])))}},function(e,t,n){"use strict";var l=n(91),o=(n.n(l),n(92)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(4),c=n(5),s=n(6),m=n(8),b=n(93),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.heading,u=o.tagline,c=o.des,b=o.mediaID,d=o.mediaURL,p=o.headingColor,h=o.taglineColor,f=o.desColor,w=o.buttonURL,y=o.buttonText,v=o.buttonColor,C=o.buttonTextColor,E=o.size,k=o.cornerButtonRadius,x=o.contentAlign,O=a()([n,"ugb-card"],{"has-image":d});return wp.element.createElement(g.f,null,wp.element.createElement(g.d,null,wp.element.createElement(g.a,{value:x,onChange:function(e){return l({contentAlign:e})}})),wp.element.createElement(g.h,null,wp.element.createElement(g.k,{title:Object(g.s)("Text Colors"),colorSettings:[{value:p,onChange:function(e){return l({headingColor:e})},label:Object(g.s)("Heading Color")},{value:h,onChange:function(e){return l({taglineColor:e})},label:Object(g.s)("Tagline Color")},{value:f,onChange:function(e){return l({desColor:e})},label:Object(g.s)("Description Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:v,buttonTextColor:C,buttonSize:E,buttonBorderRadius:k,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:O},wp.element.createElement(m.a,{className:"ugb-card-image-container",imageID:b,imageURL:d,onRemove:function(){l({mediaURL:"",mediaID:""})},onChange:function(e){var t=e.url,n=e.id;l({mediaURL:t,mediaID:n})}}),wp.element.createElement(g.n,{tagName:"h4",value:r,className:"ugb-card-heading",onChange:function(e){return l({heading:e})},style:{color:p,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.n,{tagName:"p",value:u,className:"ugb-tagline",onChange:function(e){return l({tagline:e})},style:{color:h,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.n,{tagName:"p",value:c,className:"ugb-card-des",onChange:function(e){return l({des:e})},style:{color:f,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:E,align:x,color:C,backgroundColor:v,text:y,borderRadius:k,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(g.e,{icon:"admin-links"}),wp.element.createElement(g.r,{value:w,onChange:function(e){return l({buttonURL:e})}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.s)("Apply"),type:"submit"})))},p=function(e){var t=e.className,n=e.attributes,l=n.heading,o=n.tagline,r=n.des,u=n.mediaURL,i=(n.mediaID,n.headingColor),s=n.taglineColor,m=n.desColor,b=n.buttonURL,d=n.buttonText,p=n.buttonColor,h=n.buttonTextColor,f=n.size,w=n.cornerButtonRadius,y=n.contentAlign,v=a()([t,"ugb-card"],{"has-image":u});return wp.element.createElement("div",{className:v},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:y},"data-src":u}),!g.n.isEmpty(l)&&wp.element.createElement(g.n.Content,{tagName:"h4",style:{color:i,textAlign:y},value:l}),!g.n.isEmpty(o)&&wp.element.createElement(g.n.Content,{tagName:"p",className:"ugb-tagline",style:{color:s,textAlign:y},value:o}),!g.n.isEmpty(r)&&wp.element.createElement(g.n.Content,{tagName:"p",className:"ugb-card-des",style:{color:m,textAlign:y},value:r}),d&&!!d.length&&wp.element.createElement(c.a,{size:f,url:b,align:y,color:h,text:d,backgroundColor:p,borderRadius:w}))},h={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(g.s)("Ben Adams")},tagline:{source:"html",selector:".ugb-tagline",default:Object(g.s)("Ben is the head of our small team")},des:{source:"html",selector:".ugb-card-des",default:Object(g.s)("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(g.s)("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(g.A)("ugb/card",{title:Object(g.s)("Card"),icon:u.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Card"),Object(g.s)("Stackable")],attributes:h,deprecated:[{attributes:b.d,save:b.b},{attributes:b.c,save:b.a}],edit:d,save:p})},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 i});var l=n(0),o=n(9),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.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.s)("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.s)("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,i=(t.mediaID,t.headingColor),c=t.taglineColor,s=t.desColor,m=t.buttonURL,b=t.buttonText,g=t.buttonColor,d=t.buttonTextColor,p=t.size,h=t.cornerButtonRadius,f=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:f},"data-src":u}),!l.n.isEmpty(n)&&wp.element.createElement(l.n.Content,{tagName:"h4",style:{color:i,textAlign:f},value:n}),!l.n.isEmpty(r)&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-tagline",style:{color:c,textAlign:f},value:r}),!l.n.isEmpty(a)&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:f},value:a}),b&&!!b.length&&wp.element.createElement(o.a,{size:p,url:m,align:f,color:d,text:b,backgroundColor:g,borderRadius:h}))},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,i=t.desColor,c=t.buttonURL,s=t.buttonText,m=t.buttonColor,b=t.buttonTextColor,g=t.size,d=t.cornerButtonRadius,p=t.contentAlign,h={backgroundColor:m,color:b,borderRadius:d+"px"},f=r?"has-image":"",w=n||l||o||s?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-card "+f+" "+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:i,textAlign:p}},o),s&&!!s.length&&wp.element.createElement("a",{href:c,className:"wp-ugb-button wp-block-button ugb-button-"+g+" ugb-button-"+p,style:h},s))},i={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.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.s)("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.s)("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(95),r=(n.n(o),n(96)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(3),s=n(8),m=n(0),b=function(e){var t=e.isSelected,n=(e.setState,e.className),o=e.setAttributes,r=e.attributes,a=r.columns,i=r.imageSize,c=u()([n,"ugb-feature-grid","columns-"+a]);return wp.element.createElement(m.f,null,wp.element.createElement(m.h,null,wp.element.createElement(m.j,null,wp.element.createElement(m.m,{label:Object(m.s)("Columns"),value:a,onChange:function(e){return o({columns:e})},min:1,max:3}),wp.element.createElement(m.m,{label:Object(m.s)("Image Size %"),value:i,onChange:function(e){return o({imageSize:e})},min:0,max:100}))),wp.element.createElement("div",{className:c},[1,2,3].map(function(e){var n=r["imageUrl"+e],a=r["imageID"+e],u=r["title"+e],c=r["description"+e],b=r["linkUrl"+e],g=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.a,{imageID:a,imageURL:n,onRemove:function(){var t;o((t={},l(t,"imageUrl"+e,""),l(t,"imageID"+e,""),t))},onChange:function(t){var n,r=t.url,a=t.id;o((n={},l(n,"imageUrl"+e,r),l(n,"imageID"+e,a),n))},render:wp.element.createElement("img",{src:n,style:{width:i+"%"}}),style:{width:i+"%"}})),wp.element.createElement(m.n,{tagName:"h5",value:u,onChange:function(t){return o(l({},"title"+e,t))},placeholder:d["title"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement(m.n,{tagName:"p",value:c,onChange:function(t){return o(l({},"description"+e,t))},placeholder:d["description"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement("p",null,wp.element.createElement("a",{href:"#"},wp.element.createElement(m.n,{tagName:"span",value:g,onChange:function(t){return o(l({},"linkText"+e,t))},placeholder:d["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(m.e,{icon:"admin-links"}),wp.element.createElement(m.r,{value:b,onChange:function(t){return o(l({},"linkUrl"+e,t))}}),wp.element.createElement(m.g,{icon:"editor-break",label:Object(m.s)("Apply"),type:"submit"})))})))},g=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(c.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+"%"}}),!m.n.isEmpty(l)&&wp.element.createElement(m.n.Content,{tagName:"h5",className:"ugb-fg-title",value:l}),!m.n.isEmpty(r)&&wp.element.createElement(m.n.Content,{tagName:"p",className:"ugb-fg-description",value:r}),!m.n.isEmpty(u)&&wp.element.createElement("p",null,wp.element.createElement(m.n.Content,{tagName:"a",href:a,value:u,className:"ugb-fg-link"})))}))},d={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(m.s)("Feature 1")},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:Object(m.s)("Feature 2")},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:Object(m.s)("Feature 3")},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:Object(m.s)("Some feature description for an awesome feature")},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:Object(m.s)("Some feature description for an awesome feature")},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:Object(m.s)("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(m.s)("View More")},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:Object(m.s)("View More")},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:Object(m.s)("View More")}};Object(m.A)("ugb/feature-grid",{title:Object(m.s)("Feature Grid"),icon:i.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.s)("Feature Grid"),Object(m.s)("Stackable")],attributes:d,edit:b,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(98),o=(n.n(l),n(99)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(3),c=n(0),s=n(100),m={check:{iconFunc:s.e,circleFunc:s.d,outlineFunc:s.f,title:Object(c.s)("Check"),value:"check"},plus:{iconFunc:s.k,circleFunc:s.j,outlineFunc:s.l,title:Object(c.s)("Plus"),value:"plus"},arrow:{iconFunc:s.b,circleFunc:s.a,outlineFunc:s.c,title:Object(c.s)("Arrow"),value:"arrow"},cross:{iconFunc:s.h,circleFunc:s.g,outlineFunc:s.i,title:Object(c.s)("Cross"),value:"cross"},star:{iconFunc:s.n,circleFunc:s.m,outlineFunc:s.o,title:Object(c.s)("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(i.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,i=r.iconShape,s=r.iconColor,d=r.iconSize,p=r.text,h=r.columns,f=r.gap,w=a()([l,"ugb-icon-list","ugb-icon-"+u,"column-"+h]),y=g(u,i,s),v={"--icon":"url('data:image/svg+xml;base64,"+y+"')","--icon-size":d?d+"px":void 0,"--gap":f?f+"px":void 0};return wp.element.createElement(c.f,null,wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.b,{label:Object(c.s)("Icon")},wp.element.createElement(c.q,{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(c.b,{label:Object(c.s)("Icon Shape")},wp.element.createElement(c.q,{icon:m[u][b(i)](),controls:["","circle","outline"].map(function(e){var t=b(e);return Object.assign({},m[u],{icon:m[u][t](),isActive:i===e,onClick:n(e)})})})),wp.element.createElement(c.k,{title:Object(c.s)("Icon Color"),className:"ugb-icon-list-color-picker",initialOpen:!0,opened:!0,colorSettings:[{value:s,onChange:function(e){return o({iconColor:e})},label:Object(c.s)("Icon Color")}]}),wp.element.createElement(c.m,{label:Object(c.s)("Icon Size"),value:d,onChange:function(e){return o({iconSize:e})},min:8,max:30}),wp.element.createElement(c.m,{label:Object(c.s)("Columns"),value:h,onChange:function(e){return o({columns:e})},min:1,max:3}),wp.element.createElement(c.m,{label:Object(c.s)("List Gap"),value:f,onChange:function(e){return o({gap:e})},min:0,max:30}))),wp.element.createElement("div",{className:w,style:v},wp.element.createElement(c.n,{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,i=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(c.n.Content,{tagName:"ul",className:b,style:p,value:i})},h={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(c.A)("ugb/icon-list",{title:Object(c.s)("Icon List"),icon:u.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Icon List"),Object(c.s)("Stackable")],attributes:h,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 i}),n.d(t,"d",function(){return c}),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 h}),n.d(t,"i",function(){return f});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 "}))},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 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"}))},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 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"}))},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("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 "}))},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("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(102),r=(n.n(o),n(103)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(4),s=n(5),m=n(6),b=n(7),g=n(8),d=n(104),p=n(0),h=function(e){var t,n=e.isSelected,o=(e.setState,e.className),r=e.setAttributes,a=e.attributes,i=a.invert,s=a.contentAlign,d=a.textColor,h=a.imageSize,f=a.imageID,y=a.imageUrl,v=a.title,C=a.description,E=a.buttonURL,k=a.buttonText,x=a.buttonColor,O=a.buttonTextColor,N=a.buttonSize,j=a.buttonBorderRadius,T=a.backgroundColor,B=a.backgroundImageID,I=a.backgroundImageURL,S=a.backgroundOpacity,L=a.fixedBackground,R=u()([o,"ugb-feature","ugb-has-background-opacity-"+1*Math.round(S/1)],(t={},l(t,"ugb-content-"+s,s),l(t,"ugb-invert",i),l(t,"ugb-has-background",T||I),l(t,"ugb-has-background-image",I),t)),z={"--image-size":h?h+"px":void 0,backgroundColor:T||void 0,backgroundImage:I?"url("+I+")":void 0,backgroundAttachment:L?"fixed":void 0,"--ugb-background-color":I?T:void 0};return wp.element.createElement(p.f,null,wp.element.createElement(p.d,null,wp.element.createElement(p.a,{value:s,onChange:function(e){return r({contentAlign:e})}})),wp.element.createElement(p.h,null,wp.element.createElement(p.k,{initialOpen:!0,title:Object(p.s)("General Settings"),colorSettings:[{value:d,onChange:function(e){return r({textColor:e})},label:Object(p.s)("Text Color")}]},wp.element.createElement(p.p,{label:Object(p.s)("Reverse Horizontally"),checked:i,onChange:function(){return r({invert:!i})}}),wp.element.createElement(p.m,{label:Object(p.s)("Image Size"),value:h,onChange:function(e){return r({imageSize:e})},help:Object(p.s)("The theme's content width may have an effect here."),min:100,max:600})),wp.element.createElement(b.a,{backgroundColor:T,backgroundImageID:B,backgroundImageURL:I,backgroundOpacity:S,fixedBackground:L,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:x,buttonTextColor:O,buttonSize:N,buttonBorderRadius:j,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:R,style:z},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,wp.element.createElement(p.n,{tagName:"h2",value:v,onChange:function(e){return r({title:e})},placeholder:w.title.default,style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(p.n,{tagName:"p",value:C,onChange:function(e){return r({description:e})},placeholder:w.description.default,style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:N,align:s,color:O,backgroundColor:x,text:k,borderRadius:j,onChange:function(e){return r({buttonText:e})}})),wp.element.createElement("div",{className:"ugb-feature-image-side"},wp.element.createElement(g.a,{imageID:f,imageURL:y,onRemove:function(){r({imageUrl:"",imageID:""})},onChange:function(e){var t=e.url,n=e.id;r({imageUrl:t,imageID:n})},render:wp.element.createElement("img",{src:y})})))),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(p.e,{icon:"admin-links"}),wp.element.createElement(p.r,{value:E,onChange:function(e){return r({buttonURL:e})}}),wp.element.createElement(p.g,{icon:"editor-break",label:Object(p.s)("Apply"),type:"submit"})))},f=function(e){var t,n=e.className,o=e.attributes,r=o.invert,a=o.contentAlign,i=o.textColor,c=o.imageSize,m=(o.imageID,o.imageUrl),b=o.title,g=o.description,d=o.buttonURL,h=o.buttonText,f=o.buttonColor,w=o.buttonTextColor,y=o.buttonSize,v=o.buttonBorderRadius,C=o.backgroundColor,E=(o.backgroundImageID,o.backgroundImageURL),k=o.backgroundOpacity,x=o.fixedBackground,O=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)),N={"--image-size":c?c+"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:O,style:N},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!p.n.isEmpty(b)&&wp.element.createElement(p.n.Content,{tagName:"h2",style:{color:i},value:b}),!p.n.isEmpty(g)&&wp.element.createElement(p.n.Content,{tagName:"p",style:{color:i},value:g}),!p.n.isEmpty(h)&&wp.element.createElement(s.a,{size:y,url:d,align:a,color:w,text:h,backgroundColor:f,borderRadius:v})),wp.element.createElement("div",{className:"ugb-feature-image-side"},m&&wp.element.createElement("img",{src:m,alt:b}))))},w={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(p.s)("Feature Title")},description:{source:"html",selector:"p",default:Object(p.s)("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(p.s)("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(p.A)("ugb/feature",{title:Object(p.s)("Feature"),icon:i.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(p.s)("Feature"),Object(p.s)("Stackable")],supports:l({align:!0},"align",["center","wide","full"]),attributes:w,deprecated:[{attributes:d.b,save:d.a}],edit:h,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 i}),n.d(t,"a",function(){return c});var o=n(1),r=n.n(o),a=n(0),u=n(9),i={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.s)("Feature Title")},description:{source:"html",selector:"p",default:Object(a.s)("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.s)("Learn More")},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4}},c=function(e){var t,n=e.className,o=e.attributes,i=o.invert,c=o.contentAlign,s=o.backgroundColor,m=o.textColor,b=o.imageSize,g=(o.imageID,o.imageUrl),d=o.title,p=o.description,h=o.buttonURL,f=o.buttonText,w=o.buttonColor,y=o.buttonTextColor,v=o.buttonSize,C=o.buttonBorderRadius,E=r()([n,"ugb-feature"],(t={"ugb-has-background":s},l(t,"ugb-content-"+c,c),l(t,"ugb-invert",i),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.n.isEmpty(d)&&wp.element.createElement(a.n.Content,{tagName:"h2",style:{color:m},value:d}),!a.n.isEmpty(p)&&wp.element.createElement(a.n.Content,{tagName:"p",style:{color:m},value:p}),!a.n.isEmpty(f)&&wp.element.createElement(u.c,{size:v,url:h,align:c,color:y,text:f,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.t)("stackable.get_pro","core",function(){})}]);
dist/blocks.editor.build.css CHANGED
@@ -1,25 +1,26 @@
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}
 
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% !important}[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,border-radius 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,border-radius 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,border-radius 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,border-radius 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,border-radius 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,border-radius 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,border-radius 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,border-radius 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,border-radius 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,border-radius 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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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;margin-top:.6rem}.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}.ugb-image-control .ugb-image-preview-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background:#f1f1f1;margin-top:.6rem;border-radius:4px}.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{min-width:100px;-ms-flex:1 1 100px;flex:1 1 100px;margin:0}.ugb-image-control .ugb-image-preview-remove{background:none !important;color:#ddd;border:none;position:absolute;top:10px;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% !important}[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% !important}[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% !important}[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.columns-1>*:nth-child(2),.ugb-testimonial.columns-1>*:nth-child(3){display:none}.ugb-testimonial.columns-2>*: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% !important}[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-upload-placeholder{cursor:copy}.ugb-image-upload-has-placeholder{background:#f1f1f1;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:150px;width:100%}.ugb-image-upload-has-placeholder svg{width:100%;max-height:50px;fill:#ddd;max-width:40%;width:100%}.ugb-image-upload-has-placeholder:hover{background:#fafafa}.ugb-image-upload-has-image:hover{opacity:.8}.ugb-image-upload-remove{background:none !important;color:#ddd;border:none;position:absolute;top:10px;right:4px;cursor:not-allowed;display:none;z-index:9 !important}.ugb-image-upload-remove svg{stroke:rgba(0,0,0,0.3);stroke-width:1px;fill:#fff;max-width:none}.editor-block-list__block.is-selected .ugb-image-upload-remove,.editor-block-list__block.is-hovered .ugb-image-upload-remove{display:block}
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% !important}[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.columns-1>*:nth-child(2),.ugb-team-member.columns-1>*:nth-child(3){display:none}.ugb-team-member.columns-2>*:nth-child(3){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% !important}[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% !important}[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% !important}[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% !important}[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}
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% !important}[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}.ugb-image-box [data-is-placeholder-visible="true"]+*{pointer-events:none !important}.ugb-image-box-wrapper.columns-1>*:nth-child(2),.ugb-image-box-wrapper.columns-1>*:nth-child(3),.ugb-image-box-wrapper.columns-1>*:nth-child(4){display:none}.ugb-image-box-wrapper.columns-2>*:nth-child(3),.ugb-image-box-wrapper.columns-2>*:nth-child(4){display:none}.ugb-image-box-wrapper.columns-3>*:nth-child(4){display:none}[data-type="ugb/image-box"][data-align="full"] .ugb-image-box-wrapper.columns-1 .ugb-image-box{border-radius:0}[data-type="ugb/image-box"][data-align="full"] .ugb-image-box-wrapper:not(.columns-1){padding-left:35px;padding-right:35px}[data-type="ugb/image-box"]:not([data-align="wide"]):not([data-align="full"]) .ugb-image-box-wrapper.columns-1 .ugb-image-box{margin:0 auto}.ugb-image-box .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:100%;position:absolute;top:0;left:0}[data-type="ugb/image-box"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}[data-type="ugb/image-box"]:not(.is-selected):not(.is-typing) .ugb-button[data-is-placeholder-visible="true"]{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% !important}[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}
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% !important}[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}
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% !important}[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}
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% !important}[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}.ugb-feature-grid .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:100px;width:100px;margin:0 auto;border-radius:100%}
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% !important}[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}
26
+ .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% !important}[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}.ugb-feature .ugb-feature-image-side .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:250px}
dist/blocks.frontend.build.js CHANGED
@@ -61,7 +61,7 @@ var frontend =
61
  /******/ __webpack_require__.p = "";
62
  /******/
63
  /******/ // Load entry module and return exports
64
- /******/ return __webpack_require__(__webpack_require__.s = 3);
65
  /******/ })
66
  /************************************************************************/
67
  /******/ ([
@@ -88,24 +88,22 @@ var domReady = function domReady(callback) {
88
  /* harmony default export */ __webpack_exports__["default"] = (domReady);
89
 
90
  /***/ }),
91
- /* 1 */,
92
- /* 2 */,
93
- /* 3 */
94
  /***/ (function(module, exports, __webpack_require__) {
95
 
96
  "use strict";
97
 
98
 
99
- __webpack_require__(4);
100
 
101
- __webpack_require__(6);
102
 
103
- __webpack_require__(7);
104
 
105
- __webpack_require__(8);
106
 
107
  /***/ }),
108
- /* 4 */
109
  /***/ (function(module, exports, __webpack_require__) {
110
 
111
  "use strict";
@@ -115,7 +113,7 @@ var _domReady = __webpack_require__(0);
115
 
116
  var _domReady2 = _interopRequireDefault(_domReady);
117
 
118
- var _bigpicture = __webpack_require__(5);
119
 
120
  var _bigpicture2 = _interopRequireDefault(_bigpicture);
121
 
@@ -154,7 +152,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
154
  });
155
 
156
  /***/ }),
157
- /* 5 */
158
  /***/ (function(module, exports) {
159
 
160
  // BigPicture.js | license MIT | henrygd.me/bigpicture
@@ -542,7 +540,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
542
 
543
 
544
  /***/ }),
545
- /* 6 */
546
  /***/ (function(module, exports, __webpack_require__) {
547
 
548
  "use strict";
@@ -572,7 +570,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
572
  });
573
 
574
  /***/ }),
575
- /* 7 */
576
  /***/ (function(module, exports, __webpack_require__) {
577
 
578
  "use strict";
@@ -603,7 +601,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
603
  });
604
 
605
  /***/ }),
606
- /* 8 */
607
  /***/ (function(module, exports, __webpack_require__) {
608
 
609
  "use strict";
@@ -616,7 +614,7 @@ var _domReady2 = _interopRequireDefault(_domReady);
616
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
617
 
618
  (0, _domReady2.default)(function () {
619
- __webpack_require__(9);
620
  var elems = document.querySelectorAll('.ugb-countup .ugb-counter');
621
  elems.forEach(function (el) {
622
  // initCountUp( el )
@@ -746,7 +744,7 @@ var initCountUp = function initCountUp(el) {
746
  };
747
 
748
  /***/ }),
749
- /* 9 */
750
  /***/ (function(module, exports) {
751
 
752
  /*!
61
  /******/ __webpack_require__.p = "";
62
  /******/
63
  /******/ // Load entry module and return exports
64
+ /******/ return __webpack_require__(__webpack_require__.s = 1);
65
  /******/ })
66
  /************************************************************************/
67
  /******/ ([
88
  /* harmony default export */ __webpack_exports__["default"] = (domReady);
89
 
90
  /***/ }),
91
+ /* 1 */
 
 
92
  /***/ (function(module, exports, __webpack_require__) {
93
 
94
  "use strict";
95
 
96
 
97
+ __webpack_require__(2);
98
 
99
+ __webpack_require__(4);
100
 
101
+ __webpack_require__(5);
102
 
103
+ __webpack_require__(6);
104
 
105
  /***/ }),
106
+ /* 2 */
107
  /***/ (function(module, exports, __webpack_require__) {
108
 
109
  "use strict";
113
 
114
  var _domReady2 = _interopRequireDefault(_domReady);
115
 
116
+ var _bigpicture = __webpack_require__(3);
117
 
118
  var _bigpicture2 = _interopRequireDefault(_bigpicture);
119
 
152
  });
153
 
154
  /***/ }),
155
+ /* 3 */
156
  /***/ (function(module, exports) {
157
 
158
  // BigPicture.js | license MIT | henrygd.me/bigpicture
540
 
541
 
542
  /***/ }),
543
+ /* 4 */
544
  /***/ (function(module, exports, __webpack_require__) {
545
 
546
  "use strict";
570
  });
571
 
572
  /***/ }),
573
+ /* 5 */
574
  /***/ (function(module, exports, __webpack_require__) {
575
 
576
  "use strict";
601
  });
602
 
603
  /***/ }),
604
+ /* 6 */
605
  /***/ (function(module, exports, __webpack_require__) {
606
 
607
  "use strict";
614
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
615
 
616
  (0, _domReady2.default)(function () {
617
+ __webpack_require__(7);
618
  var elems = document.querySelectorAll('.ugb-countup .ugb-counter');
619
  elems.forEach(function (el) {
620
  // initCountUp( el )
744
  };
745
 
746
  /***/ }),
747
+ /* 7 */
748
  /***/ (function(module, exports) {
749
 
750
  /*!
dist/blocks.frontend.build.min.js CHANGED
@@ -1 +1 @@
1
- var frontend=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=3)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if("complete"===document.readyState)return t();document.addEventListener("DOMContentLoaded",t)}},,,function(t,e,n){"use strict";n(4),n(6),n(7),n(8)},function(t,e,n){"use strict";var i=r(n(0)),o=r(n(5));function r(t){return t&&t.__esModule?t:{default:t}}(0,i.default)(function(){var t=document.querySelectorAll(".ugb-video-popup"),e=function(t){if(o.default){var e=t.getAttribute("data-video"),n={el:t,noLoader:!0};e.match(/^\d+$/g)?n.vimeoSrc=e:e.match(/^https?:\/\//g)?n.vidSrc=e:n.ytSrc=e,(0,o.default)(n)}};t.forEach(function(t){var n=t.querySelector("a");n.addEventListener("click",function(n){n.preventDefault(),e(t)}),n.addEventListener("touchend",function(n){n.preventDefault(),e(t)})})})},function(t,e){!function(){var e,n,i,o,r,s,a,l,u,c,p,d,h,f,g,m,y,w,v,b,x,S,A,T,k,L,_=window,E=document,H="appendChild",z="createElement",O="removeChild",M="innerHTML",C="pointer-events:auto",q="clientHeight",W="clientWidth",I="addEventListener",P=_.setTimeout,D=_.clearTimeout;function R(){var t=e.getBoundingClientRect();return N("transform:","translate3D("+(t.left-(i[W]-t.width)/2)+"px, "+(t.top-(i[q]-t.height)/2)+"px, 0) scale3D("+e[W]/o[W]+", "+e[q]/o[q]+", 0);")}function F(){4===o.readyState?U():s.error?U("video"):h=P(F,35)}function B(t){L||(t&&V(f,"top:"+e.offsetTop+"px;left:"+e.offsetLeft+"px;height:"+e[q]+"px;width:"+e[W]+"px"),e.parentElement[t?H:O](f),d=t)}function U(t){if(d&&B(),T&&T(),"string"==typeof t)return Q(),alert("Error: The requested "+t+" could not be displayed.");A&&!S&&x.push(u),V(o,R()),V(i,"opacity:1;"+C),k=P(k,410),v=!0,P(function(){V(o,N("transition:","transform .35s;")+N("transform:","none;")),y&&P(V.bind(null,g,"opacity:1"),250)},60)}function j(t){var e=t.target,n=[g,w,s,m];e&&e.blur(),b||~n.indexOf(e)||(o.style.cssText+=R(),V(i,C),P(Q,350),D(k),v=!1,b=!0)}function Q(){E.body[O](i),i[O](o),V(i,""),(o===a?l:o).removeAttribute("src"),y&&(V(g,""),i[O](g)),b=!1}function V(t,e){t.style.cssText=e}function N(t,e){var n=t+e;return"-webkit-"+n+t+"-webkit-"+e+n}t.exports=function(t){var b,C;n||function(){function t(){var t=E[z]("button");return t.className="bp-x",t[M]="&#215;",t}x=[];var e=E[z]("STYLE");e[M]="#bp_caption,#bp_container{bottom:0;left:0;right:0;position:fixed;opacity:0}#bp_container>*,.bp-x,#bp_loader{position:absolute;right:0}#bp_container{top:0;z-index:9999;background:rgba(0,0,0,.7);opacity:0;pointer-events:none;transition:opacity .35s}#bp_loader{top:0;left:0;bottom:0;display:-webkit-flex;display:flex;margin:0;cursor:wait;z-index:9}#bp_loader svg{width:40%;max-height:40%;margin:auto;"+N("animation:","ldr .7s infinite linear;")+"}"+(o="keyframes ldr{to{"+N("transform:","rotate(1turn);")+"}}","@-webkit-"+o+"@"+o)+"#bp_container img,#bp_sv,#bp_vid{max-height:96%;max-width:96%;top:0;bottom:0;left:0;margin:auto;box-shadow:0 0 3em rgba(0,0,0,.4);z-index:-1}#bp_sv{width:171vh}#bp_caption{font-size:.9em;padding:1.3em;background:rgba(15,15,15,.94);color:#fff;text-align:center;transition:opacity .3s}.bp-x{font-family:Arial;top:0;cursor:pointer;opacity:.8;font-size:3em;padding:0 .3em;color:#fff;background:transparent;border:0;text-shadow:0 0 2px #000}#bp_caption .bp-x{left:2%;top:auto;right:auto;bottom:100%;padding:0 .6em;background:#d74040;border-radius:2px 2px 0 0;font-size:2.3em;text-shadow:none}.bp-x:hover,.bp-x:focus{opacity:1}.bp-x:active{outline:0}@media (max-aspect-ratio:9/5){#bp_sv{height:53vw}}",E.head[H](e),(i=E[z]("DIV")).id="bp_container",i.onclick=j,c=t(),i[H](c),r=E[z]("IMG"),(s=E[z]("VIDEO")).id="bp_vid",s.autoplay=!0,s.setAttribute("playsinline",!0),s.controls=!0,s.loop=!0,(g=E[z]("DIV")).id="bp_caption",(w=t()).onclick=function(){V(g,"opacity:0"),P(function(){y=!1,i[O](g)},300)},g[H](w),m=E[z]("SPAN"),g[H](m),(f=E[z]("DIV")).id="bp_loader",f[M]='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 399 399"><path d="M341 58.5C303 20.8 253 0 199.6 0 146.4 0 96.2 20.8 58.5 58.5 20.8 96.2 0 146.5 0 199.7 0 253 20.8 303.2 58.5 341c37.7 37.6 88 58.4 141.2 58.4 53.3 0 103.5-20.8 141.2-58.5 37.6-37.8 58.4-88 58.4-141.3 0-53.3-20.8-103.5-58.5-141.2zm-13 12.8c34.3 34.3 53.2 80 53.2 128.4h-41c0-77.4-63-140.4-140.5-140.4-4.6 0-9 .2-13.6.7V18.7c4.6-.4 9-.5 13.7-.5 48.5 0 94 18.8 128.4 53zM199.8 322c-67.4 0-122.2-55-122.2-122.3S132.3 77.5 199.7 77.5 322 132.3 322 199.7 267 322 199.6 322z"/></svg>',(a=E[z]("DIV")).id="bp_sv",(l=E[z]("IFRAME")).allowFullscreen=!0,l.onload=U,V(l,"border:0px;height:100%;width:100%"),a[H](l),r.onload=U,r.onerror=U.bind(null,"image"),_[I]("resize",function(){d&&B(!0)}),E[I]("keyup",function(t){27===t.keyCode&&v&&j(i)}),E[I]("focus",function(t){v&&!i.contains(t.target)&&(t.stopPropagation(),c.focus())},!0),n=!0;var o}(),d&&(D(h),Q()),p=t.ytSrc||t.vimeoSrc,T=t.animationStart,k=t.animationEnd,L=t.noLoader,e=t.el,A=!1,(y=e.getAttribute("caption"))&&(m[M]=y,i[H](g)),p?(B(!0),o=a,b=!!t.ytSrc,C=b?"www.youtube.com/embed/"+p+"?html5=1&rel=0&showinfo=0&playsinline=1&":"player.vimeo.com/video/"+p+"?",l.src="https://"+C+"autoplay=1"):t.imgSrc?(A=!0,u=t.imgSrc,!(S=~x.indexOf(u))&&B(!0),(o=r).src=u):t.vidSrc?(B(!0),(o=s).src=t.vidSrc,F()):(o=r).src="IMG"===e.tagName?e.src:_.getComputedStyle(e).backgroundImage.replace(/^url|[(|)|'|"]/g,""),i[H](o),E.body[H](i)}}()},function(t,e,n){"use strict";var i,o=n(0);(0,((i=o)&&i.__esModule?i:{default:i}).default)(function(){document.querySelectorAll(".ugb-notification.dismissible-true[data-uid]").forEach(function(t){var e=t.getAttribute("data-uid");localStorage.getItem("stckbl-notif-"+e)||(t.style.display="block"),t.querySelector(".close-button").addEventListener("click",function(){localStorage.setItem("stckbl-notif-"+e,1),t.style.display=""})})})},function(t,e,n){"use strict";var i,o=n(0);(0,((i=o)&&i.__esModule?i:{default:i}).default)(function(){document.querySelectorAll(".wp-block-ugb-expand").forEach(function(t){var e=t.querySelector(".ugb-expand-button"),n=function(e){t.classList.toggle("ugb-more"),e.preventDefault()};e&&(e.addEventListener("click",n),e.addEventListener("tapEnd",n))})})},function(t,e,n){"use strict";var i,o=n(0);(0,((i=o)&&i.__esModule?i:{default:i}).default)(function(){n(9),document.querySelectorAll(".ugb-countup .ugb-counter").forEach(function(t){t.classList.add("ugb-countup-hide"),new Waypoint({element:t,handler:function(){r(t),t.classList.remove("ugb-countup-hide"),this.destroy()},offset:"bottom-in-view"})})});var r=function(t){var e,n,i,o,r,s,a,l,u,c,p,d,h,f;if(function(t){clearTimeout(t.countUpTimeout),t._countUpOrigInnerHTML&&(t.innerHTML=t._countUpOrigInnerHTML,t._countUpOrigInnerHTML=void 0),t.style.visibility=""}(t),/[0-9]/.test(t.innerHTML)){for(t._countUpOrigInnerHTML=t.innerHTML,e=document.querySelector("html").getAttribute("lang")||void 0,i=t.getAttribute("data-duration")/(n=t.getAttribute("data-delay")),o=t.innerHTML.split(/(<[^>]+>|[0-9.][,.0-9]*[0-9]*)/),r=[],s=0;s<i;s++)r.push("");for(a=0;a<o.length;a++)if(/([0-9.][,.0-9]*[0-9]*)/.test(o[a])&&!/<[^>]+>/.test(o[a]))for(l=o[a],u=/[0-9]+,[0-9]+/.test(l),l=l.replace(/,/g,""),p=(c=/^[0-9]+\.[0-9]+$/.test(l))?(l.split(".")[1]||[]).length:0,s=r.length-1,d=i;d>=1;d--)h=parseInt(l/i*d,10),c&&(h=parseFloat(l/i*d).toFixed(p),h=parseFloat(h).toLocaleString(e)),u&&(h=h.toLocaleString(e)),r[s--]+=h;else for(s=0;s<i;s++)r[s]+=o[a];r[r.length]=t.innerHTML,t.innerHTML=r[0],t.style.visibility="visible",f=function(){t.innerHTML=r.shift(),r.length?(clearTimeout(t.countUpTimeout),t.countUpTimeout=setTimeout(f,n)):t._countUpOrigInnerHTML=void 0},t.countUpTimeout=setTimeout(f,n)}}},function(t,e){!function(){"use strict";var t=0,e={};function n(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=n.Adapter.extend({},n.defaults,i),this.element=this.options.element,this.adapter=new n.Adapter(this.element),this.callback=i.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=n.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=n.Context.findOrCreateByElement(this.options.context),n.offsetAliases[this.options.offset]&&(this.options.offset=n.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),e[this.key]=this,t+=1}n.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},n.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},n.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete e[this.key]},n.prototype.disable=function(){return this.enabled=!1,this},n.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},n.prototype.next=function(){return this.group.next(this)},n.prototype.previous=function(){return this.group.previous(this)},n.invokeAll=function(t){var n=[];for(var i in e)n.push(e[i]);for(var o=0,r=n.length;o<r;o++)n[o][t]()},n.destroyAll=function(){n.invokeAll("destroy")},n.disableAll=function(){n.invokeAll("disable")},n.enableAll=function(){for(var t in n.Context.refreshAll(),e)e[t].enabled=!0;return this},n.refreshAll=function(){n.Context.refreshAll()},n.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},n.viewportWidth=function(){return document.documentElement.clientWidth},n.adapters=[],n.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},n.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=n}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}var e=0,n={},i=window.Waypoint,o=window.onload;function r(t){this.element=t,this.Adapter=i.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+e,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,e+=1,i.windowContext||(i.windowContext=!0,i.windowContext=new r(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}r.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},r.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete n[this.key])},r.prototype.createThrottledResizeHandler=function(){var t=this;function e(){t.handleResize(),t.didResize=!1}this.adapter.on("resize.waypoints",function(){t.didResize||(t.didResize=!0,i.requestAnimationFrame(e))})},r.prototype.createThrottledScrollHandler=function(){var t=this;function e(){t.handleScroll(),t.didScroll=!1}this.adapter.on("scroll.waypoints",function(){t.didScroll&&!i.isTouch||(t.didScroll=!0,i.requestAnimationFrame(e))})},r.prototype.handleResize=function(){i.Context.refreshAll()},r.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in e){var i=e[n],o=i.newScroll>i.oldScroll?i.forward:i.backward;for(var r in this.waypoints[n]){var s=this.waypoints[n][r];if(null!==s.triggerPoint){var a=i.oldScroll<s.triggerPoint,l=i.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(o),t[s.group.id]=s.group)}}}for(var u in t)t[u].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},r.prototype.innerHeight=function(){return this.element==this.element.window?i.viewportHeight():this.adapter.innerHeight()},r.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},r.prototype.innerWidth=function(){return this.element==this.element.window?i.viewportWidth():this.adapter.innerWidth()},r.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var i=0,o=t.length;i<o;i++)t[i].destroy()},r.prototype.refresh=function(){var t,e=this.element==this.element.window,n=e?void 0:this.adapter.offset(),o={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:n.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:n.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=t[r];for(var a in this.waypoints[r]){var l,u,c,p,d=this.waypoints[r][a],h=d.options.offset,f=d.triggerPoint,g=0,m=null==f;d.element!==d.element.window&&(g=d.adapter.offset()[s.offsetProp]),"function"==typeof h?h=h.apply(d):"string"==typeof h&&(h=parseFloat(h),d.options.offset.indexOf("%")>-1&&(h=Math.ceil(s.contextDimension*h/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=Math.floor(g+l-h),u=f<s.oldScroll,c=d.triggerPoint>=s.oldScroll,p=!u&&!c,!m&&(u&&c)?(d.queueTrigger(s.backward),o[d.group.id]=d.group):!m&&p?(d.queueTrigger(s.forward),o[d.group.id]=d.group):m&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return i.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},r.findOrCreateByElement=function(t){return r.findByElement(t)||new r(t)},r.refreshAll=function(){for(var t in n)n[t].refresh()},r.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){o&&o(),r.refreshAll()},i.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},i.Context=r}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}var n={vertical:{},horizontal:{}},i=window.Waypoint;function o(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}o.prototype.add=function(t){this.waypoints.push(t)},o.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},o.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],o="up"===n||"left"===n;i.sort(o?e:t);for(var r=0,s=i.length;r<s;r+=1){var a=i[r];(a.options.continuous||r===i.length-1)&&a.trigger([n])}}this.clearTriggerQueues()},o.prototype.next=function(e){this.waypoints.sort(t);var n=i.Adapter.inArray(e,this.waypoints);return n===this.waypoints.length-1?null:this.waypoints[n+1]},o.prototype.previous=function(e){this.waypoints.sort(t);var n=i.Adapter.inArray(e,this.waypoints);return n?this.waypoints[n-1]:null},o.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},o.prototype.remove=function(t){var e=i.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},o.prototype.first=function(){return this.waypoints[0]},o.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},o.findOrCreate=function(t){return n[t.axis][t.name]||new o(t)},i.Group=o}(),function(){"use strict";var t=window.Waypoint;function e(t){return t===t.window}function n(t){return e(t)?t:t.defaultView}function i(t){this.element=t,this.handlers={}}i.prototype.innerHeight=function(){return e(this.element)?this.element.innerHeight:this.element.clientHeight},i.prototype.innerWidth=function(){return e(this.element)?this.element.innerWidth:this.element.clientWidth},i.prototype.off=function(t,e){function n(t,e,n){for(var i=0,o=e.length-1;i<o;i++){var r=e[i];n&&n!==r||t.removeEventListener(r)}}var i=t.split("."),o=i[0],r=i[1],s=this.element;if(r&&this.handlers[r]&&o)n(s,this.handlers[r][o],e),this.handlers[r][o]=[];else if(o)for(var a in this.handlers)n(s,this.handlers[a][o]||[],e),this.handlers[a][o]=[];else if(r&&this.handlers[r]){for(var l in this.handlers[r])n(s,this.handlers[r][l],e);this.handlers[r]={}}},i.prototype.offset=function(){if(!this.element.ownerDocument)return null;var t=this.element.ownerDocument.documentElement,e=n(this.element.ownerDocument),i={top:0,left:0};return this.element.getBoundingClientRect&&(i=this.element.getBoundingClientRect()),{top:i.top+e.pageYOffset-t.clientTop,left:i.left+e.pageXOffset-t.clientLeft}},i.prototype.on=function(t,e){var n=t.split("."),i=n[0],o=n[1]||"__default",r=this.handlers[o]=this.handlers[o]||{};(r[i]=r[i]||[]).push(e),this.element.addEventListener(i,e)},i.prototype.outerHeight=function(t){var n,i=this.innerHeight();return t&&!e(this.element)&&(n=window.getComputedStyle(this.element),i+=parseInt(n.marginTop,10),i+=parseInt(n.marginBottom,10)),i},i.prototype.outerWidth=function(t){var n,i=this.innerWidth();return t&&!e(this.element)&&(n=window.getComputedStyle(this.element),i+=parseInt(n.marginLeft,10),i+=parseInt(n.marginRight,10)),i},i.prototype.scrollLeft=function(){var t=n(this.element);return t?t.pageXOffset:this.element.scrollLeft},i.prototype.scrollTop=function(){var t=n(this.element);return t?t.pageYOffset:this.element.scrollTop},i.extend=function(){var t=Array.prototype.slice.call(arguments);function e(t,e){if("object"==typeof t&&"object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}for(var n=1,i=t.length;n<i;n++)e(t[0],t[n]);return t[0]},i.inArray=function(t,e,n){return null==e?-1:e.indexOf(t,n)},i.isEmptyObject=function(t){for(var e in t)return!1;return!0},t.adapters.push({name:"noframework",Adapter:i}),t.Adapter=i}()}]);
1
+ var frontend=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){if("complete"===document.readyState)return t();document.addEventListener("DOMContentLoaded",t)}},function(t,e,n){"use strict";n(2),n(4),n(5),n(6)},function(t,e,n){"use strict";var i=r(n(0)),o=r(n(3));function r(t){return t&&t.__esModule?t:{default:t}}(0,i.default)(function(){var t=document.querySelectorAll(".ugb-video-popup"),e=function(t){if(o.default){var e=t.getAttribute("data-video"),n={el:t,noLoader:!0};e.match(/^\d+$/g)?n.vimeoSrc=e:e.match(/^https?:\/\//g)?n.vidSrc=e:n.ytSrc=e,(0,o.default)(n)}};t.forEach(function(t){var n=t.querySelector("a");n.addEventListener("click",function(n){n.preventDefault(),e(t)}),n.addEventListener("touchend",function(n){n.preventDefault(),e(t)})})})},function(t,e){!function(){var e,n,i,o,r,s,a,l,u,c,p,d,h,f,g,m,y,w,v,b,x,S,A,T,k,L,_=window,E=document,H="appendChild",z="createElement",O="removeChild",M="innerHTML",C="pointer-events:auto",q="clientHeight",W="clientWidth",I="addEventListener",P=_.setTimeout,D=_.clearTimeout;function R(){var t=e.getBoundingClientRect();return N("transform:","translate3D("+(t.left-(i[W]-t.width)/2)+"px, "+(t.top-(i[q]-t.height)/2)+"px, 0) scale3D("+e[W]/o[W]+", "+e[q]/o[q]+", 0);")}function F(){4===o.readyState?U():s.error?U("video"):h=P(F,35)}function B(t){L||(t&&V(f,"top:"+e.offsetTop+"px;left:"+e.offsetLeft+"px;height:"+e[q]+"px;width:"+e[W]+"px"),e.parentElement[t?H:O](f),d=t)}function U(t){if(d&&B(),T&&T(),"string"==typeof t)return Q(),alert("Error: The requested "+t+" could not be displayed.");A&&!S&&x.push(u),V(o,R()),V(i,"opacity:1;"+C),k=P(k,410),v=!0,P(function(){V(o,N("transition:","transform .35s;")+N("transform:","none;")),y&&P(V.bind(null,g,"opacity:1"),250)},60)}function j(t){var e=t.target,n=[g,w,s,m];e&&e.blur(),b||~n.indexOf(e)||(o.style.cssText+=R(),V(i,C),P(Q,350),D(k),v=!1,b=!0)}function Q(){E.body[O](i),i[O](o),V(i,""),(o===a?l:o).removeAttribute("src"),y&&(V(g,""),i[O](g)),b=!1}function V(t,e){t.style.cssText=e}function N(t,e){var n=t+e;return"-webkit-"+n+t+"-webkit-"+e+n}t.exports=function(t){var b,C;n||function(){function t(){var t=E[z]("button");return t.className="bp-x",t[M]="&#215;",t}x=[];var e=E[z]("STYLE");e[M]="#bp_caption,#bp_container{bottom:0;left:0;right:0;position:fixed;opacity:0}#bp_container>*,.bp-x,#bp_loader{position:absolute;right:0}#bp_container{top:0;z-index:9999;background:rgba(0,0,0,.7);opacity:0;pointer-events:none;transition:opacity .35s}#bp_loader{top:0;left:0;bottom:0;display:-webkit-flex;display:flex;margin:0;cursor:wait;z-index:9}#bp_loader svg{width:40%;max-height:40%;margin:auto;"+N("animation:","ldr .7s infinite linear;")+"}"+(o="keyframes ldr{to{"+N("transform:","rotate(1turn);")+"}}","@-webkit-"+o+"@"+o)+"#bp_container img,#bp_sv,#bp_vid{max-height:96%;max-width:96%;top:0;bottom:0;left:0;margin:auto;box-shadow:0 0 3em rgba(0,0,0,.4);z-index:-1}#bp_sv{width:171vh}#bp_caption{font-size:.9em;padding:1.3em;background:rgba(15,15,15,.94);color:#fff;text-align:center;transition:opacity .3s}.bp-x{font-family:Arial;top:0;cursor:pointer;opacity:.8;font-size:3em;padding:0 .3em;color:#fff;background:transparent;border:0;text-shadow:0 0 2px #000}#bp_caption .bp-x{left:2%;top:auto;right:auto;bottom:100%;padding:0 .6em;background:#d74040;border-radius:2px 2px 0 0;font-size:2.3em;text-shadow:none}.bp-x:hover,.bp-x:focus{opacity:1}.bp-x:active{outline:0}@media (max-aspect-ratio:9/5){#bp_sv{height:53vw}}",E.head[H](e),(i=E[z]("DIV")).id="bp_container",i.onclick=j,c=t(),i[H](c),r=E[z]("IMG"),(s=E[z]("VIDEO")).id="bp_vid",s.autoplay=!0,s.setAttribute("playsinline",!0),s.controls=!0,s.loop=!0,(g=E[z]("DIV")).id="bp_caption",(w=t()).onclick=function(){V(g,"opacity:0"),P(function(){y=!1,i[O](g)},300)},g[H](w),m=E[z]("SPAN"),g[H](m),(f=E[z]("DIV")).id="bp_loader",f[M]='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 399 399"><path d="M341 58.5C303 20.8 253 0 199.6 0 146.4 0 96.2 20.8 58.5 58.5 20.8 96.2 0 146.5 0 199.7 0 253 20.8 303.2 58.5 341c37.7 37.6 88 58.4 141.2 58.4 53.3 0 103.5-20.8 141.2-58.5 37.6-37.8 58.4-88 58.4-141.3 0-53.3-20.8-103.5-58.5-141.2zm-13 12.8c34.3 34.3 53.2 80 53.2 128.4h-41c0-77.4-63-140.4-140.5-140.4-4.6 0-9 .2-13.6.7V18.7c4.6-.4 9-.5 13.7-.5 48.5 0 94 18.8 128.4 53zM199.8 322c-67.4 0-122.2-55-122.2-122.3S132.3 77.5 199.7 77.5 322 132.3 322 199.7 267 322 199.6 322z"/></svg>',(a=E[z]("DIV")).id="bp_sv",(l=E[z]("IFRAME")).allowFullscreen=!0,l.onload=U,V(l,"border:0px;height:100%;width:100%"),a[H](l),r.onload=U,r.onerror=U.bind(null,"image"),_[I]("resize",function(){d&&B(!0)}),E[I]("keyup",function(t){27===t.keyCode&&v&&j(i)}),E[I]("focus",function(t){v&&!i.contains(t.target)&&(t.stopPropagation(),c.focus())},!0),n=!0;var o}(),d&&(D(h),Q()),p=t.ytSrc||t.vimeoSrc,T=t.animationStart,k=t.animationEnd,L=t.noLoader,e=t.el,A=!1,(y=e.getAttribute("caption"))&&(m[M]=y,i[H](g)),p?(B(!0),o=a,b=!!t.ytSrc,C=b?"www.youtube.com/embed/"+p+"?html5=1&rel=0&showinfo=0&playsinline=1&":"player.vimeo.com/video/"+p+"?",l.src="https://"+C+"autoplay=1"):t.imgSrc?(A=!0,u=t.imgSrc,!(S=~x.indexOf(u))&&B(!0),(o=r).src=u):t.vidSrc?(B(!0),(o=s).src=t.vidSrc,F()):(o=r).src="IMG"===e.tagName?e.src:_.getComputedStyle(e).backgroundImage.replace(/^url|[(|)|'|"]/g,""),i[H](o),E.body[H](i)}}()},function(t,e,n){"use strict";var i,o=n(0);(0,((i=o)&&i.__esModule?i:{default:i}).default)(function(){document.querySelectorAll(".ugb-notification.dismissible-true[data-uid]").forEach(function(t){var e=t.getAttribute("data-uid");localStorage.getItem("stckbl-notif-"+e)||(t.style.display="block"),t.querySelector(".close-button").addEventListener("click",function(){localStorage.setItem("stckbl-notif-"+e,1),t.style.display=""})})})},function(t,e,n){"use strict";var i,o=n(0);(0,((i=o)&&i.__esModule?i:{default:i}).default)(function(){document.querySelectorAll(".wp-block-ugb-expand").forEach(function(t){var e=t.querySelector(".ugb-expand-button"),n=function(e){t.classList.toggle("ugb-more"),e.preventDefault()};e&&(e.addEventListener("click",n),e.addEventListener("tapEnd",n))})})},function(t,e,n){"use strict";var i,o=n(0);(0,((i=o)&&i.__esModule?i:{default:i}).default)(function(){n(7),document.querySelectorAll(".ugb-countup .ugb-counter").forEach(function(t){t.classList.add("ugb-countup-hide"),new Waypoint({element:t,handler:function(){r(t),t.classList.remove("ugb-countup-hide"),this.destroy()},offset:"bottom-in-view"})})});var r=function(t){var e,n,i,o,r,s,a,l,u,c,p,d,h,f;if(function(t){clearTimeout(t.countUpTimeout),t._countUpOrigInnerHTML&&(t.innerHTML=t._countUpOrigInnerHTML,t._countUpOrigInnerHTML=void 0),t.style.visibility=""}(t),/[0-9]/.test(t.innerHTML)){for(t._countUpOrigInnerHTML=t.innerHTML,e=document.querySelector("html").getAttribute("lang")||void 0,i=t.getAttribute("data-duration")/(n=t.getAttribute("data-delay")),o=t.innerHTML.split(/(<[^>]+>|[0-9.][,.0-9]*[0-9]*)/),r=[],s=0;s<i;s++)r.push("");for(a=0;a<o.length;a++)if(/([0-9.][,.0-9]*[0-9]*)/.test(o[a])&&!/<[^>]+>/.test(o[a]))for(l=o[a],u=/[0-9]+,[0-9]+/.test(l),l=l.replace(/,/g,""),p=(c=/^[0-9]+\.[0-9]+$/.test(l))?(l.split(".")[1]||[]).length:0,s=r.length-1,d=i;d>=1;d--)h=parseInt(l/i*d,10),c&&(h=parseFloat(l/i*d).toFixed(p),h=parseFloat(h).toLocaleString(e)),u&&(h=h.toLocaleString(e)),r[s--]+=h;else for(s=0;s<i;s++)r[s]+=o[a];r[r.length]=t.innerHTML,t.innerHTML=r[0],t.style.visibility="visible",f=function(){t.innerHTML=r.shift(),r.length?(clearTimeout(t.countUpTimeout),t.countUpTimeout=setTimeout(f,n)):t._countUpOrigInnerHTML=void 0},t.countUpTimeout=setTimeout(f,n)}}},function(t,e){!function(){"use strict";var t=0,e={};function n(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=n.Adapter.extend({},n.defaults,i),this.element=this.options.element,this.adapter=new n.Adapter(this.element),this.callback=i.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=n.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=n.Context.findOrCreateByElement(this.options.context),n.offsetAliases[this.options.offset]&&(this.options.offset=n.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),e[this.key]=this,t+=1}n.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},n.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},n.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete e[this.key]},n.prototype.disable=function(){return this.enabled=!1,this},n.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},n.prototype.next=function(){return this.group.next(this)},n.prototype.previous=function(){return this.group.previous(this)},n.invokeAll=function(t){var n=[];for(var i in e)n.push(e[i]);for(var o=0,r=n.length;o<r;o++)n[o][t]()},n.destroyAll=function(){n.invokeAll("destroy")},n.disableAll=function(){n.invokeAll("disable")},n.enableAll=function(){for(var t in n.Context.refreshAll(),e)e[t].enabled=!0;return this},n.refreshAll=function(){n.Context.refreshAll()},n.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},n.viewportWidth=function(){return document.documentElement.clientWidth},n.adapters=[],n.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},n.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=n}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}var e=0,n={},i=window.Waypoint,o=window.onload;function r(t){this.element=t,this.Adapter=i.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+e,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,e+=1,i.windowContext||(i.windowContext=!0,i.windowContext=new r(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}r.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},r.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete n[this.key])},r.prototype.createThrottledResizeHandler=function(){var t=this;function e(){t.handleResize(),t.didResize=!1}this.adapter.on("resize.waypoints",function(){t.didResize||(t.didResize=!0,i.requestAnimationFrame(e))})},r.prototype.createThrottledScrollHandler=function(){var t=this;function e(){t.handleScroll(),t.didScroll=!1}this.adapter.on("scroll.waypoints",function(){t.didScroll&&!i.isTouch||(t.didScroll=!0,i.requestAnimationFrame(e))})},r.prototype.handleResize=function(){i.Context.refreshAll()},r.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in e){var i=e[n],o=i.newScroll>i.oldScroll?i.forward:i.backward;for(var r in this.waypoints[n]){var s=this.waypoints[n][r];if(null!==s.triggerPoint){var a=i.oldScroll<s.triggerPoint,l=i.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(o),t[s.group.id]=s.group)}}}for(var u in t)t[u].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},r.prototype.innerHeight=function(){return this.element==this.element.window?i.viewportHeight():this.adapter.innerHeight()},r.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},r.prototype.innerWidth=function(){return this.element==this.element.window?i.viewportWidth():this.adapter.innerWidth()},r.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var i=0,o=t.length;i<o;i++)t[i].destroy()},r.prototype.refresh=function(){var t,e=this.element==this.element.window,n=e?void 0:this.adapter.offset(),o={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:n.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:n.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=t[r];for(var a in this.waypoints[r]){var l,u,c,p,d=this.waypoints[r][a],h=d.options.offset,f=d.triggerPoint,g=0,m=null==f;d.element!==d.element.window&&(g=d.adapter.offset()[s.offsetProp]),"function"==typeof h?h=h.apply(d):"string"==typeof h&&(h=parseFloat(h),d.options.offset.indexOf("%")>-1&&(h=Math.ceil(s.contextDimension*h/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=Math.floor(g+l-h),u=f<s.oldScroll,c=d.triggerPoint>=s.oldScroll,p=!u&&!c,!m&&(u&&c)?(d.queueTrigger(s.backward),o[d.group.id]=d.group):!m&&p?(d.queueTrigger(s.forward),o[d.group.id]=d.group):m&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return i.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},r.findOrCreateByElement=function(t){return r.findByElement(t)||new r(t)},r.refreshAll=function(){for(var t in n)n[t].refresh()},r.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){o&&o(),r.refreshAll()},i.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},i.Context=r}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}var n={vertical:{},horizontal:{}},i=window.Waypoint;function o(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}o.prototype.add=function(t){this.waypoints.push(t)},o.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},o.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],o="up"===n||"left"===n;i.sort(o?e:t);for(var r=0,s=i.length;r<s;r+=1){var a=i[r];(a.options.continuous||r===i.length-1)&&a.trigger([n])}}this.clearTriggerQueues()},o.prototype.next=function(e){this.waypoints.sort(t);var n=i.Adapter.inArray(e,this.waypoints);return n===this.waypoints.length-1?null:this.waypoints[n+1]},o.prototype.previous=function(e){this.waypoints.sort(t);var n=i.Adapter.inArray(e,this.waypoints);return n?this.waypoints[n-1]:null},o.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},o.prototype.remove=function(t){var e=i.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},o.prototype.first=function(){return this.waypoints[0]},o.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},o.findOrCreate=function(t){return n[t.axis][t.name]||new o(t)},i.Group=o}(),function(){"use strict";var t=window.Waypoint;function e(t){return t===t.window}function n(t){return e(t)?t:t.defaultView}function i(t){this.element=t,this.handlers={}}i.prototype.innerHeight=function(){return e(this.element)?this.element.innerHeight:this.element.clientHeight},i.prototype.innerWidth=function(){return e(this.element)?this.element.innerWidth:this.element.clientWidth},i.prototype.off=function(t,e){function n(t,e,n){for(var i=0,o=e.length-1;i<o;i++){var r=e[i];n&&n!==r||t.removeEventListener(r)}}var i=t.split("."),o=i[0],r=i[1],s=this.element;if(r&&this.handlers[r]&&o)n(s,this.handlers[r][o],e),this.handlers[r][o]=[];else if(o)for(var a in this.handlers)n(s,this.handlers[a][o]||[],e),this.handlers[a][o]=[];else if(r&&this.handlers[r]){for(var l in this.handlers[r])n(s,this.handlers[r][l],e);this.handlers[r]={}}},i.prototype.offset=function(){if(!this.element.ownerDocument)return null;var t=this.element.ownerDocument.documentElement,e=n(this.element.ownerDocument),i={top:0,left:0};return this.element.getBoundingClientRect&&(i=this.element.getBoundingClientRect()),{top:i.top+e.pageYOffset-t.clientTop,left:i.left+e.pageXOffset-t.clientLeft}},i.prototype.on=function(t,e){var n=t.split("."),i=n[0],o=n[1]||"__default",r=this.handlers[o]=this.handlers[o]||{};(r[i]=r[i]||[]).push(e),this.element.addEventListener(i,e)},i.prototype.outerHeight=function(t){var n,i=this.innerHeight();return t&&!e(this.element)&&(n=window.getComputedStyle(this.element),i+=parseInt(n.marginTop,10),i+=parseInt(n.marginBottom,10)),i},i.prototype.outerWidth=function(t){var n,i=this.innerWidth();return t&&!e(this.element)&&(n=window.getComputedStyle(this.element),i+=parseInt(n.marginLeft,10),i+=parseInt(n.marginRight,10)),i},i.prototype.scrollLeft=function(){var t=n(this.element);return t?t.pageXOffset:this.element.scrollLeft},i.prototype.scrollTop=function(){var t=n(this.element);return t?t.pageYOffset:this.element.scrollTop},i.extend=function(){var t=Array.prototype.slice.call(arguments);function e(t,e){if("object"==typeof t&&"object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}for(var n=1,i=t.length;n<i;n++)e(t[0],t[n]);return t[0]},i.inArray=function(t,e,n){return null==e?-1:e.indexOf(t,n)},i.isEmptyObject=function(t){for(var e in t)return!1;return!0},t.adapters.push({name:"noframework",Adapter:i}),t.Adapter=i}()}]);
dist/blocks.style.build.css CHANGED
@@ -1,22 +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;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}}
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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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>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 .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}
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% !important}[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}.ugb-team-member.columns-2 .team-member-image{width:220px;height:220px}.ugb-team-member.columns-3 .team-member-image{width:150px;height:150px}.ugb-team-member.image-circle .team-member-image{border-radius:100%}.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 .ugb-team-member-position{opacity:.7}.ugb-team-member h4{margin:0 0 .5rem !important;padding-top:0}.ugb-team-member .team-member-image{margin:0 auto 1.3rem}.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 .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}
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% !important}[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% !important}[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% !important}[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% !important}[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% !important}[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-wrapper{margin-top:1.5em;margin-bottom:1.5em;display:grid;grid-gap:35px}.ugb-image-box-wrapper>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-image-box-wrapper>*:first-child{margin-top:0 !important}.ugb-image-box-wrapper>*:last-child{margin-bottom:0 !important}.ugb-image-box-wrapper.columns-4{grid-template-columns:1fr 1fr 1fr 1fr}.ugb-image-box-wrapper.columns-3{grid-template-columns:1fr 1fr 1fr}.ugb-image-box-wrapper.columns-2{grid-template-columns:1fr 1fr}.ugb-image-box-wrapper.columns-1:not(.alignwide):not(.alignfull){grid-template-columns:1fr}.ugb-image-box-wrapper.columns-1:not(.alignwide):not(.alignfull) .ugb-image-box{margin:0 auto}.ugb-image-box-wrapper .ugb-image-box{margin:0}.ugb-image-box-wrapper .ugb-image-box>a{background-color:var(--overlay-color, #000)}.ugb-image-box-wrapper.ugb-image-box-v2 .ugb-image-box{width:100%;margin-bottom:0 !important}.ugb-image-box-wrapper.alignfull:not(.columns-1){padding-left:35px;padding-right:35px}.ugb-image-box-wrapper.alignfull.columns-1 .ugb-image-box{border-radius:0}@media screen and (max-width: 960px){.ugb-image-box-wrapper.columns-4{grid-template-columns:1fr 1fr}}@media screen and (max-width: 782px){.ugb-image-box-wrapper.columns-3{grid-template-columns:1fr}}@media screen and (max-width: 480px){.ugb-image-box-wrapper.columns-4,.ugb-image-box-wrapper.columns-2{grid-template-columns:1fr}}.ugb-image-box{background-size:cover;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:stretch;align-items:stretch;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;padding: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;background-color:#000}.ugb-image-box h4,.ugb-image-box p{z-index:3;pointer-events:none}.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% !important}[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% !important}[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:before{-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.ugb-video-popup.ugb-has-background-opacity-0:hover:before{opacity:0.3}.ugb-video-popup.ugb-has-background-opacity-1:hover:before{opacity:0.4}.ugb-video-popup.ugb-has-background-opacity-2:hover:before{opacity:0.5}.ugb-video-popup.ugb-has-background-opacity-3:hover:before{opacity:0.6}.ugb-video-popup.ugb-has-background-opacity-4:hover:before{opacity:0.1}.ugb-video-popup.ugb-has-background-opacity-5:hover:before{opacity:0.2}.ugb-video-popup.ugb-has-background-opacity-6:hover:before{opacity:0.3}.ugb-video-popup.ugb-has-background-opacity-7:hover:before{opacity:0.4}.ugb-video-popup.ugb-has-background-opacity-8:hover:before{opacity:0.5}.ugb-video-popup.ugb-has-background-opacity-9:hover:before{opacity:0.6}.ugb-video-popup.ugb-has-background-opacity-10:hover:before{opacity:0.7}.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-link .editor-url-input input[type=text]{width:auto !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%)}#bp_container .bp-x,#bp_container .bp-x:hover{background:none !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% !important}[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 .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 .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% !important}[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% !important}[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% !important}[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
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
- * Plugin Name: Stackable - Ultimate Gutenberg Blocks
4
  * Plugin URI: https://wpstackable.com
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.1
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.5.1' );
20
  defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
21
 
22
  /**
1
  <?php
2
  /**
3
+ * Plugin Name: Stackable - Gutenberg Blocks
4
  * Plugin URI: https://wpstackable.com
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.6
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.6' );
20
  defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
21
 
22
  /**
readme.txt CHANGED
@@ -1,18 +1,18 @@
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.1
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
11
- A comprehensive collection of page building blocks for Gutenberg - the new WordPress editor
12
 
13
  == Description ==
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
 
@@ -21,12 +21,12 @@ Stackable provides more functionality and design options for your site. We've co
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/)
25
  - Icon List — [View Block](https://wpstackable.com/icon-list-block/)
26
  - Call to Action — [View Block](https://wpstackable.com/call-to-action-block/)
27
  - Card — [View Block](https://wpstackable.com/card-block/)
28
  - Header — [View Block](https://wpstackable.com/header-block/)
29
- - Image Box — [View Block](https://wpstackable.com/image-box-block/)
30
  - Count up — [View Block](https://wpstackable.com/count-up-block/)
31
  - Video Popup — [View Block](https://wpstackable.com/video-popup-block/)
32
  - Pricing Box — [View Block](https://wpstackable.com/pricing-table-block/)
@@ -42,13 +42,18 @@ Stackable provides more functionality and design options for your site. We've co
42
  - Divider
43
  - Spacer
44
 
 
 
 
 
 
45
  ### Stackable WordPress Theme
46
 
47
  Get our WordPress theme that's beautiful & flexible, Gutenberg-ready and made especially for Stackable blocks and the new WordPress editor. [Download the Stackable Theme now](http://eepurl.com/dJY9xI).
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)
@@ -96,10 +101,24 @@ Nope. Stackable only works with Gutenberg, the new WordPress editor.
96
 
97
  == Changelog ==
98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  = 1.5.1 =
100
  * Fixed: Header block background image migration
101
 
102
  = 1.5 =
 
103
  * New: Count-up block can now have 1 to 4 columns
104
  * New: Count-up block can now be resized to wide and full-width
105
  * New: Count-up block can now have backgrounds
1
+ === Stackable - 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.6
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ A comprehensive collection of ready-to-use page building blocks for Gutenberg - the new WordPress editor
12
 
13
  == Description ==
14
 
15
+ Stackable is a comprehensive collection of ready-to-use 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
 
21
  ## Kick-ass blocks
22
 
23
  - Feature Grid — [View Block](https://wpstackable.com/feature-grid-block/)
24
+ - Image Box — [View Block](https://wpstackable.com/image-box-block/)
25
  - Feature — [View Block](https://wpstackable.com/feature-block/)
26
  - Icon List — [View Block](https://wpstackable.com/icon-list-block/)
27
  - Call to Action — [View Block](https://wpstackable.com/call-to-action-block/)
28
  - Card — [View Block](https://wpstackable.com/card-block/)
29
  - Header — [View Block](https://wpstackable.com/header-block/)
 
30
  - Count up — [View Block](https://wpstackable.com/count-up-block/)
31
  - Video Popup — [View Block](https://wpstackable.com/video-popup-block/)
32
  - Pricing Box — [View Block](https://wpstackable.com/pricing-table-block/)
42
  - Divider
43
  - Spacer
44
 
45
+ ### News Article Updates
46
+
47
+ - [v1.6 Better Block Experience & Improved Image Box block](https://wpstackable.com/blog/better-block-experience-improved-image-box-block/)
48
+ - [v1.5 Better Count Up Block, Backgrounds & Full Widths](https://wpstackable.com/blog/better-count-up-block-backgrounds-full-widths/)
49
+
50
  ### Stackable WordPress Theme
51
 
52
  Get our WordPress theme that's beautiful & flexible, Gutenberg-ready and made especially for Stackable blocks and the new WordPress editor. [Download the Stackable Theme now](http://eepurl.com/dJY9xI).
53
 
54
  ### Learn More About Stackable - Ultimate Gutenberg Blocks
55
 
56
+ - [What is Stackable?](https://wpstackable.com/blog/welcome-to-stackable/)
57
  - [Subscribe to our newsletter](http://eepurl.com/dJY9xI)
58
  - [Visit us in wpstackable.com](https://wpstackable.com)
59
  - [Twitter @wpstackable](https://twitter.com/wpstackable)
101
 
102
  == Changelog ==
103
 
104
+ = 1.6 =
105
+ [Read the news update](https://wpstackable.com/blog/better-block-experience-improved-image-box-block/)
106
+ * New: Image Box block can now support 1-4 columns and now has better user experience
107
+ * New: Video Popup's color can now be changed
108
+ * New: Moved the background image picker for the Video Popup
109
+ * New: Team Member block now has placeholder images instead of an 'Upload Button'
110
+ * New: Feature Grid block now has placeholder images
111
+ * New: Feature block now has a placeholder image
112
+ * New: Card block now has a placeholder image
113
+ * New: Testimonial block now has a placeholder image
114
+ * Change: Testimonial block layout was changed
115
+ * Fixed: Ensure the video popup block's close button doesn't have a background
116
+
117
  = 1.5.1 =
118
  * Fixed: Header block background image migration
119
 
120
  = 1.5 =
121
+ [Read the news update](https://wpstackable.com/blog/better-count-up-block-backgrounds-full-widths/)
122
  * New: Count-up block can now have 1 to 4 columns
123
  * New: Count-up block can now be resized to wide and full-width
124
  * New: Count-up block can now have backgrounds
src/block/button/index.js CHANGED
@@ -179,11 +179,10 @@ export const schema = {
179
  * registered; otherwise `undefined`.
180
  */
181
  registerBlockType( 'ugb/button', {
182
- // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
183
- title: __( 'Button' ), // Block title.
184
- icon: ButtonIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
185
- description: 'Add customize button',
186
- category: 'stackable-ultimate-gutenberg-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
187
  keywords: [
188
  __( 'Button' ),
189
  __( 'Stackable' ),
179
  * registered; otherwise `undefined`.
180
  */
181
  registerBlockType( 'ugb/button', {
182
+ title: __( 'Button' ),
183
+ icon: ButtonIcon,
184
+ description: 'Add a customizable button',
185
+ category: 'stackable-ultimate-gutenberg-blocks',
 
186
  keywords: [
187
  __( 'Button' ),
188
  __( 'Stackable' ),
src/block/card/editor.scss CHANGED
@@ -3,19 +3,4 @@
3
  *
4
  * CSS for just Backend enqueued after style.scss
5
  * which makes it higher in priority.
6
- */
7
- .edit-post-visual-editor {
8
- .ugb-card {
9
- .ugb-card-image-container {
10
- padding: 0;
11
- }
12
- margin: 0 !important;
13
- &.has-image {
14
- button {
15
- width: 100%;
16
- height: 300px;
17
- padding: 0;
18
- }
19
- }
20
- }
21
- }
3
  *
4
  * CSS for just Backend enqueued after style.scss
5
  * which makes it higher in priority.
6
+ */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/block/card/index.js CHANGED
@@ -13,6 +13,7 @@ import { TeamMemberIcon } from '../../icons'
13
  import ButtonEdit from '../button/button-edit'
14
  import ButtonSave from '../button/button-save'
15
  import PanelButtonSettings from '../../components/panel-button-settings'
 
16
  import {
17
  deprecatedSave_1_1, deprecatedSchema_1_1,
18
  deprecatedSave_0_7, deprecatedSchema_0_7,
@@ -80,21 +81,6 @@ export const edit = ( props ) => {
80
  value={ contentAlign }
81
  onChange={ ( newAlign ) => setAttributes( { contentAlign: newAlign } ) }
82
  />
83
- <Toolbar>
84
- <MediaUpload
85
- onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
86
- allowedTypes={ [ 'image' ] }
87
- value={ mediaID }
88
- render={ ( { open } ) => (
89
- <IconButton
90
- className="components-toolbar__control"
91
- label={ __( 'Edit image' ) }
92
- icon="edit"
93
- onClick={ open }
94
- />
95
- ) }
96
- />
97
- </Toolbar>
98
  </BlockControls>
99
  <InspectorControls>
100
  <PanelColorSettings
@@ -131,25 +117,13 @@ export const edit = ( props ) => {
131
  />
132
  </InspectorControls>
133
  <div className={ mainClasses }>
134
- <div className='ugb-card-image-container' style={{ backgroundImage: `url(${mediaURL})`, textAlign: contentAlign }}>
135
- <MediaUpload
136
- onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
137
- allowedTypes={ [ 'image' ] }
138
- value={mediaID}
139
- render={ function( obj ) {
140
- return [
141
- ! mediaURL && (
142
- <Button
143
- className={ mediaID ? '' : 'button button-large' }
144
- onClick={ obj.open }
145
- >
146
- {__('Upload Image')}
147
- </Button>
148
- )
149
- ]
150
- } }
151
- />
152
- </div>
153
  <RichText
154
  tagName={ 'h4' }
155
  value={ heading }
@@ -349,10 +323,9 @@ const schema = {
349
  * registered; otherwise `undefined`.
350
  */
351
  registerBlockType( 'ugb/card', {
352
- // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
353
- title: __( 'Card' ), // Block title.
354
- icon: TeamMemberIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
355
- category: 'stackable-ultimate-gutenberg-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
356
  keywords: [
357
  __( 'Card' ),
358
  __( 'Stackable' ),
13
  import ButtonEdit from '../button/button-edit'
14
  import ButtonSave from '../button/button-save'
15
  import PanelButtonSettings from '../../components/panel-button-settings'
16
+ import ImageUploadPlaceholder from '../../components/image-upload-placeholder'
17
  import {
18
  deprecatedSave_1_1, deprecatedSchema_1_1,
19
  deprecatedSave_0_7, deprecatedSchema_0_7,
81
  value={ contentAlign }
82
  onChange={ ( newAlign ) => setAttributes( { contentAlign: newAlign } ) }
83
  />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  </BlockControls>
85
  <InspectorControls>
86
  <PanelColorSettings
117
  />
118
  </InspectorControls>
119
  <div className={ mainClasses }>
120
+ <ImageUploadPlaceholder
121
+ className='ugb-card-image-container'
122
+ imageID={ mediaID }
123
+ imageURL={ mediaURL }
124
+ onRemove={ () => { setAttributes( { mediaURL: '', mediaID: '' } ) } }
125
+ onChange={ ( { url, id } ) => { setAttributes( { mediaURL: url, mediaID: id } ) } }
126
+ />
 
 
 
 
 
 
 
 
 
 
 
 
127
  <RichText
128
  tagName={ 'h4' }
129
  value={ heading }
323
  * registered; otherwise `undefined`.
324
  */
325
  registerBlockType( 'ugb/card', {
326
+ title: __( 'Card' ),
327
+ icon: TeamMemberIcon,
328
+ category: 'stackable-ultimate-gutenberg-blocks',
 
329
  keywords: [
330
  __( 'Card' ),
331
  __( 'Stackable' ),
src/block/card/style.scss CHANGED
@@ -8,20 +8,18 @@
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
  }
8
  margin: 30px 0;
9
  @include baseBlock();
10
  @include box();
11
+ .ugb-card-image-container {
12
+ height: 300px;
13
+ background-size: cover;
14
+ background-position: center;
15
+ border-top-right-radius: $box-radius;
16
+ border-top-left-radius: $box-radius;
17
+ padding-top: 0px;
18
+ margin: calc(var(--box-padding-vert) * -1) calc(var(--box-padding-hori) * -1) var(--box-padding-vert) !important;
19
+ width: calc(100% + var(--box-padding-hori) * 2);
20
+ + *:not(.wp-ugb-button) {
21
+ margin-top: 0 !important;
22
+ padding-top: 0 !important;
 
 
23
  }
24
  }
25
  }
src/block/feature-grid/editor.scss CHANGED
@@ -28,4 +28,11 @@
28
  > *:nth-child(3) {
29
  display: none;
30
  }
 
 
 
 
 
 
 
31
  }
28
  > *:nth-child(3) {
29
  display: none;
30
  }
31
+ }
32
+
33
+ .ugb-feature-grid .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder {
34
+ height: 100px;
35
+ width: 100px;
36
+ margin: 0 auto;
37
+ border-radius: 100%;
38
  }
src/block/feature-grid/index.js CHANGED
@@ -7,6 +7,7 @@ import './editor.scss';
7
  import classnames from 'classnames'
8
  import { FeatureGridIcon } from '../../icons'
9
  import { range } from '../../util'
 
10
 
11
  import {
12
  registerBlockType,
@@ -77,19 +78,14 @@ export const edit = ( props ) => {
77
  <div key={ i }>
78
  <div className={ `ugb-feature-grid-item` }>
79
  <div>
80
- <MediaUpload
81
- onSelect={ ( media ) => setAttributes( { [ `imageUrl${i}` ]: media.url, [ `imageID${i}` ]: media.id } ) }
82
- allowedTypes={ [ 'image' ] }
83
- value={ imageID }
84
- render={ function( obj ) {
85
- if ( imageID ) {
86
- return <img src={ imageUrl } onClick={ obj.open } style={ { width: `${imageSize}%` } }/>
87
- }
88
- return <Button
89
- className='button button-large'
90
- onClick={ obj.open } >
91
- { __( 'Upload Image' ) }
92
- </Button>
93
  } }
94
  />
95
  </div>
7
  import classnames from 'classnames'
8
  import { FeatureGridIcon } from '../../icons'
9
  import { range } from '../../util'
10
+ import ImageUploadPlaceholder from '../../components/image-upload-placeholder'
11
 
12
  import {
13
  registerBlockType,
78
  <div key={ i }>
79
  <div className={ `ugb-feature-grid-item` }>
80
  <div>
81
+ <ImageUploadPlaceholder
82
+ imageID={ imageID }
83
+ imageURL={ imageUrl }
84
+ onRemove={ () => { setAttributes( { [ `imageUrl${i}` ]: '', [ `imageID${i}` ]: '' } ) } }
85
+ onChange={ ( { url, id } ) => { setAttributes( { [ `imageUrl${i}` ]: url, [ `imageID${i}` ]: id } ) } }
86
+ render={ <img src={ imageUrl } style={ { width: `${imageSize}%` } }/> }
87
+ style={ {
88
+ width: `${imageSize}%`,
 
 
 
 
 
89
  } }
90
  />
91
  </div>
src/block/feature/editor.scss CHANGED
@@ -30,4 +30,8 @@
30
  .ugb-button[data-is-placeholder-visible="true"] {
31
  display: none;
32
  }
 
 
 
 
33
  }
30
  .ugb-button[data-is-placeholder-visible="true"] {
31
  display: none;
32
  }
33
+ }
34
+
35
+ .ugb-feature .ugb-feature-image-side .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder {
36
+ height: 250px;
37
  }
src/block/feature/index.js CHANGED
@@ -10,6 +10,7 @@ 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'
@@ -165,20 +166,12 @@ export const edit = ( props ) => {
165
  />
166
  </div>
167
  <div className='ugb-feature-image-side'>
168
- <MediaUpload
169
- onSelect={ ( media ) => setAttributes( { imageUrl: media.url, imageID: media.id } ) }
170
- allowedTypes={ [ 'image' ] }
171
- value={ imageID }
172
- render={ function( obj ) {
173
- if ( imageID ) {
174
- return <img src={ imageUrl } onClick={ obj.open }/>
175
- }
176
- return <Button
177
- className='button button-large'
178
- onClick={ obj.open } >
179
- { __( 'Upload Image' ) }
180
- </Button>
181
- } }
182
  />
183
  </div>
184
  </div>
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 ImageUploadPlaceholder from '../../components/image-upload-placeholder'
14
  import {
15
  deprecatedSchema_1_4, deprecatedSave_1_4,
16
  } from './deprecated'
166
  />
167
  </div>
168
  <div className='ugb-feature-image-side'>
169
+ <ImageUploadPlaceholder
170
+ imageID={ imageID }
171
+ imageURL={ imageUrl }
172
+ onRemove={ () => { setAttributes( { imageUrl: '', imageID: '' } ) } }
173
+ onChange={ ( { url, id } ) => { setAttributes( { imageUrl: url, imageID: id } ) } }
174
+ render={ <img src={ imageUrl } /> }
 
 
 
 
 
 
 
 
175
  />
176
  </div>
177
  </div>
src/block/image-box/deprecated.js CHANGED
@@ -1,8 +1,128 @@
 
1
  import {
2
  RichText,
3
  __,
4
  } from '../../wp-imports'
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  export const deprecatedSchema_1_1_2 = {
7
  title: {
8
  type: 'array',
1
+ import classnames from 'classnames'
2
  import {
3
  RichText,
4
  __,
5
  } from '../../wp-imports'
6
 
7
+ export const deprecatedSave_1_5 = ( props ) => {
8
+
9
+ const { className } = props
10
+ const {
11
+ url,
12
+ href,
13
+ title,
14
+ titleColor,
15
+ subtitle,
16
+ subtitleColor,
17
+ overlayColor,
18
+ id,
19
+ height,
20
+ width,
21
+ verticalAlign,
22
+ horizontalAlign,
23
+ full
24
+ } = props.attributes
25
+
26
+ const mainClasses = classnames( [
27
+ className,
28
+ 'ugb-image-box',
29
+ ], {
30
+ 'has-image': url,
31
+ 'full-width': full,
32
+ 'has-no-content': ! title && ! subtitle,
33
+ 'has-content': title || subtitle,
34
+ } )
35
+
36
+ return (
37
+ <div className={ mainClasses }
38
+ data-url={ url }
39
+ style={ {
40
+ width: width + 'px',
41
+ height: height + 'px',
42
+ backgroundImage: `url(${url})`,
43
+ alignItems: horizontalAlign,
44
+ justifyContent: verticalAlign
45
+ } }
46
+ >
47
+ <a href={ href } style={ { backgroundColor: overlayColor } } />
48
+ { ! RichText.isEmpty( title ) && (
49
+ <RichText.Content
50
+ tagName='h4'
51
+ style={ { color: titleColor } }
52
+ value={ title }
53
+ />
54
+ ) }
55
+ { ! RichText.isEmpty( subtitle ) && (
56
+ <RichText.Content
57
+ tagName='p'
58
+ style={ { color: subtitleColor } }
59
+ value={ subtitle }
60
+ />
61
+ ) }
62
+ </div>
63
+ );
64
+ }
65
+
66
+ export const deprecatedSchema_1_5 = {
67
+ title: {
68
+ source: 'html',
69
+ selector: 'h4',
70
+ default: __( 'Title' )
71
+ },
72
+ subtitle: {
73
+ source: 'html',
74
+ selector: 'p',
75
+ default: __( 'Subtitle goes here' )
76
+ },
77
+ url: {
78
+ type: 'string',
79
+ source: 'attribute',
80
+ selector: '.ugb-image-box',
81
+ attribute: 'data-url',
82
+ },
83
+ href: {
84
+ type: 'string',
85
+ source: 'attribute',
86
+ selector: 'a',
87
+ attribute: 'href',
88
+ },
89
+ titleColor: {
90
+ type: 'string',
91
+ default: '#ffffff',
92
+ },
93
+ subtitleColor: {
94
+ type: 'string',
95
+ default: '#ffffff',
96
+ },
97
+ overlayColor: {
98
+ type: 'string',
99
+ default: '#42b078'
100
+ },
101
+ id: {
102
+ type: 'number',
103
+ },
104
+ width: {
105
+ type: 'number',
106
+ default: '400'
107
+ },
108
+ height: {
109
+ type: 'number',
110
+ default: '400'
111
+ },
112
+ verticalAlign: {
113
+ type: 'string',
114
+ default: 'center'
115
+ },
116
+ horizontalAlign: {
117
+ type: 'string',
118
+ default: 'center'
119
+ },
120
+ full: {
121
+ type: 'boolean',
122
+ default: false
123
+ }
124
+ }
125
+
126
  export const deprecatedSchema_1_1_2 = {
127
  title: {
128
  type: 'array',
src/block/image-box/editor.scss CHANGED
@@ -11,4 +11,66 @@
11
  h4, p {
12
  pointer-events: all !important;
13
  }
14
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  h4, p {
12
  pointer-events: all !important;
13
  }
14
+ // Visible placeholders do not work since they grab focus.
15
+ [data-is-placeholder-visible="true"] + * {
16
+ pointer-events: none !important;
17
+ }
18
+ }
19
+
20
+ .ugb-image-box-wrapper.columns-1 {
21
+ > *:nth-child(2), > *:nth-child(3), > *:nth-child(4) {
22
+ display: none;
23
+ }
24
+ }
25
+ .ugb-image-box-wrapper.columns-2 {
26
+ > *:nth-child(3), > *:nth-child(4) {
27
+ display: none;
28
+ }
29
+ }
30
+ .ugb-image-box-wrapper.columns-3 {
31
+ > *:nth-child(4) {
32
+ display: none;
33
+ }
34
+ }
35
+
36
+ // No border-radius for full width 1 column.
37
+ [data-type="ugb/image-box"][data-align="full"] {
38
+ .ugb-image-box-wrapper.columns-1 {
39
+ .ugb-image-box {
40
+ border-radius: 0;
41
+ }
42
+ }
43
+ .ugb-image-box-wrapper:not(.columns-1) {
44
+ padding-left: $box-hori-padding;
45
+ padding-right: $box-hori-padding;
46
+ }
47
+ }
48
+
49
+ // Center single images.
50
+ [data-type="ugb/image-box"]:not([data-align="wide"]):not([data-align="full"]) {
51
+ .ugb-image-box-wrapper.columns-1 {
52
+ .ugb-image-box {
53
+ margin: 0 auto;
54
+ }
55
+ }
56
+ }
57
+
58
+ // Make the image placeholder take the whole space.
59
+ .ugb-image-box {
60
+ .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder {
61
+ height: 100%;
62
+ position: absolute;
63
+ top: 0;
64
+ left: 0;
65
+ }
66
+ }
67
+
68
+ // Only show placeholder text while selected or typing.
69
+ [data-type="ugb/image-box"]:not(.is-selected):not(.is-typing) {
70
+ [data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
71
+ display: none;
72
+ }
73
+ .ugb-button[data-is-placeholder-visible="true"] {
74
+ display: none;
75
+ }
76
+ }
src/block/image-box/index.js CHANGED
@@ -10,7 +10,11 @@ import './style.scss';
10
  import './editor.scss';
11
  import classnames from 'classnames'
12
  import { PictureIcon } from '../../icons'
 
 
 
13
  import {
 
14
  deprecatedSchema_1_1_2, deprecatedSave_1_1_2,
15
  } from './deprecated'
16
 
@@ -20,6 +24,7 @@ import {
20
  IconButton,
21
  PanelColorSettings,
22
  Toolbar,
 
23
  Button,
24
  RangeControl,
25
  SelectControl,
@@ -32,6 +37,7 @@ import {
32
  Fragment,
33
  Dashicon,
34
  URLInput,
 
35
  } from '../../wp-imports'
36
 
37
  export const edit = ( props ) => {
@@ -41,72 +47,54 @@ export const edit = ( props ) => {
41
  setAttributes,
42
  isSelected,
43
  editable,
44
- setState
 
45
  } = props
46
 
47
  const {
48
- url,
49
- href,
50
- title,
51
  titleColor,
52
- subtitle,
53
  subtitleColor,
54
  overlayColor,
55
- id,
56
  height,
57
  width,
58
  verticalAlign,
59
  horizontalAlign,
60
- full
61
- } = props.attributes
62
-
63
- const vertical = [
64
- { value: 'flex-start', label: __( 'Top' ) },
65
- { value: 'center', label: __( 'Center' ) },
66
- { value: 'flex-end', label: __( 'Bottom' ) }
67
- ];
68
-
69
- const horizontal = [
70
- { value: 'flex-start', label: __( 'Left' ) },
71
- { value: 'center', label: __( 'Center' ) },
72
- { value: 'flex-end', label: __( 'Right' ) },
73
- ];
74
 
75
  const mainClasses = classnames( [
76
  className,
77
- 'ugb-image-box',
78
- ], {
79
- 'has-image': url,
80
- 'full-width': full,
81
- } )
 
 
 
 
82
 
83
  return (
84
  <Fragment>
85
  <BlockControls>
86
- { url && (
87
- <Toolbar>
88
- <MediaUpload
89
- onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
90
- allowedTypes={ [ 'image' ] }
91
- value={ id }
92
- render={ ( { open } ) => (
93
- <IconButton
94
- className="components-toolbar__control"
95
- label={ __( 'Edit image' ) }
96
- icon="edit"
97
- onClick={ open }
98
- />
99
- ) }
100
- />
101
- </Toolbar>
102
- )}
103
  </BlockControls>
104
  <InspectorControls>
105
  <PanelBody>
106
- <ToggleControl
107
- label='Full-Width'
108
- checked={ !! full }
109
- onChange={ () => setAttributes( { full: ! full } ) }
 
 
110
  />
111
  <RangeControl
112
  label={ __( 'Height' ) }
@@ -115,34 +103,20 @@ export const edit = ( props ) => {
115
  max='700'
116
  onChange={ ( height ) => setAttributes( { height: height } ) }
117
  />
118
- <RangeControl
119
- label={ __( 'Width' ) }
120
- value={ width }
121
- min='400'
122
- max='999'
123
- onChange={ ( width ) => setAttributes( { width: width } ) }
124
- />
125
- <SelectControl
126
- label={ __( 'Vertical Alignment' ) }
127
- value={ verticalAlign }
128
- options={ vertical.map( ({ value, label }) => ( {
129
- value: value,
130
- label: label,
131
- } ) ) }
132
- onChange={ ( newSize ) => { setAttributes( { verticalAlign: newSize } ) } }
133
- />
134
- <SelectControl
135
- label={ __( 'Horizontal Alignment' ) }
136
- value={ horizontalAlign }
137
- options={ horizontal.map( ({ value, label }) => ( {
138
- value: value,
139
- label: label,
140
- } ) ) }
141
- onChange={ ( newSize ) => { setAttributes( { horizontalAlign: newSize } ) } }
142
- />
143
  </PanelBody>
144
  <PanelColorSettings
145
  title={ __( 'Color Settings' ) }
 
146
  colorSettings={ [
147
  {
148
  value: overlayColor,
@@ -163,156 +137,148 @@ export const edit = ( props ) => {
163
  >
164
  </PanelColorSettings>
165
  </InspectorControls>
166
- <div className={ mainClasses }
167
- data-url={ url }
168
- style={ {
169
- width: width + 'px',
170
- height: height + 'px',
171
- backgroundImage: `url(${url})`,
172
- alignItems: horizontalAlign,
173
- justifyContent: verticalAlign
174
- } }
175
- >
176
- <MediaUpload
177
- onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
178
- allowedTypes={ [ 'image' ] }
179
- value={id}
180
- render={ function( obj ) {
181
- return [
182
- ! url && (
183
- <Button
184
- className={ id ? '' : 'button button-large' }
185
- onClick={ obj.open }
186
- >
187
- {__('Upload Image')}
188
- </Button>
189
- )
190
- ]
191
- } }
192
- />
193
- <a href={ href } style={ { backgroundColor: overlayColor } } />
194
- <RichText
195
- tagName="h4"
196
- placeholder={ title.default }
197
- value={ title }
198
- onChange={ ( value ) => setAttributes( { title: value } ) }
199
- style={ {
200
- color: titleColor
201
- } }
202
- />
203
- <RichText
204
- tagName="p"
205
- placeholder={ subtitle.default }
206
- value={ subtitle }
207
- onChange={ ( value ) => setAttributes( { subtitle: value } ) }
208
- style={ {
209
- color: subtitleColor
210
- } }
211
- />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  </div>
213
- { isSelected && (
214
- <form
215
- onSubmit={ event => event.preventDefault() }
216
- className='blocks-button__inline-link'
217
- style={ { marginTop: 10 } }
218
- >
219
- <Dashicon icon='admin-links' />
220
- <URLInput
221
- value={ href }
222
- onChange={ href => { setAttributes( { href } ) } }
223
- />
224
- <IconButton
225
- icon='editor-break'
226
- label={ __( 'Apply' ) }
227
- type='submit'
228
- />
229
- </form>
230
- ) }
231
  </Fragment>
232
  )
233
  }
234
 
235
  export const save = ( props ) => {
236
 
237
- const { className } = props
238
  const {
239
- url,
240
- href,
241
- title,
242
  titleColor,
243
- subtitle,
244
  subtitleColor,
245
  overlayColor,
246
- id,
247
  height,
248
  width,
249
  verticalAlign,
250
  horizontalAlign,
251
- full
 
252
  } = props.attributes
253
 
254
  const mainClasses = classnames( [
255
  className,
256
- 'ugb-image-box',
257
- ], {
258
- 'has-image': url,
259
- 'full-width': full,
260
- 'has-no-content': ! title && ! subtitle,
261
- 'has-content': title || subtitle,
262
- } )
 
 
263
 
264
  return (
265
- <div className={ mainClasses }
266
- data-url={ url }
267
- style={ {
268
- width: width + 'px',
269
- height: height + 'px',
270
- backgroundImage: `url(${url})`,
271
- alignItems: horizontalAlign,
272
- justifyContent: verticalAlign
273
- } }
274
- >
275
- <a href={ href } style={ { backgroundColor: overlayColor } } />
276
- { ! RichText.isEmpty( title ) && (
277
- <RichText.Content
278
- tagName='h4'
279
- style={ { color: titleColor } }
280
- value={ title }
281
- />
282
- ) }
283
- { ! RichText.isEmpty( subtitle ) && (
284
- <RichText.Content
285
- tagName='p'
286
- style={ { color: subtitleColor } }
287
- value={ subtitle }
288
- />
289
- ) }
 
 
 
 
 
 
 
 
 
290
  </div>
291
  );
292
  }
293
 
294
  export const schema = {
295
- title: {
296
- source: 'html',
297
- selector: 'h4',
298
- default: __( 'Title' )
299
- },
300
- subtitle: {
301
- source: 'html',
302
- selector: 'p',
303
- default: __( 'Subtitle goes here' )
304
- },
305
- url: {
306
- type: 'string',
307
- source: 'attribute',
308
- selector: '.ugb-image-box',
309
- attribute: 'data-url',
310
- },
311
- href: {
312
- type: 'string',
313
- source: 'attribute',
314
- selector: 'a',
315
- attribute: 'href',
316
  },
317
  titleColor: {
318
  type: 'string',
@@ -324,33 +290,81 @@ export const schema = {
324
  },
325
  overlayColor: {
326
  type: 'string',
327
- default: '#42b078'
328
- },
329
- id: {
330
- type: 'number',
331
  },
332
  width: {
333
  type: 'number',
334
- default: '400'
335
  },
336
  height: {
337
  type: 'number',
338
- default: '400'
339
  },
340
  verticalAlign: {
341
  type: 'string',
342
- default: 'center'
343
  },
344
  horizontalAlign: {
345
  type: 'string',
346
- default: 'center'
347
  },
 
 
348
  full: {
349
  type: 'boolean',
350
- default: false
351
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
352
  }
353
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
354
 
355
  /**
356
  * Register: Gutenberg Block.
@@ -365,26 +379,48 @@ export const schema = {
365
  * registered; otherwise `undefined`.
366
  */
367
  registerBlockType( 'ugb/image-box', {
368
- // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
369
- title: __( 'Image Box' ), // Block title.
370
- icon: PictureIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
371
- category: 'stackable-ultimate-gutenberg-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
372
  keywords: [
373
  __( 'Image Box' ),
374
  __( 'Stackable' ),
375
  ],
 
 
 
 
376
  attributes: schema,
377
 
378
  deprecated: [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
379
  {
380
  attributes: deprecatedSchema_1_1_2,
381
  save: deprecatedSave_1_1_2,
382
  },
383
  ],
384
 
385
- // The "edit" property must be a valid function.
386
- edit: edit,
387
-
388
- // The "save" property must be specified and must be a valid function.
389
- save: save,
390
  } );
10
  import './editor.scss';
11
  import classnames from 'classnames'
12
  import { PictureIcon } from '../../icons'
13
+ import VerticalAlignmentToolbar from '../../components/vertical-alignment-toolbar'
14
+ import ImageUploadPlaceholder from '../../components/image-upload-placeholder'
15
+ import { range } from '../../util'
16
  import {
17
+ deprecatedSchema_1_5, deprecatedSave_1_5,
18
  deprecatedSchema_1_1_2, deprecatedSave_1_1_2,
19
  } from './deprecated'
20
 
24
  IconButton,
25
  PanelColorSettings,
26
  Toolbar,
27
+ AlignmentToolbar,
28
  Button,
29
  RangeControl,
30
  SelectControl,
37
  Fragment,
38
  Dashicon,
39
  URLInput,
40
+ omit,
41
  } from '../../wp-imports'
42
 
43
  export const edit = ( props ) => {
47
  setAttributes,
48
  isSelected,
49
  editable,
50
+ setState,
51
+ attributes,
52
  } = props
53
 
54
  const {
 
 
 
55
  titleColor,
 
56
  subtitleColor,
57
  overlayColor,
 
58
  height,
59
  width,
60
  verticalAlign,
61
  horizontalAlign,
62
+ align,
63
+ columns,
64
+ } = attributes
 
 
 
 
 
 
 
 
 
 
 
65
 
66
  const mainClasses = classnames( [
67
  className,
68
+ 'ugb-image-box-wrapper',
69
+ 'ugb-image-box-v2',
70
+ `columns-${columns}`,
71
+ ] )
72
+
73
+ const mainStyles = {
74
+ textAlign: horizontalAlign ? horizontalAlign : undefined,
75
+ '--overlay-color': overlayColor,
76
+ }
77
 
78
  return (
79
  <Fragment>
80
  <BlockControls>
81
+ <AlignmentToolbar
82
+ value={ horizontalAlign }
83
+ onChange={ horizontalAlign => setAttributes( { horizontalAlign } ) }
84
+ />
85
+ <VerticalAlignmentToolbar
86
+ value={ verticalAlign }
87
+ onChange={ verticalAlign => setAttributes( { verticalAlign } ) }
88
+ />
 
 
 
 
 
 
 
 
 
89
  </BlockControls>
90
  <InspectorControls>
91
  <PanelBody>
92
+ <RangeControl
93
+ label={ __( 'Columns' ) }
94
+ value={ columns }
95
+ onChange={ columns => setAttributes( { columns } ) }
96
+ min={ 1 }
97
+ max={ 4 }
98
  />
99
  <RangeControl
100
  label={ __( 'Height' ) }
103
  max='700'
104
  onChange={ ( height ) => setAttributes( { height: height } ) }
105
  />
106
+ { ( align !== 'wide' && align !== 'full' && columns === 1 ) && (
107
+ <RangeControl
108
+ label={ __( 'Width' ) }
109
+ value={ width }
110
+ min='400'
111
+ max='999'
112
+ help={ __( 'Only available for single column & if centered' ) }
113
+ onChange={ ( width ) => setAttributes( { width: width } ) }
114
+ />
115
+ ) }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  </PanelBody>
117
  <PanelColorSettings
118
  title={ __( 'Color Settings' ) }
119
+ initialOpen={ true }
120
  colorSettings={ [
121
  {
122
  value: overlayColor,
137
  >
138
  </PanelColorSettings>
139
  </InspectorControls>
140
+ <div className={ mainClasses } style={ mainStyles }>
141
+ { [1, 2, 3, 4].map( i => {
142
+ const imageURL = attributes[ `imageURL${i}` ]
143
+ const imageID = attributes[ `imageID${i}` ]
144
+ const title = attributes[ `title${i}` ]
145
+ const description = attributes[ `description${i}` ]
146
+ const link = attributes[ `link${i}` ]
147
+ const boxStyles = {
148
+ backgroundImage: imageURL ? `url(${imageURL})` : undefined,
149
+ maxWidth: align !== 'wide' && align !== 'full' && columns === 1 ? width : undefined,
150
+ height: height,
151
+ textAlign: horizontalAlign,
152
+ justifyContent: verticalAlign,
153
+ }
154
+ return (
155
+ <div className='ugb-image-box-editor-wrapper'>
156
+ <div className='ugb-image-box' style={ boxStyles }>
157
+ <ImageUploadPlaceholder
158
+ imageID={ imageID }
159
+ imageURL={ imageURL }
160
+ onRemove={ () => { setAttributes( { [ `imageURL${i}` ]: '', [ `imageID${i}` ]: '' } ) } }
161
+ onChange={ ( { url, id } ) => { setAttributes( { [ `imageURL${i}` ]: url, [ `imageID${i}` ]: id } ) } }
162
+ render={ null }
163
+ />
164
+ { imageURL && (
165
+ <a href={ link }/>
166
+ ) }
167
+ { imageURL && (
168
+ <RichText
169
+ tagName='h4'
170
+ placeholder={ __( 'Image Title' ) }
171
+ value={ title }
172
+ onChange={ title => setAttributes( { [ `title${i}` ]: title } ) }
173
+ style={ {
174
+ color: titleColor
175
+ } }
176
+ keepPlaceholderOnFocus
177
+ />
178
+ ) }
179
+ { imageURL && (
180
+ <RichText
181
+ tagName='p'
182
+ placeholder={ __( 'Image description' ) }
183
+ value={ description }
184
+ onChange={ description => setAttributes( { [ `description${i}` ]: description } ) }
185
+ style={ {
186
+ color: subtitleColor
187
+ } }
188
+ keepPlaceholderOnFocus
189
+ />
190
+ ) }
191
+ </div>
192
+ { isSelected && (
193
+ <form
194
+ className='blocks-button__inline-link'
195
+ onSubmit={ event => event.preventDefault() }>
196
+ <Dashicon icon='admin-links' />
197
+ <URLInput
198
+ value={ link }
199
+ onChange={ link => { setAttributes( { [ `link${i}` ]: link } ) } }
200
+ />
201
+ <IconButton icon='editor-break' label={ __( 'Apply' ) } type='submit' />
202
+ </form>
203
+ ) }
204
+ </div>
205
+ )
206
+ } ) }
207
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
  </Fragment>
209
  )
210
  }
211
 
212
  export const save = ( props ) => {
213
 
214
+ const { className, attributes } = props
215
  const {
 
 
 
216
  titleColor,
 
217
  subtitleColor,
218
  overlayColor,
 
219
  height,
220
  width,
221
  verticalAlign,
222
  horizontalAlign,
223
+ align,
224
+ columns,
225
  } = props.attributes
226
 
227
  const mainClasses = classnames( [
228
  className,
229
+ 'ugb-image-box-wrapper',
230
+ 'ugb-image-box-v2',
231
+ `columns-${columns}`,
232
+ ] )
233
+
234
+ const mainStyles = {
235
+ textAlign: horizontalAlign ? horizontalAlign : undefined,
236
+ '--overlay-color': overlayColor,
237
+ }
238
 
239
  return (
240
+ <div className={ mainClasses } style={ mainStyles }>
241
+ { range( 1, columns + 1 ).map( i => {
242
+ const imageURL = attributes[ `imageURL${i}` ]
243
+ const imageID = attributes[ `imageID${i}` ]
244
+ const title = attributes[ `title${i}` ]
245
+ const description = attributes[ `description${i}` ]
246
+ const link = attributes[ `link${i}` ]
247
+ const boxStyles = {
248
+ backgroundImage: imageURL ? `url(${imageURL})` : undefined,
249
+ maxWidth: align !== 'wide' && align !== 'full' && columns === 1 ? width : undefined,
250
+ height: height,
251
+ textAlign: horizontalAlign,
252
+ justifyContent: verticalAlign,
253
+ }
254
+ return (
255
+ <div className='ugb-image-box' style={ boxStyles }>
256
+ <a href={ link } />
257
+ { ! RichText.isEmpty( title ) && (
258
+ <RichText.Content
259
+ tagName='h4'
260
+ style={ { color: titleColor } }
261
+ value={ title }
262
+ />
263
+ ) }
264
+ { ! RichText.isEmpty( description ) && (
265
+ <RichText.Content
266
+ tagName='p'
267
+ style={ { color: subtitleColor } }
268
+ value={ description }
269
+ />
270
+ ) }
271
+ </div>
272
+ )
273
+ } ) }
274
  </div>
275
  );
276
  }
277
 
278
  export const schema = {
279
+ columns: {
280
+ type: 'number',
281
+ default: 3,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
  },
283
  titleColor: {
284
  type: 'string',
290
  },
291
  overlayColor: {
292
  type: 'string',
 
 
 
 
293
  },
294
  width: {
295
  type: 'number',
296
+ default: 400,
297
  },
298
  height: {
299
  type: 'number',
300
+ default: 400,
301
  },
302
  verticalAlign: {
303
  type: 'string',
304
+ default: 'center',
305
  },
306
  horizontalAlign: {
307
  type: 'string',
308
+ default: 'center',
309
  },
310
+
311
+ // Keep the old attributes. Gutenberg issue https://github.com/WordPress/gutenberg/issues/10406
312
  full: {
313
  type: 'boolean',
314
+ default: false,
315
+ },
316
+ title: {
317
+ source: 'html',
318
+ selector: 'h4',
319
+ default: __( 'Title' ),
320
+ },
321
+ subtitle: {
322
+ source: 'html',
323
+ selector: 'p',
324
+ default: __( 'Subtitle goes here' ),
325
+ },
326
+ id: {
327
+ type: 'number',
328
+ },
329
+ url: {
330
+ type: 'string',
331
+ source: 'attribute',
332
+ selector: '.ugb-image-box',
333
+ attribute: 'data-url',
334
+ },
335
+ href: {
336
+ type: 'string',
337
+ source: 'attribute',
338
+ selector: 'a',
339
+ attribute: 'href',
340
+ },
341
  }
342
 
343
+ // Wrap in curly or else statement will merge with the previous one and will error out.
344
+ { [1, 2, 3, 4].forEach( i => {
345
+ schema[ `title${i}` ] = {
346
+ source: 'html',
347
+ selector: `.ugb-image-box-wrapper > *:nth-child(${i}) h4`,
348
+ default: __( 'Title' ),
349
+ }
350
+ schema[ `description${i}` ] = {
351
+ source: 'html',
352
+ selector: `.ugb-image-box-wrapper > *:nth-child(${i}) p`,
353
+ default: __( 'Image description' ),
354
+ }
355
+ schema[ `imageURL${i}` ] = {
356
+ type: 'string',
357
+ }
358
+ schema[ `imageID${i}` ] = {
359
+ type: 'number',
360
+ }
361
+ schema[ `link${i}` ] = {
362
+ type: 'string',
363
+ source: 'attribute',
364
+ selector: `.ugb-image-box-wrapper > *:nth-child(${i}) a`,
365
+ attribute: 'href',
366
+ }
367
+ } ) }
368
 
369
  /**
370
  * Register: Gutenberg Block.
379
  * registered; otherwise `undefined`.
380
  */
381
  registerBlockType( 'ugb/image-box', {
382
+ title: __( 'Image Box' ),
383
+ icon: PictureIcon,
384
+ category: 'stackable-ultimate-gutenberg-blocks',
 
385
  keywords: [
386
  __( 'Image Box' ),
387
  __( 'Stackable' ),
388
  ],
389
+ supports: {
390
+ align: true,
391
+ align: [ 'center', 'wide', 'full' ],
392
+ },
393
  attributes: schema,
394
 
395
  deprecated: [
396
+ {
397
+ attributes: deprecatedSchema_1_5,
398
+ save: deprecatedSave_1_5,
399
+ migrate: attributes => {
400
+
401
+ return omit( {
402
+ ...attributes,
403
+ columns: 1,
404
+ horizontalAlign: attributes.horizontalAlign === 'flex-end' ? 'right'
405
+ : attributes.horizontalAlign === 'flex-start' ? 'left'
406
+ : attributes.horizontalAlign,
407
+ align: attributes.full ? 'wide' : '',
408
+ title1: attributes.title,
409
+ description1: attributes.subtitle,
410
+ link1: attributes.href,
411
+ imageURL1: attributes.url,
412
+ imageID1: attributes.id,
413
+ }, [
414
+ 'full', 'title', 'subtitle', 'href', 'url', 'id',
415
+ ] )
416
+ },
417
+ },
418
  {
419
  attributes: deprecatedSchema_1_1_2,
420
  save: deprecatedSave_1_1_2,
421
  },
422
  ],
423
 
424
+ edit,
425
+ save,
 
 
 
426
  } );
src/block/image-box/style.scss CHANGED
@@ -3,19 +3,82 @@
3
  *
4
  * CSS for both Frontend+Backend.
5
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  .ugb-image-box {
7
  background-size: cover;
8
  background-position: center;
9
- padding: 2rem;
10
  display: flex;
11
  flex-direction: column;
12
  justify-content: center;
13
- align-items: center;
14
  position: relative;
15
  overflow: hidden;
16
  background-color: #999;
17
  @include baseBlock();
18
  @include box();
 
19
  margin-left: auto;
20
  margin-right: auto;
21
  max-width: 100%;
@@ -37,14 +100,12 @@
37
  bottom: 0;
38
  opacity: 0;
39
  margin: 0 !important;
 
40
  }
41
  h4, p {
42
  z-index: 3;
43
  pointer-events: none;
44
  }
45
- h4 {
46
- margin: 0 0 0.5em !important;
47
- }
48
  p {
49
  margin: 0 !important;
50
  opacity: 0;
@@ -71,12 +132,13 @@
71
  // opacity: .7;
72
  // }
73
  }
 
 
 
 
74
  .ugb-image-box.full-width {
75
  width: 100% !important;
76
  }
77
- /**
78
- * Frontend Styles.
79
- */
80
  .wp-block-ugb-image-box.has-no-content {
81
  display: none;
82
  }
3
  *
4
  * CSS for both Frontend+Backend.
5
  */
6
+ .ugb-image-box-wrapper {
7
+ @include baseBlock();
8
+ display: grid;
9
+ grid-gap: $box-hori-padding;
10
+ &.columns-4 {
11
+ grid-template-columns: 1fr 1fr 1fr 1fr;
12
+ }
13
+ &.columns-3 {
14
+ grid-template-columns: 1fr 1fr 1fr;
15
+ }
16
+ &.columns-2 {
17
+ grid-template-columns: 1fr 1fr;
18
+ }
19
+ &.columns-1:not(.alignwide):not(.alignfull) {
20
+ grid-template-columns: 1fr;
21
+ .ugb-image-box {
22
+ margin: 0 auto;
23
+ }
24
+ }
25
+ .ugb-image-box {
26
+ margin: 0;
27
+ > a {
28
+ background-color: var(--overlay-color, #000);
29
+ }
30
+ }
31
+
32
+ &.ugb-image-box-v2 {
33
+ .ugb-image-box {
34
+ width: 100%;
35
+ margin-bottom: 0 !important; // Container class forces bottom margin.
36
+ }
37
+ }
38
+
39
+ // Add side paddings to full-width > 1 columns.
40
+ &.alignfull:not(.columns-1) {
41
+ padding-left: $box-hori-padding;
42
+ padding-right: $box-hori-padding;
43
+ }
44
+
45
+ // No border-radius for full width 1 column.
46
+ &.alignfull.columns-1 {
47
+ .ugb-image-box {
48
+ border-radius: 0;
49
+ }
50
+ }
51
+
52
+ // Collapse
53
+ @media screen and (max-width: $break-large) {
54
+ &.columns-4 {
55
+ grid-template-columns: 1fr 1fr;
56
+ }
57
+ }
58
+ @media screen and (max-width: $break-medium) {
59
+ &.columns-3 {
60
+ grid-template-columns: 1fr;
61
+ }
62
+ }
63
+ @media screen and (max-width: $break-mobile) {
64
+ &.columns-4, &.columns-2 {
65
+ grid-template-columns: 1fr;
66
+ }
67
+ }
68
+ }
69
  .ugb-image-box {
70
  background-size: cover;
71
  background-position: center;
 
72
  display: flex;
73
  flex-direction: column;
74
  justify-content: center;
75
+ align-items: stretch;
76
  position: relative;
77
  overflow: hidden;
78
  background-color: #999;
79
  @include baseBlock();
80
  @include box();
81
+ padding: $box-hori-padding;
82
  margin-left: auto;
83
  margin-right: auto;
84
  max-width: 100%;
100
  bottom: 0;
101
  opacity: 0;
102
  margin: 0 !important;
103
+ background-color: #000;
104
  }
105
  h4, p {
106
  z-index: 3;
107
  pointer-events: none;
108
  }
 
 
 
109
  p {
110
  margin: 0 !important;
111
  opacity: 0;
132
  // opacity: .7;
133
  // }
134
  }
135
+
136
+ /**
137
+ * Deprecated styles < 1.5
138
+ */
139
  .ugb-image-box.full-width {
140
  width: 100% !important;
141
  }
 
 
 
142
  .wp-block-ugb-image-box.has-no-content {
143
  display: none;
144
  }
src/block/team-member/deprecated.js ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import classnames from 'classnames'
2
+ import {
3
+ __,
4
+ RichText,
5
+ } from '../../wp-imports'
6
+
7
+ export const deprecatedSchema_1_5 = {
8
+ href: {
9
+ type: 'url',
10
+ },
11
+ hrefTwo: {
12
+ type: 'url',
13
+ },
14
+ hrefThree: {
15
+ type: 'url',
16
+ },
17
+ mediaID: {
18
+ type: 'number',
19
+ },
20
+ mediaIDTwo: {
21
+ type: 'number',
22
+ },
23
+ mediaIDThree: {
24
+ type: 'number',
25
+ },
26
+ mediaURL: {
27
+ type: 'string',
28
+ source: 'attribute',
29
+ selector: '.ugb-team-member-column-one .team-member-image',
30
+ attribute: 'data-src',
31
+ },
32
+ mediaURLTwo: {
33
+ type: 'string',
34
+ source: 'attribute',
35
+ selector: '.ugb-team-member-column-two .team-member-image',
36
+ attribute: 'data-src',
37
+ },
38
+ mediaURLThree: {
39
+ type: 'string',
40
+ source: 'attribute',
41
+ selector: '.ugb-team-member-column-three .team-member-image',
42
+ attribute: 'data-src',
43
+ },
44
+ name: {
45
+ source: 'html',
46
+ selector: '.ugb-team-member-column-one h4',
47
+ default: __( 'Ben Adams' )
48
+ },
49
+ nameTwo: {
50
+ source: 'html',
51
+ selector: '.ugb-team-member-column-two h4',
52
+ default: __( 'Alex Johnson' )
53
+ },
54
+ nameThree: {
55
+ source: 'html',
56
+ selector: '.ugb-team-member-column-three h4',
57
+ default: __( 'Sammy Simpson' )
58
+ },
59
+ position: {
60
+ source: 'html',
61
+ selector: '.ugb-team-member-column-one .ugb-team-member-position',
62
+ default: __( 'Founder' )
63
+ },
64
+ positionTwo: {
65
+ source: 'html',
66
+ selector: '.ugb-team-member-column-two .ugb-team-member-position',
67
+ default: __( 'Editor' )
68
+ },
69
+ positionThree: {
70
+ source: 'html',
71
+ selector: '.ugb-team-member-column-three .ugb-team-member-position',
72
+ default: __( 'Programmer' )
73
+ },
74
+ des: {
75
+ source: 'html',
76
+ selector: '.ugb-team-member-des',
77
+ default: __( 'Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.' )
78
+ },
79
+ desTwo: {
80
+ source: 'html',
81
+ selector: '.ugb-team-member-des-two',
82
+ default: __( 'Alex handles all written content. She enjoys painting and playing softball on the weekends.' )
83
+ },
84
+ desThree: {
85
+ source: 'html',
86
+ selector: '.ugb-team-member-des-three',
87
+ default: __( 'Sammy is our programmer. You\'ll usually find her nose in a book. She has a cat named Skitty.' )
88
+ },
89
+ nameColor: {
90
+ type: 'string',
91
+ },
92
+ posColor: {
93
+ type: 'string',
94
+ },
95
+ desColor: {
96
+ type: 'string',
97
+ },
98
+ iconColor: {
99
+ type: 'string',
100
+ },
101
+ columns: {
102
+ type: 'number',
103
+ default: 1
104
+ },
105
+ shapes: {
106
+ type: 'string',
107
+ default: 'square'
108
+ }
109
+ }
110
+
111
+ export const deprecatedSave_1_5 = ( props ) => {
112
+
113
+ const { className } = props
114
+ const {
115
+ name,
116
+ nameTwo,
117
+ nameThree,
118
+ shapes,
119
+ des,
120
+ desTwo,
121
+ desThree,
122
+ position,
123
+ positionTwo,
124
+ positionThree,
125
+ mediaURL,
126
+ mediaURLTwo,
127
+ mediaURLThree,
128
+ mediaID,
129
+ mediaIDTwo,
130
+ mediaIDThree,
131
+ nameColor,
132
+ posColor,
133
+ desColor,
134
+ iconColor,
135
+ columns
136
+ } = props.attributes;
137
+
138
+ const mainClasses = classnames( [
139
+ className,
140
+ 'ugb-team-member',
141
+ `column-${columns}`,
142
+ `image-${shapes}`,
143
+ ] )
144
+
145
+ return (
146
+ <div className={ mainClasses }>
147
+ <div className={ 'ugb-team-member-column-one' }>
148
+ { mediaURL && <div className="team-member-image" style={{ backgroundImage: `url(${mediaURL})` }} data-src={mediaURL}></div> }
149
+ { ! RichText.isEmpty( name ) && (
150
+ <RichText.Content
151
+ tagName='h4'
152
+ style={ { color: nameColor } }
153
+ value={ name }
154
+ />
155
+ ) }
156
+ { ! RichText.isEmpty( position ) && (
157
+ <RichText.Content
158
+ tagName='p'
159
+ className='ugb-team-member-position'
160
+ style={ { color: posColor } }
161
+ value={ position }
162
+ />
163
+ ) }
164
+ { ! RichText.isEmpty( des ) && (
165
+ <RichText.Content
166
+ tagName='p'
167
+ className='ugb-team-member-des'
168
+ style={ { color: desColor } }
169
+ value={ des }
170
+ />
171
+ ) }
172
+ </div>
173
+ { columns > 1 && (
174
+ <div className={ 'ugb-team-member-column-two' }>
175
+ { mediaURLTwo && <div className="team-member-image" style={{ backgroundImage: `url(${mediaURLTwo})` }} data-src={mediaURLTwo}></div> }
176
+ { ! RichText.isEmpty( nameTwo ) && (
177
+ <RichText.Content
178
+ tagName='h4'
179
+ style={ { color: nameColor } }
180
+ value={ nameTwo }
181
+ />
182
+ ) }
183
+ { ! RichText.isEmpty( positionTwo ) && (
184
+ <RichText.Content
185
+ tagName='p'
186
+ className='ugb-team-member-position'
187
+ style={ { color: posColor } }
188
+ value={ positionTwo }
189
+ />
190
+ ) }
191
+ { ! RichText.isEmpty( desTwo ) && (
192
+ <RichText.Content
193
+ tagName='p'
194
+ className='ugb-team-member-des-two'
195
+ style={ { color: desColor } }
196
+ value={ desTwo }
197
+ />
198
+ ) }
199
+ </div>
200
+ ) }
201
+ { columns > 2 && (
202
+ <div className={ 'ugb-team-member-column-three' }>
203
+ { mediaURLThree && <div className="team-member-image" style={{ backgroundImage: `url(${mediaURLThree})` }} data-src={mediaURLThree}></div> }
204
+ { ! RichText.isEmpty( nameThree ) && (
205
+ <RichText.Content
206
+ tagName='h4'
207
+ style={ { color: nameColor } }
208
+ value={ nameThree }
209
+ />
210
+ ) }
211
+ { ! RichText.isEmpty( positionThree ) && (
212
+ <RichText.Content
213
+ tagName='p'
214
+ className='ugb-team-member-position'
215
+ style={ { color: posColor } }
216
+ value={ positionThree }
217
+ />
218
+ ) }
219
+ { ! RichText.isEmpty( desThree ) && (
220
+ <RichText.Content
221
+ tagName='p'
222
+ className='ugb-team-member-des-three'
223
+ style={ { color: desColor } }
224
+ value={ desThree }
225
+ />
226
+ ) }
227
+ </div>
228
+ ) }
229
+ </div>
230
+ );
231
+ }
src/block/team-member/editor.scss CHANGED
@@ -4,3 +4,13 @@
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
+ .ugb-team-member.columns-1 {
8
+ > *:nth-child(2), > *:nth-child(3) {
9
+ display: none;
10
+ }
11
+ }
12
+ .ugb-team-member.columns-2 {
13
+ > *:nth-child(3) {
14
+ display: none;
15
+ }
16
+ }
src/block/team-member/index.js CHANGED
@@ -10,6 +10,11 @@ import './style.scss';
10
  import './editor.scss';
11
  import classnames from 'classnames'
12
  import { TeamMemberIcon } from '../../icons'
 
 
 
 
 
13
 
14
  import {
15
  registerBlockType,
@@ -20,10 +25,9 @@ import {
20
  RangeControl,
21
  InspectorControls,
22
  RichText,
23
- MediaUpload,
24
- BlockControls,
25
  PanelBody,
26
  Fragment,
 
27
  } from '../../wp-imports'
28
 
29
  export const edit = ( props ) => {
@@ -33,34 +37,16 @@ export const edit = ( props ) => {
33
  editable,
34
  setState,
35
  className,
36
- setAttributes
 
37
  } = props;
38
 
39
  const {
40
- name,
41
- nameTwo,
42
- nameThree,
43
- des,
44
- desTwo,
45
- desThree,
46
- position,
47
- positionTwo,
48
- positionThree,
49
- href,
50
- hrefTwo,
51
- hrefThree,
52
- mediaID,
53
- mediaIDTwo,
54
- mediaIDThree,
55
- mediaURL,
56
- mediaURLTwo,
57
- mediaURLThree,
58
  columns,
59
  nameColor,
60
  posColor,
61
  desColor,
62
- iconColor,
63
- shapes
64
  } = props.attributes;
65
 
66
  const shape = [
@@ -71,7 +57,7 @@ export const edit = ( props ) => {
71
  const mainClasses = classnames( [
72
  className,
73
  'ugb-team-member',
74
- `column-${columns}`,
75
  `image-${shapes}`,
76
  ] )
77
 
@@ -115,157 +101,62 @@ export const edit = ( props ) => {
115
  onChange: ( colorValue ) => setAttributes( { desColor: colorValue } ),
116
  label: __( 'Description Color' ),
117
  },
118
- {
119
- value: iconColor,
120
- onChange: ( colorValue ) => setAttributes( { iconColor: colorValue } ),
121
- label: __( 'Icon Color' ),
122
- },
123
  ] }
124
  >
125
  </PanelColorSettings>
126
  </InspectorControls>
127
  <div className={ mainClasses }>
128
- <div className={ 'ugb-team-member-column-one' }>
129
- <div>
130
- <MediaUpload
131
- onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
132
- allowedTypes={ [ 'image' ] }
133
- value={mediaID}
134
- render={ function( obj ) {
135
- return <Button
136
- className={ mediaID ? '' : 'button button-large' }
137
- onClick={ obj.open } >
138
- {
139
- mediaID ? <div className="team-member-image" style={{ backgroundImage: `url(${mediaURL})` }}></div> : __( 'Upload Image' )
140
- }
141
- </Button>
142
- } }
143
- />
144
- </div>
145
- <RichText
146
- tagName={ 'h4' }
147
- value={ name }
148
- onChange={ (text) => setAttributes( { name: text } ) }
149
- style={ {
150
- color: nameColor
151
- } }
152
- keepPlaceholderOnFocus
153
- />
154
- <RichText
155
- tagName={'p'}
156
- value={ position }
157
- className={ 'ugb-team-member-position' }
158
- onChange={ (text) => setAttributes( { position: text } ) }
159
- style={ {
160
- color: posColor
161
- } }
162
- keepPlaceholderOnFocus
163
- />
164
- <RichText
165
- tagName={'p'}
166
- value={ des }
167
- className={ 'ugb-team-member-des' }
168
- onChange={ (text) => setAttributes( { des: text } ) }
169
- style={ {
170
- color: desColor
171
- } }
172
- keepPlaceholderOnFocus
173
- />
174
- </div>
175
- <div className={ 'ugb-team-member-column-two' }>
176
- <div>
177
- <MediaUpload
178
- onSelect={ ( media ) => setAttributes( { mediaURLTwo: media.url, mediaIDTwo: media.id } ) }
179
- allowedTypes={ [ 'image' ] }
180
- value={ mediaIDTwo }
181
- render={ function( obj ) {
182
- return <Button
183
- className={ mediaIDTwo ? '' : 'button button-large' }
184
- onClick={ obj.open } >
185
- {
186
- mediaIDTwo ? <div className="team-member-image" style={{ backgroundImage: `url(${mediaURLTwo})` }}></div> : __( 'Upload Image' )
187
- }
188
- </Button>
189
- } }
190
- />
191
- </div>
192
- <RichText
193
- tagName={ 'h4' }
194
- value={ nameTwo }
195
- onChange={ (text) => setAttributes( { nameTwo: text } ) }
196
- style={ {
197
- color: nameColor
198
- } }
199
- keepPlaceholderOnFocus
200
- />
201
- <RichText
202
- tagName={'p'}
203
- value={ positionTwo }
204
- className={ 'ugb-team-member-position' }
205
- onChange={ (text) => setAttributes( { positionTwo: text } ) }
206
- style={ {
207
- color: posColor
208
- } }
209
- keepPlaceholderOnFocus
210
- />
211
- <RichText
212
- tagName={'p'}
213
- value={ desTwo }
214
- className={ 'ugb-team-member-des-two' }
215
- onChange={ (text) => setAttributes( { desTwo: text } ) }
216
- style={ {
217
- color: desColor
218
- } }
219
- keepPlaceholderOnFocus
220
- />
221
- </div>
222
- <div className={ 'ugb-team-member-column-three' }>
223
- <div>
224
- <MediaUpload
225
- onSelect={ ( media ) => setAttributes( { mediaURLThree: media.url, mediaIDThree: media.id } ) }
226
- allowedTypes={ [ 'image' ] }
227
- value={ mediaIDThree }
228
- render={ function( obj ) {
229
- return <Button
230
- className={ mediaIDThree ? '' : 'button button-large' }
231
- onClick={ obj.open } >
232
- {
233
- mediaIDThree ? <div className="team-member-image" style={{ backgroundImage: `url(${mediaURLThree})` }}></div> : __( 'Upload Image' )
234
- }
235
- </Button>
236
- } }
237
- />
238
- </div>
239
- <RichText
240
- tagName={ 'h4' }
241
- value={ nameThree }
242
- onChange={ (text) => setAttributes( { nameThree: text } ) }
243
- style={ {
244
- color: nameColor
245
- } }
246
- keepPlaceholderOnFocus
247
- />
248
- <RichText
249
- tagName={'p'}
250
- value={ positionThree }
251
- className={ 'ugb-team-member-position' }
252
- onChange={ (text) => setAttributes( { positionThree: text } ) }
253
- style={ {
254
- color: posColor
255
- } }
256
- keepPlaceholderOnFocus
257
- />
258
- <RichText
259
- tagName={'p'}
260
- value={ desThree }
261
- className={ 'ugb-team-member-des-three' }
262
- onChange={ (text) => setAttributes( { desThree: text } ) }
263
- style={ {
264
- color: desColor
265
- } }
266
- keepPlaceholderOnFocus
267
- />
268
- </div>
269
  </div>
270
  </Fragment>
271
  )
@@ -273,127 +164,171 @@ export const edit = ( props ) => {
273
 
274
  export const save = ( props ) => {
275
 
276
- const { className } = props
277
  const {
278
- name,
279
- nameTwo,
280
- nameThree,
281
  shapes,
282
- des,
283
- desTwo,
284
- desThree,
285
- position,
286
- positionTwo,
287
- positionThree,
288
- mediaURL,
289
- mediaURLTwo,
290
- mediaURLThree,
291
- mediaID,
292
- mediaIDTwo,
293
- mediaIDThree,
294
  nameColor,
295
  posColor,
296
  desColor,
297
- iconColor,
298
- columns
299
  } = props.attributes;
300
 
301
  const mainClasses = classnames( [
302
  className,
303
  'ugb-team-member',
304
- `column-${columns}`,
305
  `image-${shapes}`,
306
  ] )
307
 
308
  return (
309
  <div className={ mainClasses }>
310
- <div className={ 'ugb-team-member-column-one' }>
311
- { mediaURL && <div className="team-member-image" style={{ backgroundImage: `url(${mediaURL})` }} data-src={mediaURL}></div> }
312
- { ! RichText.isEmpty( name ) && (
313
- <RichText.Content
314
- tagName='h4'
315
- style={ { color: nameColor } }
316
- value={ name }
317
- />
318
- ) }
319
- { ! RichText.isEmpty( position ) && (
320
- <RichText.Content
321
- tagName='p'
322
- className='ugb-team-member-position'
323
- style={ { color: posColor } }
324
- value={ position }
325
- />
326
- ) }
327
- { ! RichText.isEmpty( des ) && (
328
- <RichText.Content
329
- tagName='p'
330
- className='ugb-team-member-des'
331
- style={ { color: desColor } }
332
- value={ des }
333
- />
334
- ) }
335
- </div>
336
- { columns > 1 && (
337
- <div className={ 'ugb-team-member-column-two' }>
338
- { mediaURLTwo && <div className="team-member-image" style={{ backgroundImage: `url(${mediaURLTwo})` }} data-src={mediaURLTwo}></div> }
339
- { ! RichText.isEmpty( nameTwo ) && (
340
- <RichText.Content
341
- tagName='h4'
342
- style={ { color: nameColor } }
343
- value={ nameTwo }
344
- />
345
- ) }
346
- { ! RichText.isEmpty( positionTwo ) && (
347
- <RichText.Content
348
- tagName='p'
349
- className='ugb-team-member-position'
350
- style={ { color: posColor } }
351
- value={ positionTwo }
352
- />
353
- ) }
354
- { ! RichText.isEmpty( desTwo ) && (
355
- <RichText.Content
356
- tagName='p'
357
- className='ugb-team-member-des-two'
358
- style={ { color: desColor } }
359
- value={ desTwo }
360
- />
361
- ) }
362
- </div>
363
- ) }
364
- { columns > 2 && (
365
- <div className={ 'ugb-team-member-column-three' }>
366
- { mediaURLThree && <div className="team-member-image" style={{ backgroundImage: `url(${mediaURLThree})` }} data-src={mediaURLThree}></div> }
367
- { ! RichText.isEmpty( nameThree ) && (
368
- <RichText.Content
369
- tagName='h4'
370
- style={ { color: nameColor } }
371
- value={ nameThree }
372
- />
373
- ) }
374
- { ! RichText.isEmpty( positionThree ) && (
375
- <RichText.Content
376
- tagName='p'
377
- className='ugb-team-member-position'
378
- style={ { color: posColor } }
379
- value={ positionThree }
380
- />
381
- ) }
382
- { ! RichText.isEmpty( desThree ) && (
383
- <RichText.Content
384
- tagName='p'
385
- className='ugb-team-member-des-three'
386
- style={ { color: desColor } }
387
- value={ desThree }
388
- />
389
- ) }
390
- </div>
391
- ) }
392
  </div>
393
  );
394
  }
395
 
396
  export const schema = {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
397
  href: {
398
  type: 'url',
399
  },
@@ -475,26 +410,9 @@ export const schema = {
475
  selector: '.ugb-team-member-des-three',
476
  default: __( 'Sammy is our programmer. You\'ll usually find her nose in a book. She has a cat named Skitty.' )
477
  },
478
- nameColor: {
479
- type: 'string',
480
- },
481
- posColor: {
482
- type: 'string',
483
- },
484
- desColor: {
485
- type: 'string',
486
- },
487
  iconColor: {
488
  type: 'string',
489
  },
490
- columns: {
491
- type: 'number',
492
- default: 1
493
- },
494
- shapes: {
495
- type: 'string',
496
- default: 'square'
497
- }
498
  }
499
 
500
  /**
@@ -510,16 +428,52 @@ export const schema = {
510
  * registered; otherwise `undefined`.
511
  */
512
  registerBlockType( 'ugb/team-member', {
513
- // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
514
- title: __( 'Team Member' ), // Block title.
515
- icon: TeamMemberIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
516
- category: 'stackable-ultimate-gutenberg-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
517
  keywords: [
518
  __( 'Team Member' ),
519
  __( 'Stackable' ),
520
  ],
521
  attributes: schema,
522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
523
  edit,
524
  save,
525
  } );
10
  import './editor.scss';
11
  import classnames from 'classnames'
12
  import { TeamMemberIcon } from '../../icons'
13
+ import { range } from '../../util'
14
+ import ImageUploadPlaceholder from '../../components/image-upload-placeholder'
15
+ import {
16
+ deprecatedSave_1_5, deprecatedSchema_1_5,
17
+ } from './deprecated'
18
 
19
  import {
20
  registerBlockType,
25
  RangeControl,
26
  InspectorControls,
27
  RichText,
 
 
28
  PanelBody,
29
  Fragment,
30
+ omit,
31
  } from '../../wp-imports'
32
 
33
  export const edit = ( props ) => {
37
  editable,
38
  setState,
39
  className,
40
+ setAttributes,
41
+ attributes,
42
  } = props;
43
 
44
  const {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  columns,
46
  nameColor,
47
  posColor,
48
  desColor,
49
+ shapes,
 
50
  } = props.attributes;
51
 
52
  const shape = [
57
  const mainClasses = classnames( [
58
  className,
59
  'ugb-team-member',
60
+ `columns-${columns}`,
61
  `image-${shapes}`,
62
  ] )
63
 
101
  onChange: ( colorValue ) => setAttributes( { desColor: colorValue } ),
102
  label: __( 'Description Color' ),
103
  },
 
 
 
 
 
104
  ] }
105
  >
106
  </PanelColorSettings>
107
  </InspectorControls>
108
  <div className={ mainClasses }>
109
+ { [1, 2, 3].map( i => {
110
+ const mediaURL = attributes[ `mediaURL${i}` ]
111
+ const mediaID = attributes[ `mediaID${i}` ]
112
+ const name = attributes[ `name${i}` ]
113
+ const position = attributes[ `position${i}` ]
114
+ const description = attributes[ `description${i}` ]
115
+ return (
116
+ <div className='ugb-team-member-item'>
117
+ <ImageUploadPlaceholder
118
+ className='team-member-image'
119
+ imageID={ mediaID }
120
+ imageURL={ mediaURL }
121
+ onRemove={ () => { setAttributes( { [ `mediaURL${i}` ]: '', [ `mediaID${i}` ]: '' } ) } }
122
+ onChange={ ( { url, id } ) => { setAttributes( { [ `mediaURL${i}` ]: url, [ `mediaID${i}` ]: id } ) } }
123
+ hasRemove={ false }
124
+ />
125
+ <RichText
126
+ tagName='h4'
127
+ value={ name }
128
+ onChange={ name => setAttributes( { [ `name${i}` ]: name } ) }
129
+ style={ {
130
+ color: nameColor
131
+ } }
132
+ placeholder={ __( 'Team Member name' ) }
133
+ keepPlaceholderOnFocus
134
+ />
135
+ <RichText
136
+ tagName='p'
137
+ value={ position }
138
+ className='ugb-team-member-position'
139
+ onChange={ position => setAttributes( { [ `position${i}` ]: position } ) }
140
+ style={ {
141
+ color: posColor
142
+ } }
143
+ placeholder={ __( 'Position' ) }
144
+ keepPlaceholderOnFocus
145
+ />
146
+ <RichText
147
+ tagName='p'
148
+ value={ description }
149
+ className='ugb-team-member-desc'
150
+ onChange={ description => setAttributes( { [ `description${i}` ]: description } ) }
151
+ style={ {
152
+ color: desColor
153
+ } }
154
+ placeholder={ __( 'Team member description. This guy is the head of our small team. He loves walking his dog, Walter, when he has some free time.' ) }
155
+ keepPlaceholderOnFocus
156
+ />
157
+ </div>
158
+ )
159
+ } ) }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  </div>
161
  </Fragment>
162
  )
164
 
165
  export const save = ( props ) => {
166
 
167
+ const { className, attributes } = props
168
  const {
 
 
 
169
  shapes,
 
 
 
 
 
 
 
 
 
 
 
 
170
  nameColor,
171
  posColor,
172
  desColor,
173
+ columns,
 
174
  } = props.attributes;
175
 
176
  const mainClasses = classnames( [
177
  className,
178
  'ugb-team-member',
179
+ `columns-${columns}`,
180
  `image-${shapes}`,
181
  ] )
182
 
183
  return (
184
  <div className={ mainClasses }>
185
+ { range( 1, columns + 1 ).map( i => {
186
+ // const href = attributes[ `href${i}` ]
187
+ const mediaURL = attributes[ `mediaURL${i}` ]
188
+ const name = attributes[ `name${i}` ]
189
+ const position = attributes[ `position${i}` ]
190
+ const description = attributes[ `description${i}` ]
191
+ return (
192
+ <div key={ i }>
193
+ <div className='ugb-team-member-item'>
194
+ { mediaURL && (
195
+ <div className='team-member-image'
196
+ style={ { backgroundImage: mediaURL ? `url(${mediaURL})` : undefined } }
197
+ data-src={ mediaURL ? mediaURL : undefined }
198
+ />
199
+ ) }
200
+ { ! RichText.isEmpty( name ) && (
201
+ <RichText.Content
202
+ tagName='h4'
203
+ style={ { color: nameColor } }
204
+ value={ name }
205
+ />
206
+ ) }
207
+ { ! RichText.isEmpty( position ) && (
208
+ <RichText.Content
209
+ tagName='p'
210
+ className='ugb-team-member-position'
211
+ style={ { color: posColor } }
212
+ value={ position }
213
+ />
214
+ ) }
215
+ { ! RichText.isEmpty( description ) && (
216
+ <RichText.Content
217
+ tagName='p'
218
+ className='ugb-team-member-desc'
219
+ style={ { color: desColor } }
220
+ value={ description }
221
+ />
222
+ ) }
223
+ </div>
224
+ </div>
225
+ )
226
+ } ) }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  </div>
228
  );
229
  }
230
 
231
  export const schema = {
232
+ href1: {
233
+ type: 'url',
234
+ },
235
+ href2: {
236
+ type: 'url',
237
+ },
238
+ href3: {
239
+ type: 'url',
240
+ },
241
+ mediaID1: {
242
+ type: 'number',
243
+ },
244
+ mediaID2: {
245
+ type: 'number',
246
+ },
247
+ mediaID3: {
248
+ type: 'number',
249
+ },
250
+ mediaURL1: {
251
+ type: 'string',
252
+ source: 'attribute',
253
+ selector: '.ugb-team-member-item:nth-child(1) .team-member-image',
254
+ attribute: 'data-src',
255
+ },
256
+ mediaURL2: {
257
+ type: 'string',
258
+ source: 'attribute',
259
+ selector: '.ugb-team-member-item:nth-child(2) .team-member-image',
260
+ attribute: 'data-src',
261
+ },
262
+ mediaURL3: {
263
+ type: 'string',
264
+ source: 'attribute',
265
+ selector: '.ugb-team-member-item:nth-child(3) .team-member-image',
266
+ attribute: 'data-src',
267
+ },
268
+ name1: {
269
+ source: 'html',
270
+ selector: '.ugb-team-member-item:nth-child(1) h4',
271
+ default: __( 'Ben Adams' )
272
+ },
273
+ name2: {
274
+ source: 'html',
275
+ selector: '.ugb-team-member-item:nth-child(2) h4',
276
+ default: __( 'Alex Johnson' )
277
+ },
278
+ name3: {
279
+ source: 'html',
280
+ selector: '.ugb-team-member-item:nth-child(3) h4',
281
+ default: __( 'Sammy Simpson' )
282
+ },
283
+ position1: {
284
+ source: 'html',
285
+ selector: '.ugb-team-member-item:nth-child(1) .ugb-team-member-position',
286
+ default: __( 'Founder' )
287
+ },
288
+ position2: {
289
+ source: 'html',
290
+ selector: '.ugb-team-member-item:nth-child(2) .ugb-team-member-position',
291
+ default: __( 'Editor' )
292
+ },
293
+ position3: {
294
+ source: 'html',
295
+ selector: '.ugb-team-member-item:nth-child(3) .ugb-team-member-position',
296
+ default: __( 'Programmer' )
297
+ },
298
+ description1: {
299
+ source: 'html',
300
+ selector: '.ugb-team-member-item:nth-child(1) .ugb-team-member-desc',
301
+ default: __( 'Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.' )
302
+ },
303
+ description2: {
304
+ source: 'html',
305
+ selector: '.ugb-team-member-item:nth-child(2) .ugb-team-member-desc',
306
+ default: __( 'Alex handles all written content. She enjoys painting and playing softball on the weekends.' )
307
+ },
308
+ description3: {
309
+ source: 'html',
310
+ selector: '.ugb-team-member-item:nth-child(3) .ugb-team-member-desc',
311
+ default: __( 'Sammy is our programmer. You\'ll usually find her nose in a book. She has a cat named Skitty.' )
312
+ },
313
+ nameColor: {
314
+ type: 'string',
315
+ },
316
+ posColor: {
317
+ type: 'string',
318
+ },
319
+ desColor: {
320
+ type: 'string',
321
+ },
322
+ columns: {
323
+ type: 'number',
324
+ default: 2,
325
+ },
326
+ shapes: {
327
+ type: 'string',
328
+ default: 'circle',
329
+ },
330
+
331
+ // Keep the old attributes. Gutenberg issue https://github.com/WordPress/gutenberg/issues/10406
332
  href: {
333
  type: 'url',
334
  },
410
  selector: '.ugb-team-member-des-three',
411
  default: __( 'Sammy is our programmer. You\'ll usually find her nose in a book. She has a cat named Skitty.' )
412
  },
 
 
 
 
 
 
 
 
 
413
  iconColor: {
414
  type: 'string',
415
  },
 
 
 
 
 
 
 
 
416
  }
417
 
418
  /**
428
  * registered; otherwise `undefined`.
429
  */
430
  registerBlockType( 'ugb/team-member', {
431
+ title: __( 'Team Member' ),
432
+ icon: TeamMemberIcon,
433
+ category: 'stackable-ultimate-gutenberg-blocks',
 
434
  keywords: [
435
  __( 'Team Member' ),
436
  __( 'Stackable' ),
437
  ],
438
  attributes: schema,
439
 
440
+ deprecated: [
441
+ {
442
+ attributes: deprecatedSchema_1_5,
443
+ save: deprecatedSave_1_5,
444
+ migrate: attributes => {
445
+ return omit( {
446
+ ...attributes,
447
+ href1: attributes.href,
448
+ href2: attributes.hrefTwo,
449
+ href3: attributes.hrefThree,
450
+ mediaID1: attributes.mediaID,
451
+ mediaID2: attributes.mediaIDTwo,
452
+ mediaID3: attributes.mediaIDThree,
453
+ mediaURL1: attributes.mediaURL,
454
+ mediaURL2: attributes.mediaURLTwo,
455
+ mediaURL3: attributes.mediaURLThree,
456
+ name1: attributes.name,
457
+ name2: attributes.nameTwo,
458
+ name3: attributes.nameThree,
459
+ position1: attributes.position,
460
+ position2: attributes.positionTwo,
461
+ position3: attributes.positionThree,
462
+ description1: attributes.des,
463
+ description2: attributes.desTwo,
464
+ description3: attributes.desThree,
465
+ }, [
466
+ 'href', 'hrefTwo', 'hrefThree',
467
+ 'mediaID', 'mediaIDTwo', 'mediaIDThree',
468
+ 'mediaURL', 'mediaURLTwo', 'mediaURLThree',
469
+ 'name', 'nameTwo', 'nameThree',
470
+ 'postion', 'positionTwo', 'positionThree',
471
+ 'des', 'desTwo', 'desThree',
472
+ ] )
473
+ },
474
+ },
475
+ ],
476
+
477
  edit,
478
  save,
479
  } );
src/block/team-member/style.scss CHANGED
@@ -8,31 +8,31 @@
8
  display: flex;
9
  flex-wrap: wrap;
10
  margin: 0 (-$box-hori-padding / 2);
 
11
  .team-member-image {
12
  width: 300px;
13
  height: 300px;
14
  background-size: cover;
15
- background-position: center;
16
- margin: 0 auto 1.3rem;
17
- }
18
- &.image-circle .team-member-image {
19
- border-radius: 100%;
20
  }
21
- &.column-2 {
22
  .team-member-image {
23
  width: 220px;
24
  height: 220px;
25
  }
26
  }
27
- &.column-3 {
28
  .team-member-image {
29
  width: 150px;
30
  height: 150px;
31
  }
32
  }
 
 
 
 
33
  > div {
34
  text-align: center;
35
- // padding: 1rem 0;
36
  @include baseBlock();
37
  p {
38
  text-align: center;
@@ -43,31 +43,47 @@
43
  margin: ($box-hori-padding / 2) !important;
44
  }
45
  }
 
 
 
 
 
 
 
 
 
46
  h4 {
47
  margin: 0 0 .5rem !important;
48
  padding-top: 0;
49
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  .ugb-team-member-position {
 
 
 
 
 
 
 
 
51
  margin: 0 0 1rem;
 
52
  }
53
  }
54
- .ugb-team-member {
55
- .ugb-team-member-title {
56
- }
57
- .ugb-team-member-position {
58
- opacity: .3;
59
- font-size: .75em;
60
- text-transform: uppercase;
61
- }
62
- .ugb-team-member-des,
63
- .ugb-team-member-des-two,
64
- .ugb-team-member-des-three {
65
- opacity: .5;
66
- margin: 0 0 1rem;
67
- left: 0;
68
- }
69
- }
70
-
71
  .ugb-team-member.column-1 {
72
  .ugb-team-member-column-two,
73
  .ugb-team-member-column-three {
@@ -75,54 +91,7 @@
75
  }
76
  }
77
  .ugb-team-member.column-2 {
78
- // display: flex;
79
- // .ugb-team-member-column-one {
80
- // padding-right: 1rem;
81
- // }
82
- // .ugb-team-member-column-two {
83
- // padding-left: 1rem;
84
- // }
85
- // .ugb-team-member-column-one,
86
- // .ugb-team-member-column-two {
87
- // width: 50%;
88
- // }
89
  .ugb-team-member-column-three {
90
  display: none;
91
  }
92
- // .team-member-image img {
93
- // height: 200px;
94
- // width: 250px
95
- // }
96
- }
97
- // .ugb-team-member.column-3 {
98
- // display: flex;
99
- // .ugb-team-member-column-one,
100
- // .ugb-team-member-column-two,
101
- // .ugb-team-member-column-three {
102
- // width: 33.33%;
103
- // }
104
- // .ugb-team-member-column-one {
105
- // padding-right: 1rem;
106
- // }
107
- // .ugb-team-member-column-two {
108
- // padding-left: 1rem;
109
- // padding-right: 1rem;
110
- // }
111
- // .ugb-team-member-column-three {
112
- // padding-left: 1rem;
113
- // }
114
- // .team-member-image img {
115
- // height: 200px;
116
- // width: 200px
117
- // }
118
- // }
119
-
120
- .team-member-social a {
121
- color: #000000;
122
- opacity: .30;
123
- padding: 0 3px;
124
- }
125
- /**
126
- * Frontend Styles.
127
- */
128
- // .wp-block-ugb-team-member {}
8
  display: flex;
9
  flex-wrap: wrap;
10
  margin: 0 (-$box-hori-padding / 2);
11
+
12
  .team-member-image {
13
  width: 300px;
14
  height: 300px;
15
  background-size: cover;
16
+ background-position: center;
 
 
 
 
17
  }
18
+ &.columns-2 {
19
  .team-member-image {
20
  width: 220px;
21
  height: 220px;
22
  }
23
  }
24
+ &.columns-3 {
25
  .team-member-image {
26
  width: 150px;
27
  height: 150px;
28
  }
29
  }
30
+ &.image-circle .team-member-image {
31
+ border-radius: 100%;
32
+ }
33
+
34
  > div {
35
  text-align: center;
 
36
  @include baseBlock();
37
  p {
38
  text-align: center;
43
  margin: ($box-hori-padding / 2) !important;
44
  }
45
  }
46
+ .ugb-team-member-position {
47
+ opacity: .7;
48
+ }
49
+ }
50
+
51
+ /**
52
+ * Deprecated. < v1.5
53
+ */
54
+ .ugb-team-member {
55
  h4 {
56
  margin: 0 0 .5rem !important;
57
  padding-top: 0;
58
  }
59
+ .team-member-image {
60
+ margin: 0 auto 1.3rem;
61
+ }
62
+ &.column-2 {
63
+ .team-member-image {
64
+ width: 220px;
65
+ height: 220px;
66
+ }
67
+ }
68
+ &.column-3 {
69
+ .team-member-image {
70
+ width: 150px;
71
+ height: 150px;
72
+ }
73
+ }
74
  .ugb-team-member-position {
75
+ opacity: .3;
76
+ font-size: .75em;
77
+ text-transform: uppercase;
78
+ }
79
+ .ugb-team-member-des,
80
+ .ugb-team-member-des-two,
81
+ .ugb-team-member-des-three {
82
+ opacity: .5;
83
  margin: 0 0 1rem;
84
+ left: 0;
85
  }
86
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  .ugb-team-member.column-1 {
88
  .ugb-team-member-column-two,
89
  .ugb-team-member-column-three {
91
  }
92
  }
93
  .ugb-team-member.column-2 {
 
 
 
 
 
 
 
 
 
 
 
94
  .ugb-team-member-column-three {
95
  display: none;
96
  }
97
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/block/testimonial/deprecated.js ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import classnames from 'classnames'
2
+ import {
3
+ __,
4
+ RichText,
5
+ } from '../../wp-imports'
6
+
7
+ export const deprecatedSave_1_5 = ( props ) => {
8
+
9
+ const { className } = props
10
+ const {
11
+ testimonialTitle,
12
+ testimonialTitleTwo,
13
+ testimonialTitleThree,
14
+ body,
15
+ bodyTwo,
16
+ bodyThree,
17
+ position,
18
+ positionTwo,
19
+ positionThree,
20
+ mediaURL,
21
+ mediaURLTwo,
22
+ mediaURLThree,
23
+ mediaID,
24
+ mediaIDTwo,
25
+ mediaIDThree,
26
+ titleColor,
27
+ posColor,
28
+ bodyTextColor,
29
+ iconColor,
30
+ columns
31
+ } = props.attributes;
32
+
33
+ const mainClasses = classnames( [
34
+ className,
35
+ 'ugb-testimonial',
36
+ `column-${columns}`,
37
+ ] )
38
+
39
+ const tesitimonialIcon = (
40
+ <div className={ 'quote-icon' }>
41
+ <svg viewBox="0 0 246 187.5" style={ { fill: iconColor } }>
42
+ <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"/>
43
+ <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"/>
44
+ <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"/>
45
+ </svg>
46
+ </div>
47
+ )
48
+
49
+ return (
50
+ <div className={ mainClasses }>
51
+ <div className={ 'ugb-testimonial-column-one' }>
52
+ { mediaURL ? <div className="testimonial-image" style={{ backgroundImage: `url(${mediaURL})` }} data-src={mediaURL}></div> : tesitimonialIcon }
53
+ { ! RichText.isEmpty( testimonialTitle ) && (
54
+ <RichText.Content
55
+ tagName='h4'
56
+ style={ { color: titleColor } }
57
+ value={ testimonialTitle }
58
+ />
59
+ ) }
60
+ { ! RichText.isEmpty( position ) && (
61
+ <RichText.Content
62
+ tagName='p'
63
+ className='ugb-testimonial-position'
64
+ style={ { color: posColor } }
65
+ value={ position }
66
+ />
67
+ ) }
68
+ { ! RichText.isEmpty( body ) && (
69
+ <RichText.Content
70
+ tagName='p'
71
+ className='ugb-testimonial-body'
72
+ style={ { color: bodyTextColor } }
73
+ value={ body }
74
+ />
75
+ ) }
76
+ </div>
77
+ { columns > 1 && (
78
+ <div className={ 'ugb-testimonial-column-two' }>
79
+ { mediaURLTwo ? <div className="testimonial-image" style={{ backgroundImage: `url(${mediaURLTwo})` }} data-src={mediaURLTwo}></div> : tesitimonialIcon }
80
+ { ! RichText.isEmpty( testimonialTitleTwo ) && (
81
+ <RichText.Content
82
+ tagName='h4'
83
+ style={ { color: titleColor } }
84
+ value={ testimonialTitleTwo }
85
+ />
86
+ ) }
87
+ { ! RichText.isEmpty( positionTwo ) && (
88
+ <RichText.Content
89
+ tagName='p'
90
+ className='ugb-testimonial-position-two'
91
+ style={ { color: posColor } }
92
+ value={ positionTwo }
93
+ />
94
+ ) }
95
+ { ! RichText.isEmpty( bodyTwo ) && (
96
+ <RichText.Content
97
+ tagName='p'
98
+ className='ugb-testimonial-body-two'
99
+ style={ { color: bodyTextColor } }
100
+ value={ bodyTwo }
101
+ />
102
+ ) }
103
+ </div>
104
+ ) }
105
+ { columns > 2 && (
106
+ <div className={ 'ugb-testimonial-column-three' }>
107
+ { mediaURLThree ? <div className="testimonial-image" style={{ backgroundImage: `url(${mediaURLThree})` }} data-src={mediaURLThree}></div> : tesitimonialIcon }
108
+ { ! RichText.isEmpty( testimonialTitleThree ) && (
109
+ <RichText.Content
110
+ tagName='h4'
111
+ style={ { color: titleColor } }
112
+ value={ testimonialTitleThree }
113
+ />
114
+ ) }
115
+ { ! RichText.isEmpty( positionThree ) && (
116
+ <RichText.Content
117
+ tagName='p'
118
+ className='ugb-testimonial-position-three'
119
+ style={ { color: posColor } }
120
+ value={ positionThree }
121
+ />
122
+ ) }
123
+ { ! RichText.isEmpty( bodyThree ) && (
124
+ <RichText.Content
125
+ tagName='p'
126
+ className='ugb-testimonial-body-three'
127
+ style={ { color: bodyTextColor } }
128
+ value={ bodyThree }
129
+ />
130
+ ) }
131
+ </div>
132
+ ) }
133
+ </div>
134
+ );
135
+ }
136
+
137
+ export const deprecatedSchema_1_5 = {
138
+ href: {
139
+ type: 'url',
140
+ },
141
+ hrefTwo: {
142
+ type: 'url',
143
+ },
144
+ hrefThree: {
145
+ type: 'url',
146
+ },
147
+ mediaID: {
148
+ type: 'number',
149
+ },
150
+ mediaIDTwo: {
151
+ type: 'number',
152
+ },
153
+ mediaIDThree: {
154
+ type: 'number',
155
+ },
156
+ mediaURL: {
157
+ type: 'string',
158
+ source: 'attribute',
159
+ selector: '.ugb-testimonial-column-one .testimonial-image',
160
+ attribute: 'data-src',
161
+ },
162
+ mediaURLTwo: {
163
+ type: 'string',
164
+ source: 'attribute',
165
+ selector: '.ugb-testimonial-column-two .testimonial-image',
166
+ attribute: 'data-src',
167
+ },
168
+ mediaURLThree: {
169
+ type: 'string',
170
+ source: 'attribute',
171
+ selector: '.ugb-testimonial-column-three .testimonial-image',
172
+ attribute: 'data-src',
173
+ },
174
+ testimonialTitle: {
175
+ source: 'html',
176
+ selector: '.ugb-testimonial-column-one h4',
177
+ default: __( 'Ben Adams' ),
178
+ },
179
+ testimonialTitleTwo: {
180
+ source: 'html',
181
+ selector: '.ugb-testimonial-column-two h4',
182
+ default: __( 'Alex Johnson' ),
183
+ },
184
+ testimonialTitleThree: {
185
+ source: 'html',
186
+ selector: '.ugb-testimonial-column-three h4',
187
+ default: __( 'Sammy Simpson' ),
188
+ },
189
+ position: {
190
+ source: 'html',
191
+ selector: '.ugb-testimonial-position',
192
+ default: __( 'Founder' ),
193
+ },
194
+ positionTwo: {
195
+ source: 'html',
196
+ selector: '.ugb-testimonial-position-two',
197
+ default: __( 'Editor' ),
198
+ },
199
+ positionThree: {
200
+ source: 'html',
201
+ selector: '.ugb-testimonial-position-three',
202
+ default: __( 'Programmer' ),
203
+ },
204
+ body: {
205
+ source: 'html',
206
+ selector: '.ugb-testimonial-body',
207
+ default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
208
+ },
209
+ bodyTwo: {
210
+ source: 'html',
211
+ selector: '.ugb-testimonial-body-two',
212
+ default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
213
+ },
214
+ bodyThree: {
215
+ source: 'html',
216
+ selector: '.ugb-testimonial-body-three',
217
+ default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
218
+ },
219
+ titleColor: {
220
+ type: 'string',
221
+ },
222
+ posColor: {
223
+ type: 'string',
224
+ },
225
+ bodyTextColor: {
226
+ type: 'string',
227
+ },
228
+ iconColor: {
229
+ type: 'string',
230
+ },
231
+ columns: {
232
+ type: 'number',
233
+ default: 1,
234
+ }
235
+ }
src/block/testimonial/editor.scss CHANGED
@@ -4,3 +4,13 @@
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
+ .ugb-testimonial.columns-1 {
8
+ > *:nth-child(2), > *:nth-child(3) {
9
+ display: none;
10
+ }
11
+ }
12
+ .ugb-testimonial.columns-2 {
13
+ > *:nth-child(3) {
14
+ display: none;
15
+ }
16
+ }
src/block/testimonial/index.js CHANGED
@@ -10,62 +10,43 @@ import './style.scss';
10
  import './editor.scss';
11
  import classnames from 'classnames'
12
  import { TestimonialIcon } from '../../icons'
 
 
 
 
 
13
 
14
  import {
15
  registerBlockType,
16
  __,
17
  PanelColorSettings,
18
- Button,
19
- SelectControl,
20
  RangeControl,
21
  InspectorControls,
22
  RichText,
23
- MediaUpload,
24
- BlockControls,
25
  PanelBody,
26
  Fragment,
 
27
  } from '../../wp-imports'
28
 
29
  export const edit = ( props ) => {
30
 
31
  const {
32
- isSelected,
33
- editable,
34
- setState,
35
  className,
36
- setAttributes
 
37
  } = props;
38
 
39
  const {
40
- testimonialTitle,
41
- testimonialTitleTwo,
42
- testimonialTitleThree,
43
- body,
44
- bodyTwo,
45
- bodyThree,
46
- position,
47
- positionTwo,
48
- positionThree,
49
- href,
50
- hrefTwo,
51
- hrefThree,
52
- mediaID,
53
- mediaIDTwo,
54
- mediaIDThree,
55
- mediaURL,
56
- mediaURLTwo,
57
- mediaURLThree,
58
  columns,
59
  titleColor,
60
  posColor,
61
  bodyTextColor,
62
- iconColor
63
- } = props.attributes;
64
 
65
  const mainClasses = classnames( [
66
  className,
67
  'ugb-testimonial',
68
- `column-${columns}`,
69
  ] )
70
 
71
  return (
@@ -84,6 +65,11 @@ export const edit = ( props ) => {
84
  initialOpen={ false }
85
  title={ __( 'Color Settings' ) }
86
  colorSettings={ [
 
 
 
 
 
87
  {
88
  value: titleColor,
89
  onChange: ( colorValue ) => setAttributes( { titleColor: colorValue } ),
@@ -94,162 +80,61 @@ export const edit = ( props ) => {
94
  onChange: ( colorValue ) => setAttributes( { posColor: colorValue } ),
95
  label: __( 'Position Color' ),
96
  },
97
- {
98
- value: bodyTextColor,
99
- onChange: ( colorValue ) => setAttributes( { bodyTextColor: colorValue } ),
100
- label: __( 'Body Text Color' ),
101
- },
102
- {
103
- value: iconColor,
104
- onChange: ( colorValue ) => setAttributes( { iconColor: colorValue } ),
105
- label: __( 'Icon Color' ),
106
- },
107
  ] }
108
  >
109
  </PanelColorSettings>
110
  </InspectorControls>
111
  <div className={ mainClasses }>
112
- <div className={ 'ugb-testimonial-column-one' }>
113
- <div>
114
- <MediaUpload
115
- onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
116
- allowedTypes={ [ 'image' ] }
117
- value={mediaID}
118
- render={ function( obj ) {
119
- return <Button
120
- className={ mediaID ? '' : 'button button-large' }
121
- onClick={ obj.open } >
122
- {
123
- mediaID ? <div className="testimonial-image" style={{ backgroundImage: `url(${mediaURL})` }}></div> : __( 'Upload Image' )
124
- }
125
- </Button>
126
- } }
127
- />
128
- </div>
129
- <RichText
130
- tagName={ 'h4' }
131
- value={ testimonialTitle }
132
- onChange={ (text) => setAttributes( { testimonialTitle: text } ) }
133
- style={ {
134
- color: titleColor
135
- } }
136
- keepPlaceholderOnFocus
137
- />
138
- <RichText
139
- tagName={'p'}
140
- value={ position }
141
- className={ 'ugb-testimonial-position' }
142
- onChange={ (text) => setAttributes( { position: text } ) }
143
- style={ {
144
- color: posColor
145
- } }
146
- keepPlaceholderOnFocus
147
- />
148
- <RichText
149
- tagName={'p'}
150
- value={ body }
151
- className={ 'ugb-testimonial-body' }
152
- onChange={ (text) => setAttributes( { body: text } ) }
153
- style={ {
154
- color: bodyTextColor
155
- } }
156
- keepPlaceholderOnFocus
157
- />
158
- </div>
159
- <div className={ 'ugb-testimonial-column-two' }>
160
- <div>
161
- <MediaUpload
162
- onSelect={ ( media ) => setAttributes( { mediaURLTwo: media.url, mediaIDTwo: media.id } ) }
163
- allowedTypes={ [ 'image' ] }
164
- value={ mediaIDTwo }
165
- render={ function( obj ) {
166
- return <Button
167
- className={ mediaIDTwo ? '' : 'button button-large' }
168
- onClick={ obj.open } >
169
- {
170
- mediaIDTwo ? <div className="testimonial-image" style={{ backgroundImage: `url(${mediaURLTwo})` }}></div> : __( 'Upload Image' )
171
- }
172
- </Button>
173
- } }
174
- />
175
- </div>
176
- <RichText
177
- tagName={ 'h4' }
178
- value={ testimonialTitleTwo }
179
- onChange={ (text) => setAttributes( { testimonialTitleTwo: text } ) }
180
- style={ {
181
- color: titleColor
182
- } }
183
- keepPlaceholderOnFocus
184
- />
185
- <RichText
186
- tagName={'p'}
187
- value={ positionTwo }
188
- className={ 'ugb-testimonial-position-two' }
189
- onChange={ (text) => setAttributes( { positionTwo: text } ) }
190
- style={ {
191
- color: posColor
192
- } }
193
- keepPlaceholderOnFocus
194
- />
195
- <RichText
196
- tagName={'p'}
197
- value={ bodyTwo }
198
- className={ 'ugb-testimonial-body-two' }
199
- onChange={ (text) => setAttributes( { bodyTwo: text } ) }
200
- style={ {
201
- color: bodyTextColor
202
- } }
203
- keepPlaceholderOnFocus
204
- />
205
- </div>
206
- <div className={ 'ugb-testimonial-column-three' }>
207
- <div>
208
- <MediaUpload
209
- onSelect={ ( media ) => setAttributes( { mediaURLThree: media.url, mediaIDThree: media.id } ) }
210
- allowedTypes={ [ 'image' ] }
211
- value={ mediaIDThree }
212
- render={ function( obj ) {
213
- return <Button
214
- className={ mediaIDThree ? '' : 'button button-large' }
215
- onClick={ obj.open } >
216
- {
217
- mediaIDThree ? <div className="testimonial-image" style={{ backgroundImage: `url(${mediaURLThree})` }}></div> : __( 'Upload Image' )
218
- }
219
- </Button>
220
- } }
221
- />
222
- </div>
223
- <RichText
224
- tagName={ 'h4' }
225
- value={ testimonialTitleThree }
226
- onChange={ (text) => setAttributes( { testimonialTitleThree: text } ) }
227
- style={ {
228
- color: titleColor
229
- } }
230
- keepPlaceholderOnFocus
231
- />
232
- <RichText
233
- tagName={'p'}
234
- value={ positionThree }
235
- className={ 'ugb-testimonial-position-three' }
236
- onChange={ (text) => setAttributes( { positionThree: text } ) }
237
- style={ {
238
- color: posColor
239
- } }
240
- keepPlaceholderOnFocus
241
- />
242
- <RichText
243
- tagName={'p'}
244
- value={ bodyThree }
245
- className={ 'ugb-testimonial-body-three' }
246
- onChange={ (text) => setAttributes( { bodyThree: text } ) }
247
- style={ {
248
- color: bodyTextColor
249
- } }
250
- keepPlaceholderOnFocus
251
- />
252
- </div>
253
  </div>
254
  </Fragment>
255
  )
@@ -257,135 +142,141 @@ export const edit = ( props ) => {
257
 
258
  export const save = ( props ) => {
259
 
260
- const { className } = props
261
  const {
262
- testimonialTitle,
263
- testimonialTitleTwo,
264
- testimonialTitleThree,
265
- body,
266
- bodyTwo,
267
- bodyThree,
268
- position,
269
- positionTwo,
270
- positionThree,
271
- mediaURL,
272
- mediaURLTwo,
273
- mediaURLThree,
274
- mediaID,
275
- mediaIDTwo,
276
- mediaIDThree,
277
  titleColor,
278
  posColor,
279
  bodyTextColor,
280
- iconColor,
281
- columns
282
- } = props.attributes;
283
 
284
  const mainClasses = classnames( [
285
  className,
286
  'ugb-testimonial',
287
- `column-${columns}`,
288
  ] )
289
 
290
- const tesitimonialIcon = (
291
- <div className={ 'quote-icon' }>
292
- <svg viewBox="0 0 246 187.5" style={ { fill: iconColor } }>
293
- <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"/>
294
- <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"/>
295
- <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"/>
296
- </svg>
297
- </div>
298
- )
299
-
300
  return (
301
  <div className={ mainClasses }>
302
- <div className={ 'ugb-testimonial-column-one' }>
303
- { mediaURL ? <div className="testimonial-image" style={{ backgroundImage: `url(${mediaURL})` }} data-src={mediaURL}></div> : tesitimonialIcon }
304
- { ! RichText.isEmpty( testimonialTitle ) && (
305
- <RichText.Content
306
- tagName='h4'
307
- style={ { color: titleColor } }
308
- value={ testimonialTitle }
309
- />
310
- ) }
311
- { ! RichText.isEmpty( position ) && (
312
- <RichText.Content
313
- tagName='p'
314
- className='ugb-testimonial-position'
315
- style={ { color: posColor } }
316
- value={ position }
317
- />
318
- ) }
319
- { ! RichText.isEmpty( body ) && (
320
- <RichText.Content
321
- tagName='p'
322
- className='ugb-testimonial-body'
323
- style={ { color: bodyTextColor } }
324
- value={ body }
325
- />
326
- ) }
327
- </div>
328
- { columns > 1 && (
329
- <div className={ 'ugb-testimonial-column-two' }>
330
- { mediaURLTwo ? <div className="testimonial-image" style={{ backgroundImage: `url(${mediaURLTwo})` }} data-src={mediaURLTwo}></div> : tesitimonialIcon }
331
- { ! RichText.isEmpty( testimonialTitleTwo ) && (
332
- <RichText.Content
333
- tagName='h4'
334
- style={ { color: titleColor } }
335
- value={ testimonialTitleTwo }
336
- />
337
- ) }
338
- { ! RichText.isEmpty( positionTwo ) && (
339
- <RichText.Content
340
- tagName='p'
341
- className='ugb-testimonial-position-two'
342
- style={ { color: posColor } }
343
- value={ positionTwo }
344
- />
345
- ) }
346
- { ! RichText.isEmpty( bodyTwo ) && (
347
- <RichText.Content
348
- tagName='p'
349
- className='ugb-testimonial-body-two'
350
- style={ { color: bodyTextColor } }
351
- value={ bodyTwo }
352
- />
353
- ) }
354
- </div>
355
- ) }
356
- { columns > 2 && (
357
- <div className={ 'ugb-testimonial-column-three' }>
358
- { mediaURLThree ? <div className="testimonial-image" style={{ backgroundImage: `url(${mediaURLThree})` }} data-src={mediaURLThree}></div> : tesitimonialIcon }
359
- { ! RichText.isEmpty( testimonialTitleThree ) && (
360
- <RichText.Content
361
- tagName='h4'
362
- style={ { color: titleColor } }
363
- value={ testimonialTitleThree }
364
- />
365
- ) }
366
- { ! RichText.isEmpty( positionThree ) && (
367
- <RichText.Content
368
- tagName='p'
369
- className='ugb-testimonial-position-three'
370
- style={ { color: posColor } }
371
- value={ positionThree }
372
- />
373
- ) }
374
- { ! RichText.isEmpty( bodyThree ) && (
375
- <RichText.Content
376
- tagName='p'
377
- className='ugb-testimonial-body-three'
378
- style={ { color: bodyTextColor } }
379
- value={ bodyThree }
380
- />
381
- ) }
382
- </div>
383
- ) }
384
  </div>
385
  );
386
  }
387
 
388
  export const schema = {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
389
  href: {
390
  type: 'url',
391
  },
@@ -467,22 +358,9 @@ export const schema = {
467
  selector: '.ugb-testimonial-body-three',
468
  default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
469
  },
470
- titleColor: {
471
- type: 'string',
472
- },
473
- posColor: {
474
- type: 'string',
475
- },
476
- bodyTextColor: {
477
- type: 'string',
478
- },
479
  iconColor: {
480
  type: 'string',
481
  },
482
- columns: {
483
- type: 'number',
484
- default: 1,
485
- }
486
  }
487
 
488
  /**
@@ -498,15 +376,46 @@ export const schema = {
498
  * registered; otherwise `undefined`.
499
  */
500
  registerBlockType( 'ugb/testimonial', {
501
- // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
502
- title: __( 'Testimonial' ), // Block title.
503
- icon: TestimonialIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
504
- category: 'stackable-ultimate-gutenberg-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
505
  keywords: [
506
  __( 'Testimonial' ),
507
  __( 'Stackable' ),
508
  ],
509
  attributes: schema,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
510
 
511
  edit,
512
  save,
10
  import './editor.scss';
11
  import classnames from 'classnames'
12
  import { TestimonialIcon } from '../../icons'
13
+ import ImageUploadPlaceholder from '../../components/image-upload-placeholder'
14
+ import { range } from '../../util'
15
+ import {
16
+ deprecatedSchema_1_5, deprecatedSave_1_5,
17
+ } from './deprecated'
18
 
19
  import {
20
  registerBlockType,
21
  __,
22
  PanelColorSettings,
 
 
23
  RangeControl,
24
  InspectorControls,
25
  RichText,
 
 
26
  PanelBody,
27
  Fragment,
28
+ omit,
29
  } from '../../wp-imports'
30
 
31
  export const edit = ( props ) => {
32
 
33
  const {
 
 
 
34
  className,
35
+ setAttributes,
36
+ attributes,
37
  } = props;
38
 
39
  const {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  columns,
41
  titleColor,
42
  posColor,
43
  bodyTextColor,
44
+ } = attributes;
 
45
 
46
  const mainClasses = classnames( [
47
  className,
48
  'ugb-testimonial',
49
+ `columns-${columns}`,
50
  ] )
51
 
52
  return (
65
  initialOpen={ false }
66
  title={ __( 'Color Settings' ) }
67
  colorSettings={ [
68
+ {
69
+ value: bodyTextColor,
70
+ onChange: ( colorValue ) => setAttributes( { bodyTextColor: colorValue } ),
71
+ label: __( 'Body Text Color' ),
72
+ },
73
  {
74
  value: titleColor,
75
  onChange: ( colorValue ) => setAttributes( { titleColor: colorValue } ),
80
  onChange: ( colorValue ) => setAttributes( { posColor: colorValue } ),
81
  label: __( 'Position Color' ),
82
  },
 
 
 
 
 
 
 
 
 
 
83
  ] }
84
  >
85
  </PanelColorSettings>
86
  </InspectorControls>
87
  <div className={ mainClasses }>
88
+ { [1, 2, 3].map( i => {
89
+ const mediaURL = attributes[ `mediaURL${i}` ]
90
+ const mediaID = attributes[ `mediaID${i}` ]
91
+ const name = attributes[ `name${i}` ]
92
+ const position = attributes[ `position${i}` ]
93
+ const testimonial = attributes[ `testimonial${i}` ]
94
+ return (
95
+ <div className='ugb-testimonial-item'>
96
+ <RichText
97
+ tagName='p'
98
+ className='ugb-testimonial-body'
99
+ value={ testimonial }
100
+ onChange={ testimonial => setAttributes( { [ `testimonial${i}` ]: testimonial } ) }
101
+ style={ {
102
+ color: bodyTextColor
103
+ } }
104
+ placeholder={ __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ) }
105
+ keepPlaceholderOnFocus
106
+ />
107
+ <ImageUploadPlaceholder
108
+ className='testimonial-image'
109
+ imageID={ mediaID }
110
+ imageURL={ mediaURL }
111
+ onRemove={ () => { setAttributes( { [ `mediaURL${i}` ]: '', [ `mediaID${i}` ]: '' } ) } }
112
+ onChange={ ( { url, id } ) => { setAttributes( { [ `mediaURL${i}` ]: url, [ `mediaID${i}` ]: id } ) } }
113
+ hasRemove={ false }
114
+ />
115
+ <RichText
116
+ tagName='h4'
117
+ value={ name }
118
+ onChange={ name => setAttributes( { [ `name${i}` ]: name } ) }
119
+ style={ {
120
+ color: titleColor
121
+ } }
122
+ placeholder={ __( 'Name' ) }
123
+ keepPlaceholderOnFocus
124
+ />
125
+ <RichText
126
+ tagName='p'
127
+ value={ position }
128
+ className='ugb-testimonial-position'
129
+ onChange={ position => setAttributes( { [ `position${i}` ]: position } ) }
130
+ style={ {
131
+ color: posColor
132
+ } }
133
+ keepPlaceholderOnFocus
134
+ />
135
+ </div>
136
+ )
137
+ } ) }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  </div>
139
  </Fragment>
140
  )
142
 
143
  export const save = ( props ) => {
144
 
145
+ const { className, attributes } = props
146
  const {
147
+ columns,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  titleColor,
149
  posColor,
150
  bodyTextColor,
151
+ } = attributes;
 
 
152
 
153
  const mainClasses = classnames( [
154
  className,
155
  'ugb-testimonial',
156
+ `columns-${columns}`,
157
  ] )
158
 
 
 
 
 
 
 
 
 
 
 
159
  return (
160
  <div className={ mainClasses }>
161
+ { range( 1, columns + 1 ).map( i => {
162
+ const mediaURL = attributes[ `mediaURL${i}` ]
163
+ const name = attributes[ `name${i}` ]
164
+ const position = attributes[ `position${i}` ]
165
+ const testimonial = attributes[ `testimonial${i}` ]
166
+ return (
167
+ <div className='ugb-testimonial-item'>
168
+ { ! RichText.isEmpty( testimonial ) && (
169
+ <RichText.Content
170
+ tagName='p'
171
+ className='ugb-testimonial-body'
172
+ style={ { color: bodyTextColor } }
173
+ value={ testimonial }
174
+ />
175
+ ) }
176
+ { mediaURL && (
177
+ <div className='testimonial-image' style={ { backgroundImage: `url(${mediaURL})` } }></div>
178
+ ) }
179
+ { ! RichText.isEmpty( name ) && (
180
+ <RichText.Content
181
+ tagName='h4'
182
+ style={ { color: titleColor } }
183
+ value={ name }
184
+ />
185
+ ) }
186
+ { ! RichText.isEmpty( position ) && (
187
+ <RichText.Content
188
+ tagName='p'
189
+ className='ugb-testimonial-position'
190
+ style={ { color: posColor } }
191
+ value={ position }
192
+ />
193
+ ) }
194
+ </div>
195
+ )
196
+ } ) }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  </div>
198
  );
199
  }
200
 
201
  export const schema = {
202
+ mediaID1: {
203
+ type: 'number',
204
+ },
205
+ mediaID2: {
206
+ type: 'number',
207
+ },
208
+ mediaID3: {
209
+ type: 'number',
210
+ },
211
+ mediaURL1: {
212
+ type: 'string',
213
+ },
214
+ mediaURL2: {
215
+ type: 'string',
216
+ },
217
+ mediaURL3: {
218
+ type: 'string',
219
+ },
220
+ name1: {
221
+ source: 'html',
222
+ selector: '.ugb-testimonial-item:nth-child(1) h4',
223
+ default: __( 'Ben Adams' ),
224
+ },
225
+ name2: {
226
+ source: 'html',
227
+ selector: '.ugb-testimonial-item:nth-child(2) h4',
228
+ default: __( 'Alex Johnson' ),
229
+ },
230
+ name3: {
231
+ source: 'html',
232
+ selector: '.ugb-testimonial-item:nth-child(3) h4',
233
+ default: __( 'Sammy Simpson' ),
234
+ },
235
+ position1: {
236
+ source: 'html',
237
+ selector: '.ugb-testimonial-item:nth-child(1) .ugb-testimonial-position',
238
+ default: __( 'Founder' ),
239
+ },
240
+ position2: {
241
+ source: 'html',
242
+ selector: '.ugb-testimonial-item:nth-child(2) .ugb-testimonial-position',
243
+ default: __( 'Editor' ),
244
+ },
245
+ position3: {
246
+ source: 'html',
247
+ selector: '.ugb-testimonial-item:nth-child(3) .ugb-testimonial-position',
248
+ default: __( 'Programmer' ),
249
+ },
250
+ testimonial1: {
251
+ source: 'html',
252
+ selector: '.ugb-testimonial-item:nth-child(1) .ugb-testimonial-body',
253
+ default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
254
+ },
255
+ testimonial2: {
256
+ source: 'html',
257
+ selector: '.ugb-testimonial-item:nth-child(2) .ugb-testimonial-body',
258
+ default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
259
+ },
260
+ testimonial3: {
261
+ source: 'html',
262
+ selector: '.ugb-testimonial-item:nth-child(3) .ugb-testimonial-body',
263
+ default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
264
+ },
265
+ titleColor: {
266
+ type: 'string',
267
+ },
268
+ posColor: {
269
+ type: 'string',
270
+ },
271
+ bodyTextColor: {
272
+ type: 'string',
273
+ },
274
+ columns: {
275
+ type: 'number',
276
+ default: 2,
277
+ },
278
+
279
+ // Keep the old attributes. Gutenberg issue https://github.com/WordPress/gutenberg/issues/10406
280
  href: {
281
  type: 'url',
282
  },
358
  selector: '.ugb-testimonial-body-three',
359
  default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
360
  },
 
 
 
 
 
 
 
 
 
361
  iconColor: {
362
  type: 'string',
363
  },
 
 
 
 
364
  }
365
 
366
  /**
376
  * registered; otherwise `undefined`.
377
  */
378
  registerBlockType( 'ugb/testimonial', {
379
+ title: __( 'Testimonial' ),
380
+ icon: TestimonialIcon,
381
+ category: 'stackable-ultimate-gutenberg-blocks',
 
382
  keywords: [
383
  __( 'Testimonial' ),
384
  __( 'Stackable' ),
385
  ],
386
  attributes: schema,
387
+ deprecated: [
388
+ {
389
+ attributes: deprecatedSchema_1_5,
390
+ save: deprecatedSave_1_5,
391
+ migrate: attributes => {
392
+ return omit( {
393
+ ...attributes,
394
+ mediaID1: attributes.mediaID,
395
+ mediaID2: attributes.mediaIDTwo,
396
+ mediaID3: attributes.mediaIDThree,
397
+ mediaURL1: attributes.mediaURL,
398
+ mediaURL2: attributes.mediaURLTwo,
399
+ mediaURL3: attributes.mediaURLThree,
400
+ name1: attributes.testimonialTitle,
401
+ name2: attributes.testimonialTitleTwo,
402
+ name3: attributes.testimonialTitleThree,
403
+ position1: attributes.position,
404
+ position2: attributes.positionTwo,
405
+ position3: attributes.positionThree,
406
+ testimonial1: attributes.body,
407
+ testimonial2: attributes.bodyTwo,
408
+ testimonial3: attributes.bodyThree,
409
+ }, [
410
+ 'mediaID', 'mediaIDTwo', 'mediaIDThree',
411
+ 'mediaURL', 'mediaURLTwo', 'mediaURLThree',
412
+ 'testimonialTitle', 'testimonialTitleTwo', 'testimonialTitleThree',
413
+ 'postion', 'positionTwo', 'positionThree',
414
+ 'body', 'bodyTwo', 'bodyThree',
415
+ ] )
416
+ },
417
+ },
418
+ ],
419
 
420
  edit,
421
  save,
src/block/testimonial/style.scss CHANGED
@@ -5,7 +5,6 @@
5
  */
6
  .ugb-testimonial {
7
  @include baseBlock();
8
- // display: flex;
9
  display: flex;
10
  flex-wrap: wrap;
11
  margin: 0 (-$box-hori-padding / 2);
@@ -17,23 +16,9 @@
17
  border-radius: 100%;
18
  margin: 0 auto 1.3rem;
19
  }
20
- .quote-icon {
21
- height: 75px;
22
- display: flex;
23
- justify-content: center;
24
- align-items: center;
25
- svg {
26
- height: 50px;
27
- width: auto;
28
- fill: #e6e6e6;
29
- }
30
- }
31
  > div {
32
  text-align: center;
33
- // padding: 1rem 0;
34
- // margin: 0 auto;
35
  @include baseBlock();
36
- // @include box();
37
  p {
38
  text-align: center;
39
  }
@@ -48,74 +33,35 @@
48
  padding-top: 0;
49
  }
50
  }
51
- .ugb-testimonial {
52
- .ugb-testimonial-position,
53
- .ugb-testimonial-position-two,
54
- .ugb-testimonial-position-three {
55
- opacity: .3;
56
- font-size: .75em;
57
- margin: 0 0 1rem;
58
- text-transform: uppercase;
59
- }
60
- .ugb-testimonial-body,
61
- .ugb-testimonial-body-two,
62
- .ugb-testimonial-body-three {
63
- opacity: .5;
64
- margin: 0 0 1rem;
65
- left: 0;
66
- }
67
- }
68
 
69
- .ugb-testimonial.column-1 {
70
- .ugb-testimonial-column-two,
71
- .ugb-testimonial-column-three {
72
- display: none;
 
 
 
 
 
 
 
73
  }
74
- }
75
- .ugb-testimonial.column-2 {
76
- // .ugb-testimonial-column-one {
77
- // margin-right: 1rem;
78
- // }
79
- // .ugb-testimonial-column-two {
80
- // margin-left: 1rem;
81
- // }
82
- // > div {
83
- // width: 50%;
84
- // }
85
- .ugb-testimonial-column-three {
86
- display: none;
87
  }
88
- }
89
- // .ugb-testimonial.column-3 {
90
- // > div {
91
- // width: 33.2%;
92
- // margin-left: 1rem;
93
- // margin-right: 1rem;
94
- // }
95
- // > div:first-child {
96
- // margin-left: 0;
97
- // }
98
- // > div:last-child {
99
- // margin-right: 0;
100
- // }
101
- // }
102
-
103
- // @media screen and (max-width: 800px) {
104
- // .ugb-testimonial.column-3.column-3 {
105
- // display: block;
106
- // > div {
107
- // width: 100%;
108
- // margin: 0;
109
- // }
110
- // }
111
- // }
112
-
113
- // @media screen and (max-width: 600px) {
114
- // .ugb-testimonial.column-2.column-2 {
115
- // display: block;
116
- // > div {
117
- // width: 100%;
118
- // margin: 0;
119
- // }
120
- // }
121
- // }
5
  */
6
  .ugb-testimonial {
7
  @include baseBlock();
 
8
  display: flex;
9
  flex-wrap: wrap;
10
  margin: 0 (-$box-hori-padding / 2);
16
  border-radius: 100%;
17
  margin: 0 auto 1.3rem;
18
  }
 
 
 
 
 
 
 
 
 
 
 
19
  > div {
20
  text-align: center;
 
 
21
  @include baseBlock();
 
22
  p {
23
  text-align: center;
24
  }
33
  padding-top: 0;
34
  }
35
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
+ /**
38
+ * Deprecated. < v1.5
39
+ */
40
+ .ugb-testimonial {
41
+ .ugb-testimonial-position,
42
+ .ugb-testimonial-position-two,
43
+ .ugb-testimonial-position-three {
44
+ opacity: .3;
45
+ font-size: .75em;
46
+ margin: 0 0 1rem;
47
+ text-transform: uppercase;
48
  }
49
+ .ugb-testimonial-body,
50
+ .ugb-testimonial-body-two,
51
+ .ugb-testimonial-body-three {
52
+ opacity: .5;
53
+ margin: 0 0 1rem;
54
+ left: 0;
 
 
 
 
 
 
 
55
  }
56
+ .quote-icon {
57
+ height: 75px;
58
+ display: flex;
59
+ justify-content: center;
60
+ align-items: center;
61
+ svg {
62
+ height: 50px;
63
+ width: auto;
64
+ fill: #e6e6e6;
65
+ }
66
+ }
67
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/block/video-popup/deprecated.js CHANGED
@@ -1,3 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  export const deprecatedSchema_1_2_1 = {
2
  videoLink: {
3
  type: 'string',
1
+ import classnames from 'classnames'
2
+
3
+ export const deprecatedSave_1_5 = ( props ) => {
4
+ const { className } = props
5
+ const {
6
+ videoLink,
7
+ videoID,
8
+ mediaLink,
9
+ overlayColor,
10
+ playButtonType,
11
+ mediaID
12
+ } = props.attributes
13
+
14
+ const mainClasses = classnames( [
15
+ className,
16
+ 'ugb-video-popup',
17
+ ] )
18
+
19
+ return (
20
+ <div className={ mainClasses }
21
+ data-video={ videoID }
22
+ data-video-url={ videoLink }
23
+ style={ { backgroundColor: overlayColor } }>
24
+ <div className='ugb-video-preview'
25
+ style={ { backgroundImage: `url(${mediaLink})` } }
26
+ data-url={ mediaLink }>
27
+ </div>
28
+ <div className='ugb-video-wrapper' >
29
+ <a href="#" style={ { backgroundColor: overlayColor } } />
30
+ <span className='ugb-play-button'>
31
+ { playButton[ playButtonType ] }
32
+ </span>
33
+ </div>
34
+ </div>
35
+ );
36
+ }
37
+
38
+ export const deprecatedSchema_1_5 = {
39
+ videoLink: {
40
+ type: 'string',
41
+ source: 'attribute',
42
+ selector: '.ugb-video-popup',
43
+ attribute: 'data-video-url',
44
+ },
45
+ videoID: {
46
+ type: 'string',
47
+ source: 'attribute',
48
+ selector: '.ugb-video-popup',
49
+ attribute: 'data-video',
50
+ },
51
+ mediaLink: {
52
+ type: 'string',
53
+ source: 'attribute',
54
+ selector: '.ugb-video-preview',
55
+ attribute: 'data-url',
56
+ },
57
+ mediaID: {
58
+ type: 'number',
59
+ },
60
+ overlayColor: {
61
+ type: 'string',
62
+ default: '#000000',
63
+ },
64
+ playButtonType: {
65
+ type: 'string',
66
+ default: 'normal'
67
+ }
68
+ }
69
+
70
  export const deprecatedSchema_1_2_1 = {
71
  videoLink: {
72
  type: 'string',
src/block/video-popup/index.js CHANGED
@@ -11,7 +11,9 @@ import './editor.scss';
11
  import classnames from 'classnames'
12
  import { VideoPopupIcon } from '../../icons'
13
  import { getVideoProviderFromURL } from '../../util'
 
14
  import {
 
15
  deprecatedSchema_1_2_1, deprecatedSave_1_2_1,
16
  } from './deprecated'
17
 
@@ -30,6 +32,7 @@ import {
30
  URLInput,
31
  PanelBody,
32
  Fragment,
 
33
  } from '../../wp-imports'
34
 
35
  const playButton = {
@@ -47,10 +50,11 @@ export const edit = ( props ) => {
47
  const {
48
  videoLink,
49
  videoID,
50
- mediaLink,
51
- overlayColor,
 
52
  playButtonType,
53
- mediaID,
54
  } = props.attributes
55
 
56
  const playButtonTypes = [
@@ -62,29 +66,20 @@ export const edit = ( props ) => {
62
  const mainClasses = classnames( [
63
  className,
64
  'ugb-video-popup',
65
- ] )
 
 
 
 
 
 
 
 
 
 
66
 
67
  return (
68
  <Fragment>
69
- <BlockControls>
70
- { mediaLink && (
71
- <Toolbar>
72
- <MediaUpload
73
- onSelect={ ( media ) => setAttributes( { mediaLink: media.url, mediaID: media.id } ) }
74
- allowedTypes={ [ 'image' ] }
75
- value={ mediaID }
76
- render={ ( { open } ) => (
77
- <IconButton
78
- className="components-toolbar__control"
79
- label={ __( 'Edit image' ) }
80
- icon="edit"
81
- onClick={ open }
82
- />
83
- ) }
84
- />
85
- </Toolbar>
86
- )}
87
- </BlockControls>
88
  <InspectorControls>
89
  <PanelBody>
90
  <SelectControl
@@ -97,43 +92,20 @@ export const edit = ( props ) => {
97
  onChange={ ( newSize ) => { setAttributes( { playButtonType: newSize } ) } }
98
  />
99
  </PanelBody>
100
- <PanelColorSettings
101
- initialOpen={ false }
102
- title={ __( 'Color Settings' ) }
103
- colorSettings={ [
104
- {
105
- value: overlayColor,
106
- onChange: ( colorValue ) => setAttributes( { overlayColor: colorValue } ),
107
- label: __( 'Background / Overlay Color' ),
108
- },
109
- ] }
110
- >
111
- </PanelColorSettings>
112
  </InspectorControls>
113
- <div className={ mainClasses }
114
- style={ { backgroundColor: overlayColor } }>
115
- <div className='ugb-video-preview'
116
- style={ { backgroundImage: `url(${mediaLink})` } }>
117
- </div>
118
  <div className='ugb-video-wrapper' >
119
- <MediaUpload
120
- onSelect={ ( media ) => setAttributes( { mediaLink: media.url, mediaID: media.id } ) }
121
- allowedTypes={ [ 'image' ] }
122
- value={ mediaID }
123
- render={ function( obj ) {
124
- return [
125
- ! mediaLink && (
126
- <Button
127
- className={ mediaID ? '' : 'button button-large' }
128
- onClick={ obj.open }
129
- >
130
- {__('Upload Image')}
131
- </Button>
132
- )
133
- ]
134
- } }
135
- />
136
- <div className='ugb-video-overlay' style={ { backgroundColor: overlayColor } } />
137
  <span className="ugb-play-button">
138
  { playButton[ playButtonType ] }
139
  </span>
@@ -170,28 +142,32 @@ export const save = ( props ) => {
170
  const {
171
  videoLink,
172
  videoID,
173
- mediaLink,
174
- overlayColor,
175
  playButtonType,
176
- mediaID
 
 
 
177
  } = props.attributes
178
 
179
  const mainClasses = classnames( [
180
  className,
181
  'ugb-video-popup',
182
- ] )
 
 
 
 
 
 
 
 
 
 
183
 
184
  return (
185
- <div className={ mainClasses }
186
- data-video={ videoID }
187
- data-video-url={ videoLink }
188
- style={ { backgroundColor: overlayColor } }>
189
- <div className='ugb-video-preview'
190
- style={ { backgroundImage: `url(${mediaLink})` } }
191
- data-url={ mediaLink }>
192
- </div>
193
  <div className='ugb-video-wrapper' >
194
- <a href="#" style={ { backgroundColor: overlayColor } } />
195
  <span className='ugb-play-button'>
196
  { playButton[ playButtonType ] }
197
  </span>
@@ -203,33 +179,42 @@ export const save = ( props ) => {
203
  export const schema = {
204
  videoLink: {
205
  type: 'string',
206
- source: 'attribute',
207
- selector: '.ugb-video-popup',
208
- attribute: 'data-video-url',
209
  },
210
  videoID: {
211
  type: 'string',
212
  source: 'attribute',
213
- selector: '.ugb-video-popup',
214
  attribute: 'data-video',
215
  },
216
- mediaLink: {
217
  type: 'string',
218
- source: 'attribute',
219
- selector: '.ugb-video-preview',
220
- attribute: 'data-url',
221
  },
222
- mediaID: {
 
 
 
 
223
  type: 'number',
224
  },
 
 
 
 
 
 
 
 
 
225
  overlayColor: {
226
  type: 'string',
227
- default: '#000000',
228
  },
229
- playButtonType: {
230
  type: 'string',
231
- default: 'normal'
232
- }
 
 
233
  }
234
 
235
  /**
@@ -245,10 +230,9 @@ export const schema = {
245
  * registered; otherwise `undefined`.
246
  */
247
  registerBlockType( 'ugb/video-popup', {
248
- // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
249
- title: __( 'Video Popup' ), // Block title.
250
- icon: VideoPopupIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
251
- category: 'stackable-ultimate-gutenberg-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
252
  keywords: [
253
  __( 'Video Popup' ),
254
  __( 'Stackable' ),
@@ -256,17 +240,29 @@ registerBlockType( 'ugb/video-popup', {
256
  attributes: schema,
257
 
258
  deprecated: [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  {
260
  attributes: deprecatedSchema_1_2_1,
261
  migrate: attributes => {
262
  attributes['videoID'] = attributes['videoLink']
263
  return attributes
264
  },
265
- isEligible: attributes => {
266
- return typeof attributes['videoLink'] === 'undefined'
267
- },
268
  save: deprecatedSave_1_2_1,
269
- }
270
  ],
271
 
272
  edit,
11
  import classnames from 'classnames'
12
  import { VideoPopupIcon } from '../../icons'
13
  import { getVideoProviderFromURL } from '../../util'
14
+ import PanelBackgroundSettings from '../../components/panel-background-settings'
15
  import {
16
+ deprecatedSchema_1_5, deprecatedSave_1_5,
17
  deprecatedSchema_1_2_1, deprecatedSave_1_2_1,
18
  } from './deprecated'
19
 
32
  URLInput,
33
  PanelBody,
34
  Fragment,
35
+ omit,
36
  } from '../../wp-imports'
37
 
38
  const playButton = {
50
  const {
51
  videoLink,
52
  videoID,
53
+ backgroundImageID,
54
+ backgroundImageURL,
55
+ backgroundColor,
56
  playButtonType,
57
+ backgroundOpacity,
58
  } = props.attributes
59
 
60
  const playButtonTypes = [
66
  const mainClasses = classnames( [
67
  className,
68
  'ugb-video-popup',
69
+ 'ugb-has-background-opacity-' + ( 1 * Math.round( backgroundOpacity / 1 ) ),
70
+ ], {
71
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
72
+ 'ugb-has-background-image': backgroundImageURL,
73
+ } )
74
+
75
+ const mainStyle = {
76
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
77
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
78
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
79
+ }
80
 
81
  return (
82
  <Fragment>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  <InspectorControls>
84
  <PanelBody>
85
  <SelectControl
92
  onChange={ ( newSize ) => { setAttributes( { playButtonType: newSize } ) } }
93
  />
94
  </PanelBody>
95
+ <PanelBackgroundSettings
96
+ initialOpen={ true }
97
+ backgroundColor={ backgroundColor }
98
+ backgroundImageID={ backgroundImageID }
99
+ backgroundImageURL={ backgroundImageURL }
100
+ backgroundOpacity={ backgroundOpacity }
101
+ onChangeBackgroundColor={ backgroundColor => setAttributes( { backgroundColor } ) }
102
+ onChangeBackgroundImage={ ( { url, id } ) => setAttributes( { backgroundImageURL: url, backgroundImageID: id } ) }
103
+ onRemoveBackgroundImage={ () => { setAttributes( { backgroundImageURL: '', backgroundImageID: 0 } ) } }
104
+ onChangeBackgroundOpacity={ backgroundOpacity => setAttributes( { backgroundOpacity } ) }
105
+ />
 
106
  </InspectorControls>
107
+ <div className={ mainClasses } style={ mainStyle }>
 
 
 
 
108
  <div className='ugb-video-wrapper' >
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  <span className="ugb-play-button">
110
  { playButton[ playButtonType ] }
111
  </span>
142
  const {
143
  videoLink,
144
  videoID,
 
 
145
  playButtonType,
146
+ backgroundImageID,
147
+ backgroundImageURL,
148
+ backgroundColor,
149
+ backgroundOpacity,
150
  } = props.attributes
151
 
152
  const mainClasses = classnames( [
153
  className,
154
  'ugb-video-popup',
155
+ 'ugb-has-background-opacity-' + ( 1 * Math.round( backgroundOpacity / 1 ) ),
156
+ ], {
157
+ 'ugb-has-background': backgroundColor || backgroundImageURL,
158
+ 'ugb-has-background-image': backgroundImageURL,
159
+ } )
160
+
161
+ const mainStyle = {
162
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
163
+ 'backgroundImage': backgroundImageURL ? `url(${backgroundImageURL})` : undefined,
164
+ '--ugb-background-color': backgroundImageURL ? backgroundColor : undefined,
165
+ }
166
 
167
  return (
168
+ <div className={ mainClasses } style={ mainStyle } data-video={ videoID }>
 
 
 
 
 
 
 
169
  <div className='ugb-video-wrapper' >
170
+ <a href="#"/>
171
  <span className='ugb-play-button'>
172
  { playButton[ playButtonType ] }
173
  </span>
179
  export const schema = {
180
  videoLink: {
181
  type: 'string',
 
 
 
182
  },
183
  videoID: {
184
  type: 'string',
185
  source: 'attribute',
186
+ // selector: '.ugb-video-preview',
187
  attribute: 'data-video',
188
  },
189
+ playButtonType: {
190
  type: 'string',
191
+ default: 'normal'
 
 
192
  },
193
+ backgroundColor: {
194
+ type: 'string',
195
+ default: '#000000',
196
+ },
197
+ backgroundImageID: {
198
  type: 'number',
199
  },
200
+ backgroundImageURL: {
201
+ type: 'string',
202
+ },
203
+ backgroundOpacity: {
204
+ type: 'number',
205
+ default: 5,
206
+ },
207
+
208
+ // Keep the old attributes. Gutenberg issue https://github.com/WordPress/gutenberg/issues/10406
209
  overlayColor: {
210
  type: 'string',
 
211
  },
212
+ mediaLink: {
213
  type: 'string',
214
+ },
215
+ mediaID: {
216
+ type: 'number',
217
+ },
218
  }
219
 
220
  /**
230
  * registered; otherwise `undefined`.
231
  */
232
  registerBlockType( 'ugb/video-popup', {
233
+ title: __( 'Video Popup' ),
234
+ icon: VideoPopupIcon,
235
+ category: 'stackable-ultimate-gutenberg-blocks',
 
236
  keywords: [
237
  __( 'Video Popup' ),
238
  __( 'Stackable' ),
240
  attributes: schema,
241
 
242
  deprecated: [
243
+ {
244
+ attributes: deprecatedSchema_1_5,
245
+ save: deprecatedSave_1_5,
246
+ migrate: attributes => {
247
+ return omit( {
248
+ ...attributes,
249
+ backgroundOpacity: 5,
250
+ backgroundColor: attributes.overlayColor,
251
+ backgroundImageID: attributes.mediaID,
252
+ backgroundImageURL: attributes.mediaLink,
253
+ }, [
254
+ 'overlayColor', 'mediaID', 'mediaLink',
255
+ ] )
256
+ },
257
+ },
258
  {
259
  attributes: deprecatedSchema_1_2_1,
260
  migrate: attributes => {
261
  attributes['videoID'] = attributes['videoLink']
262
  return attributes
263
  },
 
 
 
264
  save: deprecatedSave_1_2_1,
265
+ },
266
  ],
267
 
268
  edit,
src/block/video-popup/style.scss CHANGED
@@ -11,6 +11,45 @@
11
  margin-bottom: 10px;
12
  }
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  .ugb-video-popup {
15
  position: relative;
16
  width: 100%;
@@ -62,6 +101,13 @@
62
  svg {
63
  fill: #fff !important;
64
  }
 
 
 
 
 
 
 
65
  button.components-button.button {
66
  position: absolute;
67
  z-index: 4;
@@ -74,12 +120,9 @@
74
  }
75
  }
76
 
77
- .ugb-video-popup-link .editor-url-input input[type=text] {
78
- width: auto !important;
79
- }
80
-
81
- /**
82
- * Frontend Styles.
83
- */
84
- .wp-block-ugb-video-popup {
85
- }
11
  margin-bottom: 10px;
12
  }
13
 
14
+ .ugb-video-popup {
15
+ &:before {
16
+ transition: all .3s ease-in-out;
17
+ }
18
+ &.ugb-has-background-opacity-0:hover:before {
19
+ opacity: 0.3;
20
+ }
21
+ &.ugb-has-background-opacity-1:hover:before {
22
+ opacity: 0.4;
23
+ }
24
+ &.ugb-has-background-opacity-2:hover:before {
25
+ opacity: 0.5;
26
+ }
27
+ &.ugb-has-background-opacity-3:hover:before {
28
+ opacity: 0.6;
29
+ }
30
+ &.ugb-has-background-opacity-4:hover:before {
31
+ opacity: 0.1;
32
+ }
33
+ &.ugb-has-background-opacity-5:hover:before {
34
+ opacity: 0.2;
35
+ }
36
+ &.ugb-has-background-opacity-6:hover:before {
37
+ opacity: 0.3;
38
+ }
39
+ &.ugb-has-background-opacity-7:hover:before {
40
+ opacity: 0.4;
41
+ }
42
+ &.ugb-has-background-opacity-8:hover:before {
43
+ opacity: 0.5;
44
+ }
45
+ &.ugb-has-background-opacity-9:hover:before {
46
+ opacity: 0.6;
47
+ }
48
+ &.ugb-has-background-opacity-10:hover:before {
49
+ opacity: 0.7;
50
+ }
51
+ }
52
+
53
  .ugb-video-popup {
54
  position: relative;
55
  width: 100%;
101
  svg {
102
  fill: #fff !important;
103
  }
104
+ }
105
+
106
+ .ugb-video-popup-link .editor-url-input input[type=text] {
107
+ width: auto !important;
108
+ }
109
+
110
+ .ugb-video-popup {
111
  button.components-button.button {
112
  position: absolute;
113
  z-index: 4;
120
  }
121
  }
122
 
123
+ // Don't add a background color to the popup's close button.
124
+ #bp_container .bp-x {
125
+ &, &:hover {
126
+ background: none !important;
127
+ }
128
+ }
 
 
 
src/common.scss CHANGED
@@ -44,7 +44,7 @@ $break-mobile: 480px;
44
  width: auto;
45
  margin-left: 8px;
46
  [type=text] {
47
- width: 100%;
48
  }
49
  }
50
  }
44
  width: auto;
45
  margin-left: 8px;
46
  [type=text] {
47
+ width: 100% !important;
48
  }
49
  }
50
  }
src/components/image-control/editor.scss CHANGED
@@ -6,6 +6,7 @@
6
  align-items: center;
7
  background: #f1f1f1;
8
  margin-bottom: 12px;
 
9
  svg {
10
  height: 50px;
11
  fill: #ddd;
@@ -15,22 +16,32 @@
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
  }
6
  align-items: center;
7
  background: #f1f1f1;
8
  margin-bottom: 12px;
9
+ margin-top: .6rem;
10
  svg {
11
  height: 50px;
12
  fill: #ddd;
16
  .ugb-image-preview {
17
  border-radius: 4px;
18
  cursor: pointer;
 
19
  }
20
  .ugb-image-preview-wrapper {
21
  position: relative;
22
+ display: flex;
23
+ justify-content: center;
24
+ align-items: center;
25
+ background: #f1f1f1;
26
+ margin-top: .6rem;
27
+ border-radius: 4px;
28
  svg {
29
  stroke: rgba(0,0,0,0.3);
30
  stroke-width: 1px;
31
  fill: #fff;
32
  }
33
  }
34
+ .ugb-image-preview {
35
+ min-width: 100px;
36
+ flex: 1 1 100px;
37
+ margin: 0;
38
+ }
39
  .ugb-image-preview-remove {
40
  background: none !important;
41
  color: #ddd;
42
  border: none;
43
  position: absolute;
44
+ top: 10px;
45
  right: 4px;
46
  cursor: not-allowed;
47
  }
src/components/image-upload-placeholder/editor.scss ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ugb-image-upload-placeholder {
2
+ cursor: copy;
3
+ }
4
+ .ugb-image-upload-has-placeholder {
5
+ background: #f1f1f1;
6
+ display: flex;
7
+ justify-content: center;
8
+ align-items: center;
9
+ height: 150px;
10
+ width: 100%;
11
+ svg {
12
+ width: 100%;
13
+ max-height: 50px;
14
+ fill: #ddd;
15
+ max-width: 40%;
16
+ width: 100%;
17
+ }
18
+ &:hover {
19
+ background: #fafafa;
20
+ }
21
+ }
22
+ .ugb-image-upload-has-image {
23
+ &:hover {
24
+ opacity: .8;
25
+ }
26
+ }
27
+
28
+ .ugb-image-upload-remove {
29
+ background: none !important;
30
+ color: #ddd;
31
+ border: none;
32
+ position: absolute;
33
+ top: 10px;
34
+ right: 4px;
35
+ cursor: not-allowed;
36
+ display: none;
37
+ z-index: 9 !important;
38
+ svg {
39
+ stroke: rgba(0,0,0,0.3);
40
+ stroke-width: 1px;
41
+ fill: #fff;
42
+ max-width: none;
43
+ }
44
+ }
45
+
46
+ // Only display the X button when selected/hovered.
47
+ .editor-block-list__block {
48
+ &.is-selected, &.is-hovered {
49
+ .ugb-image-upload-remove {
50
+ display: block;
51
+ }
52
+ }
53
+ }
src/components/image-upload-placeholder/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-upload-placeholder/index.js ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import './editor.scss'
2
+ import classnames from 'classnames'
3
+ import {
4
+ MediaUpload,
5
+ Dashicon,
6
+ } from '../../wp-imports'
7
+
8
+ const ImageUploadPlaceholder = ( props ) => {
9
+
10
+ const {
11
+ imageID,
12
+ imageURL,
13
+ onChange = ( { url, id } ) => {},
14
+ onRemove = () => {},
15
+ className = '',
16
+ allowedTypes = ['image'],
17
+ render = undefined,
18
+ hasRemove = true,
19
+ } = props
20
+
21
+ const imageClass = classnames( [
22
+ className,
23
+ 'ugb-image-upload-placeholder',
24
+ ], {
25
+ 'ugb-image-upload-has-image': imageURL,
26
+ 'ugb-image-upload-has-placeholder': ! imageURL,
27
+ } )
28
+
29
+ const style = {
30
+ backgroundImage: imageURL && ! render ? `url(${imageURL})` : undefined,
31
+ }
32
+
33
+ return (
34
+ <MediaUpload
35
+ onSelect={ onChange }
36
+ allowedTypes={ allowedTypes }
37
+ value={ imageID }
38
+ render={ obj => {
39
+ if ( imageURL && render ) {
40
+ return (
41
+ <div { ...props } render={ undefined } className={ imageClass } onClick={ obj.open } style={ style } data-is-placeholder-visible={ ! imageURL }>{ render }</div>
42
+ )
43
+ }
44
+ return (
45
+ <div { ...props } className={ imageClass } onClick={ obj.open } style={ style } data-is-placeholder-visible={ ! imageURL }>
46
+ { imageURL && hasRemove && (
47
+ <button className='ugb-image-upload-remove' onClick={ ev => { onRemove(); ev.stopPropagation() } }><Dashicon icon='no'/></button>
48
+ ) }
49
+ { ! imageURL && (
50
+ <svg viewBox="0 0 512 376">
51
+ <path d="M0,0v376h512V0H0z M480,344H32V32h448V344z"/>
52
+ <circle cx="409.1" cy="102.9" r="40.9"/>
53
+ <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"/>
54
+ </svg>
55
+ ) }
56
+ </div>
57
+ )
58
+ } }
59
+ />
60
+ )
61
+ }
62
+
63
+ export default ImageUploadPlaceholder
src/components/panel-background-settings/index.js CHANGED
@@ -18,10 +18,10 @@ function PanelBackgroundSettings( props ) {
18
  backgroundOpacity,
19
  fixedBackground,
20
  onChangeBackgroundColor = () => {},
21
- onChangeBackgroundImage = ( { url, id } ) => {},
22
- onRemoveBackgroundImage = () => {},
23
- onChangeBackgroundOpacity = () => {},
24
- onChangeFixedBackground = () => {},
25
  } = props
26
 
27
  return (
@@ -38,26 +38,32 @@ function PanelBackgroundSettings( props ) {
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
  )
18
  backgroundOpacity,
19
  fixedBackground,
20
  onChangeBackgroundColor = () => {},
21
+ onChangeBackgroundImage, // = ( { url, id } ) => {},
22
+ onRemoveBackgroundImage, // = () => {},
23
+ onChangeBackgroundOpacity, // = () => {},
24
+ onChangeFixedBackground,
25
  } = props
26
 
27
  return (
38
  ] }
39
  { ...props }
40
  >
41
+ { onChangeBackgroundImage && (
42
+ <ImageControl
43
+ label={ __( 'Background Image' ) }
44
+ onRemove={ onRemoveBackgroundImage }
45
+ onChange={ onChangeBackgroundImage }
46
+ imageID={ backgroundImageID }
47
+ imageURL={ backgroundImageURL }
48
+ />
49
+ ) }
50
+ { onChangeBackgroundOpacity && (
51
+ <RangeControl
52
+ label={ __( 'Background Image Tint Strength' ) }
53
+ value={ backgroundOpacity }
54
+ onChange={ onChangeBackgroundOpacity }
55
+ min={ 0 }
56
+ max={ 10 }
57
+ step={ 1 }
58
  />
59
+ ) }
60
+ { onChangeFixedBackground && (
61
+ <ToggleControl
62
+ label={ __( 'Fixed Background' ) }
63
+ checked={ fixedBackground }
64
+ onChange={ onChangeFixedBackground }
65
+ />
66
+ ) }
 
 
 
 
 
67
  </PanelColorSettings>
68
  </Fragment>
69
  )
src/components/vertical-alignment-toolbar/images/bottom.svg ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve">
5
+ <rect x="3" y="15.1" width="14" height="2"/>
6
+ <path d="M9.4,2.9h1.2v8.6l1.3-1.3L13,11l-3,3l-3-3l1.1-0.8l1.3,1.3V2.9z"/>
7
+ </svg>
src/components/vertical-alignment-toolbar/images/center.svg ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve">
5
+ <rect x="3" y="9" width="14" height="2"/>
6
+ <path d="M10.6,18.4H9.4v-3.9l-1.3,1.3L7,15l3-3l3,3l-1.1,0.8l-1.3-1.3V18.4z"/>
7
+ <path d="M9.4,1.6h1.2v3.9l1.3-1.3L13,5l-3,3L7,5l1.1-0.8l1.3,1.3V1.6z"/>
8
+ </svg>
src/components/vertical-alignment-toolbar/images/top.svg ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve">
5
+ <rect x="3" y="3" width="14" height="2"/>
6
+ <path d="M10.6,17.1H9.4V8.4L8.1,9.7L7,9l3-3l3,3l-1.1,0.8l-1.3-1.3C10.6,8.5,10.6,17.1,10.6,17.1z"/>
7
+ </svg>
src/components/vertical-alignment-toolbar/index.js ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Vertical alignment toolbar
3
+ * Very similar to the AlignmentToolbar, but is meant for top/center/bottom vertical alignments
4
+ *
5
+ * The code is mostly from AlignmentToolbar
6
+ */
7
+ import {
8
+ __,
9
+ Toolbar,
10
+ } from '../../wp-imports'
11
+
12
+ const { find } = lodash
13
+ const { withViewportMatch } = wp.viewport
14
+ const { withSelect } = wp.data
15
+ const { compose } = wp.compose
16
+
17
+ export const IconTop = () => {
18
+ return (
19
+ <svg viewBox="0 0 20 20" width="20" height="20">
20
+ <rect x="3" y="3" width="14" height="2"/>
21
+ <path d="M10.6,17.1H9.4V8.4L8.1,9.7L7,9l3-3l3,3l-1.1,0.8l-1.3-1.3C10.6,8.5,10.6,17.1,10.6,17.1z"/>
22
+ </svg>
23
+ )
24
+ }
25
+
26
+ export const IconCenter = () => {
27
+ return (
28
+ <svg viewBox="0 0 20 20" width="20" height="20">
29
+ <rect x="3" y="9" width="14" height="2"/>
30
+ <path d="M10.6,18.4H9.4v-3.9l-1.3,1.3L7,15l3-3l3,3l-1.1,0.8l-1.3-1.3V18.4z"/>
31
+ <path d="M9.4,1.6h1.2v3.9l1.3-1.3L13,5l-3,3L7,5l1.1-0.8l1.3,1.3V1.6z"/>
32
+ </svg>
33
+ )
34
+ }
35
+
36
+ export const IconBottom = () => {
37
+ return (
38
+ <svg viewBox="0 0 20 20" width="20" height="20">
39
+ <rect x="3" y="15.1" width="14" height="2"/>
40
+ <path d="M9.4,2.9h1.2v8.6l1.3-1.3L13,11l-3,3l-3-3l1.1-0.8l1.3,1.3V2.9z"/>
41
+ </svg>
42
+ )
43
+ }
44
+
45
+ const ALIGNMENT_CONTROLS = [
46
+ {
47
+ icon: IconTop(),
48
+ title: __( 'Align Top' ),
49
+ align: 'flex-start',
50
+ },
51
+ {
52
+ icon: IconCenter(),
53
+ title: __( 'Align center' ),
54
+ align: 'center',
55
+ },
56
+ {
57
+ icon: IconBottom(),
58
+ title: __( 'Align right' ),
59
+ align: 'flex-end',
60
+ },
61
+ ];
62
+
63
+ export function VerticalAlignmentToolbar( { isCollapsed, value, onChange } ) {
64
+ function applyOrUnset( align ) {
65
+ return () => onChange( value === align ? undefined : align );
66
+ }
67
+
68
+ const activeAlignment = find( ALIGNMENT_CONTROLS, ( control ) => control.align === value );
69
+
70
+ return (
71
+ <Toolbar
72
+ isCollapsed={ isCollapsed }
73
+ icon={ activeAlignment ? activeAlignment.icon : IconTop() }
74
+ label={ __( 'Change Vertical Alignment' ) }
75
+ controls={ ALIGNMENT_CONTROLS.map( ( control ) => {
76
+ const { align } = control;
77
+ const isActive = ( value === align );
78
+
79
+ return {
80
+ ...control,
81
+ isActive,
82
+ onClick: applyOrUnset( align ),
83
+ };
84
+ } ) }
85
+ />
86
+ );
87
+ }
88
+
89
+ export default compose(
90
+ withViewportMatch( { isLargeViewport: 'medium' } ),
91
+ withSelect( ( select, { clientId, isLargeViewport, isCollapsed } ) => {
92
+ const { getBlockRootClientId, getEditorSettings } = select( 'core/editor' );
93
+ return {
94
+ isCollapsed: isCollapsed || ! isLargeViewport || (
95
+ ! getEditorSettings().hasFixedToolbar &&
96
+ getBlockRootClientId( clientId )
97
+ ),
98
+ };
99
+ } ),
100
+ )( VerticalAlignmentToolbar );
src/editor.scss CHANGED
@@ -1,5 +1,5 @@
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;
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, border-radius .2s ease-in-out;
3
  .wp-admin .ugb-has-background {
4
  &, &:before {
5
  transition: $effect-transition;