Version Description
- Fixed: Smaller box padding for smaller screens
- Fixed: Better responsive styles for the feature grid block
- Fixed: WordPress 5.0 beta support - invalid script and style dependencies
- Fixed: WordPress 5.0 beta support - headers already sent errors
- Fixed: Custom classnames are now applied correctly
- Fixed: Standardized all Button inspector settings
- Fixed: Converted all column options to a slider
- Fixed: URL fields are sometimes too wide
- Fixed: Video Popup block now accepts YouTube & Vimeo URLs instead of only IDs
- Fixed: Freemius Opt-in first before the welcome screen
- Changed: Added support forum and rating areas in the welcome screen
Download this release
Release Info
Developer | bfintal |
Plugin | Stackable – Page Builder Gutenberg Blocks |
Version | 1.4 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.4
- dist/admin.welcome.css +35 -0
- dist/admin.welcome.min.css +1 -1
- dist/blocks.build.js +1 -1
- dist/blocks.editor.build.css +22 -22
- dist/blocks.frontend.build.js +14 -13
- dist/blocks.frontend.build.min.js +1 -1
- dist/blocks.style.build.css +21 -21
- freemius.php +9 -7
- freemius/assets/img/stackable-ultimate-gutenberg-blocks.png +0 -0
- plugin.php +2 -2
- readme.txt +22 -2
- src/block/blockquote/index.js +14 -2
- src/block/button/button-edit.js +10 -1
- src/block/button/button-save.js +11 -2
- src/block/button/index.js +25 -41
- src/block/button/style.scss +0 -10
- src/block/call-to-action/index.js +28 -45
- src/block/card/index.js +29 -50
- src/block/count-up/index.js +15 -3
- src/block/divider/index.js +15 -4
- src/block/expand/deprecated.js +75 -0
- src/block/expand/index.js +52 -32
- src/block/feature-grid/index.js +16 -3
- src/block/feature-grid/style.scss +20 -2
- src/block/feature/index.js +12 -36
- src/block/ghost-button/index.js +22 -3
- src/block/header/index.js +47 -66
- src/block/icon-list/index.js +19 -2
- src/block/image-box/index.js +22 -11
- src/block/notification/index.js +43 -30
- src/block/number-box/index.js +87 -82
- src/block/pricing-box/index.js +33 -55
- src/block/pullquote/index.js +14 -3
- src/block/spacer/deprecated.js +15 -0
- src/block/spacer/index.js +34 -12
- src/block/team-member/index.js +130 -122
- src/block/testimonial/index.js +123 -118
- src/block/video-popup/deprecated.js +58 -0
- src/block/video-popup/index.js +80 -36
- src/common.scss +27 -1
- src/components/panel-button-settings/index.js +66 -0
- src/init.php +8 -12
- src/util.js +45 -0
- src/welcome.scss +7 -0
- welcome.php +7 -0
dist/admin.welcome.css
CHANGED
@@ -50,6 +50,23 @@ form[class*="ugb-"][class*="-link"],
|
|
50 |
align-items: center;
|
51 |
}
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
[class*="ugb-"].alignfull {
|
54 |
border-radius: 0 !important;
|
55 |
}
|
@@ -102,6 +119,7 @@ body.toplevel_page_stackable .s-box {
|
|
102 |
background-color: #fff;
|
103 |
border-radius: 12px;
|
104 |
padding: 60px 35px;
|
|
|
105 |
}
|
106 |
|
107 |
body.toplevel_page_stackable .s-button {
|
@@ -158,6 +176,7 @@ body.toplevel_page_stackable .s-body-container li {
|
|
158 |
body.toplevel_page_stackable .s-side h2,
|
159 |
body.toplevel_page_stackable .s-side h3 {
|
160 |
text-align: center;
|
|
|
161 |
}
|
162 |
|
163 |
body.toplevel_page_stackable .s-gambit-logo {
|
@@ -178,8 +197,24 @@ body.toplevel_page_stackable .s-plus-button {
|
|
178 |
width: 1em;
|
179 |
}
|
180 |
|
|
|
|
|
|
|
|
|
181 |
@media screen and (max-width: 960px) {
|
182 |
body.toplevel_page_stackable .s-body-container {
|
183 |
grid-template-columns: 1fr;
|
184 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
}
|
50 |
align-items: center;
|
51 |
}
|
52 |
|
53 |
+
.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link {
|
54 |
+
margin: 1rem auto 0 auto;
|
55 |
+
}
|
56 |
+
|
57 |
+
.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input {
|
58 |
+
max-width: 300px;
|
59 |
+
-webkit-box-flex: 1;
|
60 |
+
-ms-flex: 1;
|
61 |
+
flex: 1;
|
62 |
+
width: auto;
|
63 |
+
margin-left: 8px;
|
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 |
[class*="ugb-"].alignfull {
|
71 |
border-radius: 0 !important;
|
72 |
}
|
119 |
background-color: #fff;
|
120 |
border-radius: 12px;
|
121 |
padding: 60px 35px;
|
122 |
+
margin-bottom: 30px;
|
123 |
}
|
124 |
|
125 |
body.toplevel_page_stackable .s-button {
|
176 |
body.toplevel_page_stackable .s-side h2,
|
177 |
body.toplevel_page_stackable .s-side h3 {
|
178 |
text-align: center;
|
179 |
+
line-height: 1.2em;
|
180 |
}
|
181 |
|
182 |
body.toplevel_page_stackable .s-gambit-logo {
|
197 |
width: 1em;
|
198 |
}
|
199 |
|
200 |
+
body.toplevel_page_stackable .s-support-box > p:last-child {
|
201 |
+
text-align: center;
|
202 |
+
}
|
203 |
+
|
204 |
@media screen and (max-width: 960px) {
|
205 |
body.toplevel_page_stackable .s-body-container {
|
206 |
grid-template-columns: 1fr;
|
207 |
}
|
208 |
+
}
|
209 |
+
|
210 |
+
@media screen and (max-width: 782px) {
|
211 |
+
body.toplevel_page_stackable .s-box {
|
212 |
+
padding: 40px 23.3333333333px;
|
213 |
+
}
|
214 |
+
}
|
215 |
+
|
216 |
+
@media screen and (max-width: 600px) {
|
217 |
+
body.toplevel_page_stackable .s-box {
|
218 |
+
padding: 35px 17.5px;
|
219 |
+
}
|
220 |
}
|
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}[class*=ugb-].alignfull{border-radius:0!important}body.toplevel_page_stackable .s-body-container,body.toplevel_page_stackable .s-header{padding:50px}body.toplevel_page_stackable .s-header{background:-webkit-gradient(linear,left top,right top,from(#ab5af1),to(#fb6874));background:linear-gradient(to right,#ab5af1,#fb6874);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:100px}body.toplevel_page_stackable .s-header img{height:50px}body.toplevel_page_stackable h1{color:#fff;font-size:2.5em;font-weight:700}body.toplevel_page_stackable h2{font-size:2em}body.toplevel_page_stackable h3{font-size:1.5em}body.toplevel_page_stackable .s-box{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);background-color:#fff;border-radius:12px;padding:60px 35px}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}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}@media screen and (max-width:960px){body.toplevel_page_stackable .s-body-container{grid-template-columns:1fr}}
|
1 |
+
body.toplevel_page_stackable #wpcontent{padding-left:0}body.toplevel_page_stackable .wrap{margin:0}.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*=ugb-] form[class*="-link"],[class*=ugb-]+form[class*="-link"],form[class*=ugb-][class*="-link"]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-webkit-box-flex:1;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*=ugb-].alignfull{border-radius:0!important}body.toplevel_page_stackable .s-body-container,body.toplevel_page_stackable .s-header{padding:50px}body.toplevel_page_stackable .s-header{background:-webkit-gradient(linear,left top,right top,from(#ab5af1),to(#fb6874));background:linear-gradient(to right,#ab5af1,#fb6874);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:100px}body.toplevel_page_stackable .s-header img{height:50px}body.toplevel_page_stackable h1{color:#fff;font-size:2.5em;font-weight:700}body.toplevel_page_stackable h2{font-size:2em}body.toplevel_page_stackable h3{font-size:1.5em}body.toplevel_page_stackable .s-box{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);background-color:#fff;border-radius:12px;padding:60px 35px;margin-bottom:30px}body.toplevel_page_stackable .s-button{border:none;border-radius:4px;-webkit-box-shadow:none!important;cursor:pointer;opacity:1;background:#ab5af1;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;box-shadow:none!important;color:#fff;text-decoration:none;padding:.75em 1.25em;display:block;margin:0 auto;max-width:200px;text-align:center}body.toplevel_page_stackable .s-button:hover{opacity:.85;-webkit-box-shadow:none!important;box-shadow:none!important}body.toplevel_page_stackable .s-body-container{display:grid;grid-template-columns:1fr 350px;grid-gap:30px;padding-top:0;margin-top:-50px}body.toplevel_page_stackable .s-body-container :first-child{margin-top:0!important}body.toplevel_page_stackable .s-body-container :last-child{margin-bottom:0!important}body.toplevel_page_stackable .s-body-container li,body.toplevel_page_stackable .s-body-container p{font-size:18px}body.toplevel_page_stackable .s-body-container li{margin-bottom:.6em}body.toplevel_page_stackable .s-side h2,body.toplevel_page_stackable .s-side h3{text-align:center;line-height:1.2em}body.toplevel_page_stackable .s-gambit-logo{display:inline-block;vertical-align:middle;padding-top:10px;margin:0 10px}body.toplevel_page_stackable .s-gif{display:block;margin:0 auto}body.toplevel_page_stackable .s-plus-button{height:1em;vertical-align:top;width:1em}body.toplevel_page_stackable .s-support-box>p:last-child{text-align:center}@media screen and (max-width:960px){body.toplevel_page_stackable .s-body-container{grid-template-columns:1fr}}@media screen and (max-width:782px){body.toplevel_page_stackable .s-box{padding:40px 23.33px}}@media screen and (max-width:600px){body.toplevel_page_stackable .s-box{padding:35px 17.5px}}
|
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=8)}([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 c}),n.d(t,"q",function(){return u}),n.d(t,"f",function(){return i}),n.d(t,"h",function(){return s}),n.d(t,"e",function(){return m}),n.d(t,"r",function(){return b}),n.d(t,"k",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"b",function(){return d}),n.d(t,"i",function(){return h}),n.d(t,"d",function(){return w}),n.d(t,"a",function(){return v}),n.d(t,"o",function(){return y}),n.d(t,"s",function(){return C}),n.d(t,"j",function(){return E}),n.d(t,"l",function(){return O}),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 R}),n.d(t,"u",function(){return A}),n.d(t,"v",function(){return I}),n.d(t,"y",function(){return M}),n.d(t,"w",function(){return U});var l=wp.blocks.registerBlockType,o=wp.i18n.__,r=wp.components,a=r.RangeControl,c=r.SelectControl,u=(r.TextControl,r.ToggleControl),i=r.Dashicon,s=r.IconButton,m=r.Button,b=r.Toolbar,p=r.PanelBody,g=r.RadioControl,d=r.BaseControl,f=wp.editor.InspectorControls?wp.editor:wp.blocks,h=f.InspectorControls,w=f.BlockControls,v=f.AlignmentToolbar,y=f.RichText,C=f.URLInput,E=f.MediaUpload,x=wp.editor,O=x.PanelColorSettings,N=x.BlockAlignmentToolbar,k=wp.element,j=k.Fragment,T=k.renderToString,B=lodash,S=B.omit,z=B.merge,L=wp.hooks,R=L.doAction,A=L.addAction,I=L.applyFilters,F=(L.addFilter,stackable),M=F.isPro,U=F.blockSrcUrl;F.primaryColor},function(e,t,n){"use strict";n.d(t,"j",function(){return a}),n.d(t,"a",function(){return c}),n.d(t,"g",function(){return u}),n.d(t,"c",function(){return i}),n.d(t,"n",function(){return s}),n.d(t,"o",function(){return m}),n.d(t,"q",function(){return b}),n.d(t,"b",function(){return p}),n.d(t,"p",function(){return g}),n.d(t,"d",function(){return d}),n.d(t,"k",function(){return f}),n.d(t,"h",function(){return h}),n.d(t,"l",function(){return w}),n.d(t,"r",function(){return v}),n.d(t,"m",function(){return y}),n.d(t,"f",function(){return C}),n.d(t,"e",function(){return E}),n.d(t,"i",function(){return x});var l=function(e){return wp.element.createElement("defs",null,wp.element.createElement("linearGradient",e,wp.element.createElement("stop",{offset:"0%",stopColor:"#ab5af1",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#fb6874",stopOpacity:"1"})))},o=1,r=function(){return"stk-icon-"+o++},a=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"20",height:"20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M512 96c-111.118 0-215.584 43.272-294.156 121.844S96 400.882 96 512s43.272 215.584 121.844 294.156S400.882 928 512 928s215.584-43.272 294.156-121.844S928 623.118 928 512s-43.272-215.584-121.843-294.156S623.118 96 512 96zm0-96c282.77 0 512 229.23 512 512s-229.23 512-512 512S0 794.77 0 512 229.23 0 512 0zm-64 704h128v128H448zm0-512h128v384H448z"}))},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:"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"}))},u=function(){return wp.element.createElement(c,null)},i=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 9h12v2H4V9z"}))},s=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z"}))},m=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 14 32"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 29h5.833L0 23h5V9H0l5.833-6H0V0h14v3H8.167L14 9H9v14h5l-5.833 6H14v3H0v-3z"}))},b=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 13 12.916010856628418"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M5.68 12.916a.5.5 0 0 1-.397-.196L3.208 10H1.463C.656 10 0 9.428 0 8.621V1.463C0 .656.656 0 1.463 0h10.074C12.344 0 13 .656 13 1.463v7.158C13 9.428 12.344 10 11.537 10H8.151l-2.073 2.72a.504.504 0 0 1-.398.196zM1.463 1A.464.464 0 0 0 1 1.463v7.158c0 .255.208.463.463.463h1.993a.5.5 0 0 1 .397.196l1.827 2.312L7.507 9.28a.502.502 0 0 1 .397-.196h3.633A.464.464 0 0 0 12 8.621V1.463A.464.464 0 0 0 11.537 1H1.463zm1.193 2h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49zm0 3h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49z"}))},p=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 16 14"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M10 0c-.17 0-.36.05-.52.14C8.04 1.02 4.5 3.58 3 4c-1.38 0-3 .67-3 2.5S1.63 9 3 9c.3.08.64.23 1 .41V14h2v-3.45c1.34.86 2.69 1.83 3.48 2.31.16.09.34.14.52.14.52 0 1-.42 1-1V1c0-.58-.48-1-1-1zm0 12c-.38-.23-.89-.58-1.5-1-.16-.11-.33-.22-.5-.34V2.31c.16-.11.31-.2.47-.31.61-.41 1.16-.77 1.53-1v11zm2-6h4v1h-4V6zm0 2l4 2v1l-4-2V8zm4-6v1l-4 2V4l4-2z"}))},g=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 896 1023"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M821 491q-41-41-95-60 62-26 100-82t38-125q0-93-65.5-158.5T640 0q-71 0-128.5 41T430 147q-32-39-77-61t-97-22q-93 0-158.5 65.5T32 288q0 69 38 125t100 82q-54 19-95 60Q0 630 0 736v191q0 40 28 68t68 28h320q31 0 55.5-18t34.5-46h294q40 0 68-28t28-68V672q0-106-75-181zM527 111q47-47 113-47t113 47 47 113-47 113-113 47-113-47-47-113 47-113zM143 401q-47-47-47-113t47-113 113-47 113 47 47 113-47 113-113 47-113-47zm305 526q0 13-9.5 22.5T416 959H96q-13 0-22.5-9.5T64 927V736q0-79 56.5-135.5T256 544t136 56q1 2 2 3 54 55 54 133v191zm-27-387q-36-30-79-45 43-18 75.5-52t48.5-78q36 44 88 66-54 19-95 60-22 23-38 49zm411 323q0 13-9.5 22.5T800 895H512V736q0-80-46-146 15-30 38-53 57-57 136-57t135.5 56.5T832 672v191z"}))},d=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 8"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 0C1.79 0 0 1.79 0 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm24 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM16 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"}))},f=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 21.027502059936523 10.284000396728516"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M3.028 10.284a1 1 0 0 1-1-1V2.902l-.553.276A1 1 0 1 1 .58 1.389l2-1a.998.998 0 0 1 1.447.895v8a1 1 0 0 1-1 1zm9 0h-5a1.002 1.002 0 0 1-.707-1.707l4-4c.254-.254.394-.591.394-.95 0-.358-.14-.695-.394-.949-.508-.508-1.39-.508-1.9.001a1.33 1.33 0 0 0-.393.948 1 1 0 0 1-2 0c0-.894.348-1.733.98-2.364C8.273 0 10.472 0 11.735 1.264c.632.631.979 1.471.979 2.363 0 .893-.348 1.733-.98 2.364L9.443 8.284h2.586a1 1 0 0 1 0 2zm7.955-5.623a2.725 2.725 0 0 0 .545-1.627 2.753 2.753 0 0 0-2.75-2.75 2.739 2.739 0 0 0-2.44 1.484 1 1 0 1 0 1.776.92.75.75 0 1 1 .664 1.096 1 1 0 0 0 0 2c.689 0 1.25.561 1.25 1.25s-.561 1.25-1.25 1.25-1.25-.561-1.25-1.25a1 1 0 0 0-2 0c0 1.792 1.458 3.25 3.25 3.25s3.25-1.458 3.25-3.25a3.23 3.23 0 0 0-1.045-2.373z"}))},h=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 38"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 0h32v38H0V0zm3 3v32h26V3H3zm2 2h22v7H5V5zm0 9h14v19H5V14zm16 19V14h6v19h-6zM6 6v5h20V6H6z"}))},w=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 896"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M960 0H64Q38 0 19 19T0 64v768q0 26 19 45t45 19h896q26 0 45-19t19-45V64q0-26-19-45T960 0zM64 64h896v714L724 430q-7-12-21-14t-25 7L524 548 350 305q-10-14-28-13t-26 17L64 757V64zm855 768H97l231-447 184 255 179-145zM737 190q13 0 22.5 9.5T769 222t-9.5 22.5T737 254t-22.5-9.5T705 222t9.5-22.5T737 190zm0-64q-40 0-68 28t-28 68 28 68 68 28 68-28 28-68-28-68-68-28z"}))},v=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 38 26"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M2 0h34a2 2 0 0 1 2 2v22a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.77 4C6.24 4 5 5.511 5 7.375v11.25C5 20.489 6.24 22 7.77 22h15.46c1.53 0 2.77-1.511 2.77-3.375V16l6 5h1V5h-1l-6 5V7.375C26 5.511 24.76 4 23.23 4H7.77z"}))},y=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 448 448"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M416 32V0H256L0 288l160 160 23.471-23.904L208 448l240-272V32h-32zM160 425.371L22.39 288 262.621 16H400v137.377l-216.555 247.99-11.34 11.363L160 425.371zm272-255.994L208 425.371l-13.182-12.65L416 160V48h16v121.377z"}),wp.element.createElement("path",{d:"M320 128c17.645 0 32-14.355 32-32s-14.355-32-32-32-32 14.355-32 32 14.355 32 32 32zm0-48c8.836 0 16 7.163 16 16s-7.164 16-16 16-16-7.163-16-16 7.164-16 16-16z"}))},C=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 95.11"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"50 0 65.45 31.31 100 36.33 75 60.7 80.9 95.11 50 78.86 19.1 95.11 25 60.7 0 36.33 34.55 31.31 50 0"}))},E=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,2.4 30.1,16.8 46,19.2 34.5,30.4 37.2,46.2 23,38.7 8.8,46.2 11.5,30.4 0,19.2 15.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,2.4 84.1,16.8 100,19.2 88.5,30.4 91.2,46.2 77,38.7 62.8,46.2 65.5,30.4 54,19.2 69.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,52.1 30.1,66.5 46,68.8 34.5,80 37.2,95.9 23,88.4 8.8,95.9 11.5,80 0,68.8 15.9,66.5 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,52.1 84.1,66.5 100,68.8 88.5,80 91.2,95.9 77,88.4 62.8,95.9 65.5,80 54,68.8 69.9,66.5 "}))},x=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,42.3 2.7,36.1 0,38.8 9,47.8 27.6,29.3 24.8,26.5 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"34.6",width:"64.8",height:"5.1"}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,70.7 2.7,64.4 0,67.1 9,76.2 27.6,57.6 24.8,54.8 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"63",width:"64.8",height:"5.1"}))}},function(e,t,n){"use strict";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,r=void 0===l?"normal":l,a=e.color,c=e.text,u=void 0===c?"":c,i=e.backgroundColor,s=e.borderRadius,m=void 0===s?4:s,b=e.isSelected,p=void 0===b?null:b,g=e.onFocus,d=void 0===g?function(){}:g,f=e.onChange,h=void 0===f?function(){}:f,w={borderRadius:m+"px",backgroundColor:i||void 0};return wp.element.createElement("span",{className:"ugb-button ugb-button-"+n+" ugb-button-"+r,style:w,"data-is-placeholder-visible":o.o.isEmpty(u)},wp.element.createElement(o.o,{tagName:"span",placeholder:Object(o.t)("Enter Text"),value:u,onChange:h,formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:a},onFocus:d,isSelected:p,keepPlaceholderOnFocus:!0}))}var o=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,r=void 0===l?"normal":l,a=e.url,c=void 0===a?"":a,u=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={borderRadius:m+"px",backgroundColor:s||void 0};return wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+r,style:b},wp.element.createElement(o.o.Content,{tagName:"a",className:"ugb-button-inner",href:c,style:{color:u},value:i}))}var o=n(0);t.a=l},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 c in l)r.call(l,c)&&l[c]&&e.push(c)}}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";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,a=e.url,c=void 0===a?"":a,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(r.o.Content,{tagName:"a",className:"ugb-button-inner",href:c,style:{color:u},value:i}))}function o(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,a=e.url,c=void 0===a?"":a,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(r.o.Content,{tagName:"a",className:"ugb-button-inner",href:c,style:{color:u},value:i}))}n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c}),n.d(t,"d",function(){return u}),n.d(t,"f",function(){return i}),n.d(t,"c",function(){return s}),n.d(t,"e",function(){return m});var r=n(0),a=l,c=o,u=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.align,a=t.color,u=t.textColor,i=t.size,s=t.cornerButtonRadius,m=t.design,b=wp.element.createElement(c,{align:o,size:i,url:n,color:u,text:l,backgroundColor:a,borderRadius:s});return Object(r.v)("stackable.designs.button.save",b,m,e)},i={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}},s=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.textColor,c=t.size,u=t.cornerButtonRadius,i={backgroundColor:r,color:a,borderRadius:u+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+c,style:i},l))},m={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}}},function(e,t){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";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r});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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(9),n(12),n(15),n(22),n(26),n(32),n(36),n(40),n(44),n(47),n(50),n(53),n(56),n(60),n(64),n(68),n(71),n(74),n(78),n(81),n(85),n(88)},function(e,t,n){"use strict";var l=n(10),o=(n.n(l),n(11)),r=(n.n(o),n(1)),a=n(0),c=function(e){var t=e.attributes.height;return wp.element.createElement("div",{style:{height:t+"px"}})},u=function(e){var t=(e.isSelected,e.attributes.height);return wp.element.createElement(a.g,null,wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.n,{label:Object(a.t)("Height"),value:t,min:"30",max:"200",onChange:function(t){e.setAttributes({height:t})}}))),wp.element.createElement("div",{className:e.className,style:{height:t+"px"}}))};Object(a.B)("ugb/spacer",{title:Object(a.t)("Spacer"),icon:r.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Spacer"),Object(a.t)("Stackable")],attributes:{height:{default:50,type:"number"}},edit:u,save:c})},function(e,t){},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(0),c=function(e){var t=e.attributes,n=t.height,l=t.width,o=t.color,r=t.alignment;return wp.element.createElement("div",{className:"ugb-divider"},wp.element.createElement("hr",{align:r,style:{backgroundColor:o,width:l+"%",height:n}}))},u=function(e){var t=(e.isSelected,e.attributes),n=t.height,l=t.width,o=t.color,r=t.alignment;return wp.element.createElement(a.g,null,wp.element.createElement(a.d,null,wp.element.createElement(a.a,{value:r,onChange:function(t){e.setAttributes({alignment:t})}})),wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.n,{label:Object(a.t)("Height"),value:n,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(a.n,{label:Object(a.t)("Width"),value:l,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(a.l,{title:Object(a.t)("Color Settings"),colorSettings:[{value:o,onChange:function(t){return e.setAttributes({color:t})},label:Object(a.t)("Divider Color")}]})),wp.element.createElement("div",{className:"ugb-divider",style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:r,style:{marginTop:0,marginBottom:0,backgroundColor:o,width:l+"%",height:n}})))};Object(a.B)("ugb/divider",{title:Object(a.t)("Divider"),icon:r.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Divider"),Object(a.t)("Stackable")],attributes:{height:{default:1,type:"number"},width:{default:50,type:"number"},color:{type:"string",default:"#dddddd"},alignment:{type:"string",default:"center"}},edit:u,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(16),o=(n.n(l),n(17)),r=(n.n(o),n(1)),a=n(5),c=n(2),u=n(3),i=n(18),s=n(20),m=(n(21),n(0)),b=function(e){var t=e.isSelected,n=(e.className,e.setAttributes),l=e.attributes,o=l.url,r=l.text,a=l.color,u=l.textColor,b=l.size,p=l.align,g=l.cornerButtonRadius,d=l.design,f=[{value:"small",label:Object(m.t)("Small")},{value:"normal",label:Object(m.t)("Normal")},{value:"medium",label:Object(m.t)("Medium")},{value:"large",label:Object(m.t)("Large")}],h=wp.element.createElement(c.a,{onChange:function(e){return n({text:e})},align:p,size:b,backgroundColor:a,color:u,text:r,borderRadius:g}),w=Object(m.v)("stackable.designs.button.edit",h,d,e);return wp.element.createElement(m.g,null,wp.element.createElement(m.d,null,wp.element.createElement(m.c,{value:p,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(m.i,null,wp.element.createElement(i.a,{selected:d,options:[{label:wp.element.createElement(s.a,{imageFile:"button/images/test.jpg"}),title:"Basic",value:"basic"},{label:wp.element.createElement(s.a,{imageFile:"button/images/test.jpg",isPro:!0}),title:"Center",value:"center"},{label:wp.element.createElement(s.a,{imageFile:"https://via.placeholder.com/350x150",isPro:!0}),title:"Right",value:"right"},{label:wp.element.createElement(s.a,{imageFile:"https://via.placeholder.com/350x150",isPro:!0}),title:"Full",value:"full"}],onChange:function(e){n({design:e})}})),wp.element.createElement(m.i,null,wp.element.createElement(m.k,null,wp.element.createElement(m.p,{label:Object(m.t)("Size"),value:b,options:f.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(m.n,{label:Object(m.t)("Corner Radius"),value:g,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(m.l,{title:Object(m.t)("Color Settings"),colorSettings:[{value:a,onChange:function(e){return n({color:e})},label:Object(m.t)("Background Color")},{value:u,onChange:function(e){return n({textColor:e})},label:Object(m.t)("Text Color")}]})),w,t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(m.f,{icon:"admin-links"}),wp.element.createElement(m.s,{value:o,onChange:function(e){return n({url:e})}}),wp.element.createElement(m.h,{icon:"editor-break",label:Object(m.t)("Apply"),type:"submit"})))},p=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.align,r=t.color,a=t.textColor,c=t.size,i=t.cornerButtonRadius,s=t.design,b=wp.element.createElement(u.a,{align:o,size:c,url:n,color:a,text:l,backgroundColor:r,borderRadius:i});return Object(m.v)("stackable.designs.button.save",b,s,e)},g={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(m.B)("ugb/button",{title:Object(m.t)("Button"),icon:r.a,description:"Add customize button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.t)("Button"),Object(m.t)("Stackable")],attributes:g,deprecated:[{attributes:a.f,save:a.d},{attributes:a.e,migrate:function(e){return Object(m.A)(Object(m.z)(e,{align:e.textAlignment}),["textAlignment"])},save:a.c}],edit:b,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return null}var o=n(19),r=(n.n(o),n(0),n(4));n.n(r);t.a=l},function(e,t){},function(e,t,n){"use strict";function l(e){var t=e.isPro,n=e.imageFile,l=r()({"is-pro":t});return wp.element.createElement("span",{className:l},wp.element.createElement("img",{src:n.match(/https?:/i)?n:a.w+"/"+n}))}var o=n(4),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict"},function(e,t,n){"use strict";var l=n(23),o=(n.n(l),n(24)),r=(n.n(o),n(1)),a=n(25),c=n(0),u=function(e){var t=e.isSelected,n=e.setAttributes,l=e.attributes,o=l.url,r=l.text,a=l.color,u=l.size,i=l.align,s=l.cornerButtonRadius,m=l.borderThickness,b=[{value:"small",label:Object(c.t)("Small")},{value:"normal",label:Object(c.t)("Normal ")},{value:"medium",label:Object(c.t)("Medium")},{value:"large",label:Object(c.t)("Large")}];return wp.element.createElement(c.g,null,wp.element.createElement(c.d,null,wp.element.createElement(c.c,{value:i,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.p,{label:Object(c.t)("Size"),value:u,options:b.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(c.n,{label:Object(c.t)("Corner Radius"),value:s,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(c.n,{label:Object(c.t)("Border Thickness"),value:m,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:a,onChange:function(e){return n({color:e})},label:Object(c.t)("Button Color")}]})),wp.element.createElement("span",{className:"ugb-button ugb-ghost-button ugb-button-"+i+" ugb-button-"+u,style:{borderColor:a,borderRadius:s+"px",borderWidth:m+"px"}},wp.element.createElement(c.o,{tagName:"span",placeholder:Object(c.t)("Enter Text"),value:r,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:a},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.f,{icon:"admin-links"}),wp.element.createElement(c.s,{value:o,onChange:function(e){return n({url:e})}}),wp.element.createElement(c.h,{icon:"editor-break",label:Object(c.t)("Apply"),type:"submit"})))},i=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.align,r=t.color,a=t.size,u=t.cornerButtonRadius,i=t.borderThickness,s={borderColor:r,borderRadius:u+"px",borderWidth:i+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-ghost-button ugb-button-"+o+" ugb-button-"+a,style:s},wp.element.createElement(c.o.Content,{className:"ugb-button-inner",tagName:"a",value:l,href:n,style:{color:r}}))},s={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.B)("ugb/ghost-button",{title:Object(c.t)("Ghost Button"),icon:r.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Ghost Button"),Object(c.t)("Stackable")],attributes:s,deprecated:[{attributes:a.b,migrate:function(e){return Object(c.A)(Object(c.z)(e,{align:e.textAlignment}),["textAlignment"])},save:a.a}],edit:u,save:i})},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,c=t.cornerButtonRadius,u=t.borderThickness,i={borderColor:r,color:r,borderRadius:c+"px",borderWidth:u+"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(27),o=(n.n(l),n(28)),r=(n.n(o),n(29)),a=n.n(r),c=n(1),u=n(0),i=function(e){var t=[{value:"success",label:Object(u.t)("Success")},{value:"error",label:Object(u.t)("Error")},{value:"warning",label:Object(u.t)("Warning")},{value:"info",label:Object(u.t)("Information")}],n=(e.isSelected,e.editable,e.setState,e.setAttributes),l=(e.className,e.attributes),o=l.text,r=l.color,a=l.textColor,c=l.notifType,i=l.dismissible;return wp.element.createElement(u.g,null,wp.element.createElement(u.i,null,wp.element.createElement(u.k,null,wp.element.createElement(u.q,{label:Object(u.t)("Dismissible"),checked:i,onChange:function(){return n({dismissible:!i})}}),wp.element.createElement(u.p,{label:Object(u.t)("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(u.l,{title:Object(u.t)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(u.t)("Background Color")},{value:a,onChange:function(e){return n({textColor:e})},label:Object(u.t)("Text Color")}]})),wp.element.createElement("div",{className:"ugb-notification type-"+c+" dismissible-"+i},i&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:a}},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(u.o,{tagName:"p",placeholder:e.attributes.text.default,value:o,onChange:function(e){return n({text:e})},className:"wp-ugb-notif notif-"+c,style:{backgroundColor:r,color:a}})))},s=function(e){var t=e.attributes,n=t.text,l=t.color,o=t.textColor,r=t.notifType,c=t.dismissible,i={backgroundColor:l,color:o},s=a()(n+r).substr(0,6);return wp.element.createElement("div",{className:"ugb-notification type-"+r+" dismissible-"+c,"data-uid":s},c&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:o}},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(u.o.Content,{tagName:"p",className:"wp-ugb-notif notif-"+r,style:i,value:n}))};Object(u.B)("ugb/notification",{title:Object(u.t)("Notification"),icon:c.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.t)("Notification"),Object(u.t)("Stackable")],attributes:{text:{source:"html",selector:"p",default:Object(u.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}},edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(30),l=n(6).utf8,o=n(31),r=n(6).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 c=t.bytesToWords(e),u=8*e.length,i=1732584193,s=-271733879,m=-1732584194,b=271733878,p=0;p<c.length;p++)c[p]=16711935&(c[p]<<8|c[p]>>>24)|4278255360&(c[p]<<24|c[p]>>>8);c[u>>>5]|=128<<u%32,c[14+(u+64>>>9<<4)]=u;for(var g=a._ff,d=a._gg,f=a._hh,h=a._ii,p=0;p<c.length;p+=16){var w=i,v=s,y=m,C=b;i=g(i,s,m,b,c[p+0],7,-680876936),b=g(b,i,s,m,c[p+1],12,-389564586),m=g(m,b,i,s,c[p+2],17,606105819),s=g(s,m,b,i,c[p+3],22,-1044525330),i=g(i,s,m,b,c[p+4],7,-176418897),b=g(b,i,s,m,c[p+5],12,1200080426),m=g(m,b,i,s,c[p+6],17,-1473231341),s=g(s,m,b,i,c[p+7],22,-45705983),i=g(i,s,m,b,c[p+8],7,1770035416),b=g(b,i,s,m,c[p+9],12,-1958414417),m=g(m,b,i,s,c[p+10],17,-42063),s=g(s,m,b,i,c[p+11],22,-1990404162),i=g(i,s,m,b,c[p+12],7,1804603682),b=g(b,i,s,m,c[p+13],12,-40341101),m=g(m,b,i,s,c[p+14],17,-1502002290),s=g(s,m,b,i,c[p+15],22,1236535329),i=d(i,s,m,b,c[p+1],5,-165796510),b=d(b,i,s,m,c[p+6],9,-1069501632),m=d(m,b,i,s,c[p+11],14,643717713),s=d(s,m,b,i,c[p+0],20,-373897302),i=d(i,s,m,b,c[p+5],5,-701558691),b=d(b,i,s,m,c[p+10],9,38016083),m=d(m,b,i,s,c[p+15],14,-660478335),s=d(s,m,b,i,c[p+4],20,-405537848),i=d(i,s,m,b,c[p+9],5,568446438),b=d(b,i,s,m,c[p+14],9,-1019803690),m=d(m,b,i,s,c[p+3],14,-187363961),s=d(s,m,b,i,c[p+8],20,1163531501),i=d(i,s,m,b,c[p+13],5,-1444681467),b=d(b,i,s,m,c[p+2],9,-51403784),m=d(m,b,i,s,c[p+7],14,1735328473),s=d(s,m,b,i,c[p+12],20,-1926607734),i=f(i,s,m,b,c[p+5],4,-378558),b=f(b,i,s,m,c[p+8],11,-2022574463),m=f(m,b,i,s,c[p+11],16,1839030562),s=f(s,m,b,i,c[p+14],23,-35309556),i=f(i,s,m,b,c[p+1],4,-1530992060),b=f(b,i,s,m,c[p+4],11,1272893353),m=f(m,b,i,s,c[p+7],16,-155497632),s=f(s,m,b,i,c[p+10],23,-1094730640),i=f(i,s,m,b,c[p+13],4,681279174),b=f(b,i,s,m,c[p+0],11,-358537222),m=f(m,b,i,s,c[p+3],16,-722521979),s=f(s,m,b,i,c[p+6],23,76029189),i=f(i,s,m,b,c[p+9],4,-640364487),b=f(b,i,s,m,c[p+12],11,-421815835),m=f(m,b,i,s,c[p+15],16,530742520),s=f(s,m,b,i,c[p+2],23,-995338651),i=h(i,s,m,b,c[p+0],6,-198630844),b=h(b,i,s,m,c[p+7],10,1126891415),m=h(m,b,i,s,c[p+14],15,-1416354905),s=h(s,m,b,i,c[p+5],21,-57434055),i=h(i,s,m,b,c[p+12],6,1700485571),b=h(b,i,s,m,c[p+3],10,-1894986606),m=h(m,b,i,s,c[p+10],15,-1051523),s=h(s,m,b,i,c[p+1],21,-2054922799),i=h(i,s,m,b,c[p+8],6,1873313359),b=h(b,i,s,m,c[p+15],10,-30611744),m=h(m,b,i,s,c[p+6],15,-1560198380),s=h(s,m,b,i,c[p+13],21,1309151649),i=h(i,s,m,b,c[p+4],6,-145523070),b=h(b,i,s,m,c[p+11],10,-1120210379),m=h(m,b,i,s,c[p+2],15,718787259),s=h(s,m,b,i,c[p+9],21,-343485551),i=i+w>>>0,s=s+v>>>0,m=m+y>>>0,b=b+C>>>0}return t.endian([i,s,m,b])};a._ff=function(e,t,n,l,o,r,a){var c=e+(t&n|~t&l)+(o>>>0)+a;return(c<<r|c>>>32-r)+t},a._gg=function(e,t,n,l,o,r,a){var c=e+(t&l|n&~l)+(o>>>0)+a;return(c<<r|c>>>32-r)+t},a._hh=function(e,t,n,l,o,r,a){var c=e+(t^n^l)+(o>>>0)+a;return(c<<r|c>>>32-r)+t},a._ii=function(e,t,n,l,o,r,a){var c=e+(n^(t|~l))+(o>>>0)+a;return(c<<r|c>>>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(33),o=(n.n(l),n(34)),r=(n.n(o),n(1)),a=n(35),c=n(0),u=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),o=l.color,r=l.text,a=l.quoteColor;return wp.element.createElement(c.g,null,wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{"--quote-color":a}},wp.element.createElement(c.o,{className:"ugb-blockquote-text",value:r,onChange:function(e){return n({text:e})},isSelected:t,style:{color:o}})),wp.element.createElement(c.i,null,wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return n({color:e})},label:Object(c.t)("Text Color")},{value:a,onChange:function(e){return n({quoteColor:e})},label:Object(c.t)("Quote Color")}]})))},i=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.quoteColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{"--quote-color":o}},wp.element.createElement(c.o.Content,{tagName:"p",style:{color:n},value:l}))},s={text:{source:"html",selector:"p",default:Object(c.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(c.B)("ugb/blockquote",{title:Object(c.t)("Blockquote"),icon:r.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Blockquote"),Object(c.t)("Stackable")],attributes:s,deprecated:[{attributes:a.b,migrate:function(e){return Object(c.A)(Object(c.z)(e,{quoteColor:e.borderColor}),["borderColor"])},save:a.a}],edit:u,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={text:{type:"array",source:"children",selector:"p",default:Object(l.t)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#424242"},borderColor:{type:"string",default:"#2091e1"}},r=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{borderLeftColor:o}},wp.element.createElement("p",{style:{color:n}},l))}},function(e,t,n){"use strict";var l=n(37),o=(n.n(l),n(38)),r=(n.n(o),n(1)),a=n(39),c=n(0),u=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),o=l.color,r=l.text,a=l.quoteColor;return wp.element.createElement(c.g,null,wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{"--quote-color":a}},wp.element.createElement(c.o,{tagName:"p",className:"ugb-pullquote-text",value:r,onChange:function(e){return n({text:e})},placeholder:Object(c.t)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:o}})),wp.element.createElement(c.i,null,wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return n({color:e})},label:Object(c.t)("Text Color")},{value:a,onChange:function(e){return n({quoteColor:e})},label:Object(c.t)("Quote Color")}]})))},i=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.quoteColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{"--quote-color":o}},wp.element.createElement(c.o.Content,{tagName:"p",style:{color:n},value:l}))},s={text:{source:"html",selector:"p",default:Object(c.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(c.B)("ugb/pullquote",{title:Object(c.t)("Pullquote"),icon:r.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Pullquote"),Object(c.t)("Stackable")],attributes:s,deprecated:[{attributes:a.b,migrate:function(e){return Object(c.A)(Object(c.z)(e,{quoteColor:e.borderColor}),["borderColor"])},save:a.a}],edit:u,save:i})},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(41),o=(n.n(l),n(42)),r=(n.n(o),n(1)),a=n(2),c=n(3),u=n(43),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,o=l.url,r=l.buttonText,c=l.ctaTitle,u=l.bodyText,s=l.color,m=l.textColor,b=l.size,p=l.borderButtonRadius,g=l.bodyTextColor,d=l.titleColor,f=l.bgColor,h=[{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")}];return wp.element.createElement(i.g,null,wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.p,{label:Object(i.t)("Button Size"),value:b,options:h.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)("Button Border Radius"),value:p,min:"1",max:"50",onChange:function(e){return n({borderButtonRadius:e})}})),wp.element.createElement(i.l,{initialOpen:!1,title:Object(i.t)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return n({bgColor:e})},label:Object(i.t)("Background Color")},{value:d,onChange:function(e){return n({titleColor:e})},label:Object(i.t)("Title Color")},{value:g,onChange:function(e){return n({bodyTextColor:e})},label:Object(i.t)("Body Text Color")}]}),wp.element.createElement(i.l,{title:Object(i.t)("Button Colors"),colorSettings:[{value:s,onChange:function(e){return n({color:e})},label:Object(i.t)("Button Background Color")},{value:m,onChange:function(e){return n({textColor:e})},label:Object(i.t)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:f}},wp.element.createElement(i.o,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(i.t)("Add Title"),value:c,onChange:function(e){return n({ctaTitle:e})},keepPlaceholderOnFocus:!0,style:{color:d}}),wp.element.createElement(i.o,{tagName:"p",value:u,className:"ugb-cta-bodyText",onChange:function(e){return n({bodyText:e})},placeholder:Object(i.t)("Write body text\u2026"),style:{color:g}}),wp.element.createElement(a.a,{size:b,color:m,backgroundColor:s,text:r,borderRadius:p,onChange:function(e){return n({buttonText:e})}})),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:o,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.attributes,n=t.url,l=t.buttonText,o=t.ctaTitle,r=t.bodyText,a=t.color,u=t.textColor,s=t.size,m=t.borderButtonRadius,b=t.bodyTextColor,p=t.titleColor,g=t.bgColor;return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:g}},o&&!!o.length&&wp.element.createElement(i.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:o}),r&&!!r.length&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:r}),l&&!!l.length&&wp.element.createElement(c.a,{size:s,url:n,color:u,text:l,backgroundColor:a,borderRadius:m}))},b={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(i.t)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(i.t)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{source:"html",selector:".ugb-button a"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}};Object(i.B)("ugb/cta",{title:Object(i.t)("Call to Action"),icon:r.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Call to Action"),Object(i.t)("Stackable"),Object(i.t)("CTA")],attributes:b,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:u.c,save:u.b},{save:u.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c});var l=n(0),o=n(5),r={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(l.t)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(l.t)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},a=function(e){var t=e.attributes,n=t.url,r=t.buttonText,a=t.ctaTitle,c=t.bodyText,u=t.color,i=t.textColor,s=t.size,m=t.borderButtonRadius,b=t.bodyTextColor,p=t.titleColor,g=t.bgColor;return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:g}},a&&!!a.length&&wp.element.createElement(l.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:a}),c&&!!c.length&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:c}),r&&!!r.length&&wp.element.createElement(o.a,{size:s,url:n,color:i,text:r,backgroundColor:u,borderRadius:m}))},c=function(e){var t=e.attributes,n=t.url,l=t.buttonText,o=t.ctaTitle,r=t.bodyText,a=t.color,c=t.textColor,u=t.size,i=t.borderButtonRadius,s=t.bodyTextColor,m=t.titleColor,b=t.bgColor,p={backgroundColor:a,color:c,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-"+u,style:p},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(0),c=function(e){var t=(e.isSelected,e.editable,e.setState,e.className,e.setAttributes),n=e.attributes,l=n.testimonialTitle,o=n.testimonialTitleTwo,r=n.testimonialTitleThree,c=n.body,u=n.bodyTwo,i=n.bodyThree,s=n.position,m=n.positionTwo,b=n.positionThree,p=(n.href,n.hrefTwo,n.hrefThree,n.mediaID),g=n.mediaIDTwo,d=n.mediaIDThree,f=n.mediaURL,h=n.mediaURLTwo,w=n.mediaURLThree,v=n.columns,y=n.titleColor,C=n.posColor,E=n.bodyTextColor,x=n.iconColor,O=[{value:"1",label:Object(a.t)("One Column")},{value:"2",label:Object(a.t)("Two Column")},{value:"3",label:Object(a.t)("Three Column")}];return wp.element.createElement(a.g,null,wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.p,{label:Object(a.t)("Column Number"),value:v,options:O.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(a.l,{initialOpen:!1,title:Object(a.t)("Color Settings"),colorSettings:[{value:y,onChange:function(e){return t({titleColor:e})},label:Object(a.t)("Title Color")},{value:C,onChange:function(e){return t({posColor:e})},label:Object(a.t)("Position Color")},{value:E,onChange:function(e){return t({bodyTextColor:e})},label:Object(a.t)("Body Text Color")},{value:x,onChange:function(e){return t({iconColor:e})},label:Object(a.t)("Icon Color")}]})),wp.element.createElement("div",{className:"ugb-testimonial column-"+v},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:p,render:function(e){return wp.element.createElement(a.e,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+f+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:l,onChange:function(e){return t({testimonialTitle:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:s,className:"ugb-testimonial-position",onChange:function(e){return t({position:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:c,className:"ugb-testimonial-body",onChange:function(e){return t({body:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-two"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURLTwo:e.url,mediaIDTwo:e.id})},allowedTypes:["image"],value:g,render:function(e){return wp.element.createElement(a.e,{className:g?"":"button button-large",onClick:e.open},g?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+h+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:o,onChange:function(e){return t({testimonialTitleTwo:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:m,className:"ugb-testimonial-position-two",onChange:function(e){return t({positionTwo:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:u,className:"ugb-testimonial-body-two",onChange:function(e){return t({bodyTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-three"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURLThree:e.url,mediaIDThree:e.id})},allowedTypes:["image"],value:d,render:function(e){return wp.element.createElement(a.e,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+w+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:r,onChange:function(e){return t({testimonialTitleThree:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:b,className:"ugb-testimonial-position-three",onChange:function(e){return t({positionThree:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:i,className:"ugb-testimonial-body-three",onChange:function(e){return t({bodyThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}))))},u=function(e){var t=e.attributes,n=t.testimonialTitle,l=t.testimonialTitleTwo,o=t.testimonialTitleThree,r=t.body,c=t.bodyTwo,u=t.bodyThree,i=t.position,s=t.positionTwo,m=t.positionThree,b=t.mediaURL,p=t.mediaURLTwo,g=t.mediaURLThree,d=(t.mediaID,t.mediaIDTwo,t.mediaIDThree,t.titleColor),f=t.posColor,h=t.bodyTextColor,w=t.iconColor,v=t.columns,y=wp.element.createElement("div",{className:"quote-icon"},wp.element.createElement("svg",{viewBox:"0 0 246 187.5",style:{fill:w}},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:"ugb-testimonial column-"+v},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},b?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+b+")"},"data-src":b}):y,!a.o.isEmpty(n)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:d},value:n}),!a.o.isEmpty(i)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:f},value:i}),!a.o.isEmpty(r)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:h},value:r})),v>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}):y,!a.o.isEmpty(l)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:d},value:l}),!a.o.isEmpty(s)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-position-two",style:{color:f},value:s}),!a.o.isEmpty(c)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-body-two",style:{color:h},value:c})),v>2&&wp.element.createElement("div",{className:"ugb-testimonial-column-three"},g?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+g+")"},"data-src":g}):y,!a.o.isEmpty(o)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:d},value:o}),!a.o.isEmpty(m)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-position-three",style:{color:f},value:m}),!a.o.isEmpty(u)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-body-three",style:{color:h},value:u})))};Object(a.B)("ugb/testimonial",{title:Object(a.t)("Testimonial"),icon:r.q,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Testimonial"),Object(a.t)("Stackable")],attributes:{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(a.t)("Ben Adams")},testimonialTitleTwo:{source:"html",selector:".ugb-testimonial-column-two h4",default:Object(a.t)("Alex Johnson")},testimonialTitleThree:{source:"html",selector:".ugb-testimonial-column-three h4",default:Object(a.t)("Sammy Simpson")},position:{source:"html",selector:".ugb-testimonial-position",default:Object(a.t)("Founder")},positionTwo:{source:"html",selector:".ugb-testimonial-position-two",default:Object(a.t)("Editor")},positionThree:{source:"html",selector:".ugb-testimonial-position-three",default:Object(a.t)("Programmer")},body:{source:"html",selector:".ugb-testimonial-body",default:Object(a.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(a.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(a.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:"select",default:"1"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(48),o=(n.n(l),n(49)),r=(n.n(o),n(1)),a=n(0),c=function(e){var t=(e.isSelected,e.editable,e.setState,e.className,e.setAttributes),n=e.attributes,l=n.name,o=n.nameTwo,r=n.nameThree,c=n.des,u=n.desTwo,i=n.desThree,s=n.position,m=n.positionTwo,b=n.positionThree,p=(n.href,n.hrefTwo,n.hrefThree,n.mediaID),g=n.mediaIDTwo,d=n.mediaIDThree,f=n.mediaURL,h=n.mediaURLTwo,w=n.mediaURLThree,v=n.columns,y=n.nameColor,C=n.posColor,E=n.desColor,x=n.iconColor,O=n.shapes,N=[{value:"1",label:Object(a.t)("One Column")},{value:"2",label:Object(a.t)("Two Column")},{value:"3",label:Object(a.t)("Three Column")}],k=[{value:"square",label:Object(a.t)("Square")},{value:"circle",label:Object(a.t)("Circle")}];return wp.element.createElement(a.g,null,wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.p,{label:Object(a.t)("Image Shape"),value:O,options:k.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({shapes:e})}}),wp.element.createElement(a.p,{label:Object(a.t)("Column Number"),value:v,options:N.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(a.l,{initialOpen:!1,title:Object(a.t)("Color Settings"),colorSettings:[{value:y,onChange:function(e){return t({nameColor:e})},label:Object(a.t)("Name Color")},{value:C,onChange:function(e){return t({posColor:e})},label:Object(a.t)("Position Color")},{value:E,onChange:function(e){return t({desColor:e})},label:Object(a.t)("Description Color")},{value:x,onChange:function(e){return t({iconColor:e})},label:Object(a.t)("Icon Color")}]})),wp.element.createElement("div",{className:"ugb-team-member column-"+v+" image-"+O},wp.element.createElement("div",{className:"ugb-team-member-column-one"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:p,render:function(e){return wp.element.createElement(a.e,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+f+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:l,onChange:function(e){return t({name:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:s,className:"ugb-team-member-position",onChange:function(e){return t({position:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:c,className:"ugb-team-member-des",onChange:function(e){return t({des:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-two"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURLTwo:e.url,mediaIDTwo:e.id})},allowedTypes:["image"],value:g,render:function(e){return wp.element.createElement(a.e,{className:g?"":"button button-large",onClick:e.open},g?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+h+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:o,onChange:function(e){return t({nameTwo:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:m,className:"ugb-team-member-position",onChange:function(e){return t({positionTwo:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:u,className:"ugb-team-member-des-two",onChange:function(e){return t({desTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-three"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURLThree:e.url,mediaIDThree:e.id})},allowedTypes:["image"],value:d,render:function(e){return wp.element.createElement(a.e,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+w+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:r,onChange:function(e){return t({nameThree:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:b,className:"ugb-team-member-position",onChange:function(e){return t({positionThree:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:i,className:"ugb-team-member-des-three",onChange:function(e){return t({desThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}))))},u=function(e){var t=e.attributes,n=t.name,l=t.nameTwo,o=t.nameThree,r=t.shapes,c=t.des,u=t.desTwo,i=t.desThree,s=t.position,m=t.positionTwo,b=t.positionThree,p=t.mediaURL,g=t.mediaURLTwo,d=t.mediaURLThree,f=(t.mediaID,t.mediaIDTwo,t.mediaIDThree,t.nameColor),h=t.posColor,w=t.desColor,v=(t.iconColor,t.columns);return wp.element.createElement("div",{className:"ugb-team-member column-"+v+" image-"+r},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}),!a.o.isEmpty(n)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:f},value:n}),!a.o.isEmpty(s)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:s}),!a.o.isEmpty(c)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-des",style:{color:w},value:c})),v>1&&wp.element.createElement("div",{className:"ugb-team-member-column-two"},g&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+g+")"},"data-src":g}),!a.o.isEmpty(l)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:f},value:l}),!a.o.isEmpty(m)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:m}),!a.o.isEmpty(u)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-des-two",style:{color:w},value:u})),v>2&&wp.element.createElement("div",{className:"ugb-team-member-column-three"},d&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+d+")"},"data-src":d}),!a.o.isEmpty(o)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:f},value:o}),!a.o.isEmpty(b)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:b}),!a.o.isEmpty(i)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-des-three",style:{color:w},value:i})))};Object(a.B)("ugb/team-member",{title:Object(a.t)("Team Member"),icon:r.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Team Member"),Object(a.t)("Stackable")],attributes:{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(a.t)("Ben Adams")},nameTwo:{source:"html",selector:".ugb-team-member-column-two h4",default:Object(a.t)("Alex Johnson")},nameThree:{source:"html",selector:".ugb-team-member-column-three h4",default:Object(a.t)("Sammy Simpson")},position:{source:"html",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(a.t)("Founder")},positionTwo:{source:"html",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(a.t)("Editor")},positionThree:{source:"html",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(a.t)("Programmer")},des:{source:"html",selector:".ugb-team-member-des",default:Object(a.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(a.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(a.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:"select",default:"1"},shapes:{type:"select",default:"square"}},edit:c,save:u})},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(51),r=(n.n(o),n(52)),a=(n.n(r),n(1)),c=n(0),u=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,u=r.moreLabel,i=r.moreText,s=r.lessLabel;return wp.element.createElement(c.g,null,wp.element.createElement("div",{className:n},o&&wp.element.createElement("label",{className:"ugb-editor-label"},"Less text"),wp.element.createElement(c.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(c.t)("Some short text that can be expanded to show more details."))),wp.element.createElement(c.o,l({tagName:"a",placeholder:e.attributes.moreLabel.default,value:u,onChange:function(e){return t({moreLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-more"},"placeholder",Object(c.t)("Show more"))),o&&wp.element.createElement("label",{className:"ugb-editor-label"},"More text"),o&&wp.element.createElement(c.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(c.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(c.o,l({tagName:"a",placeholder:e.attributes.lessLabel.default,value:s,onChange:function(e){return t({lessLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-less"},"placeholder",Object(c.t)("Show less")))))},i=function(e){var t=e.attributes,n=t.text,l=t.moreLabel,o=t.moreText,r=t.lessLabel;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ugb-expand-less-text"},!c.o.isEmpty(n)&&wp.element.createElement(c.o.Content,{multiline:"p",value:n})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{multiline:"p",value:o})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(c.o.Content,{className:"ugb-expand-more",tagName:"span",value:l}),wp.element.createElement(c.o.Content,{className:"ugb-expand-less",tagName:"span",value:r,style:{display:"none"}})))};Object(c.B)("ugb/expand",{title:Object(c.t)("Expand / Show More"),icon:a.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Expand"),Object(c.t)("Show more/less"),Object(c.t)("Stackable")],attributes:{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(c.t)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(c.t)("Show less")}},edit:u,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(54),o=(n.n(l),n(55)),r=(n.n(o),n(1)),a=n(0),c=function(e){var t=(e.className,e.setAttributes),n=(e.isSelected,e.editable,e.setState,e.attributes),l=n.numberBox,o=n.numberBoxTwo,r=n.numberBoxThree,c=n.body,u=n.bodyTwo,i=n.bodyThree,s=n.name,m=n.nameTwo,b=n.nameThree,p=n.columns,g=n.numberBoxColor,d=n.nameColor,f=n.bodyTextColor,h=n.numberBGColor,w=[{value:"1",label:Object(a.t)("One Column")},{value:"2",label:Object(a.t)("Two Column")},{value:"3",label:Object(a.t)("Three Column")}];return wp.element.createElement(a.g,null,wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.p,{label:Object(a.t)("Column Number"),value:p,options:w.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(a.l,{title:Object(a.t)("Color Settings"),colorSettings:[{value:g,onChange:function(e){return t({numberBoxColor:e})},label:Object(a.t)("Number Color")},{value:h,onChange:function(e){return t({numberBGColor:e})},label:Object(a.t)("Number Background Color")},{value:d,onChange:function(e){return t({nameColor:e})},label:Object(a.t)("Name Color")},{value:f,onChange:function(e){return t({bodyTextColor:e})},label:Object(a.t)("Body Text Color")}]})),wp.element.createElement("div",{className:"ugb-number-box column-"+p},wp.element.createElement("div",null,wp.element.createElement(a.o,{tagName:"span",placeholder:l?l.default:"",value:l,onChange:function(e){return t({numberBox:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"h4",value:s,className:"ugb-number-box-name",onChange:function(e){return t({name:e})},placeholder:Object(a.t)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:c,className:"ugb-number-box-body",onChange:function(e){return t({body:e})},placeholder:Object(a.t)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(a.o,{tagName:"span",placeholder:o?o.default:"",value:o,onChange:function(e){return t({numberBoxTwo:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"h4",value:m,className:"ugb-number-box-name-two",onChange:function(e){return t({nameTwo:e})},placeholder:Object(a.t)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:u,className:"ugb-number-box-body-two",onChange:function(e){return t({bodyTwo:e})},placeholder:Object(a.t)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(a.o,{tagName:"span",placeholder:r?r.default:"",value:r,onChange:function(e){return t({numberBoxThree:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"h4",value:b,className:"ugb-number-box-name-three",onChange:function(e){return t({nameThree:e})},placeholder:Object(a.t)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:i,className:"ugb-number-box-body-three",onChange:function(e){return t({bodyThree:e})},placeholder:Object(a.t)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0}))))},u=function(e){var t=e.attributes,n=t.numberBox,l=t.numberBoxTwo,o=t.numberBoxThree,r=t.body,c=t.bodyTwo,u=t.bodyThree,i=t.name,s=t.nameTwo,m=t.nameThree,b=t.numberBoxColor,p=t.nameColor,g=t.bodyTextColor,d=t.numberBGColor,f=t.columns;return wp.element.createElement("div",{className:"ugb-number-box column-"+f},wp.element.createElement("div",{className:"ugb-number-box-column-one"},!a.o.isEmpty(n)&&wp.element.createElement(a.o.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:n}),!a.o.isEmpty(i)&&wp.element.createElement(a.o.Content,{tagName:"h4",className:"ugb-number-box-name",style:{color:p},value:i}),!a.o.isEmpty(r)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-number-box-body",style:{color:g},value:r})),f>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},!a.o.isEmpty(l)&&wp.element.createElement(a.o.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:l}),!a.o.isEmpty(s)&&wp.element.createElement(a.o.Content,{tagName:"h4",className:"ugb-number-box-name-two",style:{color:p},value:s}),!a.o.isEmpty(c)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-number-box-body-two",style:{color:g},value:c})),f>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},!a.o.isEmpty(o)&&wp.element.createElement(a.o.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:o}),!a.o.isEmpty(m)&&wp.element.createElement(a.o.Content,{tagName:"h4",className:"ugb-number-box-name-three",style:{color:p},value:m}),!a.o.isEmpty(u)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-number-box-body-three",style:{color:g},value:u})))};Object(a.B)("ugb/number-box",{title:Object(a.t)("Number Box"),icon:r.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Number Box"),Object(a.t)("Stackable")],attributes:{numberBox:{source:"html",selector:".ugb-number-box-column-one span",default:Object(a.t)("01")},numberBoxTwo:{source:"html",selector:".ugb-number-box-column-two span",default:Object(a.t)("02")},numberBoxThree:{source:"html",selector:".ugb-number-box-column-three span",default:Object(a.t)("03")},name:{source:"html",selector:".ugb-number-box-name",default:Object(a.t)("Registration")},nameTwo:{source:"html",selector:".ugb-number-box-name-two",default:Object(a.t)("Waiting Period")},nameThree:{source:"html",selector:".ugb-number-box-name-three",default:Object(a.t)("Delivery")},body:{source:"html",selector:".ugb-number-box-body",default:Object(a.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(a.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(a.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:"select",default:"1"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(57),o=(n.n(l),n(58)),r=(n.n(o),n(1)),a=n(2),c=n(3),u=n(59),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,o=l.url,r=l.url2,c=l.url3,u=l.pricingBoxTitle,s=l.pricingBoxTitle2,m=l.pricingBoxTitle3,b=l.price,p=l.price2,g=l.price3,d=l.perMonthLabel,f=l.perMonthLabel2,h=l.perMonthLabel3,w=l.buttonText,v=l.buttonText2,y=l.buttonText3,C=l.featureList,E=l.featureList2,x=l.featureList3,O=l.pricingBoxColor,N=l.priceColor,k=l.perMonthLabelColor,j=l.buttonColor,T=l.buttonTextColor,B=l.featureListColor,S=l.columns,z=l.size,L=l.cornerButtonRadius,R=[{value:"1",label:Object(i.t)("One Column")},{value:"2",label:Object(i.t)("Two Column")},{value:"3",label:Object(i.t)("Three Column")}],A=[{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")}];return wp.element.createElement(i.g,null,wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.p,{label:Object(i.t)("Column Number"),value:S,options:R.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({columns:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Corner Radius"),value:L,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(i.p,{label:Object(i.t)("Button Size"),value:z,options:A.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}})),wp.element.createElement(i.l,{initialOpen:!1,title:Object(i.t)("Text Colors"),colorSettings:[{value:O,onChange:function(e){return n({pricingBoxColor:e})},label:Object(i.t)("Pricing Title Color")},{value:N,onChange:function(e){return n({priceColor:e})},label:Object(i.t)("Price Color")},{value:k,onChange:function(e){return n({perMonthLabelColor:e})},label:Object(i.t)("Per Month Label Color")},{value:B,onChange:function(e){return n({featureListColor:e})},label:Object(i.t)("Feature List Color")}]}),wp.element.createElement(i.l,{initialOpen:!1,title:Object(i.t)("Button Colors"),colorSettings:[{value:j,onChange:function(e){return n({buttonColor:e})},label:Object(i.t)("Button Color")},{value:T,onChange:function(e){return n({buttonTextColor:e})},label:Object(i.t)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-pricing-box column-"+S},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},wp.element.createElement(i.o,{tagName:"h3",value:u,onChange:function(e){return n({pricingBoxTitle:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:b,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:d,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:z,color:T,backgroundColor:j,text:w,borderRadius:L,onChange:function(e){return n({buttonText:e})}}),wp.element.createElement(i.o,{tagName:"p",value:C,className:"ugb-pricing-box-feature-list",onChange:function(e){return n({featureList:e})},style:{color:B},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:o,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(i.o,{tagName:"h3",value:s,onChange:function(e){return n({pricingBoxTitle2:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:p,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price2:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:f,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel2:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:z,color:T,backgroundColor:j,text:v,borderRadius:L,onChange:function(e){return n({buttonText2:e})}}),wp.element.createElement(i.o,{tagName:"p",value:E,className:"ugb-pricing-box-feature-list",onChange:function(e){return n({featureList2:e})},style:{color:B},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:r,onChange:function(e){return n({url2:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(i.o,{tagName:"h3",value:m,onChange:function(e){return n({pricingBoxTitle3:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:g,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price3:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:h,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel3:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:z,color:T,backgroundColor:j,text:y,borderRadius:L,onChange:function(e){return n({buttonText3:e})}}),wp.element.createElement(i.o,{tagName:"p",value:x,className:"ugb-pricing-box-feature-list",onChange:function(e){return n({featureList3:e})},style:{color:B},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:c,onChange:function(e){return n({url3:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"})))))},m=function(e){var t=e.attributes,n=t.url,l=t.url2,o=t.url3,r=t.pricingBoxTitle,a=t.pricingBoxTitle2,u=t.pricingBoxTitle3,s=t.price,m=t.price2,b=t.price3,p=t.perMonthLabel,g=t.perMonthLabel2,d=t.perMonthLabel3,f=t.buttonText,h=t.buttonText2,w=t.buttonText3,v=t.featureList,y=t.featureList2,C=t.featureList3,E=t.pricingBoxColor,x=t.priceColor,O=t.perMonthLabelColor,N=t.buttonColor,k=t.buttonTextColor,j=t.featureListColor,T=t.columns,B=t.size,S=t.cornerButtonRadius;return wp.element.createElement("div",{className:"ugb-pricing-box column-"+T},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},!i.o.isEmpty(r)&&wp.element.createElement(i.o.Content,{tagName:"h3",style:{color:E},value:r}),!i.o.isEmpty(s)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:s}),!i.o.isEmpty(p)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:p}),f&&!!f.length&&wp.element.createElement(c.a,{size:B,url:n,color:k,text:f,backgroundColor:N,borderRadius:S}),!i.o.isEmpty(v)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:j},value:v})),T>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},!i.o.isEmpty(a)&&wp.element.createElement(i.o.Content,{tagName:"h3",style:{color:E},value:a}),!i.o.isEmpty(m)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:m}),!i.o.isEmpty(g)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:g}),h&&!!h.length&&wp.element.createElement(c.a,{size:B,url:l,color:k,text:h,backgroundColor:N,borderRadius:S}),!i.o.isEmpty(y)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:j},value:y})),T>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},!i.o.isEmpty(u)&&wp.element.createElement(i.o.Content,{tagName:"h3",style:{color:E},value:u}),!i.o.isEmpty(b)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:b}),!i.o.isEmpty(d)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:d}),w&&!!w.length&&wp.element.createElement(c.a,{size:B,url:o,color:k,text:w,backgroundColor:N,borderRadius:S}),!i.o.isEmpty(C)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:j},value:C})))},b={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(i.t)("Basic")},pricingBoxTitle2:{source:"html",selector:".ugb-pricing-box-column-two h3",default:Object(i.t)("Basic")},pricingBoxTitle3:{source:"html",selector:".ugb-pricing-box-column-three h3",default:Object(i.t)("Basic")},price:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(i.t)("$9")},price2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(i.t)("$9")},price3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(i.t)("$9")},perMonthLabel:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(i.t)("per month")},perMonthLabel2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(i.t)("per month")},perMonthLabel3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(i.t)("per month")},buttonText:{source:"html",selector:".ugb-pricing-box-column-one .ugb-button a",default:Object(i.t)("Buy Now")},buttonText2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-button a",default:Object(i.t)("Buy Now")},buttonText3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-button a",default:Object(i.t)("Buy Now")},featureList:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(i.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(i.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(i.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:"select",default:"1"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}};Object(i.B)("ugb/pricing-box",{title:Object(i.t)("Pricing Box"),icon:r.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Pricing Box"),Object(i.t)("Stackable")],attributes:b,deprecated:[{save:u.a}],edit:s,save:m})},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,c=t.pricingBoxTitle3,u=t.price,i=t.price2,s=t.price3,m=t.perMonthLabel,b=t.perMonthLabel2,p=t.perMonthLabel3,g=t.buttonText,d=t.buttonText2,f=t.buttonText3,h=t.featureList,w=t.featureList2,v=t.featureList3,y=t.pricingBoxColor,C=t.priceColor,E=t.perMonthLabelColor,x=t.buttonColor,O=t.buttonTextColor,N=t.featureListColor,k=t.columns,j=t.size,T=t.cornerButtonRadius,B={backgroundColor:x,color:O,borderRadius:T+"px"};return wp.element.createElement("div",{className:"ugb-pricing-box column-"+k},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},r&&!!r.length&&wp.element.createElement("h3",{style:{color:y}},r),u&&!!u.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},u),m&&!!m.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},m),g&&!!g.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+j,style:B},g),h&&!!h.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},h)),k>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:y}},a),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},i),b&&!!b.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},b),d&&!!d.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+j,style:B},d),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},w)),k>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},c&&!!c.length&&wp.element.createElement("h3",{style:{color:y}},c),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},s),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},p),f&&!!f.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+j,style:B},f),v&&!!v.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},v)))}},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}var o=n(4),r=n.n(o),a=n(61),c=(n.n(a),n(62)),u=(n.n(c),n(1)),i=n(2),s=n(3),m=n(63),b=n(0),p=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,o=(e.editable,e.setState,e.attributes),a=o.url,c=o.buttonURL,u=o.buttonText,s=o.buttonColor,m=o.buttonTextColor,p=o.cornerButtonRadius,g=o.size,d=o.title,f=o.titleColor,h=o.subtitle,w=o.subtitleColor,v=o.contentAlign,y=o.id,C=o.backgroundColor,E=o.opacity,x=a?{backgroundImage:"url("+a+")"}:void 0,O=a?"has-image":"",N=r()(l(E),{"overlay-opacity":0!==E}),k=[{value:"small",label:Object(b.t)("Small")},{value:"normal",label:Object(b.t)("Normal")},{value:"medium",label:Object(b.t)("Medium")},{value:"large",label:Object(b.t)("Large")}];return wp.element.createElement(b.g,null,wp.element.createElement(b.d,null,wp.element.createElement(b.a,{value:v,onChange:function(e){return t({contentAlign:e})}}),wp.element.createElement(b.r,null,wp.element.createElement(b.j,{onSelect:function(e){return t({url:e.url,id:e.id})},allowedTypes:["image"],value:y,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.k,{title:Object(b.t)("General")},wp.element.createElement(b.n,{label:Object(b.t)("Background Opacity"),value:E,min:0,max:10,step:1,onChange:function(e){return t({opacity:e})}}),wp.element.createElement(b.p,{label:Object(b.t)("Button Size"),value:g,options:k.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({size:e})}}),wp.element.createElement(b.n,{label:Object(b.t)("Corner Radius"),value:p,min:"1",max:"50",onChange:function(e){return t({cornerButtonRadius:e})}})),wp.element.createElement(b.l,{initialOpen:!1,title:Object(b.t)("Header Colors"),colorSettings:[{value:f,onChange:function(e){return t({titleColor:e})},label:Object(b.t)("Title Color")},{value:w,onChange:function(e){return t({subtitleColor:e})},label:Object(b.t)("Subtitle Color")},{value:C,onChange:function(e){return t({backgroundColor:e})},label:Object(b.t)("Heading Background Color")}]}),wp.element.createElement(b.l,{initialOpen:!1,title:Object(b.t)("Button Colors"),colorSettings:[{value:s,onChange:function(e){return t({buttonColor:e})},label:Object(b.t)("Button Color")},{value:m,onChange:function(e){return t({buttonTextColor:e})},label:Object(b.t)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-header "+O+" "},wp.element.createElement("div",{className:"ugb-header-overlay "+N,style:{backgroundColor:C}}),wp.element.createElement(b.j,{onSelect:function(e){return t({url:e.url,id:e.id})},allowedTypes:["image"],value:y,render:function(e){return[!a&&wp.element.createElement(b.e,{className:y?"":"button button-large",onClick:e.open},Object(b.t)("Upload Image"))]}}),wp.element.createElement("section",{"data-url":a,style:x,className:"ugb-header-section"},wp.element.createElement(b.o,{tagName:"h2",className:"ugb-header-title",placeholder:d.default,value:d,onChange:function(e){return t({title:e})},style:{textAlign:v,color:f}}),wp.element.createElement(b.o,{tagName:"p",className:"ugb-header-subtitle",placeholder:h.default,value:h,onChange:function(e){return t({subtitle:e})},style:{textAlign:v,color:w}}),wp.element.createElement(i.a,{size:g,align:v,color:m,backgroundColor:s,text:u,borderRadius:p,onChange:function(e){return t({buttonText:e})}}))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+v},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:c,onChange:function(e){return t({buttonURL:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))},g=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,a=t.buttonText,c=t.buttonColor,u=t.buttonTextColor,i=t.cornerButtonRadius,m=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y={backgroundImage:n?"url("+n+")":void 0,textAlign:h||void 0},C=n?"has-image":"",E=r()(l(v),{"overlay-opacity":0!==v}),x=p.length||d.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!b.o.isEmpty(p)&&wp.element.createElement(b.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!b.o.isEmpty(d)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),a&&!!a.length&&wp.element.createElement(s.a,{size:m,url:o,align:h,color:u,text:a,backgroundColor:c,borderRadius:i})))},d={title:{source:"html",selector:"h2",default:Object(b.t)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(b.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(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:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}};Object(b.B)("ugb/header",{title:Object(b.t)("Header"),icon:u.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Header"),Object(b.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:d,deprecated:[{attributes:m.f,save:m.c},{attributes:m.e,save:m.b},{attributes:m.d,save:m.a}],edit:p,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function o(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}n.d(t,"c",function(){return i}),n.d(t,"f",function(){return s}),n.d(t,"b",function(){return m}),n.d(t,"e",function(){return b}),n.d(t,"a",function(){return p}),n.d(t,"d",function(){return g});var r=n(4),a=n.n(r),c=n(0),u=n(5),i=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,r=t.buttonText,i=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=a()(l(v),{"overlay-opacity":0!==v}),x=p.length||d.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!c.o.isEmpty(d)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),r&&!!r.length&&wp.element.createElement(u.b,{size:b,url:o,align:h,color:s,text:r,backgroundColor:i,borderRadius:m})))},s={title:{type:"array",source:"children",selector:"h2",default:Object(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}},m=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,r=t.buttonText,i=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=a()(l(v),{"overlay-opacity":0!==v}),x=p.length||d.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!c.o.isEmpty(d)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),r&&!!r.length&&wp.element.createElement(u.a,{size:b,url:o,align:h,color:s,text:r,backgroundColor:i,borderRadius:m})))},b={title:{type:"array",source:"children",selector:"h2",default:Object(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}},p=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,r=t.buttonText,c=t.buttonColor,u=t.buttonTextColor,i=t.cornerButtonRadius,s=t.size,m=t.title,b=t.titleColor,p=t.subtitle,g=t.subtitleColor,d=(t.contentAlign,t.id,t.backgroundColor),f=t.opacity,h={backgroundColor:c,color:u,borderRadius:i+"px"},w=n?{backgroundImage:"url("+n+")"}:void 0,v=n?"has-image":"",y=a()(o(f),{"overlay-opacity":0!==f}),C=m||p||r?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+v+" "+C},wp.element.createElement("div",{className:"ugb-header-overlay "+y,style:{backgroundColor:d}}),wp.element.createElement("section",{key:"preview","data-url":n,style:w,className:"ugb-header-section"},m&&!!m.length&&wp.element.createElement("h2",{className:"ugb-header-title",style:{color:b}},m),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-header-subtitle",style:{color:g}},p),r&&!!r.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+s,style:h},r)))},g={title:{type:"array",source:"children",selector:"h2",default:Object(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(65),o=(n.n(l),n(66)),r=(n.n(o),n(1)),a=n(67),c=n(0),u=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=(e.editable,e.setState,e.attributes),o=l.url,r=l.href,a=l.title,u=l.titleColor,i=l.subtitle,s=l.subtitleColor,m=l.overlayColor,b=l.id,p=l.height,g=l.width,d=l.verticalAlign,f=l.horizontalAlign,h=l.full,w=o?"has-image":"",v=h?"full-width":"",y=[{value:"flex-start",label:Object(c.t)("Top")},{value:"center",label:Object(c.t)("Center")},{value:"flex-end",label:Object(c.t)("Bottom")}],C=[{value:"flex-start",label:Object(c.t)("Left")},{value:"center",label:Object(c.t)("Center")},{value:"flex-end",label:Object(c.t)("Right")}];return wp.element.createElement(c.g,null,wp.element.createElement(c.d,null,o&&wp.element.createElement(c.r,null,wp.element.createElement(c.j,{onSelect:function(e){return t({url:e.url,id:e.id})},allowedTypes:["image"],value:b,render:function(e){var t=e.open;return wp.element.createElement(c.h,{className:"components-toolbar__control",label:Object(c.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.q,{label:"Full-Width",checked:!!h,onChange:function(){return t({full:!h})}}),wp.element.createElement(c.n,{label:Object(c.t)("Height"),value:p,min:"135",max:"700",onChange:function(e){return t({height:e})}}),wp.element.createElement(c.n,{label:Object(c.t)("Width"),value:g,min:"400",max:"999",onChange:function(e){return t({width:e})}}),wp.element.createElement(c.p,{label:Object(c.t)("Vertical Alignment"),value:d,options:y.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({verticalAlign:e})}}),wp.element.createElement(c.p,{label:Object(c.t)("Horizontal Alignment"),value:f,options:C.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({horizontalAlign:e})}})),wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:m,onChange:function(e){return t({overlayColor:e})},label:Object(c.t)("Overlay Color")},{value:u,onChange:function(e){return t({titleColor:e})},label:Object(c.t)("Title Color")},{value:s,onChange:function(e){return t({subtitleColor:e})},label:Object(c.t)("Subtitle Color")}]})),wp.element.createElement("div",{className:"ugb-image-box "+w+" "+v,"data-url":o,style:{width:g+"px",height:p+"px",backgroundImage:"url("+o+")",alignItems:f,justifyContent:d}},wp.element.createElement(c.j,{onSelect:function(e){return t({url:e.url,id:e.id})},allowedTypes:["image"],value:b,render:function(e){return[!o&&wp.element.createElement(c.e,{className:b?"":"button button-large",onClick:e.open},Object(c.t)("Upload Image"))]}}),wp.element.createElement("a",{href:r,style:{backgroundColor:m}}),wp.element.createElement(c.o,{tagName:"h4",placeholder:a.default,value:a,onChange:function(e){return t({title:e})},style:{color:u}}),wp.element.createElement(c.o,{tagName:"p",placeholder:i.default,value:i,onChange:function(e){return t({subtitle:e})},style:{color:s}})),n&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link",style:{marginTop:10}},wp.element.createElement(c.f,{icon:"admin-links"}),wp.element.createElement(c.s,{value:r,onChange:function(e){t({href:e})}}),wp.element.createElement(c.h,{icon:"editor-break",label:Object(c.t)("Apply"),type:"submit"})))},i=function(e){var t=e.attributes,n=t.url,l=t.href,o=t.title,r=t.titleColor,a=t.subtitle,u=t.subtitleColor,i=t.overlayColor,s=(t.id,t.height),m=t.width,b=t.verticalAlign,p=t.horizontalAlign,g=t.full,d=n?"has-image":"",f=g?"full-width":"",h=o.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+d+" "+h+" "+f,"data-url":n,style:{width:m+"px",height:s+"px",backgroundImage:"url("+n+")",alignItems:p,justifyContent:b}},wp.element.createElement("a",{href:l,style:{backgroundColor:i}}),!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:r},value:o}),!c.o.isEmpty(a)&&wp.element.createElement(c.o.Content,{tagName:"p",style:{color:u},value:a}))},s={title:{source:"html",selector:"h4",default:Object(c.t)("Title")},subtitle:{source:"html",selector:"p",default:Object(c.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(c.B)("ugb/image-box",{title:Object(c.t)("Image Box"),icon:r.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Image Box"),Object(c.t)("Stackable")],attributes:s,deprecated:[{attributes:a.b,save:a.a}],edit:u,save:i})},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,c=t.subtitleColor,u=t.overlayColor,i=(t.id,t.height),s=t.width,m=t.verticalAlign,b=t.horizontalAlign,p=t.full,g=n?"has-image":"",d=p?"full-width":"",f=o.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+g+" "+f+" "+d,"data-url":n,style:{width:s+"px",height:i+"px",backgroundImage:"url("+n+")",alignItems:b,justifyContent:m}},wp.element.createElement("a",{href:"#",style:{backgroundColor:u}}),!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:c},value:a}))}},function(e,t,n){"use strict";var l=n(69),o=(n.n(l),n(70)),r=(n.n(o),n(1)),a=n(0),c=function(e){var t=(e.isSelected,e.editable,e.setState,e.setAttributes),n=(e.className,e.attributes),l=n.color,o=n.headingColor,r=n.desColor,c=n.title,u=n.counter,i=n.des,s=n.fontSize;return wp.element.createElement(a.g,null,wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(a.o,{tagName:"h4",value:c,onChange:function(e){return t({title:e})},style:{color:o}}),wp.element.createElement(a.o,{tagName:"div",className:"ugb-counter",placeholder:u.default,"data-duration":"1000","data-delay":"16",value:u,onChange:function(e){return t({counter:e})},style:{color:l,fontSize:s+"px"}}),wp.element.createElement(a.o,{tagName:"p",className:"ugb-counter-des",value:i,onChange:function(e){return t({des:e})},style:{color:r}})),wp.element.createElement(a.i,null,wp.element.createElement(a.l,{title:Object(a.t)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return t({headingColor:e})},label:Object(a.t)("Heading Color")},{value:l,onChange:function(e){return t({color:e})},label:Object(a.t)("Number Color")},{value:r,onChange:function(e){return t({desColor:e})},label:Object(a.t)("Description Color")}]}),wp.element.createElement(a.k,null,wp.element.createElement(a.n,{label:Object(a.t)("Counter Text Font Size"),max:"100",min:"10",value:s,onChange:function(e){return t({fontSize:e})}}))))},u=function(e){var t=e.attributes,n=t.color,l=t.headingColor,o=t.desColor,r=t.title,c=t.counter,u=t.des,i=t.fontSize;return wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:l},value:r}),wp.element.createElement(a.o.Content,{tagName:"div",className:"ugb-counter",style:{color:n,fontSize:i+"px"},value:c,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(a.o.Content,{tagName:"p",style:{color:o},value:u}))};Object(a.B)("ugb/count-up",{title:Object(a.t)("Count Up"),icon:r.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Count Up"),Object(a.t)("Stackable")],attributes:{title:{source:"html",selector:"h4",default:Object(a.t)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(a.t)("and counting")},fontSize:{type:"number",default:"60"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(72),o=(n.n(l),n(73)),r=(n.n(o),n(1)),a=n(0),c={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"}))},u=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=e.attributes,o=l.videoLink,r=l.mediaLink,u=l.overlayColor,i=l.playButtonType,s=l.mediaID,m=[{value:"normal",label:Object(a.t)("Normal Play Button")},{value:"circle",label:Object(a.t)("Play Button with Circle")},{value:"outline",label:Object(a.t)("Outline Play Button")}];return wp.element.createElement(a.g,null,wp.element.createElement(a.d,null,r&&wp.element.createElement(a.r,null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},allowedTypes:["image"],value:s,render:function(e){var t=e.open;return wp.element.createElement(a.h,{className:"components-toolbar__control",label:Object(a.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.p,{label:Object(a.t)("Play Button Style"),value:i,options:m.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({playButtonType:e})}})),wp.element.createElement(a.l,{initialOpen:!1,title:Object(a.t)("Color Settings"),colorSettings:[{value:u,onChange:function(e){return t({overlayColor:e})},label:Object(a.t)("Background / Overlay Color")}]})),wp.element.createElement("div",{className:"ugb-video-popup","data-video":o,style:{backgroundColor:u}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+r+")"}}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement(a.j,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},allowedTypes:["image"],value:s,render:function(e){return[!r&&wp.element.createElement(a.e,{className:s?"":"button button-large",onClick:e.open},Object(a.t)("Upload Image"))]}}),wp.element.createElement("div",{className:"ugb-video-overlay",style:{backgroundColor:u}}),wp.element.createElement("span",{className:"ugb-play-button"},c[i]))),n&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(a.f,{icon:"admin-links"}),wp.element.createElement(a.s,{value:o,onChange:function(e){return t({videoLink:e})}}),wp.element.createElement(a.h,{icon:"editor-break",label:Object(a.t)("Apply"),type:"submit"}),wp.element.createElement("p",{className:"ugb-video-popup-link-desc"},wp.element.createElement("i",null,"Youtube/Vimeo ID only"))))},i=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"},c[r])))};Object(a.B)("ugb/video-popup",{title:Object(a.t)("Video Popup"),icon:r.r,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Video Popup"),Object(a.t)("Stackable")],attributes:{videoLink:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video"},mediaLink:{type:"string",source:"attribute",selector:".ugb-video-preview",attribute:"data-url"},mediaID:{type:"number"},overlayColor:{type:"string",default:"#000000"},playButtonType:{type:"string",default:"normal"}},edit:u,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(75),o=(n.n(l),n(76)),r=(n.n(o),n(1)),a=n(2),c=n(3),u=n(77),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,o=l.heading,r=l.tagline,c=l.des,u=l.mediaID,s=l.mediaURL,m=l.headingColor,b=l.taglineColor,p=l.desColor,g=l.buttonURL,d=l.buttonText,f=l.buttonColor,h=l.buttonTextColor,w=l.size,v=l.cornerButtonRadius,y=l.contentAlign,C=s?"has-image":"",E=[{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")}];return wp.element.createElement(i.g,null,wp.element.createElement(i.d,null,wp.element.createElement(i.a,{value:y,onChange:function(e){return n({contentAlign:e})}}),wp.element.createElement(i.r,null,wp.element.createElement(i.j,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:u,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.l,{title:Object(i.t)("Text Colors"),colorSettings:[{value:m,onChange:function(e){return n({headingColor:e})},label:Object(i.t)("Heading Color")},{value:b,onChange:function(e){return n({taglineColor:e})},label:Object(i.t)("Tagline Color")},{value:p,onChange:function(e){return n({desColor:e})},label:Object(i.t)("Description Color")}]}),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.t)("Button Size")},wp.element.createElement(i.p,{label:Object(i.t)("Button Size"),value:w,options:E.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:v,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(i.l,{initialOpen:!1,title:Object(i.t)("Button Colors"),colorSettings:[{value:f,onChange:function(e){return n({buttonColor:e})},label:Object(i.t)("Button Color")},{value:h,onChange:function(e){return n({buttonTextColor:e})},label:Object(i.t)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-card "+C},wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+s+")",textAlign:y}},wp.element.createElement(i.j,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:u,render:function(e){return[!s&&wp.element.createElement(i.e,{className:u?"":"button button-large",onClick:e.open},Object(i.t)("Upload Image"))]}})),wp.element.createElement(i.o,{tagName:"h4",value:o,className:"ugb-card-heading",onChange:function(e){return n({heading:e})},style:{color:m,textAlign:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:r,className:"ugb-tagline",onChange:function(e){return n({tagline:e})},style:{color:b,textAlign:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:c,className:"ugb-card-des",onChange:function(e){return n({des:e})},style:{color:p,textAlign:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:w,align:y,color:h,backgroundColor:f,text:d,borderRadius:v,onChange:function(e){return n({buttonText:e})}})),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+y,style:{marginTop:10}},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:g,onChange:function(e){return n({buttonURL:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"})))},m=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,s=t.desColor,m=t.buttonURL,b=t.buttonText,p=t.buttonColor,g=t.buttonTextColor,d=t.size,f=t.cornerButtonRadius,h=t.contentAlign,w=r?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+w},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+r+")",textAlign:h},"data-src":r}),!i.o.isEmpty(n)&&wp.element.createElement(i.o.Content,{tagName:"h4",style:{color:a,textAlign:h},value:n}),!i.o.isEmpty(l)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:u,textAlign:h},value:l}),!i.o.isEmpty(o)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:o}),b&&!!b.length&&wp.element.createElement(c.a,{size:d,url:m,align:h,color:g,text:b,backgroundColor:p,borderRadius:f}))},b={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(i.t)("Ben Adams")},tagline:{source:"html",selector:".ugb-tagline",default:Object(i.t)("Ben is the head of our small team")},des:{source:"html",selector:".ugb-card-des",default:Object(i.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(i.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(i.B)("ugb/card",{title:Object(i.t)("Card"),icon:r.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Card"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:u.d,save:u.b},{attributes:u.c,save:u.a}],edit:s,save:m})},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 c}),n.d(t,"c",function(){return u});var l=n(0),o=n(5),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,c=t.mediaURL,u=(t.mediaID,t.headingColor),i=t.taglineColor,s=t.desColor,m=t.buttonURL,b=t.buttonText,p=t.buttonColor,g=t.buttonTextColor,d=t.size,f=t.cornerButtonRadius,h=t.contentAlign,w=c?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+w},c&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+c+")",textAlign:h},"data-src":c}),!l.o.isEmpty(n)&&wp.element.createElement(l.o.Content,{tagName:"h4",style:{color:u,textAlign:h},value:n}),!l.o.isEmpty(r)&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:i,textAlign:h},value:r}),!l.o.isEmpty(a)&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:a}),b&&!!b.length&&wp.element.createElement(o.a,{size:d,url:m,align:h,color:g,text:b,backgroundColor:p,borderRadius:f}))},c=function(e){var t=e.attributes,n=t.heading,l=t.tagline,o=t.des,r=t.mediaURL,a=(t.mediaID,t.headingColor),c=t.taglineColor,u=t.desColor,i=t.buttonURL,s=t.buttonText,m=t.buttonColor,b=t.buttonTextColor,p=t.size,g=t.cornerButtonRadius,d=t.contentAlign,f={backgroundColor:m,color:b,borderRadius:g+"px"},h=r?"has-image":"",w=n||l||o||s?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-card "+h+" "+w},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+r+")",textAlign:d},"data-src":r}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:a,textAlign:d}},n),l&&!!l.length&&wp.element.createElement("p",{className:"ugb-tagline",style:{color:c,textAlign:d}},l),o&&!!o.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:u,textAlign:d}},o),s&&!!s.length&&wp.element.createElement("a",{href:i,className:"wp-ugb-button wp-block-button ugb-button-"+p+" ugb-button-"+d,style:f},s))},u={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(79),r=(n.n(o),n(80)),a=(n.n(r),n(1)),c=n(7),u=n(0),i=function(e){var t=e.isSelected,n=(e.setState,e.className,e.setAttributes),o=e.attributes,r=o.columns,a=o.imageSize;return wp.element.createElement(u.g,null,wp.element.createElement(u.i,null,wp.element.createElement(u.k,null,wp.element.createElement(u.n,{label:Object(u.t)("Columns"),value:r,onChange:function(e){return n({columns:e})},min:1,max:3}),wp.element.createElement(u.n,{label:Object(u.t)("Image Size %"),value:a,onChange:function(e){return n({imageSize:e})},min:0,max:100}))),wp.element.createElement("div",{className:"ugb-feature-grid columns-"+r},[1,2,3].map(function(e){var r=o["imageUrl"+e],c=o["imageID"+e],i=o["title"+e],s=o["description"+e],b=o["linkUrl"+e],p=o["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(u.j,{onSelect:function(t){var o;return n((o={},l(o,"imageUrl"+e,t.url),l(o,"imageID"+e,t.id),o))},allowedTypes:["image"],value:c,render:function(e){return c?wp.element.createElement("img",{src:r,onClick:e.open,style:{width:a+"%"}}):wp.element.createElement(u.e,{className:"button button-large",onClick:e.open},Object(u.t)("Upload Image"))}})),wp.element.createElement(u.o,{tagName:"h5",value:i,onChange:function(t){return n(l({},"title"+e,t))},placeholder:m["title"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement(u.o,{tagName:"p",value:s,onChange:function(t){return n(l({},"description"+e,t))},placeholder:m["description"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement("p",null,wp.element.createElement("a",{href:"#"},wp.element.createElement(u.o,{tagName:"span",value:p,onChange:function(t){return n(l({},"linkText"+e,t))},placeholder:m["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(u.f,{icon:"admin-links"}),wp.element.createElement(u.s,{value:b,onChange:function(t){return n(l({},"linkUrl"+e,t))}}),wp.element.createElement(u.h,{icon:"editor-break",label:Object(u.t)("Apply"),type:"submit"})))})))},s=function(e){var t=e.attributes,n=t.columns,l=t.imageSize;return wp.element.createElement("div",{className:"ugb-feature-grid columns-"+n},Object(c.a)(1,n+1).map(function(e){var n=t["imageUrl"+e],o=t["title"+e],r=t["description"+e],a=t["linkUrl"+e],c=t["linkText"+e];return wp.element.createElement("div",{className:"ugb-feature-grid-item",key:e},n&&wp.element.createElement("img",{src:n,style:{width:l+"%"}}),!u.o.isEmpty(o)&&wp.element.createElement(u.o.Content,{tagName:"h5",className:"ugb-fg-title",value:o}),!u.o.isEmpty(r)&&wp.element.createElement(u.o.Content,{tagName:"p",className:"ugb-fg-description",value:r}),!u.o.isEmpty(c)&&wp.element.createElement("p",null,wp.element.createElement(u.o.Content,{tagName:"a",href:a,value:c,className:"ugb-fg-link"})))}))},m={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(u.t)("Feature 1")},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:Object(u.t)("Feature 2")},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:Object(u.t)("Feature 3")},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:Object(u.t)("Some feature description for an awesome feature")},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:Object(u.t)("Some feature description for an awesome feature")},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:Object(u.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(u.t)("View More")},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:Object(u.t)("View More")},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:Object(u.t)("View More")}};Object(u.B)("ugb/feature-grid",{title:Object(u.t)("Feature Grid"),icon:a.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.t)("Feature Grid"),Object(u.t)("Stackable")],attributes:m,edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(82),o=(n.n(l),n(83)),r=(n.n(o),n(1)),a=n(7),c=n(0),u=n(84),i={check:{iconFunc:u.e,circleFunc:u.d,outlineFunc:u.f,title:Object(c.t)("Check"),value:"check"},plus:{iconFunc:u.k,circleFunc:u.j,outlineFunc:u.l,title:Object(c.t)("Plus"),value:"plus"},arrow:{iconFunc:u.b,circleFunc:u.a,outlineFunc:u.c,title:Object(c.t)("Arrow"),value:"arrow"},cross:{iconFunc:u.h,circleFunc:u.g,outlineFunc:u.i,title:Object(c.t)("Cross"),value:"cross"},star:{iconFunc:u.n,circleFunc:u.m,outlineFunc:u.o,title:Object(c.t)("Star"),value:"star"}},s=function(e){return"circle"===e||"outline"===e?e+"Func":"iconFunc"},m=function(e,t,n){var l=s(t),o=Object(a.b)(i[e][l](n),!1);return btoa(o)},b=function(e){function t(e){return function(){return l({icon:e})}}function n(e){return function(){return l({iconShape:e})}}var l=(e.isSelected,e.setState,e.className,e.setAttributes),o=(e.insertBlocksAfter,e.attributes),r=o.icon,a=o.iconShape,u=o.iconColor,b=o.iconSize,p=o.text,g=o.columns,d=o.gap,f=m(r,a,u),h={"--icon":"url('data:image/svg+xml;base64,"+f+"')","--icon-size":b?b+"px":void 0,"--gap":d?d+"px":void 0};return wp.element.createElement(c.g,null,wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.b,{label:Object(c.t)("Icon")},wp.element.createElement(c.r,{icon:i[r].iconFunc(),controls:Object.keys(i).map(function(e){return Object.assign({},i[e],{icon:i[e].iconFunc(),isActive:r===e,onClick:t(e)})})})),wp.element.createElement(c.b,{label:Object(c.t)("Icon Shape")},wp.element.createElement(c.r,{icon:i[r][s(a)](),controls:["","circle","outline"].map(function(e){var t=s(e);return Object.assign({},i[r],{icon:i[r][t](),isActive:a===e,onClick:n(e)})})})),wp.element.createElement(c.l,{title:Object(c.t)("Icon Color"),className:"ugb-icon-list-color-picker",initialOpen:!0,opened:!0,colorSettings:[{value:u,onChange:function(e){return l({iconColor:e})},label:Object(c.t)("Icon Color")}]}),wp.element.createElement(c.n,{label:Object(c.t)("Icon Size"),value:b,onChange:function(e){return l({iconSize:e})},min:8,max:30}),wp.element.createElement(c.n,{label:Object(c.t)("Columns"),value:g,onChange:function(e){return l({columns:e})},min:1,max:3}),wp.element.createElement(c.n,{label:Object(c.t)("List Gap"),value:d,onChange:function(e){return l({gap:e})},min:0,max:30}))),wp.element.createElement("div",{className:"ugb-icon-list ugb-icon-"+r+" column-"+g,style:h},wp.element.createElement(c.o,{tagName:"ul",multiline:"li",value:p,onChange:function(e){return l({text:e})}})))},p=function(e){var t=e.attributes,n=t.icon,l=t.iconShape,o=t.iconColor,r=t.iconSize,a=t.text,u=t.columns,i=t.gap,s=m(n,l,o),b={"--icon":"url('data:image/svg+xml;base64,"+s+"')","--icon-size":r?r+"px":void 0,"--gap":i?i+"px":void 0};return wp.element.createElement(c.o.Content,{tagName:"ul",className:"ugb-icon-list ugb-icon-"+n+" column-"+u,style:b,value:a})},g={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.B)("ugb/icon-list",{title:Object(c.t)("Icon List"),icon:r.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Icon List"),Object(c.t)("Stackable")],attributes:g,edit:b,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"e",function(){return o}),n.d(t,"k",function(){return r}),n.d(t,"h",function(){return a}),n.d(t,"n",function(){return c}),n.d(t,"a",function(){return u}),n.d(t,"d",function(){return i}),n.d(t,"j",function(){return s}),n.d(t,"m",function(){return m}),n.d(t,"g",function(){return b}),n.d(t,"c",function(){return p}),n.d(t,"f",function(){return g}),n.d(t,"l",function(){return d}),n.d(t,"o",function(){return f}),n.d(t,"i",function(){return h});var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"59.4,177.5 141.8,95.1 59.4,12.8 48.8,23.4 120.6,95.1 48.8,166.9 "}))},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"}))},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"181.9,87.6 102.6,87.6 102.6,8.4 87.6,8.4 87.6,87.6 8.4,87.6 8.4,102.6 87.6,102.6 87.6,181.8 102.6,181.8 102.6,102.6 181.9,102.6 "}))},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"167.2,33.4 156.6,22.8 94.9,84.5 33.2,22.8 22.6,33.4 84.3,95.1 22.6,156.8 33.2,167.4 94.9,105.7 156.6,167.4 167.2,156.8 105.5,95.1 "}))},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 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 "}))},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 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M78.2,150.4L78.2,150.4l-10.6-10.6L110.3,97 L67.6,54.2l10.6-10.6L131.5,97L78.2,150.4z"}))},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M76.6,144.7l-36.5-36.5l10.6-10.6l25.9,25.9 l68.8-68.8l0,0L156,65.3L76.6,144.7z"}))},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M151,104.5h-46.6v46.6h-15v-46.6H42.8v-15 h46.6V42.9h15v46.6H151V104.5z"}))},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M134.7,152.1l-37.8-19.5l-37.8,19.5l6.9-41.9 L35.8,80.3l42-6.4l19.1-38l19.1,38l42,6.4l-30.2,29.9L134.7,152.1z"}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M144.3,133.5l-10.6,10.6l-36.5-36.5l-36.5,36.5 l-10.6-10.6L86.6,97L50.1,60.5l10.6-10.6l36.5,36.5l36.5-36.5l10.6,10.6L107.8,97L144.3,133.5z"}))},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"73.1,65.3 104.8,97 73.1,128.7 83.7,139.3 126,97 83.7,54.7 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"79.4,112.4 60.7,93.7 50.1,104.3 79.4,133.6 141.7,71.3 131.1,60.7 \t"}),wp.element.createElement("path",{d:"M182.3,57.5C175.1,40.5,163,26,147.9,15.7C132.7,5.5,114.4-0.5,94.7-0.5c-13.1,0-25.6,2.7-37,7.5 C40.7,14.2,26.2,26.2,16,41.4C5.7,56.5-0.3,74.8-0.3,94.5c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8 c15.2,10.2,33.5,16.2,53.1,16.2c13.1,0,25.6-2.7,37-7.5c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1 C189.8,81.4,187.1,68.9,182.3,57.5z M168.5,125.6c-6.1,14.3-16.2,26.6-29,35.2c-12.8,8.6-28.1,13.7-44.7,13.7 c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29c-8.6-12.8-13.7-28.1-13.7-44.7c0-11.1,2.2-21.6,6.3-31.1 C27.1,49,37.2,36.8,50,28.1c12.8-8.6,28.1-13.7,44.7-13.7c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29 c8.6,12.8,13.7,28.1,13.7,44.7C174.8,105.6,172.5,116.1,168.5,125.6z"}))},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"104.5,55.4 89.5,55.4 89.5,89.5 55.4,89.5 55.4,104.5 89.5,104.5 89.5,138.6 104.5,138.6 104.5,104.5 138.6,104.5 138.6,89.5 104.5,89.5 \t"}),wp.element.createElement("path",{d:"M184.5,60c-7.2-17-19.2-31.5-34.4-41.8C135,8,116.6,2,97,2C83.9,2,71.4,4.7,60,9.5c-17.1,7.2-31.6,19.3-41.8,34.4 S2,77.4,2,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.3,192,97,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4C186,134.9,192,116.6,192,97C192,83.9,189.3,71.4,184.5,60z M170.7,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.9,172,113.6,177,97,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C22,129,17,113.6,17,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C65,22,80.4,17,97,17c11.1,0,21.6,2.2,31.1,6.3 c14.3,6.1,26.6,16.2,35.2,29C171.9,65.1,177,80.4,177,97C177,108.1,174.8,118.6,170.7,128.1z"}))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}),wp.element.createElement("polygon",{points:"96.9,49.3 82.2,78.5 49.9,83.5 73.1,106.5 67.8,138.7 96.9,123.7 125.9,138.7 120.7,106.5 143.9,83.5 111.6,78.5 \t "}))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"134.7,70.1 124.1,59.5 97.2,86.4 70.4,59.5 59.7,70.1 86.6,97 59.7,123.9 70.4,134.5 97.2,107.6 124.1,134.5 134.7,123.9 107.8,97 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(86),r=(n.n(o),n(87)),a=(n.n(r),n(4)),c=n.n(a),u=n(1),i=n(2),s=n(3),m=n(0),b=function(e){var t,n=e.isSelected,o=(e.setState,e.className),r=e.setAttributes,a=e.attributes,u=a.invert,s=a.contentAlign,b=a.backgroundColor,p=a.textColor,d=a.imageSize,f=a.imageID,h=a.imageUrl,w=a.title,v=a.description,y=a.buttonURL,C=a.buttonText,E=a.buttonColor,x=a.buttonTextColor,O=a.buttonSize,N=a.buttonBorderRadius,k=c()([o,"ugb-feature"],(t={"ugb-has-background":b},l(t,"ugb-content-"+s,s),l(t,"ugb-invert",u),t)),j={backgroundColor:b||void 0,"--image-size":d?d+"px":void 0};return wp.element.createElement(m.g,null,wp.element.createElement(m.d,null,wp.element.createElement(m.a,{value:s,onChange:function(e){return r({contentAlign:e})}})),wp.element.createElement(m.i,null,wp.element.createElement(m.k,null,wp.element.createElement(m.q,{label:Object(m.t)("Reverse Horizontally"),checked:u,onChange:function(){return r({invert:!u})}}),wp.element.createElement(m.n,{label:Object(m.t)("Image Size"),value:d,onChange:function(e){return r({imageSize:e})},help:Object(m.t)("The theme's content width may have an effect here."),min:100,max:600})),wp.element.createElement(m.l,{initialOpen:!0,title:Object(m.t)("Colors"),colorSettings:[{value:b,onChange:function(e){return r({backgroundColor:e})},label:Object(m.t)("Background Color")},{value:p,onChange:function(e){return r({textColor:e})},label:Object(m.t)("Text Color")}]}),wp.element.createElement(m.l,{initialOpen:!1,title:Object(m.t)("Button Settings"),colorSettings:[{value:E,onChange:function(e){return r({buttonColor:e})},label:Object(m.t)("Button Color")},{value:x,onChange:function(e){return r({buttonTextColor:e})},label:Object(m.t)("Text Color")}]},wp.element.createElement(m.p,{label:Object(m.t)("Size"),value:O,options:[{value:"small",label:Object(m.t)("Small")},{value:"normal",label:Object(m.t)("Normal")},{value:"medium",label:Object(m.t)("Medium")},{value:"large",label:Object(m.t)("Large")}],onChange:function(e){r({buttonSize:e})}}),wp.element.createElement(m.n,{label:Object(m.t)("Border Radius"),value:N,min:"1",max:"50",onChange:function(e){return r({buttonBorderRadius:e})}}))),wp.element.createElement("div",{className:k,style:j},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,wp.element.createElement(m.o,{tagName:"h2",value:w,onChange:function(e){return r({title:e})},placeholder:g.title.default,style:{color:p},keepPlaceholderOnFocus:!0}),wp.element.createElement(m.o,{tagName:"p",value:v,onChange:function(e){return r({description:e})},placeholder:g.description.default,style:{color:p},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:O,align:s,color:x,backgroundColor:E,text:C,borderRadius:N,onChange:function(e){return r({buttonText:e})}})),wp.element.createElement("div",{className:"ugb-feature-image-side"},wp.element.createElement(m.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:h,onClick:e.open}):wp.element.createElement(m.e,{className:"button button-large",onClick:e.open},Object(m.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(m.f,{icon:"admin-links"}),wp.element.createElement(m.s,{value:y,onChange:function(e){return r({buttonURL:e})}}),wp.element.createElement(m.h,{icon:"editor-break",label:Object(m.t)("Apply"),type:"submit"})))},p=function(e){var t,n=e.className,o=e.attributes,r=o.invert,a=o.contentAlign,u=o.backgroundColor,i=o.textColor,b=o.imageSize,p=(o.imageID,o.imageUrl),g=o.title,d=o.description,f=o.buttonURL,h=o.buttonText,w=o.buttonColor,v=o.buttonTextColor,y=o.buttonSize,C=o.buttonBorderRadius,E=c()([n,"ugb-feature"],(t={"ugb-has-background":u},l(t,"ugb-content-"+a,a),l(t,"ugb-invert",r),t)),x={backgroundColor:u||void 0,"--image-size":b?b+"px":void 0};return wp.element.createElement("div",{className:E,style:x},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!m.o.isEmpty(g)&&wp.element.createElement(m.o.Content,{tagName:"h2",style:{color:i},value:g}),!m.o.isEmpty(d)&&wp.element.createElement(m.o.Content,{tagName:"p",style:{color:i},value:d}),!m.o.isEmpty(h)&&wp.element.createElement(s.a,{size:y,url:f,align:a,color:v,text:h,backgroundColor:w,borderRadius:C})),wp.element.createElement("div",{className:"ugb-feature-image-side"},p&&wp.element.createElement("img",{src:p,alt:g}))))},g={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(m.t)("Feature Title")},description:{source:"html",selector:"p",default:Object(m.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(m.t)("Learn More")},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4}};Object(m.B)("ugb/feature",{title:Object(m.t)("Feature"),icon:u.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.t)("Feature"),Object(m.t)("Stackable")],supports:l({align:!0},"align",["center","full"]),attributes:g,edit:b,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(0);Object(l.u)("stackable.get_pro","core",function(){})}]);
|
1 |
+
!function(e){function t(l){if(n[l])return n[l].exports;var o=n[l]={i:l,l:!1,exports:{}};return e[l].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,l){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:l})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=9)}([function(e,t,n){"use strict";n.d(t,"B",function(){return l}),n.d(t,"t",function(){return o}),n.d(t,"n",function(){return a}),n.d(t,"p",function(){return u}),n.d(t,"q",function(){return c}),n.d(t,"f",function(){return i}),n.d(t,"h",function(){return s}),n.d(t,"e",function(){return m}),n.d(t,"r",function(){return b}),n.d(t,"k",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"b",function(){return d}),n.d(t,"i",function(){return h}),n.d(t,"d",function(){return w}),n.d(t,"a",function(){return v}),n.d(t,"o",function(){return y}),n.d(t,"s",function(){return C}),n.d(t,"j",function(){return E}),n.d(t,"l",function(){return N}),n.d(t,"c",function(){return k}),n.d(t,"g",function(){return j}),n.d(t,"C",function(){return T}),n.d(t,"A",function(){return S}),n.d(t,"z",function(){return z}),n.d(t,"x",function(){return R}),n.d(t,"u",function(){return A}),n.d(t,"v",function(){return I}),n.d(t,"y",function(){return M}),n.d(t,"w",function(){return U});var l=wp.blocks.registerBlockType,o=wp.i18n.__,r=wp.components,a=r.RangeControl,u=r.SelectControl,c=(r.TextControl,r.ToggleControl),i=r.Dashicon,s=r.IconButton,m=r.Button,b=r.Toolbar,p=r.PanelBody,g=r.RadioControl,d=r.BaseControl,f=wp.editor.InspectorControls?wp.editor:wp.blocks,h=f.InspectorControls,w=f.BlockControls,v=f.AlignmentToolbar,y=f.RichText,C=f.URLInput,E=f.MediaUpload,x=wp.editor,N=x.PanelColorSettings,k=x.BlockAlignmentToolbar,O=wp.element,j=O.Fragment,T=O.renderToString,B=lodash,S=B.omit,z=B.merge,L=wp.hooks,R=L.doAction,A=L.addAction,I=L.applyFilters,F=(L.addFilter,stackable),M=F.isPro,U=F.blockSrcUrl;F.primaryColor},function(e,t,n){var l,o;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var o=typeof l;if("string"===o||"number"===o)e.push(l);else if(Array.isArray(l)&&l.length){var a=n.apply(null,l);a&&e.push(a)}else if("object"===o)for(var u in l)r.call(l,u)&&l[u]&&e.push(u)}}return e.join(" ")}var r={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(l=[],void 0!==(o=function(){return n}.apply(t,l))&&(e.exports=o))}()},function(e,t,n){"use strict";n.d(t,"j",function(){return a}),n.d(t,"a",function(){return u}),n.d(t,"g",function(){return c}),n.d(t,"c",function(){return i}),n.d(t,"n",function(){return s}),n.d(t,"o",function(){return m}),n.d(t,"q",function(){return b}),n.d(t,"b",function(){return p}),n.d(t,"p",function(){return g}),n.d(t,"d",function(){return d}),n.d(t,"k",function(){return f}),n.d(t,"h",function(){return h}),n.d(t,"l",function(){return w}),n.d(t,"r",function(){return v}),n.d(t,"m",function(){return y}),n.d(t,"f",function(){return C}),n.d(t,"e",function(){return E}),n.d(t,"i",function(){return x});var l=function(e){return wp.element.createElement("defs",null,wp.element.createElement("linearGradient",e,wp.element.createElement("stop",{offset:"0%",stopColor:"#ab5af1",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#fb6874",stopOpacity:"1"})))},o=1,r=function(){return"stk-icon-"+o++},a=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"20",height:"20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M512 96c-111.118 0-215.584 43.272-294.156 121.844S96 400.882 96 512s43.272 215.584 121.844 294.156S400.882 928 512 928s215.584-43.272 294.156-121.844S928 623.118 928 512s-43.272-215.584-121.843-294.156S623.118 96 512 96zm0-96c282.77 0 512 229.23 512 512s-229.23 512-512 512S0 794.77 0 512 229.23 0 512 0zm-64 704h128v128H448zm0-512h128v384H448z"}))},u=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z"}))},c=function(){return wp.element.createElement(u,null)},i=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 9h12v2H4V9z"}))},s=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z"}))},m=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 14 32"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 29h5.833L0 23h5V9H0l5.833-6H0V0h14v3H8.167L14 9H9v14h5l-5.833 6H14v3H0v-3z"}))},b=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 13 12.916010856628418"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M5.68 12.916a.5.5 0 0 1-.397-.196L3.208 10H1.463C.656 10 0 9.428 0 8.621V1.463C0 .656.656 0 1.463 0h10.074C12.344 0 13 .656 13 1.463v7.158C13 9.428 12.344 10 11.537 10H8.151l-2.073 2.72a.504.504 0 0 1-.398.196zM1.463 1A.464.464 0 0 0 1 1.463v7.158c0 .255.208.463.463.463h1.993a.5.5 0 0 1 .397.196l1.827 2.312L7.507 9.28a.502.502 0 0 1 .397-.196h3.633A.464.464 0 0 0 12 8.621V1.463A.464.464 0 0 0 11.537 1H1.463zm1.193 2h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49zm0 3h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49z"}))},p=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 16 14"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M10 0c-.17 0-.36.05-.52.14C8.04 1.02 4.5 3.58 3 4c-1.38 0-3 .67-3 2.5S1.63 9 3 9c.3.08.64.23 1 .41V14h2v-3.45c1.34.86 2.69 1.83 3.48 2.31.16.09.34.14.52.14.52 0 1-.42 1-1V1c0-.58-.48-1-1-1zm0 12c-.38-.23-.89-.58-1.5-1-.16-.11-.33-.22-.5-.34V2.31c.16-.11.31-.2.47-.31.61-.41 1.16-.77 1.53-1v11zm2-6h4v1h-4V6zm0 2l4 2v1l-4-2V8zm4-6v1l-4 2V4l4-2z"}))},g=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 896 1023"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M821 491q-41-41-95-60 62-26 100-82t38-125q0-93-65.5-158.5T640 0q-71 0-128.5 41T430 147q-32-39-77-61t-97-22q-93 0-158.5 65.5T32 288q0 69 38 125t100 82q-54 19-95 60Q0 630 0 736v191q0 40 28 68t68 28h320q31 0 55.5-18t34.5-46h294q40 0 68-28t28-68V672q0-106-75-181zM527 111q47-47 113-47t113 47 47 113-47 113-113 47-113-47-47-113 47-113zM143 401q-47-47-47-113t47-113 113-47 113 47 47 113-47 113-113 47-113-47zm305 526q0 13-9.5 22.5T416 959H96q-13 0-22.5-9.5T64 927V736q0-79 56.5-135.5T256 544t136 56q1 2 2 3 54 55 54 133v191zm-27-387q-36-30-79-45 43-18 75.5-52t48.5-78q36 44 88 66-54 19-95 60-22 23-38 49zm411 323q0 13-9.5 22.5T800 895H512V736q0-80-46-146 15-30 38-53 57-57 136-57t135.5 56.5T832 672v191z"}))},d=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 8"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 0C1.79 0 0 1.79 0 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm24 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM16 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"}))},f=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 21.027502059936523 10.284000396728516"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M3.028 10.284a1 1 0 0 1-1-1V2.902l-.553.276A1 1 0 1 1 .58 1.389l2-1a.998.998 0 0 1 1.447.895v8a1 1 0 0 1-1 1zm9 0h-5a1.002 1.002 0 0 1-.707-1.707l4-4c.254-.254.394-.591.394-.95 0-.358-.14-.695-.394-.949-.508-.508-1.39-.508-1.9.001a1.33 1.33 0 0 0-.393.948 1 1 0 0 1-2 0c0-.894.348-1.733.98-2.364C8.273 0 10.472 0 11.735 1.264c.632.631.979 1.471.979 2.363 0 .893-.348 1.733-.98 2.364L9.443 8.284h2.586a1 1 0 0 1 0 2zm7.955-5.623a2.725 2.725 0 0 0 .545-1.627 2.753 2.753 0 0 0-2.75-2.75 2.739 2.739 0 0 0-2.44 1.484 1 1 0 1 0 1.776.92.75.75 0 1 1 .664 1.096 1 1 0 0 0 0 2c.689 0 1.25.561 1.25 1.25s-.561 1.25-1.25 1.25-1.25-.561-1.25-1.25a1 1 0 0 0-2 0c0 1.792 1.458 3.25 3.25 3.25s3.25-1.458 3.25-3.25a3.23 3.23 0 0 0-1.045-2.373z"}))},h=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 38"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 0h32v38H0V0zm3 3v32h26V3H3zm2 2h22v7H5V5zm0 9h14v19H5V14zm16 19V14h6v19h-6zM6 6v5h20V6H6z"}))},w=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 896"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M960 0H64Q38 0 19 19T0 64v768q0 26 19 45t45 19h896q26 0 45-19t19-45V64q0-26-19-45T960 0zM64 64h896v714L724 430q-7-12-21-14t-25 7L524 548 350 305q-10-14-28-13t-26 17L64 757V64zm855 768H97l231-447 184 255 179-145zM737 190q13 0 22.5 9.5T769 222t-9.5 22.5T737 254t-22.5-9.5T705 222t9.5-22.5T737 190zm0-64q-40 0-68 28t-28 68 28 68 68 28 68-28 28-68-28-68-68-28z"}))},v=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 38 26"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M2 0h34a2 2 0 0 1 2 2v22a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.77 4C6.24 4 5 5.511 5 7.375v11.25C5 20.489 6.24 22 7.77 22h15.46c1.53 0 2.77-1.511 2.77-3.375V16l6 5h1V5h-1l-6 5V7.375C26 5.511 24.76 4 23.23 4H7.77z"}))},y=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 448 448"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M416 32V0H256L0 288l160 160 23.471-23.904L208 448l240-272V32h-32zM160 425.371L22.39 288 262.621 16H400v137.377l-216.555 247.99-11.34 11.363L160 425.371zm272-255.994L208 425.371l-13.182-12.65L416 160V48h16v121.377z"}),wp.element.createElement("path",{d:"M320 128c17.645 0 32-14.355 32-32s-14.355-32-32-32-32 14.355-32 32 14.355 32 32 32zm0-48c8.836 0 16 7.163 16 16s-7.164 16-16 16-16-7.163-16-16 7.164-16 16-16z"}))},C=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 95.11"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"50 0 65.45 31.31 100 36.33 75 60.7 80.9 95.11 50 78.86 19.1 95.11 25 60.7 0 36.33 34.55 31.31 50 0"}))},E=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,2.4 30.1,16.8 46,19.2 34.5,30.4 37.2,46.2 23,38.7 8.8,46.2 11.5,30.4 0,19.2 15.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,2.4 84.1,16.8 100,19.2 88.5,30.4 91.2,46.2 77,38.7 62.8,46.2 65.5,30.4 54,19.2 69.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,52.1 30.1,66.5 46,68.8 34.5,80 37.2,95.9 23,88.4 8.8,95.9 11.5,80 0,68.8 15.9,66.5 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,52.1 84.1,66.5 100,68.8 88.5,80 91.2,95.9 77,88.4 62.8,95.9 65.5,80 54,68.8 69.9,66.5 "}))},x=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,42.3 2.7,36.1 0,38.8 9,47.8 27.6,29.3 24.8,26.5 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"34.6",width:"64.8",height:"5.1"}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,70.7 2.7,64.4 0,67.1 9,76.2 27.6,57.6 24.8,54.8 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"63",width:"64.8",height:"5.1"}))}},function(e,t,n){"use strict";function l(e){var t=e.className,n=void 0===t?"":t,l=e.align,o=void 0===l?"center":l,u=e.size,c=void 0===u?"normal":u,i=e.color,s=e.text,m=void 0===s?"":s,b=e.backgroundColor,p=e.borderRadius,g=void 0===p?4:p,d=e.isSelected,f=void 0===d?null:d,h=e.onFocus,w=void 0===h?function(){}:h,v=e.onChange,y=void 0===v?function(){}:v,C={borderRadius:g+"px",backgroundColor:b||void 0},E=r()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+c]);return wp.element.createElement("span",{className:E,style:C,"data-is-placeholder-visible":a.o.isEmpty(m)},wp.element.createElement(a.o,{tagName:"span",placeholder:Object(a.t)("Enter Text"),value:m,onChange:y,formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:i},onFocus:w,isSelected:f,keepPlaceholderOnFocus:!0}))}var o=n(1),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.className,n=void 0===t?"":t,l=e.align,o=void 0===l?"center":l,u=e.size,c=void 0===u?"normal":u,i=e.url,s=void 0===i?"":i,m=e.color,b=e.text,p=e.backgroundColor,g=e.borderRadius,d={borderRadius:g+"px",backgroundColor:p||void 0},f=r()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+c]);return wp.element.createElement("div",{className:f,style:d},wp.element.createElement(a.o.Content,{tagName:"a",className:"ugb-button-inner",href:s,style:{color:m},value:b}))}var o=n(1),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.buttonColor,n=e.buttonTextColor,l=e.buttonSize,o=e.buttonBorderRadius,u=e.onChangeButtonColor,c=void 0===u?function(){}:u,i=e.onChangeButtonTextColor,s=void 0===i?function(){}:i,m=e.onChangeButtonSize,b=void 0===m?function(){}:m,p=e.onChangeButtonBorderRadius,g=void 0===p?function(){}:p;return wp.element.createElement(r.g,null,wp.element.createElement(r.l,a({initialOpen:!1,title:Object(r.t)("Button Settings"),colorSettings:[{value:t,onChange:c,label:Object(r.t)("Button Color")},{value:n,onChange:s,label:Object(r.t)("Text Color")}]},e),wp.element.createElement(r.p,{label:Object(r.t)("Size"),value:l,options:[{value:"small",label:Object(r.t)("Small")},{value:"normal",label:Object(r.t)("Normal")},{value:"medium",label:Object(r.t)("Medium")},{value:"large",label:Object(r.t)("Large")}],onChange:b}),wp.element.createElement(r.n,{label:Object(r.t)("Border Radius"),value:o,min:"1",max:"50",onChange:g})))}var o=n(1),r=(n.n(o),n(0)),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e};t.a=l},function(e,t,n){"use strict";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,a=e.url,u=void 0===a?"":a,c=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={borderRadius:m+"px"};return s&&(b.backgroundColor=s),wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+o,style:b},wp.element.createElement(r.o.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:c},value:i}))}function o(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,a=e.url,u=void 0===a?"":a,c=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={backgroundColor:s,borderRadius:m+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+o,style:b},wp.element.createElement(r.o.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:c},value:i}))}n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u}),n.d(t,"d",function(){return c}),n.d(t,"f",function(){return i}),n.d(t,"c",function(){return s}),n.d(t,"e",function(){return m});var r=n(0),a=l,u=o,c=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.align,a=t.color,c=t.textColor,i=t.size,s=t.cornerButtonRadius,m=t.design,b=wp.element.createElement(u,{align:o,size:i,url:n,color:c,text:l,backgroundColor:a,borderRadius:s});return Object(r.v)("stackable.designs.button.save",b,m,e)},i={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}},s=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.textColor,u=t.size,c=t.cornerButtonRadius,i={backgroundColor:r,color:a,borderRadius:c+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+u,style:i},l))},m={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}}},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return r}),n.d(t,"a",function(){return a});var l=n(0),o=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(l.C)(e).replace(/viewbox/i,"viewBox");return t?n.replace(/#/g,"%23"):n},a=function(e){var t="";return t=(e.match(/youtube\.com\/watch\?v=([^\&\?\/]+)/i)||[])[1],t||(t=(e.match(/youtube\.com\/embed\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtube\.com\/v\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtu\.be\/([^\&\?\/]+)/i)||[])[1]),t?{type:"youtube",id:t}:(t=(e.match(/vimeo\.com\/(\w*\/)*(\d+)/i)||[])[1],t||(t=(e.match(/^\d+$/i)||[])[1]),t?{type:"vimeo",id:t}:{type:"youtube",id:e})}},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(10),n(14),n(17),n(24),n(28),n(34),n(38),n(42),n(46),n(49),n(52),n(56),n(59),n(63),n(67),n(71),n(74),n(78),n(82),n(85),n(89),n(92)},function(e,t,n){"use strict";var l=n(11),o=(n.n(l),n(12)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(13),i=n(0),s=function(e){var t=e.className,n=e.attributes.height,l=a()([t,"ugb-spacer"]);return wp.element.createElement("div",{className:l,style:{height:n+"px"}})},m=function(e){var t=e.className,n=(e.isSelected,e.attributes.height),l=a()([t,"ugb-spacer"]);return wp.element.createElement(i.g,null,wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.n,{label:Object(i.t)("Height"),value:n,min:"30",max:"200",onChange:function(t){e.setAttributes({height:t})}}))),wp.element.createElement("div",{className:l,style:{height:n+"px"}}))},b={height:{default:50,type:"number"}};Object(i.B)("ugb/spacer",{title:Object(i.t)("Spacer"),icon:u.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Spacer"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,save:c.a}],edit:m,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return o});var l=function(e){var t=e.attributes.height;return wp.element.createElement("div",{style:{height:t+"px"}})},o={height:{default:50,type:"number"}}},function(e,t,n){"use strict";var l=n(15),o=(n.n(l),n(16)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=e.className,n=e.attributes,l=n.height,o=n.width,r=n.color,u=n.alignment,c=a()([t,"ugb-divider"]);return wp.element.createElement("div",{className:c},wp.element.createElement("hr",{align:u,style:{backgroundColor:r,width:o+"%",height:l}}))},s=function(e){var t=(e.isSelected,e.className),n=e.attributes,l=n.height,o=n.width,r=n.color,u=n.alignment,i=a()([t,"ugb-divider"]);return wp.element.createElement(c.g,null,wp.element.createElement(c.d,null,wp.element.createElement(c.a,{value:u,onChange:function(t){e.setAttributes({alignment:t})}})),wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.n,{label:Object(c.t)("Height"),value:l,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(c.n,{label:Object(c.t)("Width"),value:o,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:r,onChange:function(t){return e.setAttributes({color:t})},label:Object(c.t)("Divider Color")}]})),wp.element.createElement("div",{className:i,style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:u,style:{marginTop:0,marginBottom:0,backgroundColor:r,width:o+"%",height:l}})))};Object(c.B)("ugb/divider",{title:Object(c.t)("Divider"),icon:u.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Divider"),Object(c.t)("Stackable")],attributes:{height:{default:1,type:"number"},width:{default:50,type:"number"},color:{type:"string",default:"#dddddd"},alignment:{type:"string",default:"center"}},edit:s,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(18),o=(n.n(l),n(19)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(6),i=n(3),s=n(4),m=n(5),b=n(20),p=n(22),g=(n(23),n(0)),d=function(e){var t=e.isSelected,n=e.className,l=e.setAttributes,o=e.attributes,r=o.url,u=o.text,c=o.color,s=o.textColor,d=o.size,f=o.align,h=o.cornerButtonRadius,w=o.design,v=a()([n,"ugb-button"]),y=wp.element.createElement(i.a,{onChange:function(e){return l({text:e})},className:v,align:f,size:d,backgroundColor:c,color:s,text:u,borderRadius:h}),C=Object(g.v)("stackable.designs.button.edit",y,w,e);return wp.element.createElement(g.g,null,wp.element.createElement(g.d,null,wp.element.createElement(g.c,{value:f,onChange:function(e){l({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(g.i,null,wp.element.createElement(b.a,{selected:w,options:[{label:wp.element.createElement(p.a,{imageFile:"button/images/test.jpg"}),title:"Basic",value:"basic"},{label:wp.element.createElement(p.a,{imageFile:"button/images/test.jpg",isPro:!0}),title:"Center",value:"center"},{label:wp.element.createElement(p.a,{imageFile:"https://via.placeholder.com/350x150",isPro:!0}),title:"Right",value:"right"},{label:wp.element.createElement(p.a,{imageFile:"https://via.placeholder.com/350x150",isPro:!0}),title:"Full",value:"full"}],onChange:function(e){l({design:e})}})),wp.element.createElement(g.i,null,wp.element.createElement(m.a,{initialOpen:!0,buttonColor:c,buttonTextColor:s,buttonSize:d,buttonBorderRadius:h,onChangeButtonColor:function(e){return l({color:e})},onChangeButtonTextColor:function(e){return l({textColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),C,t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(g.f,{icon:"admin-links"}),wp.element.createElement(g.s,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(g.h,{icon:"editor-break",label:Object(g.t)("Apply"),type:"submit"})))},f=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.text,r=n.align,u=n.color,c=n.textColor,i=n.size,m=n.cornerButtonRadius,b=n.design,p=a()([t,"ugb-button"]),d=wp.element.createElement(s.a,{className:p,align:r,size:i,url:l,color:c,text:o,backgroundColor:u,borderRadius:m});return Object(g.v)("stackable.designs.button.save",d,b,e)},h={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}};Object(g.B)("ugb/button",{title:Object(g.t)("Button"),icon:u.a,description:"Add customize button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.t)("Button"),Object(g.t)("Stackable")],attributes:h,deprecated:[{attributes:c.f,save:c.d},{attributes:c.e,migrate:function(e){return Object(g.A)(Object(g.z)(e,{align:e.textAlignment}),["textAlignment"])},save:c.c}],edit:d,save:f})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return null}var o=n(21),r=(n.n(o),n(0),n(1));n.n(r);t.a=l},function(e,t){},function(e,t,n){"use strict";function l(e){var t=e.isPro,n=e.imageFile,l=r()({"is-pro":t});return wp.element.createElement("span",{className:l},wp.element.createElement("img",{src:n.match(/https?:/i)?n:a.w+"/"+n}))}var o=n(1),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict"},function(e,t,n){"use strict";var l=n(25),o=(n.n(l),n(26)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(27),i=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.url,u=o.text,c=o.color,s=o.size,m=o.align,b=o.cornerButtonRadius,p=o.borderThickness,g=[{value:"small",label:Object(i.t)("Small")},{value:"normal",label:Object(i.t)("Normal ")},{value:"medium",label:Object(i.t)("Medium")},{value:"large",label:Object(i.t)("Large")}],d=a()([l,"ugb-button","ugb-ghost-button","ugb-button-"+m,"ugb-button-"+s]);return wp.element.createElement(i.g,null,wp.element.createElement(i.d,null,wp.element.createElement(i.c,{value:m,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.p,{label:Object(i.t)("Size"),value:s,options:g.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Corner Radius"),value:b,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Border Thickness"),value:p,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(i.l,{title:Object(i.t)("Color Settings"),colorSettings:[{value:c,onChange:function(e){return n({color:e})},label:Object(i.t)("Button Color")}]})),wp.element.createElement("span",{className:d,style:{borderColor:c,borderRadius:b+"px",borderWidth:p+"px"}},wp.element.createElement(i.o,{tagName:"span",placeholder:Object(i.t)("Enter Text"),value:u,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:c},keepPlaceholderOnFocus:!0})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"})))},m=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.text,r=n.align,u=n.color,c=n.size,s=n.cornerButtonRadius,m=n.borderThickness,b={borderColor:u,borderRadius:s+"px",borderWidth:m+"px"},p=a()([t,"ugb-button","ugb-ghost-button","ugb-button-"+r,"ugb-button-"+c]);return wp.element.createElement("div",{className:p,style:b},wp.element.createElement(i.o.Content,{className:"ugb-button-inner",tagName:"a",value:o,href:l,style:{color:u}}))},b={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}};Object(i.B)("ugb/ghost-button",{title:Object(i.t)("Ghost Button"),icon:u.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Ghost Button"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,migrate:function(e){return Object(i.A)(Object(i.z)(e,{align:e.textAlignment}),["textAlignment"])},save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return o});var l=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.size,u=t.cornerButtonRadius,c=t.borderThickness,i={borderColor:r,color:r,borderRadius:u+"px",borderWidth:c+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+a+" ugb-ghost-button",style:i},l))},o={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},textAlignment:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}}},function(e,t,n){"use strict";var l=n(29),o=(n.n(l),n(30)),r=(n.n(o),n(1)),a=n.n(r),u=n(31),c=n.n(u),i=n(2),s=n(0),m=function(e){var t=[{value:"success",label:Object(s.t)("Success")},{value:"error",label:Object(s.t)("Error")},{value:"warning",label:Object(s.t)("Warning")},{value:"info",label:Object(s.t)("Information")}],n=(e.isSelected,e.editable,e.setState,e.setAttributes),l=e.className,o=e.attributes,r=o.text,u=o.color,c=o.textColor,i=o.notifType,m=o.dismissible,b=a()([l,"ugb-notification","type-"+i,"dismissible-"+m]);return wp.element.createElement(s.g,null,wp.element.createElement(s.i,null,wp.element.createElement(s.k,null,wp.element.createElement(s.q,{label:Object(s.t)("Dismissible"),checked:m,onChange:function(){return n({dismissible:!m})}}),wp.element.createElement(s.p,{label:Object(s.t)("Notification Type"),value:i,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}})),wp.element.createElement(s.l,{title:Object(s.t)("Color Settings"),colorSettings:[{value:u,onChange:function(e){return n({color:e})},label:Object(s.t)("Background Color")},{value:c,onChange:function(e){return n({textColor:e})},label:Object(s.t)("Text Color")}]})),wp.element.createElement("div",{className:b},m&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:c}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(s.o,{tagName:"p",placeholder:e.attributes.text.default,value:r,onChange:function(e){return n({text:e})},className:"wp-ugb-notif notif-"+i,style:{backgroundColor:u,color:c}})))},b=function(e){var t=e.className,n=e.attributes,l=n.text,o=n.color,r=n.textColor,u=n.notifType,i=n.dismissible,m=a()([t,"ugb-notification","type-"+u,"dismissible-"+i]),b={backgroundColor:o,color:r},p=c()(l+u).substr(0,6);return wp.element.createElement("div",{className:m,"data-uid":p},i&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:r}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(s.o.Content,{tagName:"p",className:"wp-ugb-notif notif-"+u,style:b,value:l}))},p={text:{source:"html",selector:"p",default:Object(s.t)("This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1}};Object(s.B)("ugb/notification",{title:Object(s.t)("Notification"),icon:i.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Notification"),Object(s.t)("Stackable")],attributes:p,edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(32),l=n(8).utf8,o=n(33),r=n(8).bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?r.stringToBytes(e):l.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var u=t.bytesToWords(e),c=8*e.length,i=1732584193,s=-271733879,m=-1732584194,b=271733878,p=0;p<u.length;p++)u[p]=16711935&(u[p]<<8|u[p]>>>24)|4278255360&(u[p]<<24|u[p]>>>8);u[c>>>5]|=128<<c%32,u[14+(c+64>>>9<<4)]=c;for(var g=a._ff,d=a._gg,f=a._hh,h=a._ii,p=0;p<u.length;p+=16){var w=i,v=s,y=m,C=b;i=g(i,s,m,b,u[p+0],7,-680876936),b=g(b,i,s,m,u[p+1],12,-389564586),m=g(m,b,i,s,u[p+2],17,606105819),s=g(s,m,b,i,u[p+3],22,-1044525330),i=g(i,s,m,b,u[p+4],7,-176418897),b=g(b,i,s,m,u[p+5],12,1200080426),m=g(m,b,i,s,u[p+6],17,-1473231341),s=g(s,m,b,i,u[p+7],22,-45705983),i=g(i,s,m,b,u[p+8],7,1770035416),b=g(b,i,s,m,u[p+9],12,-1958414417),m=g(m,b,i,s,u[p+10],17,-42063),s=g(s,m,b,i,u[p+11],22,-1990404162),i=g(i,s,m,b,u[p+12],7,1804603682),b=g(b,i,s,m,u[p+13],12,-40341101),m=g(m,b,i,s,u[p+14],17,-1502002290),s=g(s,m,b,i,u[p+15],22,1236535329),i=d(i,s,m,b,u[p+1],5,-165796510),b=d(b,i,s,m,u[p+6],9,-1069501632),m=d(m,b,i,s,u[p+11],14,643717713),s=d(s,m,b,i,u[p+0],20,-373897302),i=d(i,s,m,b,u[p+5],5,-701558691),b=d(b,i,s,m,u[p+10],9,38016083),m=d(m,b,i,s,u[p+15],14,-660478335),s=d(s,m,b,i,u[p+4],20,-405537848),i=d(i,s,m,b,u[p+9],5,568446438),b=d(b,i,s,m,u[p+14],9,-1019803690),m=d(m,b,i,s,u[p+3],14,-187363961),s=d(s,m,b,i,u[p+8],20,1163531501),i=d(i,s,m,b,u[p+13],5,-1444681467),b=d(b,i,s,m,u[p+2],9,-51403784),m=d(m,b,i,s,u[p+7],14,1735328473),s=d(s,m,b,i,u[p+12],20,-1926607734),i=f(i,s,m,b,u[p+5],4,-378558),b=f(b,i,s,m,u[p+8],11,-2022574463),m=f(m,b,i,s,u[p+11],16,1839030562),s=f(s,m,b,i,u[p+14],23,-35309556),i=f(i,s,m,b,u[p+1],4,-1530992060),b=f(b,i,s,m,u[p+4],11,1272893353),m=f(m,b,i,s,u[p+7],16,-155497632),s=f(s,m,b,i,u[p+10],23,-1094730640),i=f(i,s,m,b,u[p+13],4,681279174),b=f(b,i,s,m,u[p+0],11,-358537222),m=f(m,b,i,s,u[p+3],16,-722521979),s=f(s,m,b,i,u[p+6],23,76029189),i=f(i,s,m,b,u[p+9],4,-640364487),b=f(b,i,s,m,u[p+12],11,-421815835),m=f(m,b,i,s,u[p+15],16,530742520),s=f(s,m,b,i,u[p+2],23,-995338651),i=h(i,s,m,b,u[p+0],6,-198630844),b=h(b,i,s,m,u[p+7],10,1126891415),m=h(m,b,i,s,u[p+14],15,-1416354905),s=h(s,m,b,i,u[p+5],21,-57434055),i=h(i,s,m,b,u[p+12],6,1700485571),b=h(b,i,s,m,u[p+3],10,-1894986606),m=h(m,b,i,s,u[p+10],15,-1051523),s=h(s,m,b,i,u[p+1],21,-2054922799),i=h(i,s,m,b,u[p+8],6,1873313359),b=h(b,i,s,m,u[p+15],10,-30611744),m=h(m,b,i,s,u[p+6],15,-1560198380),s=h(s,m,b,i,u[p+13],21,1309151649),i=h(i,s,m,b,u[p+4],6,-145523070),b=h(b,i,s,m,u[p+11],10,-1120210379),m=h(m,b,i,s,u[p+2],15,718787259),s=h(s,m,b,i,u[p+9],21,-343485551),i=i+w>>>0,s=s+v>>>0,m=m+y>>>0,b=b+C>>>0}return t.endian([i,s,m,b])};a._ff=function(e,t,n,l,o,r,a){var u=e+(t&n|~t&l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._gg=function(e,t,n,l,o,r,a){var u=e+(t&l|n&~l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._hh=function(e,t,n,l,o,r,a){var u=e+(t^n^l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._ii=function(e,t,n,l,o,r,a){var u=e+(n^(t|~l))+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var l=t.wordsToBytes(a(e,n));return n&&n.asBytes?l:n&&n.asString?r.bytesToString(l):t.bytesToHex(l)}}()},function(e,t){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,l=0;n<e.length;n++,l+=8)t[l>>>5]|=e[n]<<24-l%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],l=0;l<e.length;l+=3)for(var o=e[l]<<16|e[l+1]<<8|e[l+2],r=0;r<4;r++)8*l+6*r<=8*e.length?n.push(t.charAt(o>>>6*(3-r)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],l=0,o=0;l<e.length;o=++l%4)0!=o&&n.push((t.indexOf(e.charAt(l-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(l))>>>6-2*o);return n}};e.exports=n}()},function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}e.exports=function(e){return null!=e&&(n(e)||l(e)||!!e._isBuffer)}},function(e,t,n){"use strict";var l=n(35),o=(n.n(l),n(36)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(37),i=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.color,u=o.text,c=o.quoteColor,s=a()([l,"ugb-blockquote"]);return wp.element.createElement(i.g,null,wp.element.createElement("blockquote",{className:s,style:{"--quote-color":c}},wp.element.createElement(i.o,{className:"ugb-blockquote-text",value:u,onChange:function(e){return n({text:e})},isSelected:t,style:{color:r}})),wp.element.createElement(i.i,null,wp.element.createElement(i.l,{title:Object(i.t)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(i.t)("Text Color")},{value:c,onChange:function(e){return n({quoteColor:e})},label:Object(i.t)("Quote Color")}]})))},m=function(e){var t=e.className,n=e.attributes,l=n.color,o=n.text,r=n.quoteColor,u=a()([t,"ugb-blockquote"]);return wp.element.createElement("blockquote",{className:u,style:{"--quote-color":r}},wp.element.createElement(i.o.Content,{tagName:"p",style:{color:l},value:o}))},b={text:{source:"html",selector:"p",default:Object(i.t)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(i.B)("ugb/blockquote",{title:Object(i.t)("Blockquote"),icon:u.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Blockquote"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,migrate:function(e){return Object(i.A)(Object(i.z)(e,{quoteColor:e.borderColor}),["borderColor"])},save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={text:{type:"array",source:"children",selector:"p",default:Object(l.t)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#424242"},borderColor:{type:"string",default:"#2091e1"}},r=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{borderLeftColor:o}},wp.element.createElement("p",{style:{color:n}},l))}},function(e,t,n){"use strict";var l=n(39),o=(n.n(l),n(40)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(41),i=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.color,u=o.text,c=o.quoteColor,s=a()([l,"ugb-pullquote"]);return wp.element.createElement(i.g,null,wp.element.createElement("blockquote",{className:s,style:{"--quote-color":c}},wp.element.createElement(i.o,{tagName:"p",className:"ugb-pullquote-text",value:u,onChange:function(e){return n({text:e})},placeholder:Object(i.t)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:r}})),wp.element.createElement(i.i,null,wp.element.createElement(i.l,{title:Object(i.t)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(i.t)("Text Color")},{value:c,onChange:function(e){return n({quoteColor:e})},label:Object(i.t)("Quote Color")}]})))},m=function(e){var t=e.className,n=e.attributes,l=n.color,o=n.text,r=n.quoteColor,u=a()([t,"ugb-pullquote"]);return wp.element.createElement("blockquote",{className:u,style:{"--quote-color":r}},wp.element.createElement(i.o.Content,{tagName:"p",style:{color:l},value:o}))},b={text:{source:"html",selector:"p",default:Object(i.t)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(i.B)("ugb/pullquote",{title:Object(i.t)("Pullquote"),icon:u.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Pullquote"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,migrate:function(e){return Object(i.A)(Object(i.z)(e,{quoteColor:e.borderColor}),["borderColor"])},save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r});var l=n(0),o=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{borderTopColor:o,borderBottomColor:o}},wp.element.createElement("p",{style:{color:n}},l))},r={text:{type:"array",source:"children",selector:"p",default:Object(l.t)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#2091e1"},borderColor:{type:"string",default:"#2091e1"}}},function(e,t,n){"use strict";var l=n(43),o=(n.n(l),n(44)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(3),i=n(4),s=n(5),m=n(45),b=n(0),p=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.url,u=o.buttonText,i=o.ctaTitle,m=o.bodyText,p=o.color,g=o.textColor,d=o.size,f=o.borderButtonRadius,h=o.bodyTextColor,w=o.titleColor,v=o.bgColor,y=a()([n,"ugb-cta"]);return wp.element.createElement(b.g,null,wp.element.createElement(b.i,null,wp.element.createElement(b.l,{initialOpen:!0,title:Object(b.t)("Color Settings"),colorSettings:[{value:v,onChange:function(e){return l({bgColor:e})},label:Object(b.t)("Background Color")},{value:w,onChange:function(e){return l({titleColor:e})},label:Object(b.t)("Title Color")},{value:h,onChange:function(e){return l({bodyTextColor:e})},label:Object(b.t)("Body Text Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:p,buttonTextColor:g,buttonSize:d,buttonBorderRadius:f,onChangeButtonColor:function(e){return l({color:e})},onChangeButtonTextColor:function(e){return l({textColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({borderButtonRadius:e})}})),wp.element.createElement("div",{className:y,style:{backgroundColor:v}},wp.element.createElement(b.o,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(b.t)("Add Title"),value:i,onChange:function(e){return l({ctaTitle:e})},keepPlaceholderOnFocus:!0,style:{color:w}}),wp.element.createElement(b.o,{tagName:"p",value:m,className:"ugb-cta-bodyText",onChange:function(e){return l({bodyText:e})},placeholder:Object(b.t)("Write body text\u2026"),style:{color:h}}),wp.element.createElement(c.a,{size:d,color:g,backgroundColor:p,text:u,borderRadius:f,onChange:function(e){return l({buttonText:e})}})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))},g=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.buttonText,r=n.ctaTitle,u=n.bodyText,c=n.color,s=n.textColor,m=n.size,p=n.borderButtonRadius,g=n.bodyTextColor,d=n.titleColor,f=n.bgColor,h=a()([t,"ugb-cta"]);return wp.element.createElement("div",{className:h,style:{backgroundColor:f}},r&&!!r.length&&wp.element.createElement(b.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:d},value:r}),u&&!!u.length&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:g},value:u}),o&&!!o.length&&wp.element.createElement(i.a,{size:m,url:l,color:s,text:o,backgroundColor:c,borderRadius:p}))},d={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(b.t)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(b.t)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{source:"html",selector:".ugb-button a"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}};Object(b.B)("ugb/cta",{title:Object(b.t)("Call to Action"),icon:u.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Call to Action"),Object(b.t)("Stackable"),Object(b.t)("CTA")],attributes:d,supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:m.c,save:m.b},{save:m.a}],edit:p,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u});var l=n(0),o=n(6),r={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(l.t)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(l.t)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},a=function(e){var t=e.attributes,n=t.url,r=t.buttonText,a=t.ctaTitle,u=t.bodyText,c=t.color,i=t.textColor,s=t.size,m=t.borderButtonRadius,b=t.bodyTextColor,p=t.titleColor,g=t.bgColor;return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:g}},a&&!!a.length&&wp.element.createElement(l.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:a}),u&&!!u.length&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:u}),r&&!!r.length&&wp.element.createElement(o.a,{size:s,url:n,color:i,text:r,backgroundColor:c,borderRadius:m}))},u=function(e){var t=e.attributes,n=t.url,l=t.buttonText,o=t.ctaTitle,r=t.bodyText,a=t.color,u=t.textColor,c=t.size,i=t.borderButtonRadius,s=t.bodyTextColor,m=t.titleColor,b=t.bgColor,p={backgroundColor:a,color:u,borderRadius:i+"px"};return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:b}},o&&!!o.length&&wp.element.createElement("h3",{className:"ugb-cta-title",style:{color:m}},o),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-cta-bodyText",style:{color:s}},r),l&&!!l.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-cta-button ugb-button-"+c,style:p},l))}},function(e,t,n){"use strict";var l=n(47),o=(n.n(l),n(48)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=(e.isSelected,e.editable,e.setState,e.className),n=e.setAttributes,l=e.attributes,o=l.testimonialTitle,r=l.testimonialTitleTwo,u=l.testimonialTitleThree,i=l.body,s=l.bodyTwo,m=l.bodyThree,b=l.position,p=l.positionTwo,g=l.positionThree,d=(l.href,l.hrefTwo,l.hrefThree,l.mediaID),f=l.mediaIDTwo,h=l.mediaIDThree,w=l.mediaURL,v=l.mediaURLTwo,y=l.mediaURLThree,C=l.columns,E=l.titleColor,x=l.posColor,N=l.bodyTextColor,k=l.iconColor,O=a()([t,"ugb-testimonial","column-"+C]);return wp.element.createElement(c.g,null,wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.n,{label:Object(c.t)("Columns"),value:C,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(c.l,{initialOpen:!1,title:Object(c.t)("Color Settings"),colorSettings:[{value:E,onChange:function(e){return n({titleColor:e})},label:Object(c.t)("Title Color")},{value:x,onChange:function(e){return n({posColor:e})},label:Object(c.t)("Position Color")},{value:N,onChange:function(e){return n({bodyTextColor:e})},label:Object(c.t)("Body Text Color")},{value:k,onChange:function(e){return n({iconColor:e})},label:Object(c.t)("Icon Color")}]})),wp.element.createElement("div",{className:O},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:d,render:function(e){return wp.element.createElement(c.e,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+w+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:o,onChange:function(e){return n({testimonialTitle:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:b,className:"ugb-testimonial-position",onChange:function(e){return n({position:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:i,className:"ugb-testimonial-body",onChange:function(e){return n({body:e})},style:{color:N},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-two"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLTwo:e.url,mediaIDTwo:e.id})},allowedTypes:["image"],value:f,render:function(e){return wp.element.createElement(c.e,{className:f?"":"button button-large",onClick:e.open},f?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+v+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:r,onChange:function(e){return n({testimonialTitleTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:p,className:"ugb-testimonial-position-two",onChange:function(e){return n({positionTwo:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:s,className:"ugb-testimonial-body-two",onChange:function(e){return n({bodyTwo:e})},style:{color:N},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-three"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLThree:e.url,mediaIDThree:e.id})},allowedTypes:["image"],value:h,render:function(e){return wp.element.createElement(c.e,{className:h?"":"button button-large",onClick:e.open},h?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+y+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:u,onChange:function(e){return n({testimonialTitleThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:g,className:"ugb-testimonial-position-three",onChange:function(e){return n({positionThree:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:m,className:"ugb-testimonial-body-three",onChange:function(e){return n({bodyThree:e})},style:{color:N},keepPlaceholderOnFocus:!0}))))},s=function(e){var t=e.className,n=e.attributes,l=n.testimonialTitle,o=n.testimonialTitleTwo,r=n.testimonialTitleThree,u=n.body,i=n.bodyTwo,s=n.bodyThree,m=n.position,b=n.positionTwo,p=n.positionThree,g=n.mediaURL,d=n.mediaURLTwo,f=n.mediaURLThree,h=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.titleColor),w=n.posColor,v=n.bodyTextColor,y=n.iconColor,C=n.columns,E=a()([t,"ugb-testimonial","column-"+C]),x=wp.element.createElement("div",{className:"quote-icon"},wp.element.createElement("svg",{viewBox:"0 0 246 187.5",style:{fill:y}},wp.element.createElement("path",{d:"M98.5,0h-93C2.5,0,0,2.5,0,5.5v93c0,3,2.5,5.5,5.5,5.5h39c-1.7,15.5-8.8,50-39,50c-3,0-5.5,2.5-5.5,5.5V182c0,3,2.5,5.5,5.5,5.5c5.2,0,98.5-4.5,98.5-89v-93C104,2.5,101.5,0,98.5,0z"}),wp.element.createElement("path",{d:"M240.5,0h-93c-3,0-5.5,2.5-5.5,5.5v93c0,3,2.5,5.5,5.5,5.5h39c-1.7,15.5-8.8,50-39,50c-3,0-5.5,2.5-5.5,5.5V182c0,3,2.5,5.5,5.5,5.5c5.2,0,98.5-4.5,98.5-89v-93C246,2.5,243.5,0,240.5,0z"}),wp.element.createElement("path",{d:"M161.3-86.3c3.2,0,3.2-5,0-5C158.1-91.3,158.1-86.3,161.3-86.3L161.3-86.3z"})));return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},g?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+g+")"},"data-src":g}):x,!c.o.isEmpty(l)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:h},value:l}),!c.o.isEmpty(m)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:w},value:m}),!c.o.isEmpty(u)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:v},value:u})),C>1&&wp.element.createElement("div",{className:"ugb-testimonial-column-two"},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+d+")"},"data-src":d}):x,!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:h},value:o}),!c.o.isEmpty(b)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-position-two",style:{color:w},value:b}),!c.o.isEmpty(i)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-body-two",style:{color:v},value:i})),C>2&&wp.element.createElement("div",{className:"ugb-testimonial-column-three"},f?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+f+")"},"data-src":f}):x,!c.o.isEmpty(r)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:h},value:r}),!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-position-three",style:{color:w},value:p}),!c.o.isEmpty(s)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-testimonial-body-three",style:{color:v},value:s})))},m={href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-testimonial-column-one .testimonial-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-testimonial-column-two .testimonial-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-testimonial-column-three .testimonial-image",attribute:"data-src"},testimonialTitle:{source:"html",selector:".ugb-testimonial-column-one h4",default:Object(c.t)("Ben Adams")},testimonialTitleTwo:{source:"html",selector:".ugb-testimonial-column-two h4",default:Object(c.t)("Alex Johnson")},testimonialTitleThree:{source:"html",selector:".ugb-testimonial-column-three h4",default:Object(c.t)("Sammy Simpson")},position:{source:"html",selector:".ugb-testimonial-position",default:Object(c.t)("Founder")},positionTwo:{source:"html",selector:".ugb-testimonial-position-two",default:Object(c.t)("Editor")},positionThree:{source:"html",selector:".ugb-testimonial-position-three",default:Object(c.t)("Programmer")},body:{source:"html",selector:".ugb-testimonial-body",default:Object(c.t)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{source:"html",selector:".ugb-testimonial-body-two",default:Object(c.t)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{source:"html",selector:".ugb-testimonial-body-three",default:Object(c.t)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},titleColor:{type:"string"},posColor:{type:"string"},bodyTextColor:{type:"string"},iconColor:{type:"string"},columns:{type:"number",default:1}};Object(c.B)("ugb/testimonial",{title:Object(c.t)("Testimonial"),icon:u.q,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Testimonial"),Object(c.t)("Stackable")],attributes:m,edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(50),o=(n.n(l),n(51)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=(e.isSelected,e.editable,e.setState,e.className),n=e.setAttributes,l=e.attributes,o=l.name,r=l.nameTwo,u=l.nameThree,i=l.des,s=l.desTwo,m=l.desThree,b=l.position,p=l.positionTwo,g=l.positionThree,d=(l.href,l.hrefTwo,l.hrefThree,l.mediaID),f=l.mediaIDTwo,h=l.mediaIDThree,w=l.mediaURL,v=l.mediaURLTwo,y=l.mediaURLThree,C=l.columns,E=l.nameColor,x=l.posColor,N=l.desColor,k=l.iconColor,O=l.shapes,j=[{value:"square",label:Object(c.t)("Square")},{value:"circle",label:Object(c.t)("Circle")}],T=a()([t,"ugb-team-member","column-"+C,"image-"+O]);return wp.element.createElement(c.g,null,wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.p,{label:Object(c.t)("Image Shape"),value:O,options:j.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({shapes:e})}}),wp.element.createElement(c.n,{label:Object(c.t)("Columns"),value:C,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(c.l,{initialOpen:!1,title:Object(c.t)("Color Settings"),colorSettings:[{value:E,onChange:function(e){return n({nameColor:e})},label:Object(c.t)("Name Color")},{value:x,onChange:function(e){return n({posColor:e})},label:Object(c.t)("Position Color")},{value:N,onChange:function(e){return n({desColor:e})},label:Object(c.t)("Description Color")},{value:k,onChange:function(e){return n({iconColor:e})},label:Object(c.t)("Icon Color")}]})),wp.element.createElement("div",{className:T},wp.element.createElement("div",{className:"ugb-team-member-column-one"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:d,render:function(e){return wp.element.createElement(c.e,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+w+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:o,onChange:function(e){return n({name:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:b,className:"ugb-team-member-position",onChange:function(e){return n({position:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:i,className:"ugb-team-member-des",onChange:function(e){return n({des:e})},style:{color:N},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-two"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLTwo:e.url,mediaIDTwo:e.id})},allowedTypes:["image"],value:f,render:function(e){return wp.element.createElement(c.e,{className:f?"":"button button-large",onClick:e.open},f?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+v+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:r,onChange:function(e){return n({nameTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:p,className:"ugb-team-member-position",onChange:function(e){return n({positionTwo:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:s,className:"ugb-team-member-des-two",onChange:function(e){return n({desTwo:e})},style:{color:N},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-three"},wp.element.createElement("div",null,wp.element.createElement(c.j,{onSelect:function(e){return n({mediaURLThree:e.url,mediaIDThree:e.id})},allowedTypes:["image"],value:h,render:function(e){return wp.element.createElement(c.e,{className:h?"":"button button-large",onClick:e.open},h?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+y+")"}}):Object(c.t)("Upload Image"))}})),wp.element.createElement(c.o,{tagName:"h4",value:u,onChange:function(e){return n({nameThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:g,className:"ugb-team-member-position",onChange:function(e){return n({positionThree:e})},style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:m,className:"ugb-team-member-des-three",onChange:function(e){return n({desThree:e})},style:{color:N},keepPlaceholderOnFocus:!0}))))},s=function(e){var t=e.className,n=e.attributes,l=n.name,o=n.nameTwo,r=n.nameThree,u=n.shapes,i=n.des,s=n.desTwo,m=n.desThree,b=n.position,p=n.positionTwo,g=n.positionThree,d=n.mediaURL,f=n.mediaURLTwo,h=n.mediaURLThree,w=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.nameColor),v=n.posColor,y=n.desColor,C=(n.iconColor,n.columns),E=a()([t,"ugb-team-member","column-"+C,"image-"+u]);return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:"ugb-team-member-column-one"},d&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+d+")"},"data-src":d}),!c.o.isEmpty(l)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:w},value:l}),!c.o.isEmpty(b)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:v},value:b}),!c.o.isEmpty(i)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-des",style:{color:y},value:i})),C>1&&wp.element.createElement("div",{className:"ugb-team-member-column-two"},f&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+f+")"},"data-src":f}),!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:w},value:o}),!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:v},value:p}),!c.o.isEmpty(s)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-des-two",style:{color:y},value:s})),C>2&&wp.element.createElement("div",{className:"ugb-team-member-column-three"},h&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+h+")"},"data-src":h}),!c.o.isEmpty(r)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:w},value:r}),!c.o.isEmpty(g)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:v},value:g}),!c.o.isEmpty(m)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-team-member-des-three",style:{color:y},value:m})))},m={href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-team-member-column-one .team-member-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-team-member-column-two .team-member-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-team-member-column-three .team-member-image",attribute:"data-src"},name:{source:"html",selector:".ugb-team-member-column-one h4",default:Object(c.t)("Ben Adams")},nameTwo:{source:"html",selector:".ugb-team-member-column-two h4",default:Object(c.t)("Alex Johnson")},nameThree:{source:"html",selector:".ugb-team-member-column-three h4",default:Object(c.t)("Sammy Simpson")},position:{source:"html",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(c.t)("Founder")},positionTwo:{source:"html",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(c.t)("Editor")},positionThree:{source:"html",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(c.t)("Programmer")},des:{source:"html",selector:".ugb-team-member-des",default:Object(c.t)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{source:"html",selector:".ugb-team-member-des-two",default:Object(c.t)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{source:"html",selector:".ugb-team-member-des-three",default:Object(c.t)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},nameColor:{type:"string"},posColor:{type:"string"},desColor:{type:"string"},iconColor:{type:"string"},columns:{type:"number",default:1},shapes:{type:"string",default:"square"}};Object(c.B)("ugb/team-member",{title:Object(c.t)("Team Member"),icon:u.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Team Member"),Object(c.t)("Stackable")],attributes:m,edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(53),r=(n.n(o),n(54)),a=(n.n(r),n(1)),u=n.n(a),c=n(2),i=n(55),s=n(0),m=function(e){var t=(e.focus,e.setFocus,e.editable,e.setAttributes),n=(e.setState,e.className),o=e.isSelected,r=e.attributes,a=r.text,c=r.moreLabel,i=r.moreText,m=r.lessLabel,b=u()([n,"ugb-expand"]);return wp.element.createElement(s.g,null,wp.element.createElement("div",{className:b},o&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.t)("Less text")),wp.element.createElement(s.o,l({multiline:"p",placeholder:e.attributes.text.default,value:a,onChange:function(e){return t({text:e})},className:"ugb-expand-less-text"},"placeholder",Object(s.t)("Some short text that can be expanded to show more details."))),wp.element.createElement(s.o,l({tagName:"a",placeholder:e.attributes.moreLabel.default,value:c,onChange:function(e){return t({moreLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-more"},"placeholder",Object(s.t)("Show more"))),o&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.t)("More text")),o&&wp.element.createElement(s.o,l({multiline:"p",placeholder:e.attributes.moreText.default,value:i,onChange:function(e){return t({moreText:e})},className:"ugb-expand-more-text"},"placeholder",Object(s.t)("Some short text that can be expanded to show more details. Some additional text that can only be seen when expanded."))),o&&wp.element.createElement(s.o,l({tagName:"a",placeholder:e.attributes.lessLabel.default,value:m,onChange:function(e){return t({lessLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-less"},"placeholder",Object(s.t)("Show less")))))},b=function(e){var t=e.className,n=e.attributes,l=n.text,o=n.moreLabel,r=n.moreText,a=n.lessLabel,c=u()([t,"ugb-expand"]);return wp.element.createElement("div",{className:c},wp.element.createElement("div",{className:"ugb-expand-less-text"},!s.o.isEmpty(l)&&wp.element.createElement(s.o.Content,{multiline:"p",value:l})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!s.o.isEmpty(r)&&wp.element.createElement(s.o.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(s.o.Content,{className:"ugb-expand-more",tagName:"span",value:o}),wp.element.createElement(s.o.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))},p={text:{source:"html",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{source:"html",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{source:"html",selector:".ugb-expand-more",default:Object(s.t)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(s.t)("Show less")}};Object(s.B)("ugb/expand",{title:Object(s.t)("Expand / Show More"),icon:c.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Expand"),Object(s.t)("Show more/less"),Object(s.t)("Stackable")],attributes:p,deprecated:[{attributes:i.b,save:i.a}],edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={text:{source:"html",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{source:"html",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{source:"html",selector:".ugb-expand-more",default:Object(l.t)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(l.t)("Show less")}},r=function(e){var t=e.attributes,n=t.text,o=t.moreLabel,r=t.moreText,a=t.lessLabel;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ugb-expand-less-text"},!l.o.isEmpty(n)&&wp.element.createElement(l.o.Content,{multiline:"p",value:n})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!l.o.isEmpty(r)&&wp.element.createElement(l.o.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(l.o.Content,{className:"ugb-expand-more",tagName:"span",value:o}),wp.element.createElement(l.o.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))}},function(e,t,n){"use strict";var l=n(57),o=(n.n(l),n(58)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=e.className,n=e.setAttributes,l=(e.isSelected,e.editable,e.setState,e.attributes),o=l.numberBox,r=l.numberBoxTwo,u=l.numberBoxThree,i=l.body,s=l.bodyTwo,m=l.bodyThree,b=l.name,p=l.nameTwo,g=l.nameThree,d=l.columns,f=l.numberBoxColor,h=l.nameColor,w=l.bodyTextColor,v=l.numberBGColor,y=a()([t,"ugb-number-box","column-"+d]);return wp.element.createElement(c.g,null,wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.n,{label:Object(c.t)("Columns"),value:d,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return n({numberBoxColor:e})},label:Object(c.t)("Number Color")},{value:v,onChange:function(e){return n({numberBGColor:e})},label:Object(c.t)("Number Background Color")},{value:h,onChange:function(e){return n({nameColor:e})},label:Object(c.t)("Name Color")},{value:w,onChange:function(e){return n({bodyTextColor:e})},label:Object(c.t)("Body Text Color")}]})),wp.element.createElement("div",{className:y},wp.element.createElement("div",null,wp.element.createElement(c.o,{tagName:"span",placeholder:o?o.default:"",value:o,onChange:function(e){return n({numberBox:e})},style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"h4",value:b,className:"ugb-number-box-name",onChange:function(e){return n({name:e})},placeholder:Object(c.t)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:i,className:"ugb-number-box-body",onChange:function(e){return n({body:e})},placeholder:Object(c.t)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(c.o,{tagName:"span",placeholder:r?r.default:"",value:r,onChange:function(e){return n({numberBoxTwo:e})},style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"h4",value:p,className:"ugb-number-box-name-two",onChange:function(e){return n({nameTwo:e})},placeholder:Object(c.t)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:s,className:"ugb-number-box-body-two",onChange:function(e){return n({bodyTwo:e})},placeholder:Object(c.t)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(c.o,{tagName:"span",placeholder:u?u.default:"",value:u,onChange:function(e){return n({numberBoxThree:e})},style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"h4",value:g,className:"ugb-number-box-name-three",onChange:function(e){return n({nameThree:e})},placeholder:Object(c.t)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.o,{tagName:"p",value:m,className:"ugb-number-box-body-three",onChange:function(e){return n({bodyThree:e})},placeholder:Object(c.t)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0}))))},s=function(e){var t=e.className,n=e.attributes,l=n.numberBox,o=n.numberBoxTwo,r=n.numberBoxThree,u=n.body,i=n.bodyTwo,s=n.bodyThree,m=n.name,b=n.nameTwo,p=n.nameThree,g=n.numberBoxColor,d=n.nameColor,f=n.bodyTextColor,h=n.numberBGColor,w=n.columns,v=a()([t,"ugb-number-box","column-"+w]);return wp.element.createElement("div",{className:v},wp.element.createElement("div",{className:"ugb-number-box-column-one"},!c.o.isEmpty(l)&&wp.element.createElement(c.o.Content,{tagName:"span",style:{color:g,backgroundColor:h},value:l}),!c.o.isEmpty(m)&&wp.element.createElement(c.o.Content,{tagName:"h4",className:"ugb-number-box-name",style:{color:d},value:m}),!c.o.isEmpty(u)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-number-box-body",style:{color:f},value:u})),w>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{tagName:"span",style:{color:g,backgroundColor:h},value:o}),!c.o.isEmpty(b)&&wp.element.createElement(c.o.Content,{tagName:"h4",className:"ugb-number-box-name-two",style:{color:d},value:b}),!c.o.isEmpty(i)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-number-box-body-two",style:{color:f},value:i})),w>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},!c.o.isEmpty(r)&&wp.element.createElement(c.o.Content,{tagName:"span",style:{color:g,backgroundColor:h},value:r}),!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"h4",className:"ugb-number-box-name-three",style:{color:d},value:p}),!c.o.isEmpty(s)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-number-box-body-three",style:{color:f},value:s})))},m={numberBox:{source:"html",selector:".ugb-number-box-column-one span",default:Object(c.t)("01")},numberBoxTwo:{source:"html",selector:".ugb-number-box-column-two span",default:Object(c.t)("02")},numberBoxThree:{source:"html",selector:".ugb-number-box-column-three span",default:Object(c.t)("03")},name:{source:"html",selector:".ugb-number-box-name",default:Object(c.t)("Registration")},nameTwo:{source:"html",selector:".ugb-number-box-name-two",default:Object(c.t)("Waiting Period")},nameThree:{source:"html",selector:".ugb-number-box-name-three",default:Object(c.t)("Delivery")},body:{source:"html",selector:".ugb-number-box-body",default:Object(c.t)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyTwo:{source:"html",selector:".ugb-number-box-body-two",default:Object(c.t)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyThree:{source:"html",selector:".ugb-number-box-body-three",default:Object(c.t)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},numberBoxColor:{type:"string"},nameColor:{type:"string"},bodyTextColor:{type:"string"},numberBGColor:{type:"string"},columns:{type:"number",default:1}};Object(c.B)("ugb/number-box",{title:Object(c.t)("Number Box"),icon:u.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Number Box"),Object(c.t)("Stackable")],attributes:m,edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(60),o=(n.n(l),n(61)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(3),i=n(4),s=n(5),m=n(62),b=n(0),p=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.url,u=o.url2,i=o.url3,m=o.pricingBoxTitle,p=o.pricingBoxTitle2,g=o.pricingBoxTitle3,d=o.price,f=o.price2,h=o.price3,w=o.perMonthLabel,v=o.perMonthLabel2,y=o.perMonthLabel3,C=o.buttonText,E=o.buttonText2,x=o.buttonText3,N=o.featureList,k=o.featureList2,O=o.featureList3,j=o.pricingBoxColor,T=o.priceColor,B=o.perMonthLabelColor,S=o.buttonColor,z=o.buttonTextColor,L=o.featureListColor,R=o.columns,A=o.size,I=o.cornerButtonRadius,F=a()([n,"ugb-pricing-box","column-"+R]);return wp.element.createElement(b.g,null,wp.element.createElement(b.i,null,wp.element.createElement(b.k,null,wp.element.createElement(b.n,{label:Object(b.t)("Columns"),value:R,onChange:function(e){return l({columns:e})},min:1,max:3})),wp.element.createElement(b.l,{initialOpen:!1,title:Object(b.t)("Text Colors"),colorSettings:[{value:j,onChange:function(e){return l({pricingBoxColor:e})},label:Object(b.t)("Pricing Title Color")},{value:T,onChange:function(e){return l({priceColor:e})},label:Object(b.t)("Price Color")},{value:B,onChange:function(e){return l({perMonthLabelColor:e})},label:Object(b.t)("Per Month Label Color")},{value:L,onChange:function(e){return l({featureListColor:e})},label:Object(b.t)("Feature List Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:S,buttonTextColor:z,buttonSize:A,buttonBorderRadius:I,onChangeButtonColor:function(e){return l({buttonColor:e})},onChangeButtonTextColor:function(e){return l({buttonTextColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:F},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},wp.element.createElement(b.o,{tagName:"h3",value:m,onChange:function(e){return l({pricingBoxTitle:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:d,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:w,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:A,color:z,backgroundColor:S,text:C,borderRadius:I,onChange:function(e){return l({buttonText:e})}}),wp.element.createElement(b.o,{tagName:"p",value:N,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(b.o,{tagName:"h3",value:p,onChange:function(e){return l({pricingBoxTitle2:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:f,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price2:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:v,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel2:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:A,color:z,backgroundColor:S,text:E,borderRadius:I,onChange:function(e){return l({buttonText2:e})}}),wp.element.createElement(b.o,{tagName:"p",value:k,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList2:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:u,onChange:function(e){return l({url2:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(b.o,{tagName:"h3",value:g,onChange:function(e){return l({pricingBoxTitle3:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:h,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price3:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:y,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel3:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:A,color:z,backgroundColor:S,text:x,borderRadius:I,onChange:function(e){return l({buttonText3:e})}}),wp.element.createElement(b.o,{tagName:"p",value:O,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList3:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:i,onChange:function(e){return l({url3:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))))},g=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.url2,r=n.url3,u=n.pricingBoxTitle,c=n.pricingBoxTitle2,s=n.pricingBoxTitle3,m=n.price,p=n.price2,g=n.price3,d=n.perMonthLabel,f=n.perMonthLabel2,h=n.perMonthLabel3,w=n.buttonText,v=n.buttonText2,y=n.buttonText3,C=n.featureList,E=n.featureList2,x=n.featureList3,N=n.pricingBoxColor,k=n.priceColor,O=n.perMonthLabelColor,j=n.buttonColor,T=n.buttonTextColor,B=n.featureListColor,S=n.columns,z=n.size,L=n.cornerButtonRadius,R=a()([t,"ugb-pricing-box","column-"+S]);return wp.element.createElement("div",{className:R},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},!b.o.isEmpty(u)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:N},value:u}),!b.o.isEmpty(m)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:k},value:m}),!b.o.isEmpty(d)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:d}),w&&!!w.length&&wp.element.createElement(i.a,{size:z,url:l,color:T,text:w,backgroundColor:j,borderRadius:L}),!b.o.isEmpty(C)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:C})),S>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},!b.o.isEmpty(c)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:N},value:c}),!b.o.isEmpty(p)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:k},value:p}),!b.o.isEmpty(f)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:f}),v&&!!v.length&&wp.element.createElement(i.a,{size:z,url:o,color:T,text:v,backgroundColor:j,borderRadius:L}),!b.o.isEmpty(E)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:E})),S>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},!b.o.isEmpty(s)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:N},value:s}),!b.o.isEmpty(g)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:k},value:g}),!b.o.isEmpty(h)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:h}),y&&!!y.length&&wp.element.createElement(i.a,{size:z,url:r,color:T,text:y,backgroundColor:j,borderRadius:L}),!b.o.isEmpty(x)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:x})))},d={url:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-one .ugb-button a",attribute:"href"},url2:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-two .ugb-button a",attribute:"href"},url3:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-three .ugb-button a",attribute:"href"},pricingBoxTitle:{source:"html",selector:".ugb-pricing-box-column-one h3",default:Object(b.t)("Basic")},pricingBoxTitle2:{source:"html",selector:".ugb-pricing-box-column-two h3",default:Object(b.t)("Basic")},pricingBoxTitle3:{source:"html",selector:".ugb-pricing-box-column-three h3",default:Object(b.t)("Basic")},price:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(b.t)("$9")},price2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(b.t)("$9")},price3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(b.t)("$9")},perMonthLabel:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(b.t)("per month")},perMonthLabel2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(b.t)("per month")},perMonthLabel3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(b.t)("per month")},buttonText:{source:"html",selector:".ugb-pricing-box-column-one .ugb-button a",default:Object(b.t)("Buy Now")},buttonText2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-button a",default:Object(b.t)("Buy Now")},buttonText3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-button a",default:Object(b.t)("Buy Now")},featureList:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(b.t)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-feature-list",default:Object(b.t)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-feature-list",default:Object(b.t)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},pricingBoxColor:{type:"string"},priceColor:{type:"string"},perMonthLabelColor:{type:"string"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},featureListColor:{type:"string"},columns:{type:"number",default:1},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}};Object(b.B)("ugb/pricing-box",{title:Object(b.t)("Pricing Box"),icon:u.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Pricing Box"),Object(b.t)("Stackable")],attributes:d,deprecated:[{save:m.a}],edit:p,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){var t=e.attributes,n=t.url,l=t.url2,o=t.url3,r=t.pricingBoxTitle,a=t.pricingBoxTitle2,u=t.pricingBoxTitle3,c=t.price,i=t.price2,s=t.price3,m=t.perMonthLabel,b=t.perMonthLabel2,p=t.perMonthLabel3,g=t.buttonText,d=t.buttonText2,f=t.buttonText3,h=t.featureList,w=t.featureList2,v=t.featureList3,y=t.pricingBoxColor,C=t.priceColor,E=t.perMonthLabelColor,x=t.buttonColor,N=t.buttonTextColor,k=t.featureListColor,O=t.columns,j=t.size,T=t.cornerButtonRadius,B={backgroundColor:x,color:N,borderRadius:T+"px"};return wp.element.createElement("div",{className:"ugb-pricing-box column-"+O},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},r&&!!r.length&&wp.element.createElement("h3",{style:{color:y}},r),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},c),m&&!!m.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},m),g&&!!g.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+j,style:B},g),h&&!!h.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:k}},h)),O>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:y}},a),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},i),b&&!!b.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},b),d&&!!d.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+j,style:B},d),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:k}},w)),O>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},u&&!!u.length&&wp.element.createElement("h3",{style:{color:y}},u),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},s),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},p),f&&!!f.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+j,style:B},f),v&&!!v.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:k}},v)))}},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}var o=n(64),r=(n.n(o),n(65)),a=(n.n(r),n(1)),u=n.n(a),c=n(2),i=n(3),s=n(4),m=n(5),b=n(66),p=n(0),g=function(e){var t=e.className,n=e.setAttributes,o=e.isSelected,r=(e.editable,e.setState,e.attributes),a=r.url,c=r.buttonURL,s=r.buttonText,b=r.buttonColor,g=r.buttonTextColor,d=r.cornerButtonRadius,f=r.size,h=r.title,w=r.titleColor,v=r.subtitle,y=r.subtitleColor,C=r.contentAlign,E=r.id,x=r.backgroundColor,N=r.opacity,k=u()([t,"ugb-header"],{"has-image":a}),O=u()([l(N),"ugb-header-overlay"],{"overlay-opacity":0!==N});return wp.element.createElement(p.g,null,wp.element.createElement(p.d,null,wp.element.createElement(p.a,{value:C,onChange:function(e){return n({contentAlign:e})}}),wp.element.createElement(p.r,null,wp.element.createElement(p.j,{onSelect:function(e){return n({url:e.url,id:e.id})},allowedTypes:["image"],value:E,render:function(e){var t=e.open;return wp.element.createElement(p.h,{className:"components-toolbar__control",label:Object(p.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(p.i,null,wp.element.createElement(p.k,{title:Object(p.t)("General")},wp.element.createElement(p.n,{label:Object(p.t)("Background Opacity"),value:N,min:0,max:10,step:1,onChange:function(e){return n({opacity:e})}})),wp.element.createElement(p.l,{initialOpen:!1,title:Object(p.t)("Header Colors"),colorSettings:[{value:w,onChange:function(e){return n({titleColor:e})},label:Object(p.t)("Title Color")},{value:y,onChange:function(e){return n({subtitleColor:e})},label:Object(p.t)("Subtitle Color")},{value:x,onChange:function(e){return n({backgroundColor:e})},label:Object(p.t)("Heading Background Color")}]}),wp.element.createElement(m.a,{initialOpen:!1,buttonColor:b,buttonTextColor:g,buttonSize:f,buttonBorderRadius:d,onChangeButtonColor:function(e){return n({buttonColor:e})},onChangeButtonTextColor:function(e){return n({buttonTextColor:e})},onChangeButtonSize:function(e){n({size:e})},onChangeButtonBorderRadius:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:k},wp.element.createElement("div",{className:O,style:{backgroundColor:x}}),wp.element.createElement(p.j,{onSelect:function(e){return n({url:e.url,id:e.id})},allowedTypes:["image"],value:E,render:function(e){return[!a&&wp.element.createElement(p.e,{className:E?"":"button button-large",onClick:e.open},Object(p.t)("Upload Image"))]}}),wp.element.createElement("section",{"data-url":a,style:{backgroundImage:a?"url("+a+")":void 0},className:"ugb-header-section"},wp.element.createElement(p.o,{tagName:"h2",className:"ugb-header-title",placeholder:h.default,value:h,onChange:function(e){return n({title:e})},style:{textAlign:C,color:w}}),wp.element.createElement(p.o,{tagName:"p",className:"ugb-header-subtitle",placeholder:v.default,value:v,onChange:function(e){return n({subtitle:e})},style:{textAlign:C,color:y}}),wp.element.createElement(i.a,{size:f,align:C,color:g,backgroundColor:b,text:s,borderRadius:d,onChange:function(e){return n({buttonText:e})}}))),o&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+C},wp.element.createElement(p.f,{icon:"admin-links"}),wp.element.createElement(p.s,{value:c,onChange:function(e){return n({buttonURL:e})}}),wp.element.createElement(p.h,{icon:"editor-break",label:Object(p.t)("Apply"),type:"submit"})))},d=function(e){var t=e.className,n=e.attributes,o=n.url,r=n.buttonURL,a=n.buttonText,c=n.buttonColor,i=n.buttonTextColor,m=n.cornerButtonRadius,b=n.size,g=n.title,d=n.titleColor,f=n.subtitle,h=n.subtitleColor,w=n.contentAlign,v=(n.id,n.backgroundColor),y=n.opacity,C={backgroundImage:o?"url("+o+")":void 0,textAlign:w||void 0},E=u()([t,"ugb-header"],{"has-image":o,"has-no-content":!g&&!f&&!a,"has-content":g||f||a}),x=u()([l(y),"ugb-header-overlay"],{"overlay-opacity":0!==y});return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:x,style:{backgroundColor:v}}),wp.element.createElement("section",{key:"preview","data-url":o,style:C,className:"ugb-header-section"},!p.o.isEmpty(g)&&wp.element.createElement(p.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!p.o.isEmpty(f)&&wp.element.createElement(p.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:h},value:f}),a&&!!a.length&&wp.element.createElement(s.a,{size:b,url:r,align:w,color:i,text:a,backgroundColor:c,borderRadius:m})))},f={title:{source:"html",selector:"h2",default:Object(p.t)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(p.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(p.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}};Object(p.B)("ugb/header",{title:Object(p.t)("Header"),icon:c.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(p.t)("Header"),Object(p.t)("Stackable")],supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),attributes:f,deprecated:[{attributes:b.f,save:b.c},{attributes:b.e,save:b.b},{attributes:b.d,save:b.a}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function o(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}n.d(t,"c",function(){return i}),n.d(t,"f",function(){return s}),n.d(t,"b",function(){return m}),n.d(t,"e",function(){return b}),n.d(t,"a",function(){return p}),n.d(t,"d",function(){return g});var r=n(1),a=n.n(r),u=n(0),c=n(6),i=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,r=t.buttonText,i=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=a()(l(v),{"overlay-opacity":0!==v}),x=p.length||d.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!u.o.isEmpty(p)&&wp.element.createElement(u.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!u.o.isEmpty(d)&&wp.element.createElement(u.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),r&&!!r.length&&wp.element.createElement(c.b,{size:b,url:o,align:h,color:s,text:r,backgroundColor:i,borderRadius:m})))},s={title:{type:"array",source:"children",selector:"h2",default:Object(u.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(u.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},m=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,r=t.buttonText,i=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=a()(l(v),{"overlay-opacity":0!==v}),x=p.length||d.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!u.o.isEmpty(p)&&wp.element.createElement(u.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!u.o.isEmpty(d)&&wp.element.createElement(u.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),r&&!!r.length&&wp.element.createElement(c.a,{size:b,url:o,align:h,color:s,text:r,backgroundColor:i,borderRadius:m})))},b={title:{type:"array",source:"children",selector:"h2",default:Object(u.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(u.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},p=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,r=t.buttonText,u=t.buttonColor,c=t.buttonTextColor,i=t.cornerButtonRadius,s=t.size,m=t.title,b=t.titleColor,p=t.subtitle,g=t.subtitleColor,d=(t.contentAlign,t.id,t.backgroundColor),f=t.opacity,h={backgroundColor:u,color:c,borderRadius:i+"px"},w=n?{backgroundImage:"url("+n+")"}:void 0,v=n?"has-image":"",y=a()(o(f),{"overlay-opacity":0!==f}),C=m||p||r?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+v+" "+C},wp.element.createElement("div",{className:"ugb-header-overlay "+y,style:{backgroundColor:d}}),wp.element.createElement("section",{key:"preview","data-url":n,style:w,className:"ugb-header-section"},m&&!!m.length&&wp.element.createElement("h2",{className:"ugb-header-title",style:{color:b}},m),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-header-subtitle",style:{color:g}},p),r&&!!r.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+s,style:h},r)))},g={title:{type:"array",source:"children",selector:"h2",default:Object(u.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-header a.wp-ugb-button",default:Object(u.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}}},function(e,t,n){"use strict";var l=n(68),o=(n.n(l),n(69)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(70),i=n(0),s=function(e){var t=e.className,n=e.setAttributes,l=e.isSelected,o=(e.editable,e.setState,e.attributes),r=o.url,u=o.href,c=o.title,s=o.titleColor,m=o.subtitle,b=o.subtitleColor,p=o.overlayColor,g=o.id,d=o.height,f=o.width,h=o.verticalAlign,w=o.horizontalAlign,v=o.full,y=[{value:"flex-start",label:Object(i.t)("Top")},{value:"center",label:Object(i.t)("Center")},{value:"flex-end",label:Object(i.t)("Bottom")}],C=[{value:"flex-start",label:Object(i.t)("Left")},{value:"center",label:Object(i.t)("Center")},{value:"flex-end",label:Object(i.t)("Right")}],E=a()([t,"ugb-image-box"],{"has-image":r,"full-width":v});return wp.element.createElement(i.g,null,wp.element.createElement(i.d,null,r&&wp.element.createElement(i.r,null,wp.element.createElement(i.j,{onSelect:function(e){return n({url:e.url,id:e.id})},allowedTypes:["image"],value:g,render:function(e){var t=e.open;return wp.element.createElement(i.h,{className:"components-toolbar__control",label:Object(i.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.q,{label:"Full-Width",checked:!!v,onChange:function(){return n({full:!v})}}),wp.element.createElement(i.n,{label:Object(i.t)("Height"),value:d,min:"135",max:"700",onChange:function(e){return n({height:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Width"),value:f,min:"400",max:"999",onChange:function(e){return n({width:e})}}),wp.element.createElement(i.p,{label:Object(i.t)("Vertical Alignment"),value:h,options:y.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({verticalAlign:e})}}),wp.element.createElement(i.p,{label:Object(i.t)("Horizontal Alignment"),value:w,options:C.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({horizontalAlign:e})}})),wp.element.createElement(i.l,{title:Object(i.t)("Color Settings"),colorSettings:[{value:p,onChange:function(e){return n({overlayColor:e})},label:Object(i.t)("Overlay Color")},{value:s,onChange:function(e){return n({titleColor:e})},label:Object(i.t)("Title Color")},{value:b,onChange:function(e){return n({subtitleColor:e})},label:Object(i.t)("Subtitle Color")}]})),wp.element.createElement("div",{className:E,"data-url":r,style:{width:f+"px",height:d+"px",backgroundImage:"url("+r+")",alignItems:w,justifyContent:h}},wp.element.createElement(i.j,{onSelect:function(e){return n({url:e.url,id:e.id})},allowedTypes:["image"],value:g,render:function(e){return[!r&&wp.element.createElement(i.e,{className:g?"":"button button-large",onClick:e.open},Object(i.t)("Upload Image"))]}}),wp.element.createElement("a",{href:u,style:{backgroundColor:p}}),wp.element.createElement(i.o,{tagName:"h4",placeholder:c.default,value:c,onChange:function(e){return n({title:e})},style:{color:s}}),wp.element.createElement(i.o,{tagName:"p",placeholder:m.default,value:m,onChange:function(e){return n({subtitle:e})},style:{color:b}})),l&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link",style:{marginTop:10}},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:u,onChange:function(e){n({href:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"})))},m=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.href,r=n.title,u=n.titleColor,c=n.subtitle,s=n.subtitleColor,m=n.overlayColor,b=(n.id,n.height),p=n.width,g=n.verticalAlign,d=n.horizontalAlign,f=n.full,h=a()([t,"ugb-image-box"],{"has-image":l,"full-width":f,"has-no-content":!r&&!c,"has-content":r||c});return wp.element.createElement("div",{className:h,"data-url":l,style:{width:p+"px",height:b+"px",backgroundImage:"url("+l+")",alignItems:d,justifyContent:g}},wp.element.createElement("a",{href:o,style:{backgroundColor:m}}),!i.o.isEmpty(r)&&wp.element.createElement(i.o.Content,{tagName:"h4",style:{color:u},value:r}),!i.o.isEmpty(c)&&wp.element.createElement(i.o.Content,{tagName:"p",style:{color:s},value:c}))},b={title:{source:"html",selector:"h4",default:Object(i.t)("Title")},subtitle:{source:"html",selector:"p",default:Object(i.t)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}};Object(i.B)("ugb/image-box",{title:Object(i.t)("Image Box"),icon:u.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Image Box"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:c.b,save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={title:{type:"array",source:"children",selector:"h4",default:Object(l.t)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(l.t)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},r=function(e){var t=e.attributes,n=t.url,o=t.title,r=t.titleColor,a=t.subtitle,u=t.subtitleColor,c=t.overlayColor,i=(t.id,t.height),s=t.width,m=t.verticalAlign,b=t.horizontalAlign,p=t.full,g=n?"has-image":"",d=p?"full-width":"",f=o.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+g+" "+f+" "+d,"data-url":n,style:{width:s+"px",height:i+"px",backgroundImage:"url("+n+")",alignItems:b,justifyContent:m}},wp.element.createElement("a",{href:"#",style:{backgroundColor:c}}),!l.o.isEmpty(o)&&wp.element.createElement(l.o.Content,{tagName:"h4",style:{color:r},value:o}),!l.o.isEmpty(a)&&wp.element.createElement(l.o.Content,{tagName:"p",style:{color:u},value:a}))}},function(e,t,n){"use strict";var l=n(72),o=(n.n(l),n(73)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(0),i=function(e){var t=(e.isSelected,e.editable,e.setState,e.setAttributes),n=e.className,l=e.attributes,o=l.color,r=l.headingColor,u=l.desColor,i=l.title,s=l.counter,m=l.des,b=l.fontSize,p=a()([n,"ugb-countup"]);return wp.element.createElement(c.g,null,wp.element.createElement("div",{className:p},wp.element.createElement(c.o,{tagName:"h4",value:i,onChange:function(e){return t({title:e})},style:{color:r}}),wp.element.createElement(c.o,{tagName:"div",className:"ugb-counter",placeholder:s.default,"data-duration":"1000","data-delay":"16",value:s,onChange:function(e){return t({counter:e})},style:{color:o,fontSize:b+"px"}}),wp.element.createElement(c.o,{tagName:"p",className:"ugb-counter-des",value:m,onChange:function(e){return t({des:e})},style:{color:u}})),wp.element.createElement(c.i,null,wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return t({headingColor:e})},label:Object(c.t)("Heading Color")},{value:o,onChange:function(e){return t({color:e})},label:Object(c.t)("Number Color")},{value:u,onChange:function(e){return t({desColor:e})},label:Object(c.t)("Description Color")}]}),wp.element.createElement(c.k,null,wp.element.createElement(c.n,{label:Object(c.t)("Counter Text Font Size"),max:"100",min:"10",value:b,onChange:function(e){return t({fontSize:e})}}))))},s=function(e){var t=e.className,n=e.attributes,l=n.color,o=n.headingColor,r=n.desColor,u=n.title,i=n.counter,s=n.des,m=n.fontSize,b=a()([t,"ugb-countup"]);return wp.element.createElement("div",{className:b},wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:o},value:u}),wp.element.createElement(c.o.Content,{tagName:"div",className:"ugb-counter",style:{color:l,fontSize:m+"px"},value:i,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(c.o.Content,{tagName:"p",style:{color:r},value:s}))};Object(c.B)("ugb/count-up",{title:Object(c.t)("Count Up"),icon:u.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Count Up"),Object(c.t)("Stackable")],attributes:{title:{source:"html",selector:"h4",default:Object(c.t)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(c.t)("and counting")},fontSize:{type:"number",default:"60"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(75),o=(n.n(l),n(76)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(7),i=n(77),s=n(0),m={normal:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"})),circle:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"})),outline:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))},b=function(e){var t=e.className,n=e.setAttributes,l=e.isSelected,o=e.attributes,r=o.videoLink,u=(o.videoID,o.mediaLink),i=o.overlayColor,b=o.playButtonType,p=o.mediaID,g=[{value:"normal",label:Object(s.t)("Normal Play Button")},{value:"circle",label:Object(s.t)("Play Button with Circle")},{value:"outline",label:Object(s.t)("Outline Play Button")}],d=a()([t,"ugb-video-popup"]);return wp.element.createElement(s.g,null,wp.element.createElement(s.d,null,u&&wp.element.createElement(s.r,null,wp.element.createElement(s.j,{onSelect:function(e){return n({mediaLink:e.url,mediaID:e.id})},allowedTypes:["image"],value:p,render:function(e){var t=e.open;return wp.element.createElement(s.h,{className:"components-toolbar__control",label:Object(s.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(s.i,null,wp.element.createElement(s.k,null,wp.element.createElement(s.p,{label:Object(s.t)("Play Button Style"),value:b,options:g.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}})),wp.element.createElement(s.l,{initialOpen:!1,title:Object(s.t)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return n({overlayColor:e})},label:Object(s.t)("Background / Overlay Color")}]})),wp.element.createElement("div",{className:d,style:{backgroundColor:i}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+u+")"}}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement(s.j,{onSelect:function(e){return n({mediaLink:e.url,mediaID:e.id})},allowedTypes:["image"],value:p,render:function(e){return[!u&&wp.element.createElement(s.e,{className:p?"":"button button-large",onClick:e.open},Object(s.t)("Upload Image"))]}}),wp.element.createElement("div",{className:"ugb-video-overlay",style:{backgroundColor:i}}),wp.element.createElement("span",{className:"ugb-play-button"},m[b]))),l&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(s.f,{icon:"admin-links"}),wp.element.createElement(s.s,{value:r,onChange:function(e){n({videoLink:e,videoID:Object(c.a)(e).id})}}),wp.element.createElement(s.h,{icon:"editor-break",label:Object(s.t)("Apply"),type:"submit"}),wp.element.createElement("p",{className:"ugb-video-popup-link-desc"},wp.element.createElement("i",null,Object(s.t)("Youtube / Vimeo only")))))},p=function(e){var t=e.className,n=e.attributes,l=n.videoLink,o=n.videoID,r=n.mediaLink,u=n.overlayColor,c=n.playButtonType,i=(n.mediaID,a()([t,"ugb-video-popup"]));return wp.element.createElement("div",{className:i,"data-video":o,"data-video-url":l,style:{backgroundColor:u}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+r+")"},"data-url":r}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:u}}),wp.element.createElement("span",{className:"ugb-play-button"},m[c])))},g={videoLink:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video-url"},videoID:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video"},mediaLink:{type:"string",source:"attribute",selector:".ugb-video-preview",attribute:"data-url"},mediaID:{type:"number"},overlayColor:{type:"string",default:"#000000"},playButtonType:{type:"string",default:"normal"}};Object(s.B)("ugb/video-popup",{title:Object(s.t)("Video Popup"),icon:u.r,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Video Popup"),Object(s.t)("Stackable")],attributes:g,deprecated:[{attributes:i.b,migrate:function(e){return e.videoID=e.videoLink,e},isEligible:function(e){return"undefined"===typeof e.videoLink},save:i.a}],edit:b,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return r});var l={videoLink:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video"},mediaLink:{type:"string",source:"attribute",selector:".ugb-video-preview",attribute:"data-url"},mediaID:{type:"number"},overlayColor:{type:"string",default:"#000000"},playButtonType:{type:"string",default:"normal"}},o={normal:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"})),circle:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"})),outline:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))},r=function(e){var t=e.attributes,n=t.videoLink,l=t.mediaLink,r=t.overlayColor,a=t.playButtonType;t.mediaID;return wp.element.createElement("div",{className:"ugb-video-popup","data-video":n,style:{backgroundColor:r}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+l+")"},"data-url":l}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:r}}),wp.element.createElement("span",{className:"ugb-play-button"},o[a])))}},function(e,t,n){"use strict";var l=n(79),o=(n.n(l),n(80)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(3),i=n(4),s=n(5),m=n(81),b=n(0),p=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.heading,u=o.tagline,i=o.des,m=o.mediaID,p=o.mediaURL,g=o.headingColor,d=o.taglineColor,f=o.desColor,h=o.buttonURL,w=o.buttonText,v=o.buttonColor,y=o.buttonTextColor,C=o.size,E=o.cornerButtonRadius,x=o.contentAlign,N=a()([n,"ugb-card"],{"has-image":p});return wp.element.createElement(b.g,null,wp.element.createElement(b.d,null,wp.element.createElement(b.a,{value:x,onChange:function(e){return l({contentAlign:e})}}),wp.element.createElement(b.r,null,wp.element.createElement(b.j,{onSelect:function(e){return l({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:m,render:function(e){var t=e.open;return wp.element.createElement(b.h,{className:"components-toolbar__control",label:Object(b.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(b.i,null,wp.element.createElement(b.l,{title:Object(b.t)("Text Colors"),colorSettings:[{value:g,onChange:function(e){return l({headingColor:e})},label:Object(b.t)("Heading Color")},{value:d,onChange:function(e){return l({taglineColor:e})},label:Object(b.t)("Tagline Color")},{value:f,onChange:function(e){return l({desColor:e})},label:Object(b.t)("Description Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:v,buttonTextColor:y,buttonSize:C,buttonBorderRadius:E,onChangeButtonColor:function(e){return l({buttonColor:e})},onChangeButtonTextColor:function(e){return l({buttonTextColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:N},wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+p+")",textAlign:x}},wp.element.createElement(b.j,{onSelect:function(e){return l({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:m,render:function(e){return[!p&&wp.element.createElement(b.e,{className:m?"":"button button-large",onClick:e.open},Object(b.t)("Upload Image"))]}})),wp.element.createElement(b.o,{tagName:"h4",value:r,className:"ugb-card-heading",onChange:function(e){return l({heading:e})},style:{color:g,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:u,className:"ugb-tagline",onChange:function(e){return l({tagline:e})},style:{color:d,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:i,className:"ugb-card-des",onChange:function(e){return l({des:e})},style:{color:f,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:C,align:x,color:y,backgroundColor:v,text:w,borderRadius:E,onChange:function(e){return l({buttonText:e})}})),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+x,style:{marginTop:10}},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:h,onChange:function(e){return l({buttonURL:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))},g=function(e){var t=e.className,n=e.attributes,l=n.heading,o=n.tagline,r=n.des,u=n.mediaURL,c=(n.mediaID,n.headingColor),s=n.taglineColor,m=n.desColor,p=n.buttonURL,g=n.buttonText,d=n.buttonColor,f=n.buttonTextColor,h=n.size,w=n.cornerButtonRadius,v=n.contentAlign,y=a()([t,"ugb-card"],{"has-image":u});return wp.element.createElement("div",{className:y},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:v},"data-src":u}),!b.o.isEmpty(l)&&wp.element.createElement(b.o.Content,{tagName:"h4",style:{color:c,textAlign:v},value:l}),!b.o.isEmpty(o)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:s,textAlign:v},value:o}),!b.o.isEmpty(r)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:m,textAlign:v},value:r}),g&&!!g.length&&wp.element.createElement(i.a,{size:h,url:p,align:v,color:f,text:g,backgroundColor:d,borderRadius:w}))},d={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:Object(b.t)("Ben Adams")},tagline:{source:"html",selector:".ugb-tagline",default:Object(b.t)("Ben is the head of our small team")},des:{source:"html",selector:".ugb-card-des",default:Object(b.t)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(b.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}};Object(b.B)("ugb/card",{title:Object(b.t)("Card"),icon:u.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Card"),Object(b.t)("Stackable")],attributes:d,deprecated:[{attributes:m.d,save:m.b},{attributes:m.c,save:m.a}],edit:p,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u}),n.d(t,"c",function(){return c});var l=n(0),o=n(6),r={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.t)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.t)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.t)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(l.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}},a=function(e){var t=e.attributes,n=t.heading,r=t.tagline,a=t.des,u=t.mediaURL,c=(t.mediaID,t.headingColor),i=t.taglineColor,s=t.desColor,m=t.buttonURL,b=t.buttonText,p=t.buttonColor,g=t.buttonTextColor,d=t.size,f=t.cornerButtonRadius,h=t.contentAlign,w=u?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+w},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:h},"data-src":u}),!l.o.isEmpty(n)&&wp.element.createElement(l.o.Content,{tagName:"h4",style:{color:c,textAlign:h},value:n}),!l.o.isEmpty(r)&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:i,textAlign:h},value:r}),!l.o.isEmpty(a)&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:a}),b&&!!b.length&&wp.element.createElement(o.a,{size:d,url:m,align:h,color:g,text:b,backgroundColor:p,borderRadius:f}))},u=function(e){var t=e.attributes,n=t.heading,l=t.tagline,o=t.des,r=t.mediaURL,a=(t.mediaID,t.headingColor),u=t.taglineColor,c=t.desColor,i=t.buttonURL,s=t.buttonText,m=t.buttonColor,b=t.buttonTextColor,p=t.size,g=t.cornerButtonRadius,d=t.contentAlign,f={backgroundColor:m,color:b,borderRadius:g+"px"},h=r?"has-image":"",w=n||l||o||s?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-card "+h+" "+w},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+r+")",textAlign:d},"data-src":r}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:a,textAlign:d}},n),l&&!!l.length&&wp.element.createElement("p",{className:"ugb-tagline",style:{color:u,textAlign:d}},l),o&&!!o.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:c,textAlign:d}},o),s&&!!s.length&&wp.element.createElement("a",{href:i,className:"wp-ugb-button wp-block-button ugb-button-"+p+" ugb-button-"+d,style:f},s))},c={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.t)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.t)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.t)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".wp-ugb-button",attribute:"href"},buttonText:{type:"array",source:"children",selector:".wp-block-button",default:Object(l.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(83),r=(n.n(o),n(84)),a=(n.n(r),n(1)),u=n.n(a),c=n(2),i=n(7),s=n(0),m=function(e){var t=e.isSelected,n=(e.setState,e.className),o=e.setAttributes,r=e.attributes,a=r.columns,c=r.imageSize,i=u()([n,"ugb-feature-grid","columns-"+a]);return wp.element.createElement(s.g,null,wp.element.createElement(s.i,null,wp.element.createElement(s.k,null,wp.element.createElement(s.n,{label:Object(s.t)("Columns"),value:a,onChange:function(e){return o({columns:e})},min:1,max:3}),wp.element.createElement(s.n,{label:Object(s.t)("Image Size %"),value:c,onChange:function(e){return o({imageSize:e})},min:0,max:100}))),wp.element.createElement("div",{className:i},[1,2,3].map(function(e){var n=r["imageUrl"+e],a=r["imageID"+e],u=r["title"+e],i=r["description"+e],m=r["linkUrl"+e],b=r["linkText"+e];return wp.element.createElement("div",{key:e},wp.element.createElement("div",{className:"ugb-feature-grid-item"},wp.element.createElement("div",null,wp.element.createElement(s.j,{onSelect:function(t){var n;return o((n={},l(n,"imageUrl"+e,t.url),l(n,"imageID"+e,t.id),n))},allowedTypes:["image"],value:a,render:function(e){return a?wp.element.createElement("img",{src:n,onClick:e.open,style:{width:c+"%"}}):wp.element.createElement(s.e,{className:"button button-large",onClick:e.open},Object(s.t)("Upload Image"))}})),wp.element.createElement(s.o,{tagName:"h5",value:u,onChange:function(t){return o(l({},"title"+e,t))},placeholder:p["title"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement(s.o,{tagName:"p",value:i,onChange:function(t){return o(l({},"description"+e,t))},placeholder:p["description"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement("p",null,wp.element.createElement("a",{href:"#"},wp.element.createElement(s.o,{tagName:"span",value:b,onChange:function(t){return o(l({},"linkText"+e,t))},placeholder:p["linkText"+e].default,formattingControls:["bold","italic","strikethrough"],keepPlaceholderOnFocus:!0})))),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(s.f,{icon:"admin-links"}),wp.element.createElement(s.s,{value:m,onChange:function(t){return o(l({},"linkUrl"+e,t))}}),wp.element.createElement(s.h,{icon:"editor-break",label:Object(s.t)("Apply"),type:"submit"})))})))},b=function(e){var t=e.attributes,n=e.className,l=t.columns,o=t.imageSize,r=u()([n,"ugb-feature-grid","columns-"+l]);return wp.element.createElement("div",{className:r},Object(i.b)(1,l+1).map(function(e){var n=t["imageUrl"+e],l=t["title"+e],r=t["description"+e],a=t["linkUrl"+e],u=t["linkText"+e];return wp.element.createElement("div",{className:"ugb-feature-grid-item",key:e},n&&wp.element.createElement("img",{src:n,style:{width:o+"%"}}),!s.o.isEmpty(l)&&wp.element.createElement(s.o.Content,{tagName:"h5",className:"ugb-fg-title",value:l}),!s.o.isEmpty(r)&&wp.element.createElement(s.o.Content,{tagName:"p",className:"ugb-fg-description",value:r}),!s.o.isEmpty(u)&&wp.element.createElement("p",null,wp.element.createElement(s.o.Content,{tagName:"a",href:a,value:u,className:"ugb-fg-link"})))}))},p={columns:{type:"number",default:3},imageSize:{type:"number",default:100},imageID1:{type:"number"},imageID2:{type:"number"},imageID3:{type:"number"},imageUrl1:{type:"url"},imageUrl2:{type:"url"},imageUrl3:{type:"url"},title1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) h5",default:Object(s.t)("Feature 1")},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:Object(s.t)("Feature 2")},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:Object(s.t)("Feature 3")},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:Object(s.t)("Some feature description for an awesome feature")},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:Object(s.t)("Some feature description for an awesome feature")},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:Object(s.t)("Some feature description for an awesome feature")},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",attribute:"href"},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",attribute:"href"},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",attribute:"href"},linkText1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",default:Object(s.t)("View More")},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:Object(s.t)("View More")},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:Object(s.t)("View More")}};Object(s.B)("ugb/feature-grid",{title:Object(s.t)("Feature Grid"),icon:c.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.t)("Feature Grid"),Object(s.t)("Stackable")],attributes:p,edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(86),o=(n.n(l),n(87)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),c=n(7),i=n(0),s=n(88),m={check:{iconFunc:s.e,circleFunc:s.d,outlineFunc:s.f,title:Object(i.t)("Check"),value:"check"},plus:{iconFunc:s.k,circleFunc:s.j,outlineFunc:s.l,title:Object(i.t)("Plus"),value:"plus"},arrow:{iconFunc:s.b,circleFunc:s.a,outlineFunc:s.c,title:Object(i.t)("Arrow"),value:"arrow"},cross:{iconFunc:s.h,circleFunc:s.g,outlineFunc:s.i,title:Object(i.t)("Cross"),value:"cross"},star:{iconFunc:s.n,circleFunc:s.m,outlineFunc:s.o,title:Object(i.t)("Star"),value:"star"}},b=function(e){return"circle"===e||"outline"===e?e+"Func":"iconFunc"},p=function(e,t,n){var l=b(t),o=Object(c.c)(m[e][l](n),!1);return btoa(o)},g=function(e){function t(e){return function(){return o({icon:e})}}function n(e){return function(){return o({iconShape:e})}}var l=(e.isSelected,e.setState,e.className),o=e.setAttributes,r=(e.insertBlocksAfter,e.attributes),u=r.icon,c=r.iconShape,s=r.iconColor,g=r.iconSize,d=r.text,f=r.columns,h=r.gap,w=a()([l,"ugb-icon-list","ugb-icon-"+u,"column-"+f]),v=p(u,c,s),y={"--icon":"url('data:image/svg+xml;base64,"+v+"')","--icon-size":g?g+"px":void 0,"--gap":h?h+"px":void 0};return wp.element.createElement(i.g,null,wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.b,{label:Object(i.t)("Icon")},wp.element.createElement(i.r,{icon:m[u].iconFunc(),controls:Object.keys(m).map(function(e){return Object.assign({},m[e],{icon:m[e].iconFunc(),isActive:u===e,onClick:t(e)})})})),wp.element.createElement(i.b,{label:Object(i.t)("Icon Shape")},wp.element.createElement(i.r,{icon:m[u][b(c)](),controls:["","circle","outline"].map(function(e){var t=b(e);return Object.assign({},m[u],{icon:m[u][t](),isActive:c===e,onClick:n(e)})})})),wp.element.createElement(i.l,{title:Object(i.t)("Icon Color"),className:"ugb-icon-list-color-picker",initialOpen:!0,opened:!0,colorSettings:[{value:s,onChange:function(e){return o({iconColor:e})},label:Object(i.t)("Icon Color")}]}),wp.element.createElement(i.n,{label:Object(i.t)("Icon Size"),value:g,onChange:function(e){return o({iconSize:e})},min:8,max:30}),wp.element.createElement(i.n,{label:Object(i.t)("Columns"),value:f,onChange:function(e){return o({columns:e})},min:1,max:3}),wp.element.createElement(i.n,{label:Object(i.t)("List Gap"),value:h,onChange:function(e){return o({gap:e})},min:0,max:30}))),wp.element.createElement("div",{className:w,style:y},wp.element.createElement(i.o,{tagName:"ul",multiline:"li",value:d,onChange:function(e){return o({text:e})}})))},d=function(e){var t=e.className,n=e.attributes,l=n.icon,o=n.iconShape,r=n.iconColor,u=n.iconSize,c=n.text,s=n.columns,m=n.gap,b=a()([t,"ugb-icon-list","ugb-icon-"+l,"column-"+s]),g=p(l,o,r),d={"--icon":"url('data:image/svg+xml;base64,"+g+"')","--icon-size":u?u+"px":void 0,"--gap":m?m+"px":void 0};return wp.element.createElement(i.o.Content,{tagName:"ul",className:b,style:d,value:c})},f={icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li"},gap:{type:"number",default:16}};Object(i.B)("ugb/icon-list",{title:Object(i.t)("Icon List"),icon:u.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Icon List"),Object(i.t)("Stackable")],attributes:f,edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"e",function(){return o}),n.d(t,"k",function(){return r}),n.d(t,"h",function(){return a}),n.d(t,"n",function(){return u}),n.d(t,"a",function(){return c}),n.d(t,"d",function(){return i}),n.d(t,"j",function(){return s}),n.d(t,"m",function(){return m}),n.d(t,"g",function(){return b}),n.d(t,"c",function(){return p}),n.d(t,"f",function(){return g}),n.d(t,"l",function(){return d}),n.d(t,"o",function(){return f}),n.d(t,"i",function(){return h});var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"59.4,177.5 141.8,95.1 59.4,12.8 48.8,23.4 120.6,95.1 48.8,166.9 "}))},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"}))},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"181.9,87.6 102.6,87.6 102.6,8.4 87.6,8.4 87.6,87.6 8.4,87.6 8.4,102.6 87.6,102.6 87.6,181.8 102.6,181.8 102.6,102.6 181.9,102.6 "}))},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"167.2,33.4 156.6,22.8 94.9,84.5 33.2,22.8 22.6,33.4 84.3,95.1 22.6,156.8 33.2,167.4 94.9,105.7 156.6,167.4 167.2,156.8 105.5,95.1 "}))},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"95.4,6.3 124.6,64.3 188.8,74.2 142.6,119.9 153.1,184 95.4,154.2 37.6,184 48.1,119.9 2,74.2 66.2,64.3 "}))},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M78.2,150.4L78.2,150.4l-10.6-10.6L110.3,97 L67.6,54.2l10.6-10.6L131.5,97L78.2,150.4z"}))},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M76.6,144.7l-36.5-36.5l10.6-10.6l25.9,25.9 l68.8-68.8l0,0L156,65.3L76.6,144.7z"}))},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M151,104.5h-46.6v46.6h-15v-46.6H42.8v-15 h46.6V42.9h15v46.6H151V104.5z"}))},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M134.7,152.1l-37.8-19.5l-37.8,19.5l6.9-41.9 L35.8,80.3l42-6.4l19.1-38l19.1,38l42,6.4l-30.2,29.9L134.7,152.1z"}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M144.3,133.5l-10.6,10.6l-36.5-36.5l-36.5,36.5 l-10.6-10.6L86.6,97L50.1,60.5l10.6-10.6l36.5,36.5l36.5-36.5l10.6,10.6L107.8,97L144.3,133.5z"}))},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"73.1,65.3 104.8,97 73.1,128.7 83.7,139.3 126,97 83.7,54.7 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"79.4,112.4 60.7,93.7 50.1,104.3 79.4,133.6 141.7,71.3 131.1,60.7 \t"}),wp.element.createElement("path",{d:"M182.3,57.5C175.1,40.5,163,26,147.9,15.7C132.7,5.5,114.4-0.5,94.7-0.5c-13.1,0-25.6,2.7-37,7.5 C40.7,14.2,26.2,26.2,16,41.4C5.7,56.5-0.3,74.8-0.3,94.5c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8 c15.2,10.2,33.5,16.2,53.1,16.2c13.1,0,25.6-2.7,37-7.5c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1 C189.8,81.4,187.1,68.9,182.3,57.5z M168.5,125.6c-6.1,14.3-16.2,26.6-29,35.2c-12.8,8.6-28.1,13.7-44.7,13.7 c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29c-8.6-12.8-13.7-28.1-13.7-44.7c0-11.1,2.2-21.6,6.3-31.1 C27.1,49,37.2,36.8,50,28.1c12.8-8.6,28.1-13.7,44.7-13.7c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29 c8.6,12.8,13.7,28.1,13.7,44.7C174.8,105.6,172.5,116.1,168.5,125.6z"}))},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"104.5,55.4 89.5,55.4 89.5,89.5 55.4,89.5 55.4,104.5 89.5,104.5 89.5,138.6 104.5,138.6 104.5,104.5 138.6,104.5 138.6,89.5 104.5,89.5 \t"}),wp.element.createElement("path",{d:"M184.5,60c-7.2-17-19.2-31.5-34.4-41.8C135,8,116.6,2,97,2C83.9,2,71.4,4.7,60,9.5c-17.1,7.2-31.6,19.3-41.8,34.4 S2,77.4,2,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.3,192,97,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4C186,134.9,192,116.6,192,97C192,83.9,189.3,71.4,184.5,60z M170.7,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.9,172,113.6,177,97,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C22,129,17,113.6,17,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C65,22,80.4,17,97,17c11.1,0,21.6,2.2,31.1,6.3 c14.3,6.1,26.6,16.2,35.2,29C171.9,65.1,177,80.4,177,97C177,108.1,174.8,118.6,170.7,128.1z"}))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}),wp.element.createElement("polygon",{points:"96.9,49.3 82.2,78.5 49.9,83.5 73.1,106.5 67.8,138.7 96.9,123.7 125.9,138.7 120.7,106.5 143.9,83.5 111.6,78.5 \t "}))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"134.7,70.1 124.1,59.5 97.2,86.4 70.4,59.5 59.7,70.1 86.6,97 59.7,123.9 70.4,134.5 97.2,107.6 124.1,134.5 134.7,123.9 107.8,97 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(90),r=(n.n(o),n(91)),a=(n.n(r),n(1)),u=n.n(a),c=n(2),i=n(3),s=n(4),m=n(5),b=n(0),p=function(e){var t,n=e.isSelected,o=(e.setState,e.className),r=e.setAttributes,a=e.attributes,c=a.invert,s=a.contentAlign,p=a.backgroundColor,g=a.textColor,f=a.imageSize,h=a.imageID,w=a.imageUrl,v=a.title,y=a.description,C=a.buttonURL,E=a.buttonText,x=a.buttonColor,N=a.buttonTextColor,k=a.buttonSize,O=a.buttonBorderRadius,j=u()([o,"ugb-feature"],(t={"ugb-has-background":p},l(t,"ugb-content-"+s,s),l(t,"ugb-invert",c),t)),T={backgroundColor:p||void 0,"--image-size":f?f+"px":void 0};return wp.element.createElement(b.g,null,wp.element.createElement(b.d,null,wp.element.createElement(b.a,{value:s,onChange:function(e){return r({contentAlign:e})}})),wp.element.createElement(b.i,null,wp.element.createElement(b.k,null,wp.element.createElement(b.q,{label:Object(b.t)("Reverse Horizontally"),checked:c,onChange:function(){return r({invert:!c})}}),wp.element.createElement(b.n,{label:Object(b.t)("Image Size"),value:f,onChange:function(e){return r({imageSize:e})},help:Object(b.t)("The theme's content width may have an effect here."),min:100,max:600})),wp.element.createElement(b.l,{initialOpen:!0,title:Object(b.t)("Colors"),colorSettings:[{value:p,onChange:function(e){return r({backgroundColor:e})},label:Object(b.t)("Background Color")},{value:g,onChange:function(e){return r({textColor:e})},label:Object(b.t)("Text Color")}]}),wp.element.createElement(m.a,{initialOpen:!1,buttonColor:x,buttonTextColor:N,buttonSize:k,buttonBorderRadius:O,onChangeButtonColor:function(e){return r({buttonColor:e})},onChangeButtonTextColor:function(e){return r({buttonTextColor:e})},onChangeButtonSize:function(e){r({buttonSize:e})},onChangeButtonBorderRadius:function(e){return r({buttonBorderRadius:e})}})),wp.element.createElement("div",{className:j,style:T},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,wp.element.createElement(b.o,{tagName:"h2",value:v,onChange:function(e){return r({title:e})},placeholder:d.title.default,style:{color:g},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:y,onChange:function(e){return r({description:e})},placeholder:d.description.default,style:{color:g},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:k,align:s,color:N,backgroundColor:x,text:E,borderRadius:O,onChange:function(e){return r({buttonText:e})}})),wp.element.createElement("div",{className:"ugb-feature-image-side"},wp.element.createElement(b.j,{onSelect:function(e){return r({imageUrl:e.url,imageID:e.id})},allowedTypes:["image"],value:h,render:function(e){return h?wp.element.createElement("img",{src:w,onClick:e.open}):wp.element.createElement(b.e,{className:"button button-large",onClick:e.open},Object(b.t)("Upload Image"))}})))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+s},wp.element.createElement(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:C,onChange:function(e){return r({buttonURL:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))},g=function(e){var t,n=e.className,o=e.attributes,r=o.invert,a=o.contentAlign,c=o.backgroundColor,i=o.textColor,m=o.imageSize,p=(o.imageID,o.imageUrl),g=o.title,d=o.description,f=o.buttonURL,h=o.buttonText,w=o.buttonColor,v=o.buttonTextColor,y=o.buttonSize,C=o.buttonBorderRadius,E=u()([n,"ugb-feature"],(t={"ugb-has-background":c},l(t,"ugb-content-"+a,a),l(t,"ugb-invert",r),t)),x={backgroundColor:c||void 0,"--image-size":m?m+"px":void 0};return wp.element.createElement("div",{className:E,style:x},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!b.o.isEmpty(g)&&wp.element.createElement(b.o.Content,{tagName:"h2",style:{color:i},value:g}),!b.o.isEmpty(d)&&wp.element.createElement(b.o.Content,{tagName:"p",style:{color:i},value:d}),!b.o.isEmpty(h)&&wp.element.createElement(s.a,{size:y,url:f,align:a,color:v,text:h,backgroundColor:w,borderRadius:C})),wp.element.createElement("div",{className:"ugb-feature-image-side"},p&&wp.element.createElement("img",{src:p,alt:g}))))},d={backgroundColor:{type:"string"},textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:Object(b.t)("Feature Title")},description:{source:"html",selector:"p",default:Object(b.t)("Some feature description for an awesome feature")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(b.t)("Learn More")},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4}};Object(b.B)("ugb/feature",{title:Object(b.t)("Feature"),icon:c.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Feature"),Object(b.t)("Stackable")],supports:l({align:!0},"align",["center","wide","full"]),attributes:d,edit:p,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(0);Object(l.u)("stackable.get_pro","core",function(){})}]);
|
dist/blocks.editor.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}[class*="ugb-"].alignfull{border-radius:0 !important}
|
2 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-divider hr{border:0 !important}
|
3 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-ugb-button__link{background:#fff;width:280px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}
|
4 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.design-control input{position:absolute;opacity:0;margin-bottom:5px}.design-control input,.design-control img{display:block;border-radius:4px}.design-control img{min-height:40px}.design-control label span{display:block;-webkit-transition:opacity 0.3s ease-in-out;-o-transition:opacity 0.3s ease-in-out;transition:opacity 0.3s ease-in-out;background:#ddd;border-radius:4px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8c3ZnIHdpZHRoPSI0MHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCA0MCA0MCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEuNDE0MjE7IiB4PSIwcHgiIHk9IjBweCI+CiAgICA8ZGVmcz4KICAgICAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPjwhW0NEQVRBWwogICAgICAgICAgICBALXdlYmtpdC1rZXlmcmFtZXMgc3BpbiB7CiAgICAgICAgICAgICAgZnJvbSB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIC13ZWJraXQtdHJhbnNmb3JtOiByb3RhdGUoLTM1OWRlZykKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgQGtleWZyYW1lcyBzcGluIHsKICAgICAgICAgICAgICBmcm9tIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0zNTlkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIHN2ZyB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybS1vcmlnaW46IDUwJSA1MCU7CiAgICAgICAgICAgICAgICAtd2Via2l0LWFuaW1hdGlvbjogc3BpbiAxLjVzIGxpbmVhciBpbmZpbml0ZTsKICAgICAgICAgICAgICAgIC13ZWJraXQtYmFja2ZhY2UtdmlzaWJpbGl0eTogaGlkZGVuOwogICAgICAgICAgICAgICAgYW5pbWF0aW9uOiBzcGluIDEuNXMgbGluZWFyIGluZmluaXRlOwogICAgICAgICAgICB9CiAgICAgICAgXV0+PC9zdHlsZT4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJvdXRlciI+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwwQzIyLjIwNTgsMCAyMy45OTM5LDEuNzg4MTMgMjMuOTkzOSwzLjk5MzlDMjMuOTkzOSw2LjE5OTY4IDIyLjIwNTgsNy45ODc4MSAyMCw3Ljk4NzgxQzE3Ljc5NDIsNy45ODc4MSAxNi4wMDYxLDYuMTk5NjggMTYuMDA2MSwzLjk5MzlDMTYuMDA2MSwxLjc4ODEzIDE3Ljc5NDIsMCAyMCwwWiIgc3R5bGU9ImZpbGw6YmxhY2s7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNNS44NTc4Niw1Ljg1Nzg2QzcuNDE3NTgsNC4yOTgxNSA5Ljk0NjM4LDQuMjk4MTUgMTEuNTA2MSw1Ljg1Nzg2QzEzLjA2NTgsNy40MTc1OCAxMy4wNjU4LDkuOTQ2MzggMTEuNTA2MSwxMS41MDYxQzkuOTQ2MzgsMTMuMDY1OCA3LjQxNzU4LDEzLjA2NTggNS44NTc4NiwxMS41MDYxQzQuMjk4MTUsOS45NDYzOCA0LjI5ODE1LDcuNDE3NTggNS44NTc4Niw1Ljg1Nzg2WiIgc3R5bGU9ImZpbGw6cmdiKDIxMCwyMTAsMjEwKTsiLz4KICAgICAgICA8L2c+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwzMi4wMTIyQzIyLjIwNTgsMzIuMDEyMiAyMy45OTM5LDMzLjgwMDMgMjMuOTkzOSwzNi4wMDYxQzIzLjk5MzksMzguMjExOSAyMi4yMDU4LDQwIDIwLDQwQzE3Ljc5NDIsNDAgMTYuMDA2MSwzOC4yMTE5IDE2LjAwNjEsMzYuMDA2MUMxNi4wMDYxLDMzLjgwMDMgMTcuNzk0MiwzMi4wMTIyIDIwLDMyLjAxMjJaIiBzdHlsZT0iZmlsbDpyZ2IoMTMwLDEzMCwxMzApOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksMjguNDkzOUMzMC4wNTM2LDI2LjkzNDIgMzIuNTgyNCwyNi45MzQyIDM0LjE0MjEsMjguNDkzOUMzNS43MDE5LDMwLjA1MzYgMzUuNzAxOSwzMi41ODI0IDM0LjE0MjEsMzQuMTQyMUMzMi41ODI0LDM1LjcwMTkgMzAuMDUzNiwzNS43MDE5IDI4LjQ5MzksMzQuMTQyMUMyNi45MzQyLDMyLjU4MjQgMjYuOTM0MiwzMC4wNTM2IDI4LjQ5MzksMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxMDEsMTAxLDEwMSk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMy45OTM5LDE2LjAwNjFDNi4xOTk2OCwxNi4wMDYxIDcuOTg3ODEsMTcuNzk0MiA3Ljk4NzgxLDIwQzcuOTg3ODEsMjIuMjA1OCA2LjE5OTY4LDIzLjk5MzkgMy45OTM5LDIzLjk5MzlDMS43ODgxMywyMy45OTM5IDAsMjIuMjA1OCAwLDIwQzAsMTcuNzk0MiAxLjc4ODEzLDE2LjAwNjEgMy45OTM5LDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoMTg3LDE4NywxODcpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTUuODU3ODYsMjguNDkzOUM3LjQxNzU4LDI2LjkzNDIgOS45NDYzOCwyNi45MzQyIDExLjUwNjEsMjguNDkzOUMxMy4wNjU4LDMwLjA1MzYgMTMuMDY1OCwzMi41ODI0IDExLjUwNjEsMzQuMTQyMUM5Ljk0NjM4LDM1LjcwMTkgNy40MTc1OCwzNS43MDE5IDUuODU3ODYsMzQuMTQyMUM0LjI5ODE1LDMyLjU4MjQgNC4yOTgxNSwzMC4wNTM2IDUuODU3ODYsMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxNjQsMTY0LDE2NCk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMzYuMDA2MSwxNi4wMDYxQzM4LjIxMTksMTYuMDA2MSA0MCwxNy43OTQyIDQwLDIwQzQwLDIyLjIwNTggMzguMjExOSwyMy45OTM5IDM2LjAwNjEsMjMuOTkzOUMzMy44MDAzLDIzLjk5MzkgMzIuMDEyMiwyMi4yMDU4IDMyLjAxMjIsMjBDMzIuMDEyMiwxNy43OTQyIDMzLjgwMDMsMTYuMDA2MSAzNi4wMDYxLDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoNzQsNzQsNzQpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksNS44NTc4NkMzMC4wNTM2LDQuMjk4MTUgMzIuNTgyNCw0LjI5ODE1IDM0LjE0MjEsNS44NTc4NkMzNS43MDE5LDcuNDE3NTggMzUuNzAxOSw5Ljk0NjM4IDM0LjE0MjEsMTEuNTA2MUMzMi41ODI0LDEzLjA2NTggMzAuMDUzNiwxMy4wNjU4IDI4LjQ5MzksMTEuNTA2MUMyNi45MzQyLDkuOTQ2MzggMjYuOTM0Miw3LjQxNzU4IDI4LjQ5MzksNS44NTc4NloiIHN0eWxlPSJmaWxsOnJnYig1MCw1MCw1MCk7Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K);background-size:15px;background-position:center;background-repeat:no-repeat}.design-control input:not(:checked)+label span{opacity:0.8}.design-control input:not(:checked)+label span:hover{opacity:1}.design-control input:checked+label img{-webkit-box-shadow:0 0 0 2px #007cba;box-shadow:0 0 0 2px #007cba}.design-panel .components-panel__arrow{top:22px !important}.design-panel .components-panel__body-toggle img{display:block;margin-top:10px;border-radius:4px}.design-panel.is-opened .components-panel__body-toggle img{display:none}.design-panel.design-panel-lite .design-control label span.is-pro{background-image:url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KPHBhdGggZD0iTTE0IDloMWMwLjU1IDAgMSAwLjQ1IDEgMXY3YzAgMC41NS0wLjQ1IDEtMSAxaC0xMGMtMC41NSAwLTEtMC40NS0xLTF2LTdjMC0wLjU1IDAuNDUtMSAxLTFoMXYtM2MwLTIuMjEgMS43OS00IDQtNHM0IDEuNzkgNCA0djN6TTEyIDl2LTNjMC0xLjEtMC45LTItMi0ycy0yIDAuOS0yIDJ2M2g0ek0xMSAxNmwtMC4zNi0yLjE1YzAuNTEtMC4yNCAwLjg2LTAuNzUgMC44Ni0xLjM1IDAtMC44My0wLjY3LTEuNS0xLjUtMS41cy0xLjUgMC42Ny0xLjUgMS41YzAgMC42IDAuMzUgMS4xMSAwLjg2IDEuMzVsLTAuMzYgMi4xNWgyeiI+PC9wYXRoPgo8L3N2Zz4=);background-size:25px;cursor:help}.design-panel.design-panel-lite .design-control label span.is-pro img{opacity:0.5 !important}
|
5 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
|
6 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
|
7 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
|
8 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
|
9 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}[data-align="full"] div.ugb-cta{border-radius:0 !important}
|
10 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
|
11 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
|
12 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
|
13 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
|
14 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
|
15 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
|
16 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-image-box a{pointer-events:none}.ugb-image-box h4,.ugb-image-box p{pointer-events:all !important}
|
17 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
|
18 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}form.ugb-video-popup-link{-ms-flex-wrap:wrap;flex-wrap:wrap;margin:5px auto}form.ugb-video-popup-link>svg,form.ugb-video-popup-link>button{-ms-flex-negative:0;flex-shrink:0}form.ugb-video-popup-link .editor-url-input{-ms-flex:1;flex:1}form.ugb-video-popup-link>p{width:100%;-ms-flex-positive:1;flex-grow:1;font-size:.8em;margin:0 0 0 30px}.ugb-video-popup-link .ugb-video-popup-link-desc{text-align:center;margin:0}
|
19 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.edit-post-visual-editor .ugb-card{margin:0 !important}.edit-post-visual-editor .ugb-card .ugb-card-image-container{padding:0}.edit-post-visual-editor .ugb-card.has-image button{width:100%;height:300px;padding:0}
|
20 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature-grid [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature-grid"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}.ugb-feature-grid.columns-1>*:nth-child(2),.ugb-feature-grid.columns-1>*:nth-child(3){display:none}.ugb-feature-grid.columns-2>*:nth-child(3){display:none}
|
21 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-icon-list-color-picker{border-top:none !important}.ugb-icon-list-color-picker .components-panel__body-title{display:none !important}.ugb-icon-list-color-picker .component-color-indicator{vertical-align:bottom !important}.ugb-icon-list ul{list-style:none !important}
|
22 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}[data-align="full"] .ugb-feature.ugb-has-background{border-radius:0 !important}[data-align="full"] .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) .ugb-button[data-is-placeholder-visible="true"]{display:none}
|
1 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
2 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-divider hr{border:0 !important}
|
3 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-ugb-button__link{background:#fff;width:280px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}
|
4 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.design-control input{position:absolute;opacity:0;margin-bottom:5px}.design-control input,.design-control img{display:block;border-radius:4px}.design-control img{min-height:40px}.design-control label span{display:block;-webkit-transition:opacity 0.3s ease-in-out;-o-transition:opacity 0.3s ease-in-out;transition:opacity 0.3s ease-in-out;background:#ddd;border-radius:4px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8c3ZnIHdpZHRoPSI0MHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCA0MCA0MCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEuNDE0MjE7IiB4PSIwcHgiIHk9IjBweCI+CiAgICA8ZGVmcz4KICAgICAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPjwhW0NEQVRBWwogICAgICAgICAgICBALXdlYmtpdC1rZXlmcmFtZXMgc3BpbiB7CiAgICAgICAgICAgICAgZnJvbSB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIC13ZWJraXQtdHJhbnNmb3JtOiByb3RhdGUoLTM1OWRlZykKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgQGtleWZyYW1lcyBzcGluIHsKICAgICAgICAgICAgICBmcm9tIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0zNTlkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIHN2ZyB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybS1vcmlnaW46IDUwJSA1MCU7CiAgICAgICAgICAgICAgICAtd2Via2l0LWFuaW1hdGlvbjogc3BpbiAxLjVzIGxpbmVhciBpbmZpbml0ZTsKICAgICAgICAgICAgICAgIC13ZWJraXQtYmFja2ZhY2UtdmlzaWJpbGl0eTogaGlkZGVuOwogICAgICAgICAgICAgICAgYW5pbWF0aW9uOiBzcGluIDEuNXMgbGluZWFyIGluZmluaXRlOwogICAgICAgICAgICB9CiAgICAgICAgXV0+PC9zdHlsZT4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJvdXRlciI+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwwQzIyLjIwNTgsMCAyMy45OTM5LDEuNzg4MTMgMjMuOTkzOSwzLjk5MzlDMjMuOTkzOSw2LjE5OTY4IDIyLjIwNTgsNy45ODc4MSAyMCw3Ljk4NzgxQzE3Ljc5NDIsNy45ODc4MSAxNi4wMDYxLDYuMTk5NjggMTYuMDA2MSwzLjk5MzlDMTYuMDA2MSwxLjc4ODEzIDE3Ljc5NDIsMCAyMCwwWiIgc3R5bGU9ImZpbGw6YmxhY2s7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNNS44NTc4Niw1Ljg1Nzg2QzcuNDE3NTgsNC4yOTgxNSA5Ljk0NjM4LDQuMjk4MTUgMTEuNTA2MSw1Ljg1Nzg2QzEzLjA2NTgsNy40MTc1OCAxMy4wNjU4LDkuOTQ2MzggMTEuNTA2MSwxMS41MDYxQzkuOTQ2MzgsMTMuMDY1OCA3LjQxNzU4LDEzLjA2NTggNS44NTc4NiwxMS41MDYxQzQuMjk4MTUsOS45NDYzOCA0LjI5ODE1LDcuNDE3NTggNS44NTc4Niw1Ljg1Nzg2WiIgc3R5bGU9ImZpbGw6cmdiKDIxMCwyMTAsMjEwKTsiLz4KICAgICAgICA8L2c+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwzMi4wMTIyQzIyLjIwNTgsMzIuMDEyMiAyMy45OTM5LDMzLjgwMDMgMjMuOTkzOSwzNi4wMDYxQzIzLjk5MzksMzguMjExOSAyMi4yMDU4LDQwIDIwLDQwQzE3Ljc5NDIsNDAgMTYuMDA2MSwzOC4yMTE5IDE2LjAwNjEsMzYuMDA2MUMxNi4wMDYxLDMzLjgwMDMgMTcuNzk0MiwzMi4wMTIyIDIwLDMyLjAxMjJaIiBzdHlsZT0iZmlsbDpyZ2IoMTMwLDEzMCwxMzApOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksMjguNDkzOUMzMC4wNTM2LDI2LjkzNDIgMzIuNTgyNCwyNi45MzQyIDM0LjE0MjEsMjguNDkzOUMzNS43MDE5LDMwLjA1MzYgMzUuNzAxOSwzMi41ODI0IDM0LjE0MjEsMzQuMTQyMUMzMi41ODI0LDM1LjcwMTkgMzAuMDUzNiwzNS43MDE5IDI4LjQ5MzksMzQuMTQyMUMyNi45MzQyLDMyLjU4MjQgMjYuOTM0MiwzMC4wNTM2IDI4LjQ5MzksMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxMDEsMTAxLDEwMSk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMy45OTM5LDE2LjAwNjFDNi4xOTk2OCwxNi4wMDYxIDcuOTg3ODEsMTcuNzk0MiA3Ljk4NzgxLDIwQzcuOTg3ODEsMjIuMjA1OCA2LjE5OTY4LDIzLjk5MzkgMy45OTM5LDIzLjk5MzlDMS43ODgxMywyMy45OTM5IDAsMjIuMjA1OCAwLDIwQzAsMTcuNzk0MiAxLjc4ODEzLDE2LjAwNjEgMy45OTM5LDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoMTg3LDE4NywxODcpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTUuODU3ODYsMjguNDkzOUM3LjQxNzU4LDI2LjkzNDIgOS45NDYzOCwyNi45MzQyIDExLjUwNjEsMjguNDkzOUMxMy4wNjU4LDMwLjA1MzYgMTMuMDY1OCwzMi41ODI0IDExLjUwNjEsMzQuMTQyMUM5Ljk0NjM4LDM1LjcwMTkgNy40MTc1OCwzNS43MDE5IDUuODU3ODYsMzQuMTQyMUM0LjI5ODE1LDMyLjU4MjQgNC4yOTgxNSwzMC4wNTM2IDUuODU3ODYsMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxNjQsMTY0LDE2NCk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMzYuMDA2MSwxNi4wMDYxQzM4LjIxMTksMTYuMDA2MSA0MCwxNy43OTQyIDQwLDIwQzQwLDIyLjIwNTggMzguMjExOSwyMy45OTM5IDM2LjAwNjEsMjMuOTkzOUMzMy44MDAzLDIzLjk5MzkgMzIuMDEyMiwyMi4yMDU4IDMyLjAxMjIsMjBDMzIuMDEyMiwxNy43OTQyIDMzLjgwMDMsMTYuMDA2MSAzNi4wMDYxLDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoNzQsNzQsNzQpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksNS44NTc4NkMzMC4wNTM2LDQuMjk4MTUgMzIuNTgyNCw0LjI5ODE1IDM0LjE0MjEsNS44NTc4NkMzNS43MDE5LDcuNDE3NTggMzUuNzAxOSw5Ljk0NjM4IDM0LjE0MjEsMTEuNTA2MUMzMi41ODI0LDEzLjA2NTggMzAuMDUzNiwxMy4wNjU4IDI4LjQ5MzksMTEuNTA2MUMyNi45MzQyLDkuOTQ2MzggMjYuOTM0Miw3LjQxNzU4IDI4LjQ5MzksNS44NTc4NloiIHN0eWxlPSJmaWxsOnJnYig1MCw1MCw1MCk7Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K);background-size:15px;background-position:center;background-repeat:no-repeat}.design-control input:not(:checked)+label span{opacity:0.8}.design-control input:not(:checked)+label span:hover{opacity:1}.design-control input:checked+label img{-webkit-box-shadow:0 0 0 2px #007cba;box-shadow:0 0 0 2px #007cba}.design-panel .components-panel__arrow{top:22px !important}.design-panel .components-panel__body-toggle img{display:block;margin-top:10px;border-radius:4px}.design-panel.is-opened .components-panel__body-toggle img{display:none}.design-panel.design-panel-lite .design-control label span.is-pro{background-image:url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KPHBhdGggZD0iTTE0IDloMWMwLjU1IDAgMSAwLjQ1IDEgMXY3YzAgMC41NS0wLjQ1IDEtMSAxaC0xMGMtMC41NSAwLTEtMC40NS0xLTF2LTdjMC0wLjU1IDAuNDUtMSAxLTFoMXYtM2MwLTIuMjEgMS43OS00IDQtNHM0IDEuNzkgNCA0djN6TTEyIDl2LTNjMC0xLjEtMC45LTItMi0ycy0yIDAuOS0yIDJ2M2g0ek0xMSAxNmwtMC4zNi0yLjE1YzAuNTEtMC4yNCAwLjg2LTAuNzUgMC44Ni0xLjM1IDAtMC44My0wLjY3LTEuNS0xLjUtMS41cy0xLjUgMC42Ny0xLjUgMS41YzAgMC42IDAuMzUgMS4xMSAwLjg2IDEuMzVsLTAuMzYgMi4xNWgyeiI+PC9wYXRoPgo8L3N2Zz4=);background-size:25px;cursor:help}.design-panel.design-panel-lite .design-control label span.is-pro img{opacity:0.5 !important}
|
5 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
6 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
7 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
8 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
9 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}[data-align="full"] div.ugb-cta{border-radius:0 !important}
|
10 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
11 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
12 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
13 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
14 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
15 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
16 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-image-box a{pointer-events:none}.ugb-image-box h4,.ugb-image-box p{pointer-events:all !important}
|
17 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
18 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}form.ugb-video-popup-link{-ms-flex-wrap:wrap;flex-wrap:wrap;margin:5px auto}form.ugb-video-popup-link>svg,form.ugb-video-popup-link>button{-ms-flex-negative:0;flex-shrink:0}form.ugb-video-popup-link .editor-url-input{-ms-flex:1;flex:1}form.ugb-video-popup-link>p{width:100%;-ms-flex-positive:1;flex-grow:1;font-size:.8em;margin:0 0 0 30px}.ugb-video-popup-link .ugb-video-popup-link-desc{text-align:center;margin:0}
|
19 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.edit-post-visual-editor .ugb-card{margin:0 !important}.edit-post-visual-editor .ugb-card .ugb-card-image-container{padding:0}.edit-post-visual-editor .ugb-card.has-image button{width:100%;height:300px;padding:0}
|
20 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature-grid [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature-grid"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}.ugb-feature-grid.columns-1>*:nth-child(2),.ugb-feature-grid.columns-1>*:nth-child(3){display:none}.ugb-feature-grid.columns-2>*:nth-child(3){display:none}
|
21 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-icon-list-color-picker{border-top:none !important}.ugb-icon-list-color-picker .components-panel__body-title{display:none !important}.ugb-icon-list-color-picker .component-color-indicator{vertical-align:bottom !important}.ugb-icon-list ul{list-style:none !important}
|
22 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}[data-align="full"] .ugb-feature.ugb-has-background{border-radius:0 !important}[data-align="full"] .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) .ugb-button[data-is-placeholder-visible="true"]{display:none}
|
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 =
|
65 |
/******/ })
|
66 |
/************************************************************************/
|
67 |
/******/ ([
|
@@ -89,22 +89,23 @@ var domReady = function domReady(callback) {
|
|
89 |
|
90 |
/***/ }),
|
91 |
/* 1 */,
|
92 |
-
/* 2
|
|
|
93 |
/***/ (function(module, exports, __webpack_require__) {
|
94 |
|
95 |
"use strict";
|
96 |
|
97 |
|
98 |
-
__webpack_require__(
|
99 |
-
|
100 |
-
__webpack_require__(5);
|
101 |
|
102 |
__webpack_require__(6);
|
103 |
|
104 |
__webpack_require__(7);
|
105 |
|
|
|
|
|
106 |
/***/ }),
|
107 |
-
/*
|
108 |
/***/ (function(module, exports, __webpack_require__) {
|
109 |
|
110 |
"use strict";
|
@@ -114,7 +115,7 @@ var _domReady = __webpack_require__(0);
|
|
114 |
|
115 |
var _domReady2 = _interopRequireDefault(_domReady);
|
116 |
|
117 |
-
var _bigpicture = __webpack_require__(
|
118 |
|
119 |
var _bigpicture2 = _interopRequireDefault(_bigpicture);
|
120 |
|
@@ -153,7 +154,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
153 |
});
|
154 |
|
155 |
/***/ }),
|
156 |
-
/*
|
157 |
/***/ (function(module, exports) {
|
158 |
|
159 |
// BigPicture.js | license MIT | henrygd.me/bigpicture
|
@@ -541,7 +542,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
541 |
|
542 |
|
543 |
/***/ }),
|
544 |
-
/*
|
545 |
/***/ (function(module, exports, __webpack_require__) {
|
546 |
|
547 |
"use strict";
|
@@ -571,7 +572,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
571 |
});
|
572 |
|
573 |
/***/ }),
|
574 |
-
/*
|
575 |
/***/ (function(module, exports, __webpack_require__) {
|
576 |
|
577 |
"use strict";
|
@@ -602,7 +603,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
602 |
});
|
603 |
|
604 |
/***/ }),
|
605 |
-
/*
|
606 |
/***/ (function(module, exports, __webpack_require__) {
|
607 |
|
608 |
"use strict";
|
@@ -615,7 +616,7 @@ var _domReady2 = _interopRequireDefault(_domReady);
|
|
615 |
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
616 |
|
617 |
(0, _domReady2.default)(function () {
|
618 |
-
__webpack_require__(
|
619 |
var elems = document.querySelectorAll('.ugb-countup .ugb-counter');
|
620 |
elems.forEach(function (el) {
|
621 |
// initCountUp( el )
|
@@ -745,7 +746,7 @@ var initCountUp = function initCountUp(el) {
|
|
745 |
};
|
746 |
|
747 |
/***/ }),
|
748 |
-
/*
|
749 |
/***/ (function(module, exports) {
|
750 |
|
751 |
/*!
|
61 |
/******/ __webpack_require__.p = "";
|
62 |
/******/
|
63 |
/******/ // Load entry module and return exports
|
64 |
+
/******/ return __webpack_require__(__webpack_require__.s = 3);
|
65 |
/******/ })
|
66 |
/************************************************************************/
|
67 |
/******/ ([
|
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 |
|
116 |
var _domReady2 = _interopRequireDefault(_domReady);
|
117 |
|
118 |
+
var _bigpicture = __webpack_require__(5);
|
119 |
|
120 |
var _bigpicture2 = _interopRequireDefault(_bigpicture);
|
121 |
|
154 |
});
|
155 |
|
156 |
/***/ }),
|
157 |
+
/* 5 */
|
158 |
/***/ (function(module, exports) {
|
159 |
|
160 |
// BigPicture.js | license MIT | henrygd.me/bigpicture
|
542 |
|
543 |
|
544 |
/***/ }),
|
545 |
+
/* 6 */
|
546 |
/***/ (function(module, exports, __webpack_require__) {
|
547 |
|
548 |
"use strict";
|
572 |
});
|
573 |
|
574 |
/***/ }),
|
575 |
+
/* 7 */
|
576 |
/***/ (function(module, exports, __webpack_require__) {
|
577 |
|
578 |
"use strict";
|
603 |
});
|
604 |
|
605 |
/***/ }),
|
606 |
+
/* 8 */
|
607 |
/***/ (function(module, exports, __webpack_require__) {
|
608 |
|
609 |
"use strict";
|
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 |
};
|
747 |
|
748 |
/***/ }),
|
749 |
+
/* 9 */
|
750 |
/***/ (function(module, exports) {
|
751 |
|
752 |
/*!
|
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=2)}([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(3),n(5),n(6),n(7)},function(t,e,n){"use strict";var i=r(n(0)),o=r(n(4));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]="×",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(8),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=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]="×",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}()}]);
|
dist/blocks.style.build.css
CHANGED
@@ -1,21 +1,21 @@
|
|
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}[class*="ugb-"].alignfull{border-radius:0 !important}
|
2 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-divider{border:0;height:1px;width:100%;background-color:transparent;margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-divider>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-divider>*:first-child{margin-top:0 !important}.wp-block-ugb-divider>*:last-child{margin-bottom:0 !important}.wp-block-ugb-divider hr{background-color:#dddddd;border:0 !important;padding:0 !important}
|
3 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[
|
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}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-button.ugb-ghost-button{background-color:transparent;border:2px solid var(--s-primary-color, #2091e1);padding-left:1.25em;padding-right:1.25em}.ugb-button.ugb-ghost-button .ugb-button-inner{color:var(--s-primary-color, #2091e1)}.ugb-button.ugb-ghost-button:hover{opacity:.85;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-button.ugb-ghost-button:hover .ugb-button-inner{color:var(--s-primary-color, #2091e1)}
|
5 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-notification{position:relative}.wp-ugb-notif{border-radius:4px;color:#ffffff;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;padding:35px}.wp-ugb-notif>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-ugb-notif>*:first-child{margin-top:0 !important}.wp-ugb-notif>*:last-child{margin-bottom:0 !important}.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}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-blockquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;padding:35px;margin-left:35px;margin-right:35px;font-style:italic;text-align:inherit;background:transparent;position:relative;overflow:visible;--quote-color: rgba(129, 141, 165, 0.32)}.ugb-blockquote>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-blockquote>*:first-child{margin-top:0 !important}.ugb-blockquote>*:last-child{margin-bottom:0 !important}.ugb-blockquote p{margin:0}.ugb-blockquote:after,.ugb-blockquote:before,.ugb-blockquote p:after,.ugb-blockquote p:before{display:none}.ugb-blockquote:before{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:100px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}
|
7 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}blockquote.ugb-pullquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;text-align:center;padding:60px;position:relative;overflow:hidden;--quote-color: rgba(129, 141, 165, .08)}blockquote.ugb-pullquote>*{margin-top:0 !important;margin-bottom:1rem !important}blockquote.ugb-pullquote>*:first-child{margin-top:0 !important}blockquote.ugb-pullquote>*:last-child{margin-bottom:0 !important}blockquote.ugb-pullquote:after,blockquote.ugb-pullquote:before,blockquote.ugb-pullquote p:after,blockquote.ugb-pullquote p:before{display:none}blockquote.ugb-pullquote:before{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:200px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}
|
8 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}div.ugb-cta{text-align:center;background-color:#f4f4f4;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}div.ugb-cta>*{margin-top:0 !important;margin-bottom:1rem !important}div.ugb-cta>*:first-child{margin-top:0 !important}div.ugb-cta>*:last-child{margin-bottom:0 !important}.wp-block-ugb-button .wp-ugb-button:hover{color:white}
|
9 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-testimonial{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-testimonial>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>*:first-child{margin-top:0 !important}.ugb-testimonial>*:last-child{margin-bottom:0 !important}.ugb-testimonial .testimonial-image{height:75px;width:75px;background-size:cover;background-position:center;border-radius:100%;margin:0 auto 1.3rem}.ugb-testimonial .quote-icon{height:75px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ugb-testimonial .quote-icon svg{height:50px;width:auto;fill:#e6e6e6}.ugb-testimonial>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-testimonial>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>div>*:first-child{margin-top:0 !important}.ugb-testimonial>div>*:last-child{margin-bottom:0 !important}.ugb-testimonial>div p{text-align:center}.ugb-testimonial>div,.ugb-testimonial>div:first-child,.ugb-testimonial>div:last-child{margin:17.5px !important}.ugb-testimonial h4{margin:0 0 .5rem !important;padding-top:0}.ugb-testimonial .ugb-testimonial-position,.ugb-testimonial .ugb-testimonial-position-two,.ugb-testimonial .ugb-testimonial-position-three{opacity:.3;font-size:.75em;margin:0 0 1rem;text-transform:uppercase}.ugb-testimonial .ugb-testimonial-body,.ugb-testimonial .ugb-testimonial-body-two,.ugb-testimonial .ugb-testimonial-body-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-testimonial.column-1 .ugb-testimonial-column-two,.ugb-testimonial.column-1 .ugb-testimonial-column-three{display:none}.ugb-testimonial.column-2 .ugb-testimonial-column-three{display:none}
|
10 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-team-member{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-team-member>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>*:first-child{margin-top:0 !important}.ugb-team-member>*:last-child{margin-bottom:0 !important}.ugb-team-member .team-member-image{width:300px;height:300px;background-size:cover;background-position:center;margin:0 auto 1.3rem}.ugb-team-member.image-circle .team-member-image{border-radius:100%}.ugb-team-member.column-2 .team-member-image{width:220px;height:220px}.ugb-team-member.column-3 .team-member-image{width:150px;height:150px}.ugb-team-member>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-team-member>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>div>*:first-child{margin-top:0 !important}.ugb-team-member>div>*:last-child{margin-bottom:0 !important}.ugb-team-member>div p{text-align:center}.ugb-team-member>div,.ugb-team-member>div:first-child,.ugb-team-member>div:last-child{margin:17.5px !important}.ugb-team-member h4{margin:0 0 .5rem !important;padding-top:0}.ugb-team-member .ugb-team-member-position{margin:0 0 1rem}.ugb-team-member .ugb-team-member-position{opacity:.3;font-size:.75em;text-transform:uppercase}.ugb-team-member .ugb-team-member-des,.ugb-team-member .ugb-team-member-des-two,.ugb-team-member .ugb-team-member-des-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-team-member.column-1 .ugb-team-member-column-two,.ugb-team-member.column-1 .ugb-team-member-column-three{display:none}.ugb-team-member.column-2 .ugb-team-member-column-three{display:none}.team-member-social a{color:#000000;opacity:.30;padding:0 3px}
|
11 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-expand{margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-expand>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-expand>*:first-child{margin-top:0 !important}.wp-block-ugb-expand>*:last-child{margin-bottom:0 !important}.wp-block-ugb-expand p:last-child{margin-bottom:0}.wp-block-ugb-expand.ugb-more .ugb-expand-less-text,.wp-block-ugb-expand.ugb-more .ugb-expand-more{display:none}.wp-block-ugb-expand.ugb-more .ugb-expand-more-text,.wp-block-ugb-expand.ugb-more .ugb-expand-less{display:block !important}
|
12 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-number-box{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-number-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-number-box>*:first-child{margin-top:0 !important}.ugb-number-box>*:last-child{margin-bottom:0 !important}.ugb-number-box span,.ugb-number-box .blocks-rich-text span{background-color:var(--s-primary-color, #ddd);color:#fff;border-radius:100%;font-size:3em;display:block;padding:0;text-align:center;overflow:hidden;margin:0 auto;height:2.5em;width:2.5em;line-height:2.5em !important}.ugb-number-box>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;-ms-flex:1;flex:1;min-width:250px}.ugb-number-box>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-number-box>div>*:first-child{margin-top:0 !important}.ugb-number-box>div>*:last-child{margin-bottom:0 !important}.ugb-number-box>div,.ugb-number-box>div:first-child,.ugb-number-box>div:last-child{margin:17.5px !important}.ugb-number-box>div p{text-align:center}.ugb-number-box.column-1>div:nth-child(2),.ugb-number-box.column-1>div:nth-child(3){display:none}.ugb-number-box.column-2>div:nth-child(3){display:none}
|
13 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-pricing-box{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-pricing-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-pricing-box>*:first-child{margin-top:0 !important}.ugb-pricing-box>*:last-child{margin-bottom:0 !important}.ugb-pricing-box>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;-ms-flex:1;flex:1;min-width:250px}.ugb-pricing-box>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-pricing-box>div>*:first-child{margin-top:0 !important}.ugb-pricing-box>div>*:last-child{margin-bottom:0 !important}.ugb-pricing-box>div,.ugb-pricing-box>div:first-child,.ugb-pricing-box>div:last-child{margin:17.5px !important}.ugb-pricing-box h3{line-height:100% !important}.ugb-pricing-box .ugb-pricing-box-pricing{font-size:3.5em;line-height:100% !important}.ugb-pricing-box .ugb-pricing-box-per-month-label{font-size:.75em;opacity:.3;text-transform:uppercase;line-height:100% !important}.blocks-button__inline-link.pricing-box{margin:5px auto 0px auto}.ugb-pricing-box.column-1 .ugb-pricing-box-column-two,.ugb-pricing-box.column-1 .ugb-pricing-box-column-three{display:none}.ugb-pricing-box.column-2 .ugb-pricing-box-column-three{display:none}
|
14 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-header.has-image{padding:0}.ugb-header.has-image .ugb-header-section{padding:9.5rem 4rem;background-size:cover;background-repeat:no-repeat;background-position:center}.ugb-header{margin-top:1.5em;margin-bottom:1.5em;text-align:center;padding:9.5rem 4rem;position:relative}.ugb-header>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-header>*:first-child{margin-top:0 !important}.ugb-header>*:last-child{margin-bottom:0 !important}.ugb-header .ugb-header-overlay{position:absolute;top:0;left:0;right:0;bottom:0;margin:0 !important}.ugb-header .header-image{height:400px;width:600px;background-size:cover;background-repeat:no-repeat;background-position:center}.ugb-header .wp-block-button.ugb-button-center{left:0;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);margin-bottom:1.5em}.ugb-header .wp-block-button.ugb-button-right{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);left:50%;margin-bottom:1.5em}.ugb-header .wp-block-button.ugb-button-left{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);left:-50%;margin-bottom:1.5em}.ugb-header .ugb-header-title{margin-bottom:1rem;padding-bottom:0;margin-top:0;position:relative}.ugb-header .ugb-header-subtitle{margin-bottom:2rem;padding-bottom:0;position:relative}.ugb-header button.components-button{margin-bottom:.5em;position:relative}.ugb-header .ugb-button{position:relative}.ugb-header-overlay.overlay-opacity.overlay-opacity-1{opacity:.1}.ugb-header-overlay.overlay-opacity.overlay-opacity-2{opacity:.2}.ugb-header-overlay.overlay-opacity.overlay-opacity-3{opacity:.3}.ugb-header-overlay.overlay-opacity.overlay-opacity-4{opacity:.4}.ugb-header-overlay.overlay-opacity.overlay-opacity-5{opacity:.5}.ugb-header-overlay.overlay-opacity.overlay-opacity-6{opacity:.6}.ugb-header-overlay.overlay-opacity.overlay-opacity-7{opacity:.7}.ugb-header-overlay.overlay-opacity.overlay-opacity-8{opacity:.8}.ugb-header-overlay.overlay-opacity.overlay-opacity-9{opacity:.9}.ugb-header-overlay.overlay-opacity.overlay-opacity-10{opacity:1}.wp-block-ugb-header.has-no-content{display:none}
|
15 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-image-box{background-size:cover;background-position:center;padding:2rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;overflow:hidden;background-color:#999;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;margin-left:auto;margin-right:auto}.ugb-image-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-image-box>*:first-child{margin-top:0 !important}.ugb-image-box>*:last-child{margin-bottom:0 !important}.ugb-image-box *{-webkit-transition:all .4s ease-in-out !important;-o-transition:all .4s ease-in-out !important;transition:all .4s ease-in-out !important;border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-image-box button.components-button{z-index:3;margin-bottom:1em}.ugb-image-box a{position:absolute;z-index:2;top:0;left:0;right:0;bottom:0;opacity:0;margin:0 !important}.ugb-image-box h4,.ugb-image-box p{z-index:3;pointer-events:none}.ugb-image-box h4{margin:0 0 0.5em !important}.ugb-image-box p{margin:0 !important;opacity:0;-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}.ugb-image-box:hover a{opacity:.7}.ugb-image-box:hover p{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}.ugb-image-box.full-width{width:100% !important}.wp-block-ugb-image-box.has-no-content{display:none}
|
16 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-countup{text-align:center;margin-bottom:1em;margin-top:1.5em;margin-bottom:1.5em}.ugb-countup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-countup>*:first-child{margin-top:0 !important}.ugb-countup>*:last-child{margin-bottom:0 !important}.ugb-countup h4,.ugb-countup div,.ugb-countup p{margin:0 !important;line-height:1em}.ugb-countup h4{margin-bottom:1em !important}.ugb-countup p{margin-top:1em !important}.ugb-countup .ugb-countup-hide{visibility:hidden}
|
17 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.video-popup-image{height:220px;width:220px;background-position:center;background-size:cover;margin-bottom:10px}.ugb-video-popup{position:relative;width:100%;max-width:600px;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;margin-left:auto;margin-right:auto;padding:0;overflow:hidden}.ugb-video-popup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-video-popup>*:first-child{margin-top:0 !important}.ugb-video-popup>*:last-child{margin-bottom:0 !important}.ugb-video-popup .ugb-video-preview,.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay,.ugb-video-popup .ugb-play-button{position:absolute;top:0;left:0;right:0;bottom:0}.ugb-video-popup .ugb-video-preview{margin:0 !important;background-size:cover;background-position:center;opacity:.4;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;z-index:1}.ugb-video-popup:hover .ugb-video-preview{opacity:.5}.ugb-video-popup .ugb-video-wrapper{position:relative;width:100%;padding-bottom:56.25%;border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay{z-index:3;-webkit-box-shadow:none !important;box-shadow:none !important;background:transparent !important;display:block !important}.ugb-video-popup .ugb-play-button{z-index:2;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}.ugb-video-popup svg{fill:#fff !important}.ugb-video-popup button.components-button.button{position:absolute;z-index:4;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);top:30%}.ugb-video-popup button.components-button.button:active{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.ugb-video-popup-link .editor-url-input input[type=text]{width:auto !important}
|
18 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-card{border-radius:4px;margin:30px 0;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}.ugb-card>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-card>*:first-child{margin-top:0 !important}.ugb-card>*:last-child{margin-bottom:0 !important}.ugb-card.has-image .ugb-card-image-container{height:300px;background-size:cover;background-position:center;border-top-right-radius:12px;border-top-left-radius:12px;padding-top:0px;margin:-60px -35px 35px !important;width:calc(100% + 35px * 2)}.ugb-card.has-image .ugb-card-image-container+*:not(.wp-ugb-button){margin-top:0 !important;padding-top:0 !important}
|
19 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature-grid{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:
|
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}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-icon-list{margin:0 0 1.5em 0 !important;padding:0 !important;list-style:none !important}.ugb-icon-list li:before{content:'';display:inline-block;vertical-align:middle;height:var(--icon-size, 20px);width:var(--icon-size, 20px);margin-right:1em;background-image:var(--icon);background-size:cover;background-position:center}.ugb-icon-list li{margin-top:0 !important;margin-bottom:var(--gap, 16) !important;text-indent:calc(var(--icon-size, 20px) * -1 - 1em) !important;padding-left:calc(var(--icon-size, 20px) + 1em) !important}.ugb-icon-list li:last-child{margin-bottom:0}.ugb-icon-list.column-2{-webkit-columns:2;columns:2}.ugb-icon-list.column-3{-webkit-columns:3;columns:3}.ugb-icon-list.column-2 li,.ugb-icon-list.column-3 li{-webkit-column-break-inside:avoid;break-inside:avoid}
|
21 |
-
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature{margin-top:1.5em;margin-bottom:1.5em}.ugb-feature>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature>*:first-child{margin-top:0 !important}.ugb-feature>*:last-child{margin-bottom:0 !important}.ugb-feature .ugb-feature-wrapper{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-feature .ugb-feature-wrapper>div{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;margin-top:1.5em;margin-bottom:1.5em;margin:0 17.5px}.ugb-feature .ugb-feature-wrapper>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature .ugb-feature-wrapper>div>*:first-child{margin-top:0 !important}.ugb-feature .ugb-feature-wrapper>div>*:last-child{margin-bottom:0 !important}.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.ugb-feature .ugb-feature-image-side{-ms-flex-align:center;align-items:center}.ugb-feature .ugb-feature-image-side img{max-width:var(--image-size, 400px);width:var(--image-size, 400px)}.ugb-feature.ugb-content-left{text-align:left}.ugb-feature.ugb-content-center{text-align:center}.ugb-feature.ugb-content-right{text-align:right}.ugb-feature.alignfull .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature.ugb-has-background{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}.ugb-feature.alignfull.ugb-has-background{border-radius:0;margin-top:0;margin-bottom:0}@media screen and (max-width: 768px){.ugb-feature .ugb-feature-wrapper,.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.ugb-feature .ugb-feature-wrapper{text-align:center}.ugb-feature .ugb-feature-wrapper>div:first-child{margin-top:60px}.ugb-feature .ugb-feature-wrapper .ugb-feature-image-side img{width:60vw}.ugb-feature .ugb-button{margin:0 auto}}
|
1 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}
|
2 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-divider{border:0;height:1px;width:100%;background-color:transparent;margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-divider>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-divider>*:first-child{margin-top:0 !important}.wp-block-ugb-divider>*:last-child{margin-bottom:0 !important}.wp-block-ugb-divider hr{background-color:#dddddd;border:0 !important;padding:0 !important}
|
3 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-button{margin-top:1.5em;margin-bottom:1.5em}.ugb-button>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-button>*:first-child{margin-top:0 !important}.ugb-button>*:last-child{margin-bottom:0 !important}.ugb-button{border:none;border-radius:4px;-webkit-box-shadow:none !important;box-shadow:none !important;cursor:pointer;opacity:1;background:var(--s-primary-color, #2091e1);-webkit-transition:opacity .2s ease-in-out;-o-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;box-shadow:none !important;padding-bottom:calc(.375em - 1px);padding-left:.75em;padding-right:.75em;padding-top:calc(.375em - 1px);font-size:1em;line-height:1.5 !important;-ms-flex-align:center;align-items:center;font-size:1em}.ugb-button .ugb-button-inner{text-decoration:none !important;white-space:nowrap;display:inline-block;color:#fff;-webkit-box-shadow:none !important;box-shadow:none !important;margin:0 !important;padding:0 !important}.ugb-button:hover{opacity:.85;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-button .ugb-button-inner:hover{color:white}.ugb-button-small.ugb-button .ugb-button-inner{font-size:.75em}.ugb-button-medium.ugb-button{padding-left:1.25em;padding-right:1.25em}.ugb-button-medium.ugb-button .ugb-button-inner{font-size:1.25em}.ugb-button-large.ugb-button{padding-left:1.5em;padding-right:1.5em}.ugb-button-large.ugb-button .ugb-button-inner{font-size:1.5em}.ugb-button-left{margin-right:auto;display:table}.ugb-button-center{margin-left:auto;margin-right:auto;display:table}.ugb-button-right{margin-left:auto;display:table}.ugb-button-full{display:block;text-align:center}
|
4 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-button.ugb-ghost-button{background-color:transparent;border:2px solid var(--s-primary-color, #2091e1);padding-left:1.25em;padding-right:1.25em}.ugb-button.ugb-ghost-button .ugb-button-inner{color:var(--s-primary-color, #2091e1)}.ugb-button.ugb-ghost-button:hover{opacity:.85;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-button.ugb-ghost-button:hover .ugb-button-inner{color:var(--s-primary-color, #2091e1)}
|
5 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-notification{position:relative}.wp-ugb-notif{border-radius:4px;color:#ffffff;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;padding:35px}.wp-ugb-notif>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-ugb-notif>*:first-child{margin-top:0 !important}.wp-ugb-notif>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.wp-ugb-notif{padding:40px 23.33333px}}@media screen and (max-width: 600px){.wp-ugb-notif{padding:35px 17.5px}}.notif-success{background-color:#40ba7b}.notif-error{background-color:#d9534f}.notif-warning{background-color:#ffdd57;color:#424242}.notif-info{background-color:#2091e1}.ugb-notification,.wp-block-ugb-notification{position:relative}.ugb-notification .close-button,.wp-block-ugb-notification .close-button{position:absolute;right:0;z-index:2;margin-right:1.5rem;margin-top:1.3rem;font-size:8px;padding-top:.3rem;cursor:pointer}.ugb-notification .close-button svg,.wp-block-ugb-notification .close-button svg{width:13px;height:auto}.ugb-notification.dismissible-true .wp-ugb-notif{padding-right:60px}.ugb-notification.type-success svg,.ugb-notification.type-error svg,.ugb-notification.type-info svg{fill:#ffffff}.ugb-notification.type-warning svg{fill:#424242}.ugb-notification.dismissible-true[data-uid]{display:none}
|
6 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-blockquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;padding:35px;margin-left:35px;margin-right:35px;font-style:italic;text-align:inherit;background:transparent;position:relative;overflow:visible;--quote-color: rgba(129, 141, 165, 0.32)}.ugb-blockquote>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-blockquote>*:first-child{margin-top:0 !important}.ugb-blockquote>*:last-child{margin-bottom:0 !important}.ugb-blockquote p{margin:0}.ugb-blockquote:after,.ugb-blockquote:before,.ugb-blockquote p:after,.ugb-blockquote p:before{display:none}.ugb-blockquote:before{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:100px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}
|
7 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}blockquote.ugb-pullquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;text-align:center;padding:60px;position:relative;overflow:hidden;--quote-color: rgba(129, 141, 165, .08)}blockquote.ugb-pullquote>*{margin-top:0 !important;margin-bottom:1rem !important}blockquote.ugb-pullquote>*:first-child{margin-top:0 !important}blockquote.ugb-pullquote>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){blockquote.ugb-pullquote{padding:40px 23.33333px}}@media screen and (max-width: 600px){blockquote.ugb-pullquote{padding:35px 17.5px}}blockquote.ugb-pullquote:after,blockquote.ugb-pullquote:before,blockquote.ugb-pullquote p:after,blockquote.ugb-pullquote p:before{display:none}blockquote.ugb-pullquote:before{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:200px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}
|
8 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}div.ugb-cta{text-align:center;background-color:#f4f4f4;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}div.ugb-cta>*{margin-top:0 !important;margin-bottom:1rem !important}div.ugb-cta>*:first-child{margin-top:0 !important}div.ugb-cta>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){div.ugb-cta{padding:40px 23.33333px}}@media screen and (max-width: 600px){div.ugb-cta{padding:35px 17.5px}}.wp-block-ugb-button .wp-ugb-button:hover{color:white}
|
9 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-testimonial{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-testimonial>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>*:first-child{margin-top:0 !important}.ugb-testimonial>*:last-child{margin-bottom:0 !important}.ugb-testimonial .testimonial-image{height:75px;width:75px;background-size:cover;background-position:center;border-radius:100%;margin:0 auto 1.3rem}.ugb-testimonial .quote-icon{height:75px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ugb-testimonial .quote-icon svg{height:50px;width:auto;fill:#e6e6e6}.ugb-testimonial>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-testimonial>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>div>*:first-child{margin-top:0 !important}.ugb-testimonial>div>*:last-child{margin-bottom:0 !important}.ugb-testimonial>div p{text-align:center}.ugb-testimonial>div,.ugb-testimonial>div:first-child,.ugb-testimonial>div:last-child{margin:17.5px !important}.ugb-testimonial h4{margin:0 0 .5rem !important;padding-top:0}.ugb-testimonial .ugb-testimonial-position,.ugb-testimonial .ugb-testimonial-position-two,.ugb-testimonial .ugb-testimonial-position-three{opacity:.3;font-size:.75em;margin:0 0 1rem;text-transform:uppercase}.ugb-testimonial .ugb-testimonial-body,.ugb-testimonial .ugb-testimonial-body-two,.ugb-testimonial .ugb-testimonial-body-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-testimonial.column-1 .ugb-testimonial-column-two,.ugb-testimonial.column-1 .ugb-testimonial-column-three{display:none}.ugb-testimonial.column-2 .ugb-testimonial-column-three{display:none}
|
10 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-team-member{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-team-member>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>*:first-child{margin-top:0 !important}.ugb-team-member>*:last-child{margin-bottom:0 !important}.ugb-team-member .team-member-image{width:300px;height:300px;background-size:cover;background-position:center;margin:0 auto 1.3rem}.ugb-team-member.image-circle .team-member-image{border-radius:100%}.ugb-team-member.column-2 .team-member-image{width:220px;height:220px}.ugb-team-member.column-3 .team-member-image{width:150px;height:150px}.ugb-team-member>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-team-member>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>div>*:first-child{margin-top:0 !important}.ugb-team-member>div>*:last-child{margin-bottom:0 !important}.ugb-team-member>div p{text-align:center}.ugb-team-member>div,.ugb-team-member>div:first-child,.ugb-team-member>div:last-child{margin:17.5px !important}.ugb-team-member h4{margin:0 0 .5rem !important;padding-top:0}.ugb-team-member .ugb-team-member-position{margin:0 0 1rem}.ugb-team-member .ugb-team-member-position{opacity:.3;font-size:.75em;text-transform:uppercase}.ugb-team-member .ugb-team-member-des,.ugb-team-member .ugb-team-member-des-two,.ugb-team-member .ugb-team-member-des-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-team-member.column-1 .ugb-team-member-column-two,.ugb-team-member.column-1 .ugb-team-member-column-three{display:none}.ugb-team-member.column-2 .ugb-team-member-column-three{display:none}.team-member-social a{color:#000000;opacity:.30;padding:0 3px}
|
11 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-expand{margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-expand>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-expand>*:first-child{margin-top:0 !important}.wp-block-ugb-expand>*:last-child{margin-bottom:0 !important}.wp-block-ugb-expand p:last-child{margin-bottom:0}.wp-block-ugb-expand.ugb-more .ugb-expand-less-text,.wp-block-ugb-expand.ugb-more .ugb-expand-more{display:none}.wp-block-ugb-expand.ugb-more .ugb-expand-more-text,.wp-block-ugb-expand.ugb-more .ugb-expand-less{display:block !important}
|
12 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-number-box{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-number-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-number-box>*:first-child{margin-top:0 !important}.ugb-number-box>*:last-child{margin-bottom:0 !important}.ugb-number-box span,.ugb-number-box .blocks-rich-text span{background-color:var(--s-primary-color, #ddd);color:#fff;border-radius:100%;font-size:3em;display:block;padding:0;text-align:center;overflow:hidden;margin:0 auto;height:2.5em;width:2.5em;line-height:2.5em !important}.ugb-number-box>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;-ms-flex:1;flex:1;min-width:250px}.ugb-number-box>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-number-box>div>*:first-child{margin-top:0 !important}.ugb-number-box>div>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-number-box>div{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-number-box>div{padding:35px 17.5px}}.ugb-number-box>div,.ugb-number-box>div:first-child,.ugb-number-box>div:last-child{margin:17.5px !important}.ugb-number-box>div p{text-align:center}.ugb-number-box.column-1>div:nth-child(2),.ugb-number-box.column-1>div:nth-child(3){display:none}.ugb-number-box.column-2>div:nth-child(3){display:none}
|
13 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-pricing-box{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-pricing-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-pricing-box>*:first-child{margin-top:0 !important}.ugb-pricing-box>*:last-child{margin-bottom:0 !important}.ugb-pricing-box>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;-ms-flex:1;flex:1;min-width:250px}.ugb-pricing-box>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-pricing-box>div>*:first-child{margin-top:0 !important}.ugb-pricing-box>div>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-pricing-box>div{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-pricing-box>div{padding:35px 17.5px}}.ugb-pricing-box>div,.ugb-pricing-box>div:first-child,.ugb-pricing-box>div:last-child{margin:17.5px !important}.ugb-pricing-box h3{line-height:100% !important}.ugb-pricing-box .ugb-pricing-box-pricing{font-size:3.5em;line-height:100% !important}.ugb-pricing-box .ugb-pricing-box-per-month-label{font-size:.75em;opacity:.3;text-transform:uppercase;line-height:100% !important}.blocks-button__inline-link.pricing-box{margin:5px auto 0px auto}.ugb-pricing-box.column-1 .ugb-pricing-box-column-two,.ugb-pricing-box.column-1 .ugb-pricing-box-column-three{display:none}.ugb-pricing-box.column-2 .ugb-pricing-box-column-three{display:none}
|
14 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-header.has-image{padding:0}.ugb-header.has-image .ugb-header-section{padding:9.5rem 4rem;background-size:cover;background-repeat:no-repeat;background-position:center}.ugb-header{margin-top:1.5em;margin-bottom:1.5em;text-align:center;padding:9.5rem 4rem;position:relative}.ugb-header>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-header>*:first-child{margin-top:0 !important}.ugb-header>*:last-child{margin-bottom:0 !important}.ugb-header .ugb-header-overlay{position:absolute;top:0;left:0;right:0;bottom:0;margin:0 !important}.ugb-header .header-image{height:400px;width:600px;background-size:cover;background-repeat:no-repeat;background-position:center}.ugb-header .wp-block-button.ugb-button-center{left:0;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);margin-bottom:1.5em}.ugb-header .wp-block-button.ugb-button-right{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);left:50%;margin-bottom:1.5em}.ugb-header .wp-block-button.ugb-button-left{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);left:-50%;margin-bottom:1.5em}.ugb-header .ugb-header-title{margin-bottom:1rem;padding-bottom:0;margin-top:0;position:relative}.ugb-header .ugb-header-subtitle{margin-bottom:2rem;padding-bottom:0;position:relative}.ugb-header button.components-button{margin-bottom:.5em;position:relative}.ugb-header .ugb-button{position:relative}.ugb-header-overlay.overlay-opacity.overlay-opacity-1{opacity:.1}.ugb-header-overlay.overlay-opacity.overlay-opacity-2{opacity:.2}.ugb-header-overlay.overlay-opacity.overlay-opacity-3{opacity:.3}.ugb-header-overlay.overlay-opacity.overlay-opacity-4{opacity:.4}.ugb-header-overlay.overlay-opacity.overlay-opacity-5{opacity:.5}.ugb-header-overlay.overlay-opacity.overlay-opacity-6{opacity:.6}.ugb-header-overlay.overlay-opacity.overlay-opacity-7{opacity:.7}.ugb-header-overlay.overlay-opacity.overlay-opacity-8{opacity:.8}.ugb-header-overlay.overlay-opacity.overlay-opacity-9{opacity:.9}.ugb-header-overlay.overlay-opacity.overlay-opacity-10{opacity:1}.wp-block-ugb-header.has-no-content{display:none}
|
15 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-image-box{background-size:cover;background-position:center;padding:2rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;overflow:hidden;background-color:#999;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;margin-left:auto;margin-right:auto}.ugb-image-box>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-image-box>*:first-child{margin-top:0 !important}.ugb-image-box>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-image-box{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-image-box{padding:35px 17.5px}}.ugb-image-box *{-webkit-transition:all .4s ease-in-out !important;-o-transition:all .4s ease-in-out !important;transition:all .4s ease-in-out !important;border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-image-box button.components-button{z-index:3;margin-bottom:1em}.ugb-image-box a{position:absolute;z-index:2;top:0;left:0;right:0;bottom:0;opacity:0;margin:0 !important}.ugb-image-box h4,.ugb-image-box p{z-index:3;pointer-events:none}.ugb-image-box h4{margin:0 0 0.5em !important}.ugb-image-box p{margin:0 !important;opacity:0;-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}.ugb-image-box:hover a{opacity:.7}.ugb-image-box:hover p{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}.ugb-image-box.full-width{width:100% !important}.wp-block-ugb-image-box.has-no-content{display:none}
|
16 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-countup{text-align:center;margin-bottom:1em;margin-top:1.5em;margin-bottom:1.5em}.ugb-countup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-countup>*:first-child{margin-top:0 !important}.ugb-countup>*:last-child{margin-bottom:0 !important}.ugb-countup h4,.ugb-countup div,.ugb-countup p{margin:0 !important;line-height:1em}.ugb-countup h4{margin-bottom:1em !important}.ugb-countup p{margin-top:1em !important}.ugb-countup .ugb-countup-hide{visibility:hidden}
|
17 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.video-popup-image{height:220px;width:220px;background-position:center;background-size:cover;margin-bottom:10px}.ugb-video-popup{position:relative;width:100%;max-width:600px;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;margin-left:auto;margin-right:auto;padding:0;overflow:hidden}.ugb-video-popup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-video-popup>*:first-child{margin-top:0 !important}.ugb-video-popup>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-video-popup{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-video-popup{padding:35px 17.5px}}.ugb-video-popup .ugb-video-preview,.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay,.ugb-video-popup .ugb-play-button{position:absolute;top:0;left:0;right:0;bottom:0}.ugb-video-popup .ugb-video-preview{margin:0 !important;background-size:cover;background-position:center;opacity:.4;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;z-index:1}.ugb-video-popup:hover .ugb-video-preview{opacity:.5}.ugb-video-popup .ugb-video-wrapper{position:relative;width:100%;padding-bottom:56.25%;border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay{z-index:3;-webkit-box-shadow:none !important;box-shadow:none !important;background:transparent !important;display:block !important}.ugb-video-popup .ugb-play-button{z-index:2;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}.ugb-video-popup svg{fill:#fff !important}.ugb-video-popup button.components-button.button{position:absolute;z-index:4;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);top:30%}.ugb-video-popup button.components-button.button:active{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.ugb-video-popup-link .editor-url-input input[type=text]{width:auto !important}
|
18 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-card{border-radius:4px;margin:30px 0;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}.ugb-card>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-card>*:first-child{margin-top:0 !important}.ugb-card>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-card{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-card{padding:35px 17.5px}}.ugb-card.has-image .ugb-card-image-container{height:300px;background-size:cover;background-position:center;border-top-right-radius:12px;border-top-left-radius:12px;padding-top:0px;margin:-60px -35px 35px !important;width:calc(100% + 35px * 2)}.ugb-card.has-image .ugb-card-image-container+*:not(.wp-ugb-button){margin-top:0 !important;padding-top:0 !important}
|
19 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature-grid{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:0 -17.5px}.ugb-feature-grid>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid>*:first-child{margin-top:0 !important}.ugb-feature-grid>*:last-child{margin-bottom:0 !important}.ugb-feature-grid>div{-ms-flex:1;flex:1}.ugb-feature-grid>div,.ugb-feature-grid>div:first-child,.ugb-feature-grid>div:last-child{margin:17.5px !important}.ugb-feature-grid .ugb-feature-grid-item{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}.ugb-feature-grid .ugb-feature-grid-item>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid .ugb-feature-grid-item>*:first-child{margin-top:0 !important}.ugb-feature-grid .ugb-feature-grid-item>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-feature-grid .ugb-feature-grid-item{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-feature-grid .ugb-feature-grid-item{padding:35px 17.5px}}@media screen and (max-width: 960px){.ugb-feature-grid.columns-3 .ugb-feature-grid-item>img{width:100% !important}}@media screen and (max-width: 600px){.ugb-feature-grid-item>img{max-width:30vw}.ugb-feature-grid{-ms-flex-direction:column;flex-direction:column}}
|
20 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-icon-list{margin:0 0 1.5em 0 !important;padding:0 !important;list-style:none !important}.ugb-icon-list li:before{content:'';display:inline-block;vertical-align:middle;height:var(--icon-size, 20px);width:var(--icon-size, 20px);margin-right:1em;background-image:var(--icon);background-size:cover;background-position:center}.ugb-icon-list li{margin-top:0 !important;margin-bottom:var(--gap, 16) !important;text-indent:calc(var(--icon-size, 20px) * -1 - 1em) !important;padding-left:calc(var(--icon-size, 20px) + 1em) !important}.ugb-icon-list li:last-child{margin-bottom:0}.ugb-icon-list.column-2{-webkit-columns:2;columns:2}.ugb-icon-list.column-3{-webkit-columns:3;columns:3}.ugb-icon-list.column-2 li,.ugb-icon-list.column-3 li{-webkit-column-break-inside:avoid;break-inside:avoid}
|
21 |
+
.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature{margin-top:1.5em;margin-bottom:1.5em}.ugb-feature>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature>*:first-child{margin-top:0 !important}.ugb-feature>*:last-child{margin-bottom:0 !important}.ugb-feature .ugb-feature-wrapper{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-feature .ugb-feature-wrapper>div{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;margin-top:1.5em;margin-bottom:1.5em;margin:0 17.5px}.ugb-feature .ugb-feature-wrapper>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature .ugb-feature-wrapper>div>*:first-child{margin-top:0 !important}.ugb-feature .ugb-feature-wrapper>div>*:last-child{margin-bottom:0 !important}.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.ugb-feature .ugb-feature-image-side{-ms-flex-align:center;align-items:center}.ugb-feature .ugb-feature-image-side img{max-width:var(--image-size, 400px);width:var(--image-size, 400px)}.ugb-feature.ugb-content-left{text-align:left}.ugb-feature.ugb-content-center{text-align:center}.ugb-feature.ugb-content-right{text-align:right}.ugb-feature.alignfull .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature.ugb-has-background{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}@media screen and (max-width: 782px){.ugb-feature.ugb-has-background{padding:40px 23.33333px}}@media screen and (max-width: 600px){.ugb-feature.ugb-has-background{padding:35px 17.5px}}.ugb-feature.alignfull.ugb-has-background{border-radius:0;margin-top:0;margin-bottom:0}@media screen and (max-width: 768px){.ugb-feature .ugb-feature-wrapper,.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.ugb-feature .ugb-feature-wrapper{text-align:center}.ugb-feature .ugb-feature-wrapper>div:first-child{margin-top:60px}.ugb-feature .ugb-feature-wrapper .ugb-feature-image-side img{width:60vw}.ugb-feature .ugb-button{margin:0 auto}}
|
freemius.php
CHANGED
@@ -22,15 +22,17 @@ if ( ! function_exists( 'sugb_fs' ) ) {
|
|
22 |
'slug' => 'stackable-ultimate-gutenberg-blocks',
|
23 |
'type' => 'plugin',
|
24 |
'public_key' => 'pk_771ae29c5255d20a4880980729a17',
|
25 |
-
|
|
|
26 |
'has_addons' => false,
|
27 |
'has_paid_plans' => false,
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
34 |
) );
|
35 |
}
|
36 |
|
22 |
'slug' => 'stackable-ultimate-gutenberg-blocks',
|
23 |
'type' => 'plugin',
|
24 |
'public_key' => 'pk_771ae29c5255d20a4880980729a17',
|
25 |
+
'is_premium' => false,
|
26 |
+
'has_premium_version' => false,
|
27 |
'has_addons' => false,
|
28 |
'has_paid_plans' => false,
|
29 |
+
'menu' => array(
|
30 |
+
'slug' => 'stackable',
|
31 |
+
'first-path' => 'admin.php?page=stackable',
|
32 |
+
'account' => false,
|
33 |
+
'contact' => false,
|
34 |
+
'support' => false,
|
35 |
+
),
|
36 |
) );
|
37 |
}
|
38 |
|
freemius/assets/img/stackable-ultimate-gutenberg-blocks.png
ADDED
Binary file
|
plugin.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Essential Gutenberg blocks in one plugin. Simple, flexible, and customizable.
|
6 |
* Author: Gambit Technologies, Inc
|
7 |
* Author URI: http://gambit.ph
|
8 |
-
* Version: 1.
|
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.
|
20 |
defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
|
21 |
|
22 |
/**
|
5 |
* Description: Essential Gutenberg blocks in one plugin. Simple, flexible, and customizable.
|
6 |
* Author: Gambit Technologies, Inc
|
7 |
* Author URI: http://gambit.ph
|
8 |
+
* Version: 1.4
|
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.4' );
|
20 |
defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
|
21 |
|
22 |
/**
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: gutenberg, 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.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -16,7 +16,7 @@ Stackable is a comprehensive collection of page builder blocks for Gutenberg - t
|
|
16 |
|
17 |
Stackable provides more functionality and design options for your site. We've come up with a collection of cool blocks that will make website building a breeze. We made sure our blocks look great, so feel free to mix different blocks together and customize their styles to suit your design needs.
|
18 |
|
19 |
-
[View our website](https://wpstackable.com) which
|
20 |
|
21 |
## 21 Kick-ass blocks so far and counting..
|
22 |
|
@@ -46,6 +46,13 @@ Stackable provides more functionality and design options for your site. We've co
|
|
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 |
== Installation ==
|
50 |
|
51 |
= Upgrading Notce =
|
@@ -84,6 +91,19 @@ Nope. Stackable only works with Gutenberg.
|
|
84 |
|
85 |
== Changelog ==
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
= 1.3 =
|
88 |
* New: Feature block
|
89 |
* New: Feature Grid block
|
4 |
Requires at least: 4.8
|
5 |
Tested up to: 4.9.8
|
6 |
Requires PHP: 5.3
|
7 |
+
Stable tag: 1.4
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
16 |
|
17 |
Stackable provides more functionality and design options for your site. We've come up with a collection of cool blocks that will make website building a breeze. We made sure our blocks look great, so feel free to mix different blocks together and customize their styles to suit your design needs.
|
18 |
|
19 |
+
[View our website](https://wpstackable.com) which was made with Gutenberg + Stackable.
|
20 |
|
21 |
## 21 Kick-ass blocks so far and counting..
|
22 |
|
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 |
+
- [Subscribe to our newsletter](http://eepurl.com/dJY9xI)
|
52 |
+
- [Website wpstackable.com](https://wpstackable.com)
|
53 |
+
- [Twitter @wpstackable](https://twitter.com/wpstackable)
|
54 |
+
- [Facebook Page WPStackable](https://www.facebook.com/Stackable-870555573068267/)
|
55 |
+
|
56 |
== Installation ==
|
57 |
|
58 |
= Upgrading Notce =
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
= 1.4 =
|
95 |
+
* Fixed: Smaller box padding for smaller screens
|
96 |
+
* Fixed: Better responsive styles for the feature grid block
|
97 |
+
* Fixed: WordPress 5.0 beta support - invalid script and style dependencies
|
98 |
+
* Fixed: WordPress 5.0 beta support - headers already sent errors
|
99 |
+
* Fixed: Custom classnames are now applied correctly
|
100 |
+
* Fixed: Standardized all Button inspector settings
|
101 |
+
* Fixed: Converted all column options to a slider
|
102 |
+
* Fixed: URL fields are sometimes too wide
|
103 |
+
* Fixed: Video Popup block now accepts YouTube & Vimeo URLs instead of only IDs
|
104 |
+
* Fixed: Freemius Opt-in first before the welcome screen
|
105 |
+
* Changed: Added support forum and rating areas in the welcome screen
|
106 |
+
|
107 |
= 1.3 =
|
108 |
* New: Feature block
|
109 |
* New: Feature Grid block
|
src/block/blockquote/index.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { QuoteIcon } from '../../icons'
|
12 |
import { deprecatedSchema_0_7, deprecatedSave_0_7 } from './deprecated'
|
13 |
|
@@ -28,10 +29,15 @@ export const edit = ( props ) => {
|
|
28 |
|
29 |
const { color, text, quoteColor } = props.attributes
|
30 |
|
|
|
|
|
|
|
|
|
|
|
31 |
return (
|
32 |
<Fragment>
|
33 |
<blockquote
|
34 |
-
className={
|
35 |
style={ {
|
36 |
'--quote-color': quoteColor
|
37 |
} }>
|
@@ -69,11 +75,17 @@ export const edit = ( props ) => {
|
|
69 |
|
70 |
export const save = ( props ) => {
|
71 |
|
|
|
72 |
const { color, text, quoteColor } = props.attributes
|
73 |
|
|
|
|
|
|
|
|
|
|
|
74 |
return (
|
75 |
<blockquote
|
76 |
-
className={
|
77 |
style={ { '--quote-color': quoteColor } }>
|
78 |
<RichText.Content
|
79 |
tagName="p"
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { QuoteIcon } from '../../icons'
|
13 |
import { deprecatedSchema_0_7, deprecatedSave_0_7 } from './deprecated'
|
14 |
|
29 |
|
30 |
const { color, text, quoteColor } = props.attributes
|
31 |
|
32 |
+
const mainClasses = classnames( [
|
33 |
+
className,
|
34 |
+
'ugb-blockquote',
|
35 |
+
] )
|
36 |
+
|
37 |
return (
|
38 |
<Fragment>
|
39 |
<blockquote
|
40 |
+
className={ mainClasses }
|
41 |
style={ {
|
42 |
'--quote-color': quoteColor
|
43 |
} }>
|
75 |
|
76 |
export const save = ( props ) => {
|
77 |
|
78 |
+
const { className } = props
|
79 |
const { color, text, quoteColor } = props.attributes
|
80 |
|
81 |
+
const mainClasses = classnames( [
|
82 |
+
className,
|
83 |
+
'ugb-blockquote',
|
84 |
+
] )
|
85 |
+
|
86 |
return (
|
87 |
<blockquote
|
88 |
+
className={ mainClasses }
|
89 |
style={ { '--quote-color': quoteColor } }>
|
90 |
<RichText.Content
|
91 |
tagName="p"
|
src/block/button/button-edit.js
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import {
|
2 |
__,
|
3 |
RichText,
|
@@ -5,6 +6,7 @@ import {
|
|
5 |
|
6 |
function ButtonEdit( props ) {
|
7 |
const {
|
|
|
8 |
align = 'center',
|
9 |
size = 'normal',
|
10 |
color,
|
@@ -21,9 +23,16 @@ function ButtonEdit( props ) {
|
|
21 |
backgroundColor: backgroundColor ? backgroundColor : undefined,
|
22 |
}
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
return (
|
25 |
<span
|
26 |
-
className={
|
27 |
style={ style }
|
28 |
data-is-placeholder-visible={ RichText.isEmpty( text ) }>
|
29 |
<RichText
|
1 |
+
import classnames from 'classnames'
|
2 |
import {
|
3 |
__,
|
4 |
RichText,
|
6 |
|
7 |
function ButtonEdit( props ) {
|
8 |
const {
|
9 |
+
className = '',
|
10 |
align = 'center',
|
11 |
size = 'normal',
|
12 |
color,
|
23 |
backgroundColor: backgroundColor ? backgroundColor : undefined,
|
24 |
}
|
25 |
|
26 |
+
const mainClasses = classnames( [
|
27 |
+
className,
|
28 |
+
'ugb-button',
|
29 |
+
`ugb-button-${align}`,
|
30 |
+
`ugb-button-${size}`,
|
31 |
+
] )
|
32 |
+
|
33 |
return (
|
34 |
<span
|
35 |
+
className={ mainClasses }
|
36 |
style={ style }
|
37 |
data-is-placeholder-visible={ RichText.isEmpty( text ) }>
|
38 |
<RichText
|
src/block/button/button-save.js
CHANGED
@@ -1,7 +1,9 @@
|
|
|
|
1 |
import { RichText } from '../../wp-imports'
|
2 |
|
3 |
function ButtonSave( props ) {
|
4 |
const {
|
|
|
5 |
align = 'center',
|
6 |
size = 'normal',
|
7 |
url = '', color, text, backgroundColor, borderRadius } = props
|
@@ -9,10 +11,17 @@ function ButtonSave( props ) {
|
|
9 |
const style = {
|
10 |
borderRadius: borderRadius + 'px',
|
11 |
backgroundColor: backgroundColor ? backgroundColor : undefined,
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
return (
|
15 |
-
<div className={
|
16 |
<RichText.Content
|
17 |
tagName="a"
|
18 |
className={ `ugb-button-inner` }
|
1 |
+
import classnames from 'classnames'
|
2 |
import { RichText } from '../../wp-imports'
|
3 |
|
4 |
function ButtonSave( props ) {
|
5 |
const {
|
6 |
+
className = '',
|
7 |
align = 'center',
|
8 |
size = 'normal',
|
9 |
url = '', color, text, backgroundColor, borderRadius } = props
|
11 |
const style = {
|
12 |
borderRadius: borderRadius + 'px',
|
13 |
backgroundColor: backgroundColor ? backgroundColor : undefined,
|
14 |
+
}
|
15 |
+
|
16 |
+
const mainClasses = classnames( [
|
17 |
+
className,
|
18 |
+
'ugb-button',
|
19 |
+
`ugb-button-${align}`,
|
20 |
+
`ugb-button-${size}`,
|
21 |
+
] )
|
22 |
|
23 |
return (
|
24 |
+
<div className={ mainClasses } style={ style }>
|
25 |
<RichText.Content
|
26 |
tagName="a"
|
27 |
className={ `ugb-button-inner` }
|
src/block/button/index.js
CHANGED
@@ -8,10 +8,12 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { ButtonIcon } from '../../icons'
|
12 |
import { deprecatedSave_0_7, deprecatedSchema_0_7, deprecatedSchema_1_1, deprecatedSave_1_1 } from './deprecated'
|
13 |
import ButtonEdit from './button-edit'
|
14 |
import ButtonSave from './button-save'
|
|
|
15 |
import DesignPanelBody from '../../components/design-panel-body'
|
16 |
import DesignPanelItem from '../../components/design-panel-item'
|
17 |
import DisplayLogic from '../../components/display-logic'
|
@@ -42,16 +44,15 @@ export const edit = ( props ) => {
|
|
42 |
|
43 |
const { url, text, color, textColor, size, align, cornerButtonRadius, design } = props.attributes;
|
44 |
|
45 |
-
const
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
{ value: 'large', label: __( 'Large' ) },
|
50 |
-
];
|
51 |
|
52 |
const defaultEditDesign = (
|
53 |
<ButtonEdit
|
54 |
onChange={ (text) => setAttributes( { text } ) }
|
|
|
55 |
align={ align } size={ size } backgroundColor={ color } color={ textColor } text={ text } borderRadius={ cornerButtonRadius } />
|
56 |
)
|
57 |
|
@@ -81,40 +82,17 @@ export const edit = ( props ) => {
|
|
81 |
/>
|
82 |
</InspectorControls>
|
83 |
<InspectorControls>
|
84 |
-
<
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
label={ __( 'Corner Radius' ) }
|
96 |
-
value={ cornerButtonRadius }
|
97 |
-
min='1'
|
98 |
-
max='50'
|
99 |
-
onChange={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
|
100 |
-
/>
|
101 |
-
</PanelBody>
|
102 |
-
<PanelColorSettings
|
103 |
-
title={ __( 'Color Settings' ) }
|
104 |
-
colorSettings={ [
|
105 |
-
{
|
106 |
-
value: color,
|
107 |
-
onChange: ( colorValue ) => setAttributes( { color: colorValue } ),
|
108 |
-
label: __( 'Background Color' ),
|
109 |
-
},
|
110 |
-
{
|
111 |
-
value: textColor,
|
112 |
-
onChange: ( colorValue ) => setAttributes( { textColor: colorValue } ),
|
113 |
-
label: __( 'Text Color' ),
|
114 |
-
},
|
115 |
-
] }
|
116 |
-
>
|
117 |
-
</PanelColorSettings>
|
118 |
</InspectorControls>
|
119 |
{ editDesign }
|
120 |
{ isSelected && (
|
@@ -139,9 +117,15 @@ export const edit = ( props ) => {
|
|
139 |
|
140 |
export const save = ( props ) => {
|
141 |
|
|
|
142 |
const { url, text, align, color, textColor, size, cornerButtonRadius, design } = props.attributes;
|
143 |
|
144 |
-
const
|
|
|
|
|
|
|
|
|
|
|
145 |
|
146 |
return applyFilters( 'stackable.designs.button.save', saved, design, props );
|
147 |
}
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { ButtonIcon } from '../../icons'
|
13 |
import { deprecatedSave_0_7, deprecatedSchema_0_7, deprecatedSchema_1_1, deprecatedSave_1_1 } from './deprecated'
|
14 |
import ButtonEdit from './button-edit'
|
15 |
import ButtonSave from './button-save'
|
16 |
+
import PanelButtonSettings from '../../components/panel-button-settings'
|
17 |
import DesignPanelBody from '../../components/design-panel-body'
|
18 |
import DesignPanelItem from '../../components/design-panel-item'
|
19 |
import DisplayLogic from '../../components/display-logic'
|
44 |
|
45 |
const { url, text, color, textColor, size, align, cornerButtonRadius, design } = props.attributes;
|
46 |
|
47 |
+
const mainClasses = classnames( [
|
48 |
+
className,
|
49 |
+
'ugb-button',
|
50 |
+
] )
|
|
|
|
|
51 |
|
52 |
const defaultEditDesign = (
|
53 |
<ButtonEdit
|
54 |
onChange={ (text) => setAttributes( { text } ) }
|
55 |
+
className={ mainClasses }
|
56 |
align={ align } size={ size } backgroundColor={ color } color={ textColor } text={ text } borderRadius={ cornerButtonRadius } />
|
57 |
)
|
58 |
|
82 |
/>
|
83 |
</InspectorControls>
|
84 |
<InspectorControls>
|
85 |
+
<PanelButtonSettings
|
86 |
+
initialOpen={ true }
|
87 |
+
buttonColor={ color }
|
88 |
+
buttonTextColor={ textColor }
|
89 |
+
buttonSize={ size }
|
90 |
+
buttonBorderRadius={ cornerButtonRadius }
|
91 |
+
onChangeButtonColor={ ( colorValue ) => setAttributes( { color: colorValue } ) }
|
92 |
+
onChangeButtonTextColor={ ( colorValue ) => setAttributes( { textColor: colorValue } ) }
|
93 |
+
onChangeButtonSize={ ( newSize ) => { setAttributes( { size: newSize } ) } }
|
94 |
+
onChangeButtonBorderRadius={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
|
95 |
+
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
</InspectorControls>
|
97 |
{ editDesign }
|
98 |
{ isSelected && (
|
117 |
|
118 |
export const save = ( props ) => {
|
119 |
|
120 |
+
const { className } = props
|
121 |
const { url, text, align, color, textColor, size, cornerButtonRadius, design } = props.attributes;
|
122 |
|
123 |
+
const mainClasses = classnames( [
|
124 |
+
className,
|
125 |
+
'ugb-button',
|
126 |
+
] )
|
127 |
+
|
128 |
+
const saved = <ButtonSave className={ mainClasses } align={ align } size={ size } url={ url } color={ textColor } text={ text } backgroundColor={ color } borderRadius={ cornerButtonRadius } />
|
129 |
|
130 |
return applyFilters( 'stackable.designs.button.save', saved, design, props );
|
131 |
}
|
src/block/button/style.scss
CHANGED
@@ -18,16 +18,6 @@
|
|
18 |
/**
|
19 |
* Button link form styles.
|
20 |
*/
|
21 |
-
form.blocks-button__inline-link {
|
22 |
-
margin: 1rem auto 0 auto;
|
23 |
-
|
24 |
-
> div.editor-url-input {
|
25 |
-
flex-grow: 0;
|
26 |
-
width: auto;
|
27 |
-
margin-left: 8px;
|
28 |
-
}
|
29 |
-
}
|
30 |
-
|
31 |
.ugb-button {
|
32 |
@include baseBlock();
|
33 |
}
|
18 |
/**
|
19 |
* Button link form styles.
|
20 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
.ugb-button {
|
22 |
@include baseBlock();
|
23 |
}
|
src/block/call-to-action/index.js
CHANGED
@@ -9,9 +9,11 @@
|
|
9 |
// Import CSS.
|
10 |
import './style.scss';
|
11 |
import './editor.scss';
|
|
|
12 |
import { CTAIcon } from '../../icons'
|
13 |
import ButtonEdit from '../button/button-edit'
|
14 |
import ButtonSave from '../button/button-save'
|
|
|
15 |
import {
|
16 |
deprecatedSchema_1_1, deprecatedSave_1_1,
|
17 |
deprecatedSave_0_7,
|
@@ -56,36 +58,16 @@ export const edit = ( props ) => {
|
|
56 |
bgColor,
|
57 |
} = props.attributes;
|
58 |
|
59 |
-
const
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
{ value: 'large', label: __( 'Large' ) },
|
64 |
-
];
|
65 |
|
66 |
return (
|
67 |
<Fragment>
|
68 |
<InspectorControls>
|
69 |
-
<PanelBody>
|
70 |
-
<SelectControl
|
71 |
-
label={ __( 'Button Size' ) }
|
72 |
-
value={ size }
|
73 |
-
options={ linkOptions.map( ({ value, label }) => ( {
|
74 |
-
value: value,
|
75 |
-
label: label,
|
76 |
-
} ) ) }
|
77 |
-
onChange={ ( newSize ) => { setAttributes( { size: newSize } ) } }
|
78 |
-
/>
|
79 |
-
<RangeControl
|
80 |
-
label={ __( 'Button Border Radius' ) }
|
81 |
-
value={ borderButtonRadius }
|
82 |
-
min='1'
|
83 |
-
max='50'
|
84 |
-
onChange={ ( borderRad ) => setAttributes( { borderButtonRadius: borderRad } ) }
|
85 |
-
/>
|
86 |
-
</PanelBody>
|
87 |
<PanelColorSettings
|
88 |
-
initialOpen={
|
89 |
title={ __( 'Color Settings' ) }
|
90 |
colorSettings={ [
|
91 |
{
|
@@ -106,24 +88,19 @@ export const edit = ( props ) => {
|
|
106 |
] }
|
107 |
>
|
108 |
</PanelColorSettings>
|
109 |
-
<
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
label: __( 'Button Text Color' ),
|
121 |
-
},
|
122 |
-
] }
|
123 |
-
>
|
124 |
-
</PanelColorSettings>
|
125 |
</InspectorControls>
|
126 |
-
<div className={
|
127 |
<RichText
|
128 |
className={ 'ugb-cta-title' }
|
129 |
tagName={ 'h3' }
|
@@ -172,6 +149,7 @@ export const edit = ( props ) => {
|
|
172 |
|
173 |
export const save = ( props ) => {
|
174 |
|
|
|
175 |
const {
|
176 |
url,
|
177 |
buttonText,
|
@@ -186,12 +164,17 @@ export const save = ( props ) => {
|
|
186 |
bgColor,
|
187 |
} = props.attributes;
|
188 |
|
|
|
|
|
|
|
|
|
|
|
189 |
return (
|
190 |
-
<div className={
|
191 |
{ ctaTitle && !! ctaTitle.length && (
|
192 |
<RichText.Content
|
193 |
tagName="h3"
|
194 |
-
className=
|
195 |
style={ { color: titleColor } }
|
196 |
value={ ctaTitle }
|
197 |
/>
|
@@ -199,7 +182,7 @@ export const save = ( props ) => {
|
|
199 |
{ bodyText && !! bodyText.length && (
|
200 |
<RichText.Content
|
201 |
tagName="p"
|
202 |
-
className=
|
203 |
style={ { color: bodyTextColor } }
|
204 |
value={ bodyText }
|
205 |
/>
|
9 |
// Import CSS.
|
10 |
import './style.scss';
|
11 |
import './editor.scss';
|
12 |
+
import classnames from 'classnames'
|
13 |
import { CTAIcon } from '../../icons'
|
14 |
import ButtonEdit from '../button/button-edit'
|
15 |
import ButtonSave from '../button/button-save'
|
16 |
+
import PanelButtonSettings from '../../components/panel-button-settings'
|
17 |
import {
|
18 |
deprecatedSchema_1_1, deprecatedSave_1_1,
|
19 |
deprecatedSave_0_7,
|
58 |
bgColor,
|
59 |
} = props.attributes;
|
60 |
|
61 |
+
const mainClasses = classnames( [
|
62 |
+
className,
|
63 |
+
'ugb-cta',
|
64 |
+
] )
|
|
|
|
|
65 |
|
66 |
return (
|
67 |
<Fragment>
|
68 |
<InspectorControls>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
<PanelColorSettings
|
70 |
+
initialOpen={ true }
|
71 |
title={ __( 'Color Settings' ) }
|
72 |
colorSettings={ [
|
73 |
{
|
88 |
] }
|
89 |
>
|
90 |
</PanelColorSettings>
|
91 |
+
<PanelButtonSettings
|
92 |
+
initialOpen={ false }
|
93 |
+
buttonColor={ color }
|
94 |
+
buttonTextColor={ textColor }
|
95 |
+
buttonSize={ size }
|
96 |
+
buttonBorderRadius={ borderButtonRadius }
|
97 |
+
onChangeButtonColor={ ( value ) => setAttributes( { color: value } ) }
|
98 |
+
onChangeButtonTextColor={ ( value ) => setAttributes( { textColor: value } ) }
|
99 |
+
onChangeButtonSize={ ( value ) => { setAttributes( { size: value } ) } }
|
100 |
+
onChangeButtonBorderRadius={ ( value ) => setAttributes( { borderButtonRadius: value } ) }
|
101 |
+
/>
|
|
|
|
|
|
|
|
|
|
|
102 |
</InspectorControls>
|
103 |
+
<div className={ mainClasses } style={ { backgroundColor: bgColor } }>
|
104 |
<RichText
|
105 |
className={ 'ugb-cta-title' }
|
106 |
tagName={ 'h3' }
|
149 |
|
150 |
export const save = ( props ) => {
|
151 |
|
152 |
+
const { className } = props
|
153 |
const {
|
154 |
url,
|
155 |
buttonText,
|
164 |
bgColor,
|
165 |
} = props.attributes;
|
166 |
|
167 |
+
const mainClasses = classnames( [
|
168 |
+
className,
|
169 |
+
'ugb-cta',
|
170 |
+
] )
|
171 |
+
|
172 |
return (
|
173 |
+
<div className={ mainClasses } style={ { backgroundColor: bgColor } }>
|
174 |
{ ctaTitle && !! ctaTitle.length && (
|
175 |
<RichText.Content
|
176 |
tagName="h3"
|
177 |
+
className='ugb-cta-title'
|
178 |
style={ { color: titleColor } }
|
179 |
value={ ctaTitle }
|
180 |
/>
|
182 |
{ bodyText && !! bodyText.length && (
|
183 |
<RichText.Content
|
184 |
tagName="p"
|
185 |
+
className='ugb-cta-bodyText'
|
186 |
style={ { color: bodyTextColor } }
|
187 |
value={ bodyText }
|
188 |
/>
|
src/block/card/index.js
CHANGED
@@ -8,9 +8,11 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { TeamMemberIcon } from '../../icons'
|
12 |
import ButtonEdit from '../button/button-edit'
|
13 |
import ButtonSave from '../button/button-save'
|
|
|
14 |
import {
|
15 |
deprecatedSave_1_1, deprecatedSchema_1_1,
|
16 |
deprecatedSave_0_7, deprecatedSchema_0_7,
|
@@ -64,14 +66,12 @@ export const edit = ( props ) => {
|
|
64 |
contentAlign
|
65 |
} = props.attributes;
|
66 |
|
67 |
-
const
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
{ value: 'large', label: __( 'Large' ) },
|
74 |
-
];
|
75 |
|
76 |
return (
|
77 |
<Fragment>
|
@@ -118,46 +118,19 @@ export const edit = ( props ) => {
|
|
118 |
] }
|
119 |
>
|
120 |
</PanelColorSettings>
|
121 |
-
<
|
122 |
-
initialOpen={ false }
|
123 |
-
title={ __( 'Button Size' ) }
|
124 |
-
>
|
125 |
-
<SelectControl
|
126 |
-
label={ __( 'Button Size' ) }
|
127 |
-
value={ size }
|
128 |
-
options={ buttonSizes.map( ({ value, label }) => ( {
|
129 |
-
value: value,
|
130 |
-
label: label,
|
131 |
-
} ) ) }
|
132 |
-
onChange={ ( newSize ) => { setAttributes( { size: newSize } ) } }
|
133 |
-
/>
|
134 |
-
<RangeControl
|
135 |
-
label={ __( 'Corner Radius' ) }
|
136 |
-
value={ cornerButtonRadius }
|
137 |
-
min='1'
|
138 |
-
max='50'
|
139 |
-
onChange={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
|
140 |
-
/>
|
141 |
-
</PanelBody>
|
142 |
-
<PanelColorSettings
|
143 |
initialOpen={ false }
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
onChange: ( colorValue ) => setAttributes( { buttonTextColor: colorValue } ),
|
154 |
-
label: __( 'Button Text Color' ),
|
155 |
-
},
|
156 |
-
] }
|
157 |
-
>
|
158 |
-
</PanelColorSettings>
|
159 |
</InspectorControls>
|
160 |
-
<div className={
|
161 |
<div className='ugb-card-image-container' style={{ backgroundImage: `url(${mediaURL})`, textAlign: contentAlign }}>
|
162 |
<MediaUpload
|
163 |
onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
|
@@ -238,6 +211,7 @@ export const edit = ( props ) => {
|
|
238 |
|
239 |
export const save = ( props ) => {
|
240 |
|
|
|
241 |
const {
|
242 |
heading,
|
243 |
tagline,
|
@@ -256,10 +230,15 @@ export const save = ( props ) => {
|
|
256 |
contentAlign
|
257 |
} = props.attributes;
|
258 |
|
259 |
-
const
|
|
|
|
|
|
|
|
|
|
|
260 |
|
261 |
return (
|
262 |
-
<div className={
|
263 |
{ mediaURL && <div className="ugb-card-image-container" style={{ backgroundImage: `url(${mediaURL})`, textAlign: contentAlign }} data-src={mediaURL}></div> }
|
264 |
{ ! RichText.isEmpty( heading ) && (
|
265 |
<RichText.Content
|
@@ -271,7 +250,7 @@ export const save = ( props ) => {
|
|
271 |
{ ! RichText.isEmpty( tagline ) && (
|
272 |
<RichText.Content
|
273 |
tagName="p"
|
274 |
-
className=
|
275 |
style={ { color: taglineColor, textAlign: contentAlign } }
|
276 |
value={ tagline }
|
277 |
/>
|
@@ -279,7 +258,7 @@ export const save = ( props ) => {
|
|
279 |
{ ! RichText.isEmpty( des ) && (
|
280 |
<RichText.Content
|
281 |
tagName="p"
|
282 |
-
className=
|
283 |
style={ { color: desColor, textAlign: contentAlign } }
|
284 |
value={ des }
|
285 |
/>
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
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,
|
66 |
contentAlign
|
67 |
} = props.attributes;
|
68 |
|
69 |
+
const mainClasses = classnames( [
|
70 |
+
className,
|
71 |
+
'ugb-card',
|
72 |
+
], {
|
73 |
+
'has-image': mediaURL,
|
74 |
+
} )
|
|
|
|
|
75 |
|
76 |
return (
|
77 |
<Fragment>
|
118 |
] }
|
119 |
>
|
120 |
</PanelColorSettings>
|
121 |
+
<PanelButtonSettings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
initialOpen={ false }
|
123 |
+
buttonColor={ buttonColor }
|
124 |
+
buttonTextColor={ buttonTextColor }
|
125 |
+
buttonSize={ size }
|
126 |
+
buttonBorderRadius={ cornerButtonRadius }
|
127 |
+
onChangeButtonColor={ ( value ) => setAttributes( { buttonColor: value } ) }
|
128 |
+
onChangeButtonTextColor={ ( value ) => setAttributes( { buttonTextColor: value } ) }
|
129 |
+
onChangeButtonSize={ ( value ) => { setAttributes( { size: value } ) } }
|
130 |
+
onChangeButtonBorderRadius={ ( value ) => setAttributes( { cornerButtonRadius: value } ) }
|
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 } ) }
|
211 |
|
212 |
export const save = ( props ) => {
|
213 |
|
214 |
+
const { className } = props
|
215 |
const {
|
216 |
heading,
|
217 |
tagline,
|
230 |
contentAlign
|
231 |
} = props.attributes;
|
232 |
|
233 |
+
const mainClasses = classnames( [
|
234 |
+
className,
|
235 |
+
'ugb-card',
|
236 |
+
], {
|
237 |
+
'has-image': mediaURL,
|
238 |
+
} )
|
239 |
|
240 |
return (
|
241 |
+
<div className={ mainClasses }>
|
242 |
{ mediaURL && <div className="ugb-card-image-container" style={{ backgroundImage: `url(${mediaURL})`, textAlign: contentAlign }} data-src={mediaURL}></div> }
|
243 |
{ ! RichText.isEmpty( heading ) && (
|
244 |
<RichText.Content
|
250 |
{ ! RichText.isEmpty( tagline ) && (
|
251 |
<RichText.Content
|
252 |
tagName="p"
|
253 |
+
className='ugb-tagline'
|
254 |
style={ { color: taglineColor, textAlign: contentAlign } }
|
255 |
value={ tagline }
|
256 |
/>
|
258 |
{ ! RichText.isEmpty( des ) && (
|
259 |
<RichText.Content
|
260 |
tagName="p"
|
261 |
+
className='ugb-card-des'
|
262 |
style={ { color: desColor, textAlign: contentAlign } }
|
263 |
value={ des }
|
264 |
/>
|
src/block/count-up/index.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { NumberBoxIcon } from '../../icons'
|
12 |
|
13 |
import {
|
@@ -27,9 +28,14 @@ export const edit = ( props ) => {
|
|
27 |
|
28 |
const { color, headingColor, desColor, title, counter, des, fontSize } = props.attributes
|
29 |
|
|
|
|
|
|
|
|
|
|
|
30 |
return (
|
31 |
<Fragment>
|
32 |
-
<div className={
|
33 |
<RichText
|
34 |
tagName={ 'h4' }
|
35 |
value={ title }
|
@@ -96,10 +102,16 @@ export const edit = ( props ) => {
|
|
96 |
|
97 |
export const save = ( props ) => {
|
98 |
|
|
|
99 |
const { color, headingColor, desColor, title, counter, des, fontSize } = props.attributes
|
100 |
|
|
|
|
|
|
|
|
|
|
|
101 |
return (
|
102 |
-
<div className={
|
103 |
<RichText.Content
|
104 |
tagName="h4"
|
105 |
style={ { color: headingColor } }
|
@@ -107,7 +119,7 @@ export const save = ( props ) => {
|
|
107 |
/>
|
108 |
<RichText.Content
|
109 |
tagName="div"
|
110 |
-
className=
|
111 |
style={ { color: color, fontSize: fontSize + 'px' } }
|
112 |
value={ counter }
|
113 |
data-duration="1000"
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { NumberBoxIcon } from '../../icons'
|
13 |
|
14 |
import {
|
28 |
|
29 |
const { color, headingColor, desColor, title, counter, des, fontSize } = props.attributes
|
30 |
|
31 |
+
const mainClasses = classnames( [
|
32 |
+
className,
|
33 |
+
'ugb-countup',
|
34 |
+
] )
|
35 |
+
|
36 |
return (
|
37 |
<Fragment>
|
38 |
+
<div className={ mainClasses }>
|
39 |
<RichText
|
40 |
tagName={ 'h4' }
|
41 |
value={ title }
|
102 |
|
103 |
export const save = ( props ) => {
|
104 |
|
105 |
+
const { className } = props
|
106 |
const { color, headingColor, desColor, title, counter, des, fontSize } = props.attributes
|
107 |
|
108 |
+
const mainClasses = classnames( [
|
109 |
+
className,
|
110 |
+
'ugb-countup',
|
111 |
+
] )
|
112 |
+
|
113 |
return (
|
114 |
+
<div className={ mainClasses }>
|
115 |
<RichText.Content
|
116 |
tagName="h4"
|
117 |
style={ { color: headingColor } }
|
119 |
/>
|
120 |
<RichText.Content
|
121 |
tagName="div"
|
122 |
+
className='ugb-counter'
|
123 |
style={ { color: color, fontSize: fontSize + 'px' } }
|
124 |
value={ counter }
|
125 |
data-duration="1000"
|
src/block/divider/index.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { DividerIcon } from '../../icons';
|
12 |
|
13 |
import {
|
@@ -24,19 +25,29 @@ import {
|
|
24 |
|
25 |
export const save = ( props ) => {
|
26 |
|
|
|
27 |
const { height, width, color, alignment } = props.attributes
|
28 |
|
|
|
|
|
|
|
|
|
|
|
29 |
return (
|
30 |
-
<div className={
|
31 |
);
|
32 |
}
|
33 |
|
34 |
export const edit = ( props ) => {
|
35 |
|
36 |
-
const { isSelected } = props;
|
37 |
-
|
38 |
const { height, width, color, alignment } = props.attributes;
|
39 |
|
|
|
|
|
|
|
|
|
|
|
40 |
return (
|
41 |
<Fragment>
|
42 |
<BlockControls>
|
@@ -81,7 +92,7 @@ export const edit = ( props ) => {
|
|
81 |
>
|
82 |
</PanelColorSettings>
|
83 |
</InspectorControls>
|
84 |
-
<div className={
|
85 |
<hr align={alignment} style={{marginTop: 0, marginBottom: 0, backgroundColor:color, width:width + '%', height:height}} />
|
86 |
</div>
|
87 |
</Fragment>
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { DividerIcon } from '../../icons';
|
13 |
|
14 |
import {
|
25 |
|
26 |
export const save = ( props ) => {
|
27 |
|
28 |
+
const { className } = props
|
29 |
const { height, width, color, alignment } = props.attributes
|
30 |
|
31 |
+
const mainClasses = classnames( [
|
32 |
+
className,
|
33 |
+
'ugb-divider',
|
34 |
+
] )
|
35 |
+
|
36 |
return (
|
37 |
+
<div className={ mainClasses }><hr align={alignment} style={{backgroundColor:color, width:width + '%', height:height}} /></div>
|
38 |
);
|
39 |
}
|
40 |
|
41 |
export const edit = ( props ) => {
|
42 |
|
43 |
+
const { isSelected, className } = props;
|
|
|
44 |
const { height, width, color, alignment } = props.attributes;
|
45 |
|
46 |
+
const mainClasses = classnames( [
|
47 |
+
className,
|
48 |
+
'ugb-divider',
|
49 |
+
] )
|
50 |
+
|
51 |
return (
|
52 |
<Fragment>
|
53 |
<BlockControls>
|
92 |
>
|
93 |
</PanelColorSettings>
|
94 |
</InspectorControls>
|
95 |
+
<div className={ mainClasses } style={{ paddingTop: 8, paddingBottom: 8 }}>
|
96 |
<hr align={alignment} style={{marginTop: 0, marginBottom: 0, backgroundColor:color, width:width + '%', height:height}} />
|
97 |
</div>
|
98 |
</Fragment>
|
src/block/expand/deprecated.js
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import {
|
2 |
+
__,
|
3 |
+
RichText,
|
4 |
+
} from '../../wp-imports'
|
5 |
+
|
6 |
+
export const deprecatedSchema_1_3 = {
|
7 |
+
text: {
|
8 |
+
source: 'html',
|
9 |
+
selector: '.ugb-expand-less-text',
|
10 |
+
multiline: 'p',
|
11 |
+
default: '',
|
12 |
+
},
|
13 |
+
moreText: {
|
14 |
+
source: 'html',
|
15 |
+
selector: '.ugb-expand-more-text',
|
16 |
+
multiline: 'p',
|
17 |
+
default: '',
|
18 |
+
},
|
19 |
+
|
20 |
+
// Single lines.
|
21 |
+
moreLabel: {
|
22 |
+
source: 'html',
|
23 |
+
selector: '.ugb-expand-more',
|
24 |
+
default: __( 'Show more' ),
|
25 |
+
},
|
26 |
+
lessLabel: {
|
27 |
+
source: 'html',
|
28 |
+
selector: '.ugb-expand-less',
|
29 |
+
default: __( 'Show less' ),
|
30 |
+
},
|
31 |
+
}
|
32 |
+
|
33 |
+
export const deprecatedSave_1_3 = ( props ) => {
|
34 |
+
|
35 |
+
const {
|
36 |
+
text,
|
37 |
+
moreLabel,
|
38 |
+
moreText,
|
39 |
+
lessLabel,
|
40 |
+
} = props.attributes
|
41 |
+
|
42 |
+
return (
|
43 |
+
<div>
|
44 |
+
<div className="ugb-expand-less-text">
|
45 |
+
{ ! RichText.isEmpty( text ) && (
|
46 |
+
<RichText.Content
|
47 |
+
multiline="p"
|
48 |
+
value={ text }
|
49 |
+
/>
|
50 |
+
) }
|
51 |
+
</div>
|
52 |
+
<div className='ugb-expand-more-text' style={ { display: 'none' } }>
|
53 |
+
{ ! RichText.isEmpty( moreText ) && (
|
54 |
+
<RichText.Content
|
55 |
+
multiline="p"
|
56 |
+
value={ moreText }
|
57 |
+
/>
|
58 |
+
) }
|
59 |
+
</div>
|
60 |
+
<a className='ugb-expand-button' href="#">
|
61 |
+
<RichText.Content
|
62 |
+
className='ugb-expand-more'
|
63 |
+
tagName="span"
|
64 |
+
value={ moreLabel }
|
65 |
+
/>
|
66 |
+
<RichText.Content
|
67 |
+
className='ugb-expand-less'
|
68 |
+
tagName="span"
|
69 |
+
value={ lessLabel }
|
70 |
+
style={ { display: 'none' } }
|
71 |
+
/>
|
72 |
+
</a>
|
73 |
+
</div>
|
74 |
+
)
|
75 |
+
}
|
src/block/expand/index.js
CHANGED
@@ -8,7 +8,11 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { ExpandIcon } from '../../icons'
|
|
|
|
|
|
|
12 |
|
13 |
import {
|
14 |
registerBlockType,
|
@@ -36,10 +40,15 @@ export const edit = ( props ) => {
|
|
36 |
lessLabel,
|
37 |
} = props.attributes
|
38 |
|
|
|
|
|
|
|
|
|
|
|
39 |
return (
|
40 |
<Fragment>
|
41 |
-
<div className={
|
42 |
-
{ isSelected && <label className="ugb-editor-label">Less text</label> }
|
43 |
<RichText
|
44 |
multiline='p'
|
45 |
placeholder={ props.attributes.text.default }
|
@@ -57,7 +66,7 @@ export const edit = ( props ) => {
|
|
57 |
className={`ugb-expand-more`}
|
58 |
placeholder={ __( 'Show more' ) }
|
59 |
/>
|
60 |
-
{ isSelected && <label className="ugb-editor-label">More text</label> }
|
61 |
{
|
62 |
isSelected &&
|
63 |
<RichText
|
@@ -87,6 +96,7 @@ export const edit = ( props ) => {
|
|
87 |
|
88 |
export const save = ( props ) => {
|
89 |
|
|
|
90 |
const {
|
91 |
text,
|
92 |
moreLabel,
|
@@ -94,8 +104,13 @@ export const save = ( props ) => {
|
|
94 |
lessLabel,
|
95 |
} = props.attributes
|
96 |
|
|
|
|
|
|
|
|
|
|
|
97 |
return (
|
98 |
-
<div>
|
99 |
<div className="ugb-expand-less-text">
|
100 |
{ ! RichText.isEmpty( text ) && (
|
101 |
<RichText.Content
|
@@ -129,6 +144,31 @@ export const save = ( props ) => {
|
|
129 |
)
|
130 |
}
|
131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
/**
|
134 |
* Register: aa Gutenberg Block.
|
@@ -152,34 +192,14 @@ registerBlockType( 'ugb/expand', {
|
|
152 |
__( 'Show more/less' ),
|
153 |
__( 'Stackable' ),
|
154 |
],
|
155 |
-
attributes:
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
},
|
164 |
-
moreText: {
|
165 |
-
source: 'html',
|
166 |
-
selector: '.ugb-expand-more-text',
|
167 |
-
multiline: 'p',
|
168 |
-
default: '',
|
169 |
-
},
|
170 |
-
|
171 |
-
// Single lines.
|
172 |
-
moreLabel: {
|
173 |
-
source: 'html',
|
174 |
-
selector: '.ugb-expand-more',
|
175 |
-
default: __( 'Show more' ),
|
176 |
-
},
|
177 |
-
lessLabel: {
|
178 |
-
source: 'html',
|
179 |
-
selector: '.ugb-expand-less',
|
180 |
-
default: __( 'Show less' ),
|
181 |
-
},
|
182 |
-
},
|
183 |
|
184 |
// The "edit" property must be a valid function.
|
185 |
edit: edit,
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { ExpandIcon } from '../../icons'
|
13 |
+
import {
|
14 |
+
deprecatedSchema_1_3, deprecatedSave_1_3,
|
15 |
+
} from './deprecated'
|
16 |
|
17 |
import {
|
18 |
registerBlockType,
|
40 |
lessLabel,
|
41 |
} = props.attributes
|
42 |
|
43 |
+
const mainClasses = classnames( [
|
44 |
+
className,
|
45 |
+
'ugb-expand',
|
46 |
+
] )
|
47 |
+
|
48 |
return (
|
49 |
<Fragment>
|
50 |
+
<div className={ mainClasses }>
|
51 |
+
{ isSelected && <label className="ugb-editor-label">{ __( 'Less text' ) }</label> }
|
52 |
<RichText
|
53 |
multiline='p'
|
54 |
placeholder={ props.attributes.text.default }
|
66 |
className={`ugb-expand-more`}
|
67 |
placeholder={ __( 'Show more' ) }
|
68 |
/>
|
69 |
+
{ isSelected && <label className="ugb-editor-label">{ __( 'More text' ) }</label> }
|
70 |
{
|
71 |
isSelected &&
|
72 |
<RichText
|
96 |
|
97 |
export const save = ( props ) => {
|
98 |
|
99 |
+
const { className } = props
|
100 |
const {
|
101 |
text,
|
102 |
moreLabel,
|
104 |
lessLabel,
|
105 |
} = props.attributes
|
106 |
|
107 |
+
const mainClasses = classnames( [
|
108 |
+
className,
|
109 |
+
'ugb-expand',
|
110 |
+
] )
|
111 |
+
|
112 |
return (
|
113 |
+
<div className={ mainClasses }>
|
114 |
<div className="ugb-expand-less-text">
|
115 |
{ ! RichText.isEmpty( text ) && (
|
116 |
<RichText.Content
|
144 |
)
|
145 |
}
|
146 |
|
147 |
+
export const schema = {
|
148 |
+
text: {
|
149 |
+
source: 'html',
|
150 |
+
selector: '.ugb-expand-less-text',
|
151 |
+
multiline: 'p',
|
152 |
+
default: '',
|
153 |
+
},
|
154 |
+
moreText: {
|
155 |
+
source: 'html',
|
156 |
+
selector: '.ugb-expand-more-text',
|
157 |
+
multiline: 'p',
|
158 |
+
default: '',
|
159 |
+
},
|
160 |
+
moreLabel: {
|
161 |
+
source: 'html',
|
162 |
+
selector: '.ugb-expand-more',
|
163 |
+
default: __( 'Show more' ),
|
164 |
+
},
|
165 |
+
lessLabel: {
|
166 |
+
source: 'html',
|
167 |
+
selector: '.ugb-expand-less',
|
168 |
+
default: __( 'Show less' ),
|
169 |
+
},
|
170 |
+
}
|
171 |
+
|
172 |
|
173 |
/**
|
174 |
* Register: aa Gutenberg Block.
|
192 |
__( 'Show more/less' ),
|
193 |
__( 'Stackable' ),
|
194 |
],
|
195 |
+
attributes: schema,
|
196 |
+
|
197 |
+
deprecated: [
|
198 |
+
{
|
199 |
+
attributes: deprecatedSchema_1_3,
|
200 |
+
save: deprecatedSave_1_3,
|
201 |
+
},
|
202 |
+
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
|
204 |
// The "edit" property must be a valid function.
|
205 |
edit: edit,
|
src/block/feature-grid/index.js
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
|
5 |
import './style.scss';
|
6 |
import './editor.scss';
|
|
|
7 |
import { FeatureGridIcon } from '../../icons'
|
8 |
import { range } from '../../util'
|
9 |
|
@@ -38,6 +39,12 @@ export const edit = ( props ) => {
|
|
38 |
imageSize,
|
39 |
} = attributes;
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
return (
|
42 |
<Fragment>
|
43 |
<InspectorControls>
|
@@ -58,7 +65,7 @@ export const edit = ( props ) => {
|
|
58 |
/>
|
59 |
</PanelBody>
|
60 |
</InspectorControls>
|
61 |
-
<div className={
|
62 |
{ [1, 2, 3].map( i => {
|
63 |
const imageUrl = attributes[ `imageUrl${i}` ]
|
64 |
const imageID = attributes[ `imageID${i}` ]
|
@@ -141,14 +148,20 @@ export const edit = ( props ) => {
|
|
141 |
|
142 |
export const save = ( props ) => {
|
143 |
|
144 |
-
const { attributes } = props
|
145 |
const {
|
146 |
columns,
|
147 |
imageSize,
|
148 |
} = attributes;
|
149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
return (
|
151 |
-
<div className={
|
152 |
{ range( 1, columns + 1 ).map( i => {
|
153 |
const imageUrl = attributes[ `imageUrl${i}` ]
|
154 |
const title = attributes[ `title${i}` ]
|
4 |
|
5 |
import './style.scss';
|
6 |
import './editor.scss';
|
7 |
+
import classnames from 'classnames'
|
8 |
import { FeatureGridIcon } from '../../icons'
|
9 |
import { range } from '../../util'
|
10 |
|
39 |
imageSize,
|
40 |
} = attributes;
|
41 |
|
42 |
+
const mainClasses = classnames( [
|
43 |
+
className,
|
44 |
+
'ugb-feature-grid',
|
45 |
+
`columns-${columns}`,
|
46 |
+
] )
|
47 |
+
|
48 |
return (
|
49 |
<Fragment>
|
50 |
<InspectorControls>
|
65 |
/>
|
66 |
</PanelBody>
|
67 |
</InspectorControls>
|
68 |
+
<div className={ mainClasses }>
|
69 |
{ [1, 2, 3].map( i => {
|
70 |
const imageUrl = attributes[ `imageUrl${i}` ]
|
71 |
const imageID = attributes[ `imageID${i}` ]
|
148 |
|
149 |
export const save = ( props ) => {
|
150 |
|
151 |
+
const { attributes, className } = props
|
152 |
const {
|
153 |
columns,
|
154 |
imageSize,
|
155 |
} = attributes;
|
156 |
|
157 |
+
const mainClasses = classnames( [
|
158 |
+
className,
|
159 |
+
'ugb-feature-grid',
|
160 |
+
`columns-${columns}`,
|
161 |
+
] )
|
162 |
+
|
163 |
return (
|
164 |
+
<div className={ mainClasses }>
|
165 |
{ range( 1, columns + 1 ).map( i => {
|
166 |
const imageUrl = attributes[ `imageUrl${i}` ]
|
167 |
const title = attributes[ `title${i}` ]
|
src/block/feature-grid/style.scss
CHANGED
@@ -6,11 +6,10 @@
|
|
6 |
.ugb-feature-grid {
|
7 |
@include baseBlock();
|
8 |
display: flex;
|
9 |
-
flex-wrap:
|
10 |
margin: 0 (-$box-hori-padding / 2);
|
11 |
> div {
|
12 |
flex: 1;
|
13 |
-
min-width: 250px;
|
14 |
&, &:first-child, &:last-child {
|
15 |
margin: ($box-hori-padding / 2) !important;
|
16 |
}
|
@@ -20,4 +19,23 @@
|
|
20 |
@include baseBlock();
|
21 |
@include box();
|
22 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
6 |
.ugb-feature-grid {
|
7 |
@include baseBlock();
|
8 |
display: flex;
|
9 |
+
flex-wrap: nowrap;
|
10 |
margin: 0 (-$box-hori-padding / 2);
|
11 |
> div {
|
12 |
flex: 1;
|
|
|
13 |
&, &:first-child, &:last-child {
|
14 |
margin: ($box-hori-padding / 2) !important;
|
15 |
}
|
19 |
@include baseBlock();
|
20 |
@include box();
|
21 |
}
|
22 |
+
}
|
23 |
+
|
24 |
+
// For 3 columns, make sure the images are still seen if columns are narrow.
|
25 |
+
@media screen and (max-width: $break-large) {
|
26 |
+
.ugb-feature-grid.columns-3 {
|
27 |
+
.ugb-feature-grid-item > img {
|
28 |
+
width: 100% !important;
|
29 |
+
}
|
30 |
+
}
|
31 |
+
}
|
32 |
+
|
33 |
+
// For small screens, collapse & make sure our images aren't too large.
|
34 |
+
@media screen and (max-width: $break-small) {
|
35 |
+
.ugb-feature-grid-item > img {
|
36 |
+
max-width: 30vw;
|
37 |
+
}
|
38 |
+
.ugb-feature-grid {
|
39 |
+
flex-direction: column;
|
40 |
+
}
|
41 |
}
|
src/block/feature/index.js
CHANGED
@@ -8,6 +8,7 @@ import classnames from 'classnames'
|
|
8 |
import { FeatureIcon } from '../../icons'
|
9 |
import ButtonEdit from '../button/button-edit'
|
10 |
import ButtonSave from '../button/button-save'
|
|
|
11 |
|
12 |
import {
|
13 |
registerBlockType,
|
@@ -19,7 +20,6 @@ import {
|
|
19 |
InspectorControls,
|
20 |
PanelColorSettings,
|
21 |
RangeControl,
|
22 |
-
SelectControl,
|
23 |
RichText,
|
24 |
MediaUpload,
|
25 |
PanelBody,
|
@@ -111,41 +111,17 @@ export const edit = ( props ) => {
|
|
111 |
] }
|
112 |
>
|
113 |
</PanelColorSettings>
|
114 |
-
<
|
115 |
initialOpen={ false }
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
onChange: buttonTextColor => setAttributes( { buttonTextColor } ),
|
126 |
-
label: __( 'Text Color' ),
|
127 |
-
},
|
128 |
-
] }
|
129 |
-
>
|
130 |
-
<SelectControl
|
131 |
-
label={ __( 'Size' ) }
|
132 |
-
value={ buttonSize }
|
133 |
-
options={ [
|
134 |
-
{ value: 'small', label: __( 'Small' ) },
|
135 |
-
{ value: 'normal', label: __( 'Normal' ) },
|
136 |
-
{ value: 'medium', label: __( 'Medium' ) },
|
137 |
-
{ value: 'large', label: __( 'Large' ) },
|
138 |
-
] }
|
139 |
-
onChange={ buttonSize => { setAttributes( { buttonSize } ) } }
|
140 |
-
/>
|
141 |
-
<RangeControl
|
142 |
-
label={ __( 'Border Radius' ) }
|
143 |
-
value={ buttonBorderRadius }
|
144 |
-
min='1'
|
145 |
-
max='50'
|
146 |
-
onChange={ buttonBorderRadius => setAttributes( { buttonBorderRadius } ) }
|
147 |
-
/>
|
148 |
-
</PanelColorSettings>
|
149 |
</InspectorControls>
|
150 |
<div className={ mainClasses } style={ style }>
|
151 |
<div className='ugb-feature-wrapper'>
|
@@ -361,7 +337,7 @@ registerBlockType( 'ugb/feature', {
|
|
361 |
],
|
362 |
supports: {
|
363 |
align: true,
|
364 |
-
align: [ 'center', 'full' ],
|
365 |
},
|
366 |
attributes: schema,
|
367 |
|
8 |
import { FeatureIcon } from '../../icons'
|
9 |
import ButtonEdit from '../button/button-edit'
|
10 |
import ButtonSave from '../button/button-save'
|
11 |
+
import PanelButtonSettings from '../../components/panel-button-settings'
|
12 |
|
13 |
import {
|
14 |
registerBlockType,
|
20 |
InspectorControls,
|
21 |
PanelColorSettings,
|
22 |
RangeControl,
|
|
|
23 |
RichText,
|
24 |
MediaUpload,
|
25 |
PanelBody,
|
111 |
] }
|
112 |
>
|
113 |
</PanelColorSettings>
|
114 |
+
<PanelButtonSettings
|
115 |
initialOpen={ false }
|
116 |
+
buttonColor={ buttonColor }
|
117 |
+
buttonTextColor={ buttonTextColor }
|
118 |
+
buttonSize={ buttonSize }
|
119 |
+
buttonBorderRadius={ buttonBorderRadius }
|
120 |
+
onChangeButtonColor={ ( value ) => setAttributes( { buttonColor: value } ) }
|
121 |
+
onChangeButtonTextColor={ ( value ) => setAttributes( { buttonTextColor: value } ) }
|
122 |
+
onChangeButtonSize={ ( value ) => { setAttributes( { buttonSize: value } ) } }
|
123 |
+
onChangeButtonBorderRadius={ ( value ) => setAttributes( { buttonBorderRadius: value } ) }
|
124 |
+
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
</InspectorControls>
|
126 |
<div className={ mainClasses } style={ style }>
|
127 |
<div className='ugb-feature-wrapper'>
|
337 |
],
|
338 |
supports: {
|
339 |
align: true,
|
340 |
+
align: [ 'center', 'wide', 'full' ],
|
341 |
},
|
342 |
attributes: schema,
|
343 |
|
src/block/ghost-button/index.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { GhostButtonIcon } from '../../icons'
|
12 |
import { deprecatedSchema_0_7, deprecatedSave_0_7 } from './deprecated'
|
13 |
|
@@ -33,7 +34,8 @@ import {
|
|
33 |
export const edit = ( props ) => {
|
34 |
const {
|
35 |
isSelected,
|
36 |
-
setAttributes
|
|
|
37 |
} = props
|
38 |
|
39 |
const {
|
@@ -53,6 +55,14 @@ export const edit = ( props ) => {
|
|
53 |
{ value: 'large', label: __( 'Large' ) },
|
54 |
]
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
return (
|
57 |
<Fragment>
|
58 |
<BlockControls>
|
@@ -103,7 +113,7 @@ export const edit = ( props ) => {
|
|
103 |
</PanelColorSettings>
|
104 |
</InspectorControls>
|
105 |
<span
|
106 |
-
className={
|
107 |
style={ {
|
108 |
borderColor: color,
|
109 |
borderRadius: cornerButtonRadius + 'px',
|
@@ -143,6 +153,7 @@ export const edit = ( props ) => {
|
|
143 |
|
144 |
export const save = ( props ) => {
|
145 |
|
|
|
146 |
const {
|
147 |
url,
|
148 |
text,
|
@@ -159,8 +170,16 @@ export const save = ( props ) => {
|
|
159 |
borderWidth: borderThickness + 'px',
|
160 |
}
|
161 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
return (
|
163 |
-
<div className={
|
164 |
<RichText.Content
|
165 |
className='ugb-button-inner'
|
166 |
tagName="a"
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { GhostButtonIcon } from '../../icons'
|
13 |
import { deprecatedSchema_0_7, deprecatedSave_0_7 } from './deprecated'
|
14 |
|
34 |
export const edit = ( props ) => {
|
35 |
const {
|
36 |
isSelected,
|
37 |
+
setAttributes,
|
38 |
+
className,
|
39 |
} = props
|
40 |
|
41 |
const {
|
55 |
{ value: 'large', label: __( 'Large' ) },
|
56 |
]
|
57 |
|
58 |
+
const mainClasses = classnames( [
|
59 |
+
className,
|
60 |
+
`ugb-button`,
|
61 |
+
`ugb-ghost-button`,
|
62 |
+
`ugb-button-${align}`,
|
63 |
+
`ugb-button-${size}`,
|
64 |
+
] )
|
65 |
+
|
66 |
return (
|
67 |
<Fragment>
|
68 |
<BlockControls>
|
113 |
</PanelColorSettings>
|
114 |
</InspectorControls>
|
115 |
<span
|
116 |
+
className={ mainClasses }
|
117 |
style={ {
|
118 |
borderColor: color,
|
119 |
borderRadius: cornerButtonRadius + 'px',
|
153 |
|
154 |
export const save = ( props ) => {
|
155 |
|
156 |
+
const { className } = props
|
157 |
const {
|
158 |
url,
|
159 |
text,
|
170 |
borderWidth: borderThickness + 'px',
|
171 |
}
|
172 |
|
173 |
+
const mainClasses = classnames( [
|
174 |
+
className,
|
175 |
+
`ugb-button`,
|
176 |
+
`ugb-ghost-button`,
|
177 |
+
`ugb-button-${align}`,
|
178 |
+
`ugb-button-${size}`,
|
179 |
+
] )
|
180 |
+
|
181 |
return (
|
182 |
+
<div className={ mainClasses } style={ buttonStyle }>
|
183 |
<RichText.Content
|
184 |
className='ugb-button-inner'
|
185 |
tagName="a"
|
src/block/header/index.js
CHANGED
@@ -5,14 +5,13 @@
|
|
5 |
* Simple block, renders and saves the same content without any interactivity.
|
6 |
*/
|
7 |
|
8 |
-
import classnames from 'classnames';
|
9 |
-
|
10 |
-
// Import CSS.
|
11 |
import './style.scss';
|
12 |
import './editor.scss';
|
|
|
13 |
import { HeaderIcon } from '../../icons'
|
14 |
import ButtonEdit from '../button/button-edit'
|
15 |
import ButtonSave from '../button/button-save'
|
|
|
16 |
import {
|
17 |
deprecatedSave_1_1_2, deprecatedSchema_1_1_2,
|
18 |
deprecatedSave_1_1, deprecatedSchema_1_1,
|
@@ -67,23 +66,19 @@ export const edit = ( props ) => {
|
|
67 |
opacity,
|
68 |
} = props.attributes
|
69 |
|
70 |
-
const
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
{
|
77 |
-
'overlay-opacity': opacity !== 0,
|
78 |
-
}
|
79 |
-
);
|
80 |
|
81 |
-
const
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
|
88 |
return (
|
89 |
<Fragment>
|
@@ -120,22 +115,6 @@ export const edit = ( props ) => {
|
|
120 |
step={ 1 }
|
121 |
onChange={ ( ratio ) => setAttributes( { opacity: ratio } ) }
|
122 |
/>
|
123 |
-
<SelectControl
|
124 |
-
label={ __( 'Button Size' ) }
|
125 |
-
value={ size }
|
126 |
-
options={ buttonSizes.map( ({ value, label }) => ( {
|
127 |
-
value: value,
|
128 |
-
label: label,
|
129 |
-
} ) ) }
|
130 |
-
onChange={ ( newSize ) => { setAttributes( { size: newSize } ) } }
|
131 |
-
/>
|
132 |
-
<RangeControl
|
133 |
-
label={ __( 'Corner Radius' ) }
|
134 |
-
value={ cornerButtonRadius }
|
135 |
-
min='1'
|
136 |
-
max='50'
|
137 |
-
onChange={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
|
138 |
-
/>
|
139 |
</PanelBody>
|
140 |
<PanelColorSettings
|
141 |
initialOpen={ false }
|
@@ -159,26 +138,20 @@ export const edit = ( props ) => {
|
|
159 |
] }
|
160 |
>
|
161 |
</PanelColorSettings>
|
162 |
-
<
|
163 |
initialOpen={ false }
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
onChange: ( colorValue ) => setAttributes( { buttonTextColor: colorValue } ),
|
174 |
-
label: __( 'Button Text Color' ),
|
175 |
-
},
|
176 |
-
] }
|
177 |
-
>
|
178 |
-
</PanelColorSettings>
|
179 |
</InspectorControls>
|
180 |
-
<div className={
|
181 |
-
<div className={
|
182 |
style={ {
|
183 |
backgroundColor: backgroundColor,
|
184 |
} }
|
@@ -203,7 +176,9 @@ export const edit = ( props ) => {
|
|
203 |
/>
|
204 |
<section
|
205 |
data-url={ url }
|
206 |
-
style={
|
|
|
|
|
207 |
className={ 'ugb-header-section' }
|
208 |
>
|
209 |
<RichText
|
@@ -257,6 +232,7 @@ export const edit = ( props ) => {
|
|
257 |
|
258 |
export const save = ( props ) => {
|
259 |
|
|
|
260 |
const {
|
261 |
url,
|
262 |
buttonURL,
|
@@ -276,24 +252,29 @@ export const save = ( props ) => {
|
|
276 |
} = props.attributes
|
277 |
|
278 |
const style = {
|
279 |
-
backgroundImage: url ?
|
280 |
textAlign: contentAlign ? contentAlign : undefined,
|
281 |
}
|
282 |
|
283 |
-
const
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
|
292 |
-
const
|
|
|
|
|
|
|
|
|
|
|
293 |
|
294 |
return (
|
295 |
-
<div className={
|
296 |
-
<div className={
|
297 |
style={ { backgroundColor: backgroundColor } }>
|
298 |
</div>
|
299 |
<section
|
5 |
* Simple block, renders and saves the same content without any interactivity.
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
8 |
import './style.scss';
|
9 |
import './editor.scss';
|
10 |
+
import classnames from 'classnames';
|
11 |
import { HeaderIcon } from '../../icons'
|
12 |
import ButtonEdit from '../button/button-edit'
|
13 |
import ButtonSave from '../button/button-save'
|
14 |
+
import PanelButtonSettings from '../../components/panel-button-settings'
|
15 |
import {
|
16 |
deprecatedSave_1_1_2, deprecatedSchema_1_1_2,
|
17 |
deprecatedSave_1_1, deprecatedSchema_1_1,
|
66 |
opacity,
|
67 |
} = props.attributes
|
68 |
|
69 |
+
const mainClasses = classnames( [
|
70 |
+
className,
|
71 |
+
'ugb-header',
|
72 |
+
], {
|
73 |
+
'has-image': url,
|
74 |
+
} )
|
|
|
|
|
|
|
|
|
75 |
|
76 |
+
const overlayClasses = classnames( [
|
77 |
+
opacityToClass( opacity ),
|
78 |
+
'ugb-header-overlay',
|
79 |
+
], {
|
80 |
+
'overlay-opacity': opacity !== 0,
|
81 |
+
} );
|
82 |
|
83 |
return (
|
84 |
<Fragment>
|
115 |
step={ 1 }
|
116 |
onChange={ ( ratio ) => setAttributes( { opacity: ratio } ) }
|
117 |
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
</PanelBody>
|
119 |
<PanelColorSettings
|
120 |
initialOpen={ false }
|
138 |
] }
|
139 |
>
|
140 |
</PanelColorSettings>
|
141 |
+
<PanelButtonSettings
|
142 |
initialOpen={ false }
|
143 |
+
buttonColor={ buttonColor }
|
144 |
+
buttonTextColor={ buttonTextColor }
|
145 |
+
buttonSize={ size }
|
146 |
+
buttonBorderRadius={ cornerButtonRadius }
|
147 |
+
onChangeButtonColor={ ( value ) => setAttributes( { buttonColor: value } ) }
|
148 |
+
onChangeButtonTextColor={ ( value ) => setAttributes( { buttonTextColor: value } ) }
|
149 |
+
onChangeButtonSize={ ( value ) => { setAttributes( { size: value } ) } }
|
150 |
+
onChangeButtonBorderRadius={ ( value ) => setAttributes( { cornerButtonRadius: value } ) }
|
151 |
+
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
</InspectorControls>
|
153 |
+
<div className={ mainClasses } >
|
154 |
+
<div className={ overlayClasses }
|
155 |
style={ {
|
156 |
backgroundColor: backgroundColor,
|
157 |
} }
|
176 |
/>
|
177 |
<section
|
178 |
data-url={ url }
|
179 |
+
style={ {
|
180 |
+
backgroundImage: url ? `url(${ url })` : undefined,
|
181 |
+
} }
|
182 |
className={ 'ugb-header-section' }
|
183 |
>
|
184 |
<RichText
|
232 |
|
233 |
export const save = ( props ) => {
|
234 |
|
235 |
+
const { className } = props
|
236 |
const {
|
237 |
url,
|
238 |
buttonURL,
|
252 |
} = props.attributes
|
253 |
|
254 |
const style = {
|
255 |
+
backgroundImage: url ? `url(${ url })` : undefined,
|
256 |
textAlign: contentAlign ? contentAlign : undefined,
|
257 |
}
|
258 |
|
259 |
+
const mainClasses = classnames( [
|
260 |
+
className,
|
261 |
+
'ugb-header',
|
262 |
+
], {
|
263 |
+
'has-image': url,
|
264 |
+
'has-no-content': ! title && ! subtitle && ! buttonText,
|
265 |
+
'has-content': title || subtitle || buttonText
|
266 |
+
} )
|
267 |
|
268 |
+
const overlayClasses = classnames( [
|
269 |
+
opacityToClass( opacity ),
|
270 |
+
'ugb-header-overlay',
|
271 |
+
], {
|
272 |
+
'overlay-opacity': opacity !== 0,
|
273 |
+
} );
|
274 |
|
275 |
return (
|
276 |
+
<div className={ mainClasses }>
|
277 |
+
<div className={ overlayClasses }
|
278 |
style={ { backgroundColor: backgroundColor } }>
|
279 |
</div>
|
280 |
<section
|
src/block/icon-list/index.js
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
|
5 |
import './style.scss';
|
6 |
import './editor.scss';
|
|
|
7 |
import { IconListIcon } from '../../icons'
|
8 |
import { svgRenderToString } from '../../util'
|
9 |
|
@@ -116,6 +117,13 @@ export const edit = ( props ) => {
|
|
116 |
gap,
|
117 |
} = props.attributes;
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
const iconSVGString = getIconSVGBase64( icon, iconShape, iconColor )
|
120 |
const style = {
|
121 |
'--icon': 'url(\'data:image/svg+xml;base64,' + iconSVGString + '\')',
|
@@ -199,7 +207,7 @@ export const edit = ( props ) => {
|
|
199 |
/>
|
200 |
</PanelBody>
|
201 |
</InspectorControls>
|
202 |
-
<div className={
|
203 |
<RichText
|
204 |
tagName="ul"
|
205 |
multiline="li"
|
@@ -213,6 +221,7 @@ export const edit = ( props ) => {
|
|
213 |
|
214 |
export const save = ( props ) => {
|
215 |
|
|
|
216 |
const {
|
217 |
icon,
|
218 |
iconShape,
|
@@ -223,6 +232,13 @@ export const save = ( props ) => {
|
|
223 |
gap,
|
224 |
} = props.attributes;
|
225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
const iconSVGString = getIconSVGBase64( icon, iconShape, iconColor )
|
227 |
const style = {
|
228 |
'--icon': 'url(\'data:image/svg+xml;base64,' + iconSVGString + '\')',
|
@@ -233,7 +249,8 @@ export const save = ( props ) => {
|
|
233 |
return (
|
234 |
<RichText.Content
|
235 |
tagName='ul'
|
236 |
-
className={
|
|
|
237 |
value={ text }
|
238 |
/>
|
239 |
);
|
4 |
|
5 |
import './style.scss';
|
6 |
import './editor.scss';
|
7 |
+
import classnames from 'classnames'
|
8 |
import { IconListIcon } from '../../icons'
|
9 |
import { svgRenderToString } from '../../util'
|
10 |
|
117 |
gap,
|
118 |
} = props.attributes;
|
119 |
|
120 |
+
const mainClasses = classnames( [
|
121 |
+
className,
|
122 |
+
'ugb-icon-list',
|
123 |
+
`ugb-icon-${icon}`,
|
124 |
+
`column-${columns}`,
|
125 |
+
] )
|
126 |
+
|
127 |
const iconSVGString = getIconSVGBase64( icon, iconShape, iconColor )
|
128 |
const style = {
|
129 |
'--icon': 'url(\'data:image/svg+xml;base64,' + iconSVGString + '\')',
|
207 |
/>
|
208 |
</PanelBody>
|
209 |
</InspectorControls>
|
210 |
+
<div className={ mainClasses } style={ style }>
|
211 |
<RichText
|
212 |
tagName="ul"
|
213 |
multiline="li"
|
221 |
|
222 |
export const save = ( props ) => {
|
223 |
|
224 |
+
const { className } = props
|
225 |
const {
|
226 |
icon,
|
227 |
iconShape,
|
232 |
gap,
|
233 |
} = props.attributes;
|
234 |
|
235 |
+
const mainClasses = classnames( [
|
236 |
+
className,
|
237 |
+
'ugb-icon-list',
|
238 |
+
`ugb-icon-${icon}`,
|
239 |
+
`column-${columns}`,
|
240 |
+
] )
|
241 |
+
|
242 |
const iconSVGString = getIconSVGBase64( icon, iconShape, iconColor )
|
243 |
const style = {
|
244 |
'--icon': 'url(\'data:image/svg+xml;base64,' + iconSVGString + '\')',
|
249 |
return (
|
250 |
<RichText.Content
|
251 |
tagName='ul'
|
252 |
+
className={ mainClasses }
|
253 |
+
style={ style }
|
254 |
value={ text }
|
255 |
/>
|
256 |
);
|
src/block/image-box/index.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { PictureIcon } from '../../icons'
|
12 |
import {
|
13 |
deprecatedSchema_1_1_2, deprecatedSave_1_1_2,
|
@@ -59,10 +60,6 @@ export const edit = ( props ) => {
|
|
59 |
full
|
60 |
} = props.attributes
|
61 |
|
62 |
-
const imageClass = url ? 'has-image' : ''
|
63 |
-
|
64 |
-
const fullWidth = full ? 'full-width': ''
|
65 |
-
|
66 |
const vertical = [
|
67 |
{ value: 'flex-start', label: __( 'Top' ) },
|
68 |
{ value: 'center', label: __( 'Center' ) },
|
@@ -75,6 +72,14 @@ export const edit = ( props ) => {
|
|
75 |
{ value: 'flex-end', label: __( 'Right' ) },
|
76 |
];
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
return (
|
79 |
<Fragment>
|
80 |
<BlockControls>
|
@@ -158,7 +163,7 @@ export const edit = ( props ) => {
|
|
158 |
>
|
159 |
</PanelColorSettings>
|
160 |
</InspectorControls>
|
161 |
-
<div className={
|
162 |
data-url={ url }
|
163 |
style={ {
|
164 |
width: width + 'px',
|
@@ -228,6 +233,8 @@ export const edit = ( props ) => {
|
|
228 |
}
|
229 |
|
230 |
export const save = ( props ) => {
|
|
|
|
|
231 |
const {
|
232 |
url,
|
233 |
href,
|
@@ -244,14 +251,18 @@ export const save = ( props ) => {
|
|
244 |
full
|
245 |
} = props.attributes
|
246 |
|
247 |
-
const
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
|
|
|
|
|
|
|
|
252 |
|
253 |
return (
|
254 |
-
<div className={
|
255 |
data-url={ url }
|
256 |
style={ {
|
257 |
width: width + 'px',
|
8 |
// Import CSS.
|
9 |
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,
|
60 |
full
|
61 |
} = props.attributes
|
62 |
|
|
|
|
|
|
|
|
|
63 |
const vertical = [
|
64 |
{ value: 'flex-start', label: __( 'Top' ) },
|
65 |
{ 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>
|
163 |
>
|
164 |
</PanelColorSettings>
|
165 |
</InspectorControls>
|
166 |
+
<div className={ mainClasses }
|
167 |
data-url={ url }
|
168 |
style={ {
|
169 |
width: width + 'px',
|
233 |
}
|
234 |
|
235 |
export const save = ( props ) => {
|
236 |
+
|
237 |
+
const { className } = props
|
238 |
const {
|
239 |
url,
|
240 |
href,
|
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',
|
src/block/notification/index.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import md5 from 'md5'
|
12 |
import { NotificationIcon } from '../../icons'
|
13 |
|
@@ -38,7 +39,7 @@ export const edit = ( props ) => {
|
|
38 |
editable,
|
39 |
setState,
|
40 |
setAttributes,
|
41 |
-
className
|
42 |
} = props
|
43 |
|
44 |
const {
|
@@ -49,6 +50,13 @@ export const edit = ( props ) => {
|
|
49 |
dismissible
|
50 |
} = props.attributes
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
return (
|
53 |
<Fragment>
|
54 |
<InspectorControls>
|
@@ -85,7 +93,7 @@ export const edit = ( props ) => {
|
|
85 |
>
|
86 |
</PanelColorSettings>
|
87 |
</InspectorControls>
|
88 |
-
<div className={
|
89 |
{ dismissible && (
|
90 |
<span key='button' className={ 'close-button' }>
|
91 |
<svg viewBox="0 0 28.3 28.3" style={ { fill: textColor } }>
|
@@ -112,6 +120,7 @@ export const edit = ( props ) => {
|
|
112 |
|
113 |
export const save = ( props ) => {
|
114 |
|
|
|
115 |
const {
|
116 |
text,
|
117 |
color,
|
@@ -120,6 +129,13 @@ export const save = ( props ) => {
|
|
120 |
dismissible
|
121 |
} = props.attributes
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
const buttonStyle = {
|
124 |
backgroundColor: color,
|
125 |
color: textColor,
|
@@ -130,7 +146,7 @@ export const save = ( props ) => {
|
|
130 |
const uid = md5( text + notifType ).substr( 0, 6 )
|
131 |
|
132 |
return (
|
133 |
-
<div className={
|
134 |
{ dismissible && (
|
135 |
<span key='button' className={ 'close-button' }>
|
136 |
<svg viewBox="0 0 28.3 28.3" style={ { fill: textColor } }>
|
@@ -149,6 +165,27 @@ export const save = ( props ) => {
|
|
149 |
)
|
150 |
}
|
151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
/**
|
154 |
* Register: aa Gutenberg Block.
|
@@ -171,32 +208,8 @@ registerBlockType( 'ugb/notification', {
|
|
171 |
__( 'Notification' ),
|
172 |
__( 'Stackable' ),
|
173 |
],
|
174 |
-
attributes:
|
175 |
-
text: {
|
176 |
-
source: 'html',
|
177 |
-
selector: 'p',
|
178 |
-
default: __( 'This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.' ),
|
179 |
-
},
|
180 |
-
color: {
|
181 |
-
type: 'string',
|
182 |
-
},
|
183 |
-
textColor: {
|
184 |
-
type: 'string',
|
185 |
-
},
|
186 |
-
notifType: {
|
187 |
-
type: 'string',
|
188 |
-
default: 'success',
|
189 |
-
},
|
190 |
-
dismissible: {
|
191 |
-
type: 'boolean',
|
192 |
-
default: false
|
193 |
-
},
|
194 |
-
},
|
195 |
-
|
196 |
-
|
197 |
-
// The "edit" property must be a valid function.
|
198 |
-
edit: edit,
|
199 |
|
200 |
-
|
201 |
-
save
|
202 |
} );
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import md5 from 'md5'
|
13 |
import { NotificationIcon } from '../../icons'
|
14 |
|
39 |
editable,
|
40 |
setState,
|
41 |
setAttributes,
|
42 |
+
className,
|
43 |
} = props
|
44 |
|
45 |
const {
|
50 |
dismissible
|
51 |
} = props.attributes
|
52 |
|
53 |
+
const mainClasses = classnames( [
|
54 |
+
className,
|
55 |
+
'ugb-notification',
|
56 |
+
`type-${notifType}`,
|
57 |
+
`dismissible-${dismissible}`,
|
58 |
+
] )
|
59 |
+
|
60 |
return (
|
61 |
<Fragment>
|
62 |
<InspectorControls>
|
93 |
>
|
94 |
</PanelColorSettings>
|
95 |
</InspectorControls>
|
96 |
+
<div className={ mainClasses }>
|
97 |
{ dismissible && (
|
98 |
<span key='button' className={ 'close-button' }>
|
99 |
<svg viewBox="0 0 28.3 28.3" style={ { fill: textColor } }>
|
120 |
|
121 |
export const save = ( props ) => {
|
122 |
|
123 |
+
const { className } = props
|
124 |
const {
|
125 |
text,
|
126 |
color,
|
129 |
dismissible
|
130 |
} = props.attributes
|
131 |
|
132 |
+
const mainClasses = classnames( [
|
133 |
+
className,
|
134 |
+
'ugb-notification',
|
135 |
+
`type-${notifType}`,
|
136 |
+
`dismissible-${dismissible}`,
|
137 |
+
] )
|
138 |
+
|
139 |
const buttonStyle = {
|
140 |
backgroundColor: color,
|
141 |
color: textColor,
|
146 |
const uid = md5( text + notifType ).substr( 0, 6 )
|
147 |
|
148 |
return (
|
149 |
+
<div className={ mainClasses } data-uid={uid}>
|
150 |
{ dismissible && (
|
151 |
<span key='button' className={ 'close-button' }>
|
152 |
<svg viewBox="0 0 28.3 28.3" style={ { fill: textColor } }>
|
165 |
)
|
166 |
}
|
167 |
|
168 |
+
export const schema = {
|
169 |
+
text: {
|
170 |
+
source: 'html',
|
171 |
+
selector: 'p',
|
172 |
+
default: __( 'This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.' ),
|
173 |
+
},
|
174 |
+
color: {
|
175 |
+
type: 'string',
|
176 |
+
},
|
177 |
+
textColor: {
|
178 |
+
type: 'string',
|
179 |
+
},
|
180 |
+
notifType: {
|
181 |
+
type: 'string',
|
182 |
+
default: 'success',
|
183 |
+
},
|
184 |
+
dismissible: {
|
185 |
+
type: 'boolean',
|
186 |
+
default: false,
|
187 |
+
},
|
188 |
+
}
|
189 |
|
190 |
/**
|
191 |
* Register: aa Gutenberg Block.
|
208 |
__( 'Notification' ),
|
209 |
__( 'Stackable' ),
|
210 |
],
|
211 |
+
attributes: schema,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
|
213 |
+
edit,
|
214 |
+
save,
|
215 |
} );
|
src/block/number-box/index.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { NumberBoxIcon } from '../../icons'
|
12 |
|
13 |
import {
|
@@ -18,6 +19,7 @@ import {
|
|
18 |
InspectorControls,
|
19 |
RichText,
|
20 |
BlockControls,
|
|
|
21 |
PanelBody,
|
22 |
Fragment,
|
23 |
} from '../../wp-imports'
|
@@ -49,24 +51,22 @@ export const edit = ( props ) => {
|
|
49 |
numberBGColor
|
50 |
} = props.attributes;
|
51 |
|
52 |
-
const
|
53 |
-
|
54 |
-
|
55 |
-
{
|
56 |
-
]
|
57 |
|
58 |
return (
|
59 |
<Fragment>
|
60 |
<InspectorControls>
|
61 |
<PanelBody>
|
62 |
-
<
|
63 |
-
label={ __( '
|
64 |
value={ columns }
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
} ) ) }
|
69 |
-
onChange={ ( newColumns ) => { setAttributes( { columns: newColumns } ) } }
|
70 |
/>
|
71 |
</PanelBody>
|
72 |
<PanelColorSettings
|
@@ -96,7 +96,7 @@ export const edit = ( props ) => {
|
|
96 |
>
|
97 |
</PanelColorSettings>
|
98 |
</InspectorControls>
|
99 |
-
<div className={
|
100 |
<div>
|
101 |
<RichText
|
102 |
tagName={ 'span' }
|
@@ -208,6 +208,7 @@ export const edit = ( props ) => {
|
|
208 |
}
|
209 |
|
210 |
export const save = ( props ) => {
|
|
|
211 |
const {
|
212 |
numberBox,
|
213 |
numberBoxTwo,
|
@@ -224,9 +225,15 @@ export const save = ( props ) => {
|
|
224 |
numberBGColor,
|
225 |
columns
|
226 |
} = props.attributes;
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
|
228 |
return (
|
229 |
-
<div className={
|
230 |
<div className={ 'ugb-number-box-column-one' }>
|
231 |
{ ! RichText.isEmpty( numberBox ) && (
|
232 |
<RichText.Content
|
@@ -310,6 +317,69 @@ export const save = ( props ) => {
|
|
310 |
);
|
311 |
}
|
312 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
313 |
|
314 |
/**
|
315 |
* Register: Gutenberg Block.
|
@@ -332,73 +402,8 @@ registerBlockType( 'ugb/number-box', {
|
|
332 |
__( 'Number Box' ),
|
333 |
__( 'Stackable' ),
|
334 |
],
|
335 |
-
attributes:
|
336 |
-
numberBox: {
|
337 |
-
source: 'html',
|
338 |
-
selector: '.ugb-number-box-column-one span',
|
339 |
-
default: __( '01' ),
|
340 |
-
},
|
341 |
-
numberBoxTwo: {
|
342 |
-
source: 'html',
|
343 |
-
selector: '.ugb-number-box-column-two span',
|
344 |
-
default: __( '02' ),
|
345 |
-
},
|
346 |
-
numberBoxThree: {
|
347 |
-
source: 'html',
|
348 |
-
selector: '.ugb-number-box-column-three span',
|
349 |
-
default: __( '03' ),
|
350 |
-
},
|
351 |
-
name: {
|
352 |
-
source: 'html',
|
353 |
-
selector: '.ugb-number-box-name',
|
354 |
-
default: __( 'Registration' ),
|
355 |
-
},
|
356 |
-
nameTwo: {
|
357 |
-
source: 'html',
|
358 |
-
selector: '.ugb-number-box-name-two',
|
359 |
-
default: __( 'Waiting Period' ),
|
360 |
-
},
|
361 |
-
nameThree: {
|
362 |
-
source: 'html',
|
363 |
-
selector: '.ugb-number-box-name-three',
|
364 |
-
default: __( 'Delivery' ),
|
365 |
-
},
|
366 |
-
body: {
|
367 |
-
source: 'html',
|
368 |
-
selector: '.ugb-number-box-body',
|
369 |
-
default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
|
370 |
-
},
|
371 |
-
bodyTwo: {
|
372 |
-
source: 'html',
|
373 |
-
selector: '.ugb-number-box-body-two',
|
374 |
-
default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
|
375 |
-
},
|
376 |
-
bodyThree: {
|
377 |
-
source: 'html',
|
378 |
-
selector: '.ugb-number-box-body-three',
|
379 |
-
default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
|
380 |
-
},
|
381 |
-
numberBoxColor: {
|
382 |
-
type: 'string',
|
383 |
-
},
|
384 |
-
nameColor: {
|
385 |
-
type: 'string',
|
386 |
-
},
|
387 |
-
bodyTextColor: {
|
388 |
-
type: 'string',
|
389 |
-
},
|
390 |
-
numberBGColor: {
|
391 |
-
type: 'string',
|
392 |
-
},
|
393 |
-
columns: {
|
394 |
-
type: 'select',
|
395 |
-
default: '1'
|
396 |
-
}
|
397 |
-
},
|
398 |
-
|
399 |
-
// The "edit" property must be a valid function.
|
400 |
-
edit: edit,
|
401 |
|
402 |
-
|
403 |
-
save
|
404 |
} );
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { NumberBoxIcon } from '../../icons'
|
13 |
|
14 |
import {
|
19 |
InspectorControls,
|
20 |
RichText,
|
21 |
BlockControls,
|
22 |
+
RangeControl,
|
23 |
PanelBody,
|
24 |
Fragment,
|
25 |
} from '../../wp-imports'
|
51 |
numberBGColor
|
52 |
} = props.attributes;
|
53 |
|
54 |
+
const mainClasses = classnames( [
|
55 |
+
className,
|
56 |
+
'ugb-number-box',
|
57 |
+
`column-${columns}`,
|
58 |
+
] )
|
59 |
|
60 |
return (
|
61 |
<Fragment>
|
62 |
<InspectorControls>
|
63 |
<PanelBody>
|
64 |
+
<RangeControl
|
65 |
+
label={ __( 'Columns' ) }
|
66 |
value={ columns }
|
67 |
+
onChange={ columns => setAttributes( { columns } ) }
|
68 |
+
min={ 1 }
|
69 |
+
max={ 3 }
|
|
|
|
|
70 |
/>
|
71 |
</PanelBody>
|
72 |
<PanelColorSettings
|
96 |
>
|
97 |
</PanelColorSettings>
|
98 |
</InspectorControls>
|
99 |
+
<div className={ mainClasses }>
|
100 |
<div>
|
101 |
<RichText
|
102 |
tagName={ 'span' }
|
208 |
}
|
209 |
|
210 |
export const save = ( props ) => {
|
211 |
+
const { className } = props
|
212 |
const {
|
213 |
numberBox,
|
214 |
numberBoxTwo,
|
225 |
numberBGColor,
|
226 |
columns
|
227 |
} = props.attributes;
|
228 |
+
|
229 |
+
const mainClasses = classnames( [
|
230 |
+
className,
|
231 |
+
'ugb-number-box',
|
232 |
+
`column-${columns}`,
|
233 |
+
] )
|
234 |
|
235 |
return (
|
236 |
+
<div className={ mainClasses }>
|
237 |
<div className={ 'ugb-number-box-column-one' }>
|
238 |
{ ! RichText.isEmpty( numberBox ) && (
|
239 |
<RichText.Content
|
317 |
);
|
318 |
}
|
319 |
|
320 |
+
export const schema = {
|
321 |
+
numberBox: {
|
322 |
+
source: 'html',
|
323 |
+
selector: '.ugb-number-box-column-one span',
|
324 |
+
default: __( '01' ),
|
325 |
+
},
|
326 |
+
numberBoxTwo: {
|
327 |
+
source: 'html',
|
328 |
+
selector: '.ugb-number-box-column-two span',
|
329 |
+
default: __( '02' ),
|
330 |
+
},
|
331 |
+
numberBoxThree: {
|
332 |
+
source: 'html',
|
333 |
+
selector: '.ugb-number-box-column-three span',
|
334 |
+
default: __( '03' ),
|
335 |
+
},
|
336 |
+
name: {
|
337 |
+
source: 'html',
|
338 |
+
selector: '.ugb-number-box-name',
|
339 |
+
default: __( 'Registration' ),
|
340 |
+
},
|
341 |
+
nameTwo: {
|
342 |
+
source: 'html',
|
343 |
+
selector: '.ugb-number-box-name-two',
|
344 |
+
default: __( 'Waiting Period' ),
|
345 |
+
},
|
346 |
+
nameThree: {
|
347 |
+
source: 'html',
|
348 |
+
selector: '.ugb-number-box-name-three',
|
349 |
+
default: __( 'Delivery' ),
|
350 |
+
},
|
351 |
+
body: {
|
352 |
+
source: 'html',
|
353 |
+
selector: '.ugb-number-box-body',
|
354 |
+
default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
|
355 |
+
},
|
356 |
+
bodyTwo: {
|
357 |
+
source: 'html',
|
358 |
+
selector: '.ugb-number-box-body-two',
|
359 |
+
default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
|
360 |
+
},
|
361 |
+
bodyThree: {
|
362 |
+
source: 'html',
|
363 |
+
selector: '.ugb-number-box-body-three',
|
364 |
+
default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
|
365 |
+
},
|
366 |
+
numberBoxColor: {
|
367 |
+
type: 'string',
|
368 |
+
},
|
369 |
+
nameColor: {
|
370 |
+
type: 'string',
|
371 |
+
},
|
372 |
+
bodyTextColor: {
|
373 |
+
type: 'string',
|
374 |
+
},
|
375 |
+
numberBGColor: {
|
376 |
+
type: 'string',
|
377 |
+
},
|
378 |
+
columns: {
|
379 |
+
type: 'number',
|
380 |
+
default: 1
|
381 |
+
}
|
382 |
+
}
|
383 |
|
384 |
/**
|
385 |
* Register: Gutenberg Block.
|
402 |
__( 'Number Box' ),
|
403 |
__( 'Stackable' ),
|
404 |
],
|
405 |
+
attributes: schema,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
|
407 |
+
edit,
|
408 |
+
save,
|
409 |
} );
|
src/block/pricing-box/index.js
CHANGED
@@ -8,9 +8,11 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { PricingIcon } from '../../icons'
|
12 |
import ButtonEdit from '../button/button-edit'
|
13 |
import ButtonSave from '../button/button-save'
|
|
|
14 |
import { deprecatedSave_0_7 } from './deprecated'
|
15 |
|
16 |
import {
|
@@ -70,47 +72,22 @@ export const edit = ( props ) => {
|
|
70 |
cornerButtonRadius,
|
71 |
} = props.attributes;
|
72 |
|
73 |
-
const
|
74 |
-
|
75 |
-
|
76 |
-
{
|
77 |
-
]
|
78 |
-
|
79 |
-
const buttonSizes = [
|
80 |
-
{ value: 'small', label: __( 'Small' ) },
|
81 |
-
{ value: 'normal', label: __( 'Normal' ) },
|
82 |
-
{ value: 'medium', label: __( 'Medium' ) },
|
83 |
-
{ value: 'large', label: __( 'Large' ) },
|
84 |
-
];
|
85 |
|
86 |
return (
|
87 |
<Fragment>
|
88 |
<InspectorControls>
|
89 |
<PanelBody>
|
90 |
-
<SelectControl
|
91 |
-
label={ __( 'Column Number' ) }
|
92 |
-
value={ columns }
|
93 |
-
options={ column.map( ({ value, label }) => ( {
|
94 |
-
value: value,
|
95 |
-
label: label,
|
96 |
-
} ) ) }
|
97 |
-
onChange={ ( newColumns ) => { setAttributes( { columns: newColumns } ) } }
|
98 |
-
/>
|
99 |
<RangeControl
|
100 |
-
label={ __( '
|
101 |
-
value={
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
/>
|
106 |
-
<SelectControl
|
107 |
-
label={ __( 'Button Size' ) }
|
108 |
-
value={ size }
|
109 |
-
options={ buttonSizes.map( ({ value, label }) => ( {
|
110 |
-
value: value,
|
111 |
-
label: label,
|
112 |
-
} ) ) }
|
113 |
-
onChange={ ( newSize ) => { setAttributes( { size: newSize } ) } }
|
114 |
/>
|
115 |
</PanelBody>
|
116 |
<PanelColorSettings
|
@@ -140,25 +117,19 @@ export const edit = ( props ) => {
|
|
140 |
] }
|
141 |
>
|
142 |
</PanelColorSettings>
|
143 |
-
<
|
144 |
initialOpen={ false }
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
onChange: ( colorValue ) => setAttributes( { buttonTextColor: colorValue } ),
|
155 |
-
label: __( 'Button Text Color' ),
|
156 |
-
},
|
157 |
-
] }
|
158 |
-
>
|
159 |
-
</PanelColorSettings>
|
160 |
</InspectorControls>
|
161 |
-
<div className={
|
162 |
<div className={ 'ugb-pricing-box-column-one' }>
|
163 |
<RichText
|
164 |
tagName={ 'h3' }
|
@@ -351,6 +322,7 @@ export const edit = ( props ) => {
|
|
351 |
}
|
352 |
|
353 |
export const save = ( props ) => {
|
|
|
354 |
const {
|
355 |
url,
|
356 |
url2,
|
@@ -381,8 +353,14 @@ export const save = ( props ) => {
|
|
381 |
cornerButtonRadius,
|
382 |
} = props.attributes;
|
383 |
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
return (
|
385 |
-
<div className={
|
386 |
<div className={ 'ugb-pricing-box-column-one' }>
|
387 |
{ ! RichText.isEmpty( pricingBoxTitle ) && (
|
388 |
<RichText.Content
|
@@ -612,8 +590,8 @@ const schema = {
|
|
612 |
type: 'string',
|
613 |
},
|
614 |
columns: {
|
615 |
-
type: '
|
616 |
-
default:
|
617 |
},
|
618 |
size: {
|
619 |
type: 'string',
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { PricingIcon } 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 { deprecatedSave_0_7 } from './deprecated'
|
17 |
|
18 |
import {
|
72 |
cornerButtonRadius,
|
73 |
} = props.attributes;
|
74 |
|
75 |
+
const mainClasses = classnames( [
|
76 |
+
className,
|
77 |
+
'ugb-pricing-box',
|
78 |
+
`column-${columns}`,
|
79 |
+
] )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
81 |
return (
|
82 |
<Fragment>
|
83 |
<InspectorControls>
|
84 |
<PanelBody>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
<RangeControl
|
86 |
+
label={ __( 'Columns' ) }
|
87 |
+
value={ columns }
|
88 |
+
onChange={ columns => setAttributes( { columns } ) }
|
89 |
+
min={ 1 }
|
90 |
+
max={ 3 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
/>
|
92 |
</PanelBody>
|
93 |
<PanelColorSettings
|
117 |
] }
|
118 |
>
|
119 |
</PanelColorSettings>
|
120 |
+
<PanelButtonSettings
|
121 |
initialOpen={ false }
|
122 |
+
buttonColor={ buttonColor }
|
123 |
+
buttonTextColor={ buttonTextColor }
|
124 |
+
buttonSize={ size }
|
125 |
+
buttonBorderRadius={ cornerButtonRadius }
|
126 |
+
onChangeButtonColor={ ( value ) => setAttributes( { buttonColor: value } ) }
|
127 |
+
onChangeButtonTextColor={ ( value ) => setAttributes( { buttonTextColor: value } ) }
|
128 |
+
onChangeButtonSize={ ( value ) => { setAttributes( { size: value } ) } }
|
129 |
+
onChangeButtonBorderRadius={ ( value ) => setAttributes( { cornerButtonRadius: value } ) }
|
130 |
+
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
</InspectorControls>
|
132 |
+
<div className={ mainClasses }>
|
133 |
<div className={ 'ugb-pricing-box-column-one' }>
|
134 |
<RichText
|
135 |
tagName={ 'h3' }
|
322 |
}
|
323 |
|
324 |
export const save = ( props ) => {
|
325 |
+
const { className } = props
|
326 |
const {
|
327 |
url,
|
328 |
url2,
|
353 |
cornerButtonRadius,
|
354 |
} = props.attributes;
|
355 |
|
356 |
+
const mainClasses = classnames( [
|
357 |
+
className,
|
358 |
+
'ugb-pricing-box',
|
359 |
+
`column-${columns}`,
|
360 |
+
] )
|
361 |
+
|
362 |
return (
|
363 |
+
<div className={ mainClasses }>
|
364 |
<div className={ 'ugb-pricing-box-column-one' }>
|
365 |
{ ! RichText.isEmpty( pricingBoxTitle ) && (
|
366 |
<RichText.Content
|
590 |
type: 'string',
|
591 |
},
|
592 |
columns: {
|
593 |
+
type: 'number',
|
594 |
+
default: 1,
|
595 |
},
|
596 |
size: {
|
597 |
type: 'string',
|
src/block/pullquote/index.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { QuoteIcon } from '../../icons'
|
12 |
import { deprecatedSchema_0_7, deprecatedSave_0_7 } from './deprecated'
|
13 |
|
@@ -28,10 +29,15 @@ export const edit = ( props ) => {
|
|
28 |
|
29 |
const { color, text, quoteColor } = props.attributes
|
30 |
|
|
|
|
|
|
|
|
|
|
|
31 |
return (
|
32 |
<Fragment>
|
33 |
<blockquote
|
34 |
-
className={
|
35 |
style={ { '--quote-color': quoteColor } }>
|
36 |
<RichText
|
37 |
tagName='p'
|
@@ -71,11 +77,17 @@ export const edit = ( props ) => {
|
|
71 |
|
72 |
export const save = ( props ) => {
|
73 |
|
|
|
74 |
const { color, text, quoteColor } = props.attributes
|
75 |
|
|
|
|
|
|
|
|
|
|
|
76 |
return (
|
77 |
<blockquote
|
78 |
-
className={
|
79 |
style={ { '--quote-color': quoteColor } }>
|
80 |
<RichText.Content
|
81 |
tagName="p"
|
@@ -102,7 +114,6 @@ export const schema = {
|
|
102 |
}
|
103 |
}
|
104 |
|
105 |
-
|
106 |
/**
|
107 |
* Register: Gutenberg Block.
|
108 |
*
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { QuoteIcon } from '../../icons'
|
13 |
import { deprecatedSchema_0_7, deprecatedSave_0_7 } from './deprecated'
|
14 |
|
29 |
|
30 |
const { color, text, quoteColor } = props.attributes
|
31 |
|
32 |
+
const mainClasses = classnames( [
|
33 |
+
className,
|
34 |
+
'ugb-pullquote',
|
35 |
+
] )
|
36 |
+
|
37 |
return (
|
38 |
<Fragment>
|
39 |
<blockquote
|
40 |
+
className={ mainClasses }
|
41 |
style={ { '--quote-color': quoteColor } }>
|
42 |
<RichText
|
43 |
tagName='p'
|
77 |
|
78 |
export const save = ( props ) => {
|
79 |
|
80 |
+
const { className } = props
|
81 |
const { color, text, quoteColor } = props.attributes
|
82 |
|
83 |
+
const mainClasses = classnames( [
|
84 |
+
className,
|
85 |
+
'ugb-pullquote',
|
86 |
+
] )
|
87 |
+
|
88 |
return (
|
89 |
<blockquote
|
90 |
+
className={ mainClasses }
|
91 |
style={ { '--quote-color': quoteColor } }>
|
92 |
<RichText.Content
|
93 |
tagName="p"
|
114 |
}
|
115 |
}
|
116 |
|
|
|
117 |
/**
|
118 |
* Register: Gutenberg Block.
|
119 |
*
|
src/block/spacer/deprecated.js
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
export const deprecatedSave_1_3 = ( props ) => {
|
2 |
+
|
3 |
+
const { height } = props.attributes
|
4 |
+
|
5 |
+
return (
|
6 |
+
<div style={ { height: height + 'px' } }></div>
|
7 |
+
);
|
8 |
+
}
|
9 |
+
|
10 |
+
export const deprecatedSchema_1_3 = {
|
11 |
+
height: {
|
12 |
+
default: 50,
|
13 |
+
type: 'number',
|
14 |
+
},
|
15 |
+
}
|
src/block/spacer/index.js
CHANGED
@@ -8,8 +8,13 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { SpacerIcon } from '../../icons'
|
12 |
|
|
|
|
|
|
|
|
|
13 |
import {
|
14 |
registerBlockType,
|
15 |
__,
|
@@ -22,19 +27,29 @@ import {
|
|
22 |
|
23 |
export const save = ( props ) => {
|
24 |
|
|
|
25 |
const { height } = props.attributes
|
26 |
|
|
|
|
|
|
|
|
|
|
|
27 |
return (
|
28 |
-
<div style={ { height: height + 'px' } }></div>
|
29 |
);
|
30 |
}
|
31 |
|
32 |
export const edit = ( props ) => {
|
33 |
|
34 |
-
const { isSelected } = props;
|
35 |
-
|
36 |
const { height } = props.attributes;
|
37 |
|
|
|
|
|
|
|
|
|
|
|
38 |
return (
|
39 |
<Fragment>
|
40 |
<InspectorControls>
|
@@ -48,11 +63,17 @@ export const edit = ( props ) => {
|
|
48 |
/>
|
49 |
</PanelBody>
|
50 |
</InspectorControls>
|
51 |
-
<div className={
|
52 |
</Fragment>
|
53 |
)
|
54 |
}
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
/**
|
58 |
* Register: aa Gutenberg Block.
|
@@ -75,14 +96,15 @@ registerBlockType( 'ugb/spacer', {
|
|
75 |
__( 'Spacer' ),
|
76 |
__( 'Stackable' ),
|
77 |
],
|
78 |
-
attributes:
|
79 |
-
height: {
|
80 |
-
default: 50,
|
81 |
-
type: 'number',
|
82 |
-
},
|
83 |
-
},
|
84 |
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
86 |
|
87 |
-
|
|
|
88 |
} );
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { SpacerIcon } from '../../icons'
|
13 |
|
14 |
+
import {
|
15 |
+
deprecatedSave_1_3, deprecatedSchema_1_3,
|
16 |
+
} from './deprecated'
|
17 |
+
|
18 |
import {
|
19 |
registerBlockType,
|
20 |
__,
|
27 |
|
28 |
export const save = ( props ) => {
|
29 |
|
30 |
+
const { className } = props
|
31 |
const { height } = props.attributes
|
32 |
|
33 |
+
const mainClasses = classnames( [
|
34 |
+
className,
|
35 |
+
'ugb-spacer',
|
36 |
+
] )
|
37 |
+
|
38 |
return (
|
39 |
+
<div className={ mainClasses } style={ { height: height + 'px' } }></div>
|
40 |
);
|
41 |
}
|
42 |
|
43 |
export const edit = ( props ) => {
|
44 |
|
45 |
+
const { className, isSelected } = props;
|
|
|
46 |
const { height } = props.attributes;
|
47 |
|
48 |
+
const mainClasses = classnames( [
|
49 |
+
className,
|
50 |
+
'ugb-spacer',
|
51 |
+
] )
|
52 |
+
|
53 |
return (
|
54 |
<Fragment>
|
55 |
<InspectorControls>
|
63 |
/>
|
64 |
</PanelBody>
|
65 |
</InspectorControls>
|
66 |
+
<div className={ mainClasses } style={ { height: height + 'px' } }></div>
|
67 |
</Fragment>
|
68 |
)
|
69 |
}
|
70 |
|
71 |
+
export const schema = {
|
72 |
+
height: {
|
73 |
+
default: 50,
|
74 |
+
type: 'number',
|
75 |
+
},
|
76 |
+
}
|
77 |
|
78 |
/**
|
79 |
* Register: aa Gutenberg Block.
|
96 |
__( 'Spacer' ),
|
97 |
__( 'Stackable' ),
|
98 |
],
|
99 |
+
attributes: schema,
|
|
|
|
|
|
|
|
|
|
|
100 |
|
101 |
+
deprecated: [
|
102 |
+
{
|
103 |
+
attributes: deprecatedSchema_1_3,
|
104 |
+
save: deprecatedSave_1_3,
|
105 |
+
},
|
106 |
+
],
|
107 |
|
108 |
+
edit,
|
109 |
+
save,
|
110 |
} );
|
src/block/team-member/index.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { TeamMemberIcon } from '../../icons'
|
12 |
|
13 |
import {
|
@@ -16,6 +17,7 @@ import {
|
|
16 |
PanelColorSettings,
|
17 |
Button,
|
18 |
SelectControl,
|
|
|
19 |
InspectorControls,
|
20 |
RichText,
|
21 |
MediaUpload,
|
@@ -61,16 +63,18 @@ export const edit = ( props ) => {
|
|
61 |
shapes
|
62 |
} = props.attributes;
|
63 |
|
64 |
-
const column = [
|
65 |
-
{ value: '1', label: __( 'One Column' ) },
|
66 |
-
{ value: '2', label: __( 'Two Column' ) },
|
67 |
-
{ value: '3', label: __( 'Three Column' ) },
|
68 |
-
];
|
69 |
const shape = [
|
70 |
{ value: 'square', label: __( 'Square' ) },
|
71 |
{ value: 'circle', label: __( 'Circle' ) },
|
72 |
];
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
return (
|
75 |
<Fragment>
|
76 |
<InspectorControls>
|
@@ -84,14 +88,12 @@ export const edit = ( props ) => {
|
|
84 |
} ) ) }
|
85 |
onChange={ ( newShape ) => { setAttributes( { shapes: newShape } ) } }
|
86 |
/>
|
87 |
-
<
|
88 |
-
label={ __( '
|
89 |
value={ columns }
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
} ) ) }
|
94 |
-
onChange={ ( newColumns ) => { setAttributes( { columns: newColumns } ) } }
|
95 |
/>
|
96 |
</PanelBody>
|
97 |
<PanelColorSettings
|
@@ -122,7 +124,7 @@ export const edit = ( props ) => {
|
|
122 |
>
|
123 |
</PanelColorSettings>
|
124 |
</InspectorControls>
|
125 |
-
<div className={
|
126 |
<div className={ 'ugb-team-member-column-one' }>
|
127 |
<div>
|
128 |
<MediaUpload
|
@@ -271,6 +273,7 @@ export const edit = ( props ) => {
|
|
271 |
|
272 |
export const save = ( props ) => {
|
273 |
|
|
|
274 |
const {
|
275 |
name,
|
276 |
nameTwo,
|
@@ -295,8 +298,15 @@ export const save = ( props ) => {
|
|
295 |
columns
|
296 |
} = props.attributes;
|
297 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
298 |
return (
|
299 |
-
<div className={
|
300 |
<div className={ 'ugb-team-member-column-one' }>
|
301 |
{ mediaURL && <div className="team-member-image" style={{ backgroundImage: `url(${mediaURL})` }} data-src={mediaURL}></div> }
|
302 |
{ ! RichText.isEmpty( name ) && (
|
@@ -383,6 +393,109 @@ export const save = ( props ) => {
|
|
383 |
);
|
384 |
}
|
385 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
|
387 |
/**
|
388 |
* Register: Gutenberg Block.
|
@@ -405,113 +518,8 @@ registerBlockType( 'ugb/team-member', {
|
|
405 |
__( 'Team Member' ),
|
406 |
__( 'Stackable' ),
|
407 |
],
|
408 |
-
attributes:
|
409 |
-
href: {
|
410 |
-
type: 'url',
|
411 |
-
},
|
412 |
-
hrefTwo: {
|
413 |
-
type: 'url',
|
414 |
-
},
|
415 |
-
hrefThree: {
|
416 |
-
type: 'url',
|
417 |
-
},
|
418 |
-
mediaID: {
|
419 |
-
type: 'number',
|
420 |
-
},
|
421 |
-
mediaIDTwo: {
|
422 |
-
type: 'number',
|
423 |
-
},
|
424 |
-
mediaIDThree: {
|
425 |
-
type: 'number',
|
426 |
-
},
|
427 |
-
mediaURL: {
|
428 |
-
type: 'string',
|
429 |
-
source: 'attribute',
|
430 |
-
selector: '.ugb-team-member-column-one .team-member-image',
|
431 |
-
attribute: 'data-src',
|
432 |
-
},
|
433 |
-
mediaURLTwo: {
|
434 |
-
type: 'string',
|
435 |
-
source: 'attribute',
|
436 |
-
selector: '.ugb-team-member-column-two .team-member-image',
|
437 |
-
attribute: 'data-src',
|
438 |
-
},
|
439 |
-
mediaURLThree: {
|
440 |
-
type: 'string',
|
441 |
-
source: 'attribute',
|
442 |
-
selector: '.ugb-team-member-column-three .team-member-image',
|
443 |
-
attribute: 'data-src',
|
444 |
-
},
|
445 |
-
name: {
|
446 |
-
source: 'html',
|
447 |
-
selector: '.ugb-team-member-column-one h4',
|
448 |
-
default: __( 'Ben Adams' )
|
449 |
-
},
|
450 |
-
nameTwo: {
|
451 |
-
source: 'html',
|
452 |
-
selector: '.ugb-team-member-column-two h4',
|
453 |
-
default: __( 'Alex Johnson' )
|
454 |
-
},
|
455 |
-
nameThree: {
|
456 |
-
source: 'html',
|
457 |
-
selector: '.ugb-team-member-column-three h4',
|
458 |
-
default: __( 'Sammy Simpson' )
|
459 |
-
},
|
460 |
-
position: {
|
461 |
-
source: 'html',
|
462 |
-
selector: '.ugb-team-member-column-one .ugb-team-member-position',
|
463 |
-
default: __( 'Founder' )
|
464 |
-
},
|
465 |
-
positionTwo: {
|
466 |
-
source: 'html',
|
467 |
-
selector: '.ugb-team-member-column-two .ugb-team-member-position',
|
468 |
-
default: __( 'Editor' )
|
469 |
-
},
|
470 |
-
positionThree: {
|
471 |
-
source: 'html',
|
472 |
-
selector: '.ugb-team-member-column-three .ugb-team-member-position',
|
473 |
-
default: __( 'Programmer' )
|
474 |
-
},
|
475 |
-
des: {
|
476 |
-
source: 'html',
|
477 |
-
selector: '.ugb-team-member-des',
|
478 |
-
default: __( 'Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.' )
|
479 |
-
},
|
480 |
-
desTwo: {
|
481 |
-
source: 'html',
|
482 |
-
selector: '.ugb-team-member-des-two',
|
483 |
-
default: __( 'Alex handles all written content. She enjoys painting and playing softball on the weekends.' )
|
484 |
-
},
|
485 |
-
desThree: {
|
486 |
-
source: 'html',
|
487 |
-
selector: '.ugb-team-member-des-three',
|
488 |
-
default: __( 'Sammy is our programmer. You\'ll usually find her nose in a book. She has a cat named Skitty.' )
|
489 |
-
},
|
490 |
-
nameColor: {
|
491 |
-
type: 'string',
|
492 |
-
},
|
493 |
-
posColor: {
|
494 |
-
type: 'string',
|
495 |
-
},
|
496 |
-
desColor: {
|
497 |
-
type: 'string',
|
498 |
-
},
|
499 |
-
iconColor: {
|
500 |
-
type: 'string',
|
501 |
-
},
|
502 |
-
columns: {
|
503 |
-
type: 'select',
|
504 |
-
default: '1'
|
505 |
-
},
|
506 |
-
shapes: {
|
507 |
-
type: 'select',
|
508 |
-
default: 'square'
|
509 |
-
}
|
510 |
-
},
|
511 |
-
|
512 |
-
// The "edit" property must be a valid function.
|
513 |
-
edit: edit,
|
514 |
|
515 |
-
|
516 |
-
save
|
517 |
} );
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { TeamMemberIcon } from '../../icons'
|
13 |
|
14 |
import {
|
17 |
PanelColorSettings,
|
18 |
Button,
|
19 |
SelectControl,
|
20 |
+
RangeControl,
|
21 |
InspectorControls,
|
22 |
RichText,
|
23 |
MediaUpload,
|
63 |
shapes
|
64 |
} = props.attributes;
|
65 |
|
|
|
|
|
|
|
|
|
|
|
66 |
const shape = [
|
67 |
{ value: 'square', label: __( 'Square' ) },
|
68 |
{ value: 'circle', label: __( 'Circle' ) },
|
69 |
];
|
70 |
|
71 |
+
const mainClasses = classnames( [
|
72 |
+
className,
|
73 |
+
'ugb-team-member',
|
74 |
+
`column-${columns}`,
|
75 |
+
`image-${shapes}`,
|
76 |
+
] )
|
77 |
+
|
78 |
return (
|
79 |
<Fragment>
|
80 |
<InspectorControls>
|
88 |
} ) ) }
|
89 |
onChange={ ( newShape ) => { setAttributes( { shapes: newShape } ) } }
|
90 |
/>
|
91 |
+
<RangeControl
|
92 |
+
label={ __( 'Columns' ) }
|
93 |
value={ columns }
|
94 |
+
onChange={ columns => setAttributes( { columns } ) }
|
95 |
+
min={ 1 }
|
96 |
+
max={ 3 }
|
|
|
|
|
97 |
/>
|
98 |
</PanelBody>
|
99 |
<PanelColorSettings
|
124 |
>
|
125 |
</PanelColorSettings>
|
126 |
</InspectorControls>
|
127 |
+
<div className={ mainClasses }>
|
128 |
<div className={ 'ugb-team-member-column-one' }>
|
129 |
<div>
|
130 |
<MediaUpload
|
273 |
|
274 |
export const save = ( props ) => {
|
275 |
|
276 |
+
const { className } = props
|
277 |
const {
|
278 |
name,
|
279 |
nameTwo,
|
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 ) && (
|
393 |
);
|
394 |
}
|
395 |
|
396 |
+
export const schema = {
|
397 |
+
href: {
|
398 |
+
type: 'url',
|
399 |
+
},
|
400 |
+
hrefTwo: {
|
401 |
+
type: 'url',
|
402 |
+
},
|
403 |
+
hrefThree: {
|
404 |
+
type: 'url',
|
405 |
+
},
|
406 |
+
mediaID: {
|
407 |
+
type: 'number',
|
408 |
+
},
|
409 |
+
mediaIDTwo: {
|
410 |
+
type: 'number',
|
411 |
+
},
|
412 |
+
mediaIDThree: {
|
413 |
+
type: 'number',
|
414 |
+
},
|
415 |
+
mediaURL: {
|
416 |
+
type: 'string',
|
417 |
+
source: 'attribute',
|
418 |
+
selector: '.ugb-team-member-column-one .team-member-image',
|
419 |
+
attribute: 'data-src',
|
420 |
+
},
|
421 |
+
mediaURLTwo: {
|
422 |
+
type: 'string',
|
423 |
+
source: 'attribute',
|
424 |
+
selector: '.ugb-team-member-column-two .team-member-image',
|
425 |
+
attribute: 'data-src',
|
426 |
+
},
|
427 |
+
mediaURLThree: {
|
428 |
+
type: 'string',
|
429 |
+
source: 'attribute',
|
430 |
+
selector: '.ugb-team-member-column-three .team-member-image',
|
431 |
+
attribute: 'data-src',
|
432 |
+
},
|
433 |
+
name: {
|
434 |
+
source: 'html',
|
435 |
+
selector: '.ugb-team-member-column-one h4',
|
436 |
+
default: __( 'Ben Adams' )
|
437 |
+
},
|
438 |
+
nameTwo: {
|
439 |
+
source: 'html',
|
440 |
+
selector: '.ugb-team-member-column-two h4',
|
441 |
+
default: __( 'Alex Johnson' )
|
442 |
+
},
|
443 |
+
nameThree: {
|
444 |
+
source: 'html',
|
445 |
+
selector: '.ugb-team-member-column-three h4',
|
446 |
+
default: __( 'Sammy Simpson' )
|
447 |
+
},
|
448 |
+
position: {
|
449 |
+
source: 'html',
|
450 |
+
selector: '.ugb-team-member-column-one .ugb-team-member-position',
|
451 |
+
default: __( 'Founder' )
|
452 |
+
},
|
453 |
+
positionTwo: {
|
454 |
+
source: 'html',
|
455 |
+
selector: '.ugb-team-member-column-two .ugb-team-member-position',
|
456 |
+
default: __( 'Editor' )
|
457 |
+
},
|
458 |
+
positionThree: {
|
459 |
+
source: 'html',
|
460 |
+
selector: '.ugb-team-member-column-three .ugb-team-member-position',
|
461 |
+
default: __( 'Programmer' )
|
462 |
+
},
|
463 |
+
des: {
|
464 |
+
source: 'html',
|
465 |
+
selector: '.ugb-team-member-des',
|
466 |
+
default: __( 'Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.' )
|
467 |
+
},
|
468 |
+
desTwo: {
|
469 |
+
source: 'html',
|
470 |
+
selector: '.ugb-team-member-des-two',
|
471 |
+
default: __( 'Alex handles all written content. She enjoys painting and playing softball on the weekends.' )
|
472 |
+
},
|
473 |
+
desThree: {
|
474 |
+
source: 'html',
|
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 |
/**
|
501 |
* Register: Gutenberg Block.
|
518 |
__( 'Team Member' ),
|
519 |
__( 'Stackable' ),
|
520 |
],
|
521 |
+
attributes: schema,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
522 |
|
523 |
+
edit,
|
524 |
+
save,
|
525 |
} );
|
src/block/testimonial/index.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { TestimonialIcon } from '../../icons'
|
12 |
|
13 |
import {
|
@@ -16,6 +17,7 @@ import {
|
|
16 |
PanelColorSettings,
|
17 |
Button,
|
18 |
SelectControl,
|
|
|
19 |
InspectorControls,
|
20 |
RichText,
|
21 |
MediaUpload,
|
@@ -60,24 +62,22 @@ export const edit = ( props ) => {
|
|
60 |
iconColor
|
61 |
} = props.attributes;
|
62 |
|
63 |
-
const
|
64 |
-
|
65 |
-
|
66 |
-
{
|
67 |
-
]
|
68 |
|
69 |
return (
|
70 |
<Fragment>
|
71 |
<InspectorControls>
|
72 |
<PanelBody>
|
73 |
-
<
|
74 |
-
label={ __( '
|
75 |
value={ columns }
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
} ) ) }
|
80 |
-
onChange={ ( newColumns ) => { setAttributes( { columns: newColumns } ) } }
|
81 |
/>
|
82 |
</PanelBody>
|
83 |
<PanelColorSettings
|
@@ -108,7 +108,7 @@ export const edit = ( props ) => {
|
|
108 |
>
|
109 |
</PanelColorSettings>
|
110 |
</InspectorControls>
|
111 |
-
<div className={
|
112 |
<div className={ 'ugb-testimonial-column-one' }>
|
113 |
<div>
|
114 |
<MediaUpload
|
@@ -257,6 +257,7 @@ export const edit = ( props ) => {
|
|
257 |
|
258 |
export const save = ( props ) => {
|
259 |
|
|
|
260 |
const {
|
261 |
testimonialTitle,
|
262 |
testimonialTitleTwo,
|
@@ -280,6 +281,12 @@ export const save = ( props ) => {
|
|
280 |
columns
|
281 |
} = props.attributes;
|
282 |
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
const tesitimonialIcon = (
|
284 |
<div className={ 'quote-icon' }>
|
285 |
<svg viewBox="0 0 246 187.5" style={ { fill: iconColor } }>
|
@@ -291,7 +298,7 @@ export const save = ( props ) => {
|
|
291 |
)
|
292 |
|
293 |
return (
|
294 |
-
<div className={
|
295 |
<div className={ 'ugb-testimonial-column-one' }>
|
296 |
{ mediaURL ? <div className="testimonial-image" style={{ backgroundImage: `url(${mediaURL})` }} data-src={mediaURL}></div> : tesitimonialIcon }
|
297 |
{ ! RichText.isEmpty( testimonialTitle ) && (
|
@@ -378,6 +385,105 @@ export const save = ( props ) => {
|
|
378 |
);
|
379 |
}
|
380 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
|
382 |
/**
|
383 |
* Register: Gutenberg Block.
|
@@ -400,109 +506,8 @@ registerBlockType( 'ugb/testimonial', {
|
|
400 |
__( 'Testimonial' ),
|
401 |
__( 'Stackable' ),
|
402 |
],
|
403 |
-
attributes:
|
404 |
-
href: {
|
405 |
-
type: 'url',
|
406 |
-
},
|
407 |
-
hrefTwo: {
|
408 |
-
type: 'url',
|
409 |
-
},
|
410 |
-
hrefThree: {
|
411 |
-
type: 'url',
|
412 |
-
},
|
413 |
-
mediaID: {
|
414 |
-
type: 'number',
|
415 |
-
},
|
416 |
-
mediaIDTwo: {
|
417 |
-
type: 'number',
|
418 |
-
},
|
419 |
-
mediaIDThree: {
|
420 |
-
type: 'number',
|
421 |
-
},
|
422 |
-
mediaURL: {
|
423 |
-
type: 'string',
|
424 |
-
source: 'attribute',
|
425 |
-
selector: '.ugb-testimonial-column-one .testimonial-image',
|
426 |
-
attribute: 'data-src',
|
427 |
-
},
|
428 |
-
mediaURLTwo: {
|
429 |
-
type: 'string',
|
430 |
-
source: 'attribute',
|
431 |
-
selector: '.ugb-testimonial-column-two .testimonial-image',
|
432 |
-
attribute: 'data-src',
|
433 |
-
},
|
434 |
-
mediaURLThree: {
|
435 |
-
type: 'string',
|
436 |
-
source: 'attribute',
|
437 |
-
selector: '.ugb-testimonial-column-three .testimonial-image',
|
438 |
-
attribute: 'data-src',
|
439 |
-
},
|
440 |
-
testimonialTitle: {
|
441 |
-
source: 'html',
|
442 |
-
selector: '.ugb-testimonial-column-one h4',
|
443 |
-
default: __( 'Ben Adams' ),
|
444 |
-
},
|
445 |
-
testimonialTitleTwo: {
|
446 |
-
source: 'html',
|
447 |
-
selector: '.ugb-testimonial-column-two h4',
|
448 |
-
default: __( 'Alex Johnson' ),
|
449 |
-
},
|
450 |
-
testimonialTitleThree: {
|
451 |
-
source: 'html',
|
452 |
-
selector: '.ugb-testimonial-column-three h4',
|
453 |
-
default: __( 'Sammy Simpson' ),
|
454 |
-
},
|
455 |
-
position: {
|
456 |
-
source: 'html',
|
457 |
-
selector: '.ugb-testimonial-position',
|
458 |
-
default: __( 'Founder' ),
|
459 |
-
},
|
460 |
-
positionTwo: {
|
461 |
-
source: 'html',
|
462 |
-
selector: '.ugb-testimonial-position-two',
|
463 |
-
default: __( 'Editor' ),
|
464 |
-
},
|
465 |
-
positionThree: {
|
466 |
-
source: 'html',
|
467 |
-
selector: '.ugb-testimonial-position-three',
|
468 |
-
default: __( 'Programmer' ),
|
469 |
-
},
|
470 |
-
body: {
|
471 |
-
source: 'html',
|
472 |
-
selector: '.ugb-testimonial-body',
|
473 |
-
default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
|
474 |
-
},
|
475 |
-
bodyTwo: {
|
476 |
-
source: 'html',
|
477 |
-
selector: '.ugb-testimonial-body-two',
|
478 |
-
default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
|
479 |
-
},
|
480 |
-
bodyThree: {
|
481 |
-
source: 'html',
|
482 |
-
selector: '.ugb-testimonial-body-three',
|
483 |
-
default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
|
484 |
-
},
|
485 |
-
titleColor: {
|
486 |
-
type: 'string',
|
487 |
-
},
|
488 |
-
posColor: {
|
489 |
-
type: 'string',
|
490 |
-
},
|
491 |
-
bodyTextColor: {
|
492 |
-
type: 'string',
|
493 |
-
},
|
494 |
-
iconColor: {
|
495 |
-
type: 'string',
|
496 |
-
},
|
497 |
-
columns: {
|
498 |
-
type: 'select',
|
499 |
-
default: '1'
|
500 |
-
}
|
501 |
-
},
|
502 |
-
|
503 |
-
// The "edit" property must be a valid function.
|
504 |
-
edit: edit,
|
505 |
|
506 |
-
|
507 |
-
save
|
508 |
} );
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
11 |
+
import classnames from 'classnames'
|
12 |
import { TestimonialIcon } from '../../icons'
|
13 |
|
14 |
import {
|
17 |
PanelColorSettings,
|
18 |
Button,
|
19 |
SelectControl,
|
20 |
+
RangeControl,
|
21 |
InspectorControls,
|
22 |
RichText,
|
23 |
MediaUpload,
|
62 |
iconColor
|
63 |
} = props.attributes;
|
64 |
|
65 |
+
const mainClasses = classnames( [
|
66 |
+
className,
|
67 |
+
'ugb-testimonial',
|
68 |
+
`column-${columns}`,
|
69 |
+
] )
|
70 |
|
71 |
return (
|
72 |
<Fragment>
|
73 |
<InspectorControls>
|
74 |
<PanelBody>
|
75 |
+
<RangeControl
|
76 |
+
label={ __( 'Columns' ) }
|
77 |
value={ columns }
|
78 |
+
onChange={ columns => setAttributes( { columns } ) }
|
79 |
+
min={ 1 }
|
80 |
+
max={ 3 }
|
|
|
|
|
81 |
/>
|
82 |
</PanelBody>
|
83 |
<PanelColorSettings
|
108 |
>
|
109 |
</PanelColorSettings>
|
110 |
</InspectorControls>
|
111 |
+
<div className={ mainClasses }>
|
112 |
<div className={ 'ugb-testimonial-column-one' }>
|
113 |
<div>
|
114 |
<MediaUpload
|
257 |
|
258 |
export const save = ( props ) => {
|
259 |
|
260 |
+
const { className } = props
|
261 |
const {
|
262 |
testimonialTitle,
|
263 |
testimonialTitleTwo,
|
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 } }>
|
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 ) && (
|
385 |
);
|
386 |
}
|
387 |
|
388 |
+
export const schema = {
|
389 |
+
href: {
|
390 |
+
type: 'url',
|
391 |
+
},
|
392 |
+
hrefTwo: {
|
393 |
+
type: 'url',
|
394 |
+
},
|
395 |
+
hrefThree: {
|
396 |
+
type: 'url',
|
397 |
+
},
|
398 |
+
mediaID: {
|
399 |
+
type: 'number',
|
400 |
+
},
|
401 |
+
mediaIDTwo: {
|
402 |
+
type: 'number',
|
403 |
+
},
|
404 |
+
mediaIDThree: {
|
405 |
+
type: 'number',
|
406 |
+
},
|
407 |
+
mediaURL: {
|
408 |
+
type: 'string',
|
409 |
+
source: 'attribute',
|
410 |
+
selector: '.ugb-testimonial-column-one .testimonial-image',
|
411 |
+
attribute: 'data-src',
|
412 |
+
},
|
413 |
+
mediaURLTwo: {
|
414 |
+
type: 'string',
|
415 |
+
source: 'attribute',
|
416 |
+
selector: '.ugb-testimonial-column-two .testimonial-image',
|
417 |
+
attribute: 'data-src',
|
418 |
+
},
|
419 |
+
mediaURLThree: {
|
420 |
+
type: 'string',
|
421 |
+
source: 'attribute',
|
422 |
+
selector: '.ugb-testimonial-column-three .testimonial-image',
|
423 |
+
attribute: 'data-src',
|
424 |
+
},
|
425 |
+
testimonialTitle: {
|
426 |
+
source: 'html',
|
427 |
+
selector: '.ugb-testimonial-column-one h4',
|
428 |
+
default: __( 'Ben Adams' ),
|
429 |
+
},
|
430 |
+
testimonialTitleTwo: {
|
431 |
+
source: 'html',
|
432 |
+
selector: '.ugb-testimonial-column-two h4',
|
433 |
+
default: __( 'Alex Johnson' ),
|
434 |
+
},
|
435 |
+
testimonialTitleThree: {
|
436 |
+
source: 'html',
|
437 |
+
selector: '.ugb-testimonial-column-three h4',
|
438 |
+
default: __( 'Sammy Simpson' ),
|
439 |
+
},
|
440 |
+
position: {
|
441 |
+
source: 'html',
|
442 |
+
selector: '.ugb-testimonial-position',
|
443 |
+
default: __( 'Founder' ),
|
444 |
+
},
|
445 |
+
positionTwo: {
|
446 |
+
source: 'html',
|
447 |
+
selector: '.ugb-testimonial-position-two',
|
448 |
+
default: __( 'Editor' ),
|
449 |
+
},
|
450 |
+
positionThree: {
|
451 |
+
source: 'html',
|
452 |
+
selector: '.ugb-testimonial-position-three',
|
453 |
+
default: __( 'Programmer' ),
|
454 |
+
},
|
455 |
+
body: {
|
456 |
+
source: 'html',
|
457 |
+
selector: '.ugb-testimonial-body',
|
458 |
+
default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
|
459 |
+
},
|
460 |
+
bodyTwo: {
|
461 |
+
source: 'html',
|
462 |
+
selector: '.ugb-testimonial-body-two',
|
463 |
+
default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
|
464 |
+
},
|
465 |
+
bodyThree: {
|
466 |
+
source: 'html',
|
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 |
/**
|
489 |
* Register: Gutenberg Block.
|
506 |
__( 'Testimonial' ),
|
507 |
__( 'Stackable' ),
|
508 |
],
|
509 |
+
attributes: schema,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
510 |
|
511 |
+
edit,
|
512 |
+
save,
|
513 |
} );
|
src/block/video-popup/deprecated.js
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
export const deprecatedSchema_1_2_1 = {
|
2 |
+
videoLink: {
|
3 |
+
type: 'string',
|
4 |
+
source: 'attribute',
|
5 |
+
selector: '.ugb-video-popup',
|
6 |
+
attribute: 'data-video',
|
7 |
+
},
|
8 |
+
mediaLink: {
|
9 |
+
type: 'string',
|
10 |
+
source: 'attribute',
|
11 |
+
selector: '.ugb-video-preview',
|
12 |
+
attribute: 'data-url',
|
13 |
+
},
|
14 |
+
mediaID: {
|
15 |
+
type: 'number',
|
16 |
+
},
|
17 |
+
overlayColor: {
|
18 |
+
type: 'string',
|
19 |
+
default: '#000000',
|
20 |
+
},
|
21 |
+
playButtonType: {
|
22 |
+
type: 'string',
|
23 |
+
default: 'normal'
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
const playButton = {
|
28 |
+
normal: <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 256 320"><path d="M0 0v320l256-160L0 0z"/></svg>,
|
29 |
+
circle: <svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 40 40"><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"/></svg>,
|
30 |
+
outline: <svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 34 34"><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"/><path d="M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"/></svg>
|
31 |
+
}
|
32 |
+
|
33 |
+
export const deprecatedSave_1_2_1 = ( props ) => {
|
34 |
+
const {
|
35 |
+
videoLink,
|
36 |
+
mediaLink,
|
37 |
+
overlayColor,
|
38 |
+
playButtonType,
|
39 |
+
mediaID
|
40 |
+
} = props.attributes
|
41 |
+
|
42 |
+
return (
|
43 |
+
<div className='ugb-video-popup'
|
44 |
+
data-video={ videoLink }
|
45 |
+
style={ { backgroundColor: overlayColor } }>
|
46 |
+
<div className='ugb-video-preview'
|
47 |
+
style={ { backgroundImage: `url(${mediaLink})` } }
|
48 |
+
data-url={ mediaLink }>
|
49 |
+
</div>
|
50 |
+
<div className='ugb-video-wrapper' >
|
51 |
+
<a href="#" style={ { backgroundColor: overlayColor } } />
|
52 |
+
<span className='ugb-play-button'>
|
53 |
+
{ playButton[ playButtonType ] }
|
54 |
+
</span>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
);
|
58 |
+
}
|
src/block/video-popup/index.js
CHANGED
@@ -8,7 +8,12 @@
|
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
import './editor.scss';
|
|
|
11 |
import { VideoPopupIcon } from '../../icons'
|
|
|
|
|
|
|
|
|
12 |
|
13 |
import {
|
14 |
registerBlockType,
|
@@ -41,17 +46,24 @@ export const edit = ( props ) => {
|
|
41 |
} = props
|
42 |
const {
|
43 |
videoLink,
|
|
|
44 |
mediaLink,
|
45 |
overlayColor,
|
46 |
playButtonType,
|
47 |
-
mediaID
|
48 |
} = props.attributes
|
|
|
49 |
const playButtonTypes = [
|
50 |
{ value: 'normal', label: __( 'Normal Play Button' ) },
|
51 |
{ value: 'circle', label: __( 'Play Button with Circle' ) },
|
52 |
{ value: 'outline', label: __( 'Outline Play Button' ) }
|
53 |
];
|
54 |
|
|
|
|
|
|
|
|
|
|
|
55 |
return (
|
56 |
<Fragment>
|
57 |
<BlockControls>
|
@@ -98,8 +110,7 @@ export const edit = ( props ) => {
|
|
98 |
>
|
99 |
</PanelColorSettings>
|
100 |
</InspectorControls>
|
101 |
-
<div className=
|
102 |
-
data-video={ videoLink }
|
103 |
style={ { backgroundColor: overlayColor } }>
|
104 |
<div className='ugb-video-preview'
|
105 |
style={ { backgroundImage: `url(${mediaLink})` } }>
|
@@ -135,14 +146,19 @@ export const edit = ( props ) => {
|
|
135 |
<Dashicon icon={ 'admin-links' } />
|
136 |
<URLInput
|
137 |
value={ videoLink }
|
138 |
-
onChange={
|
|
|
|
|
|
|
|
|
|
|
139 |
/>
|
140 |
<IconButton
|
141 |
icon={ 'editor-break' }
|
142 |
label={ __( 'Apply' ) }
|
143 |
type={ 'submit' }
|
144 |
/>
|
145 |
-
<p className="ugb-video-popup-link-desc"><i>Youtube/Vimeo
|
146 |
</form>
|
147 |
) }
|
148 |
</Fragment>
|
@@ -150,17 +166,25 @@ export const edit = ( props ) => {
|
|
150 |
}
|
151 |
|
152 |
export const save = ( props ) => {
|
|
|
153 |
const {
|
154 |
videoLink,
|
|
|
155 |
mediaLink,
|
156 |
overlayColor,
|
157 |
playButtonType,
|
158 |
mediaID
|
159 |
} = props.attributes
|
160 |
|
|
|
|
|
|
|
|
|
|
|
161 |
return (
|
162 |
-
<div className=
|
163 |
-
data-video={
|
|
|
164 |
style={ { backgroundColor: overlayColor } }>
|
165 |
<div className='ugb-video-preview'
|
166 |
style={ { backgroundImage: `url(${mediaLink})` } }
|
@@ -176,6 +200,38 @@ export const save = ( props ) => {
|
|
176 |
);
|
177 |
}
|
178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
/**
|
180 |
* Register: Gutenberg Block.
|
181 |
*
|
@@ -197,34 +253,22 @@ registerBlockType( 'ugb/video-popup', {
|
|
197 |
__( 'Video Popup' ),
|
198 |
__( 'Stackable' ),
|
199 |
],
|
200 |
-
attributes:
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
},
|
216 |
-
overlayColor: {
|
217 |
-
type: 'string',
|
218 |
-
default: '#000000',
|
219 |
-
},
|
220 |
-
playButtonType: {
|
221 |
-
type: 'string',
|
222 |
-
default: 'normal'
|
223 |
-
}
|
224 |
-
},
|
225 |
|
226 |
-
|
227 |
-
|
228 |
-
// The "save" property must be specified and must be a valid function.
|
229 |
-
save: save,
|
230 |
} );
|
8 |
// Import CSS.
|
9 |
import './style.scss';
|
10 |
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 |
|
18 |
import {
|
19 |
registerBlockType,
|
46 |
} = props
|
47 |
const {
|
48 |
videoLink,
|
49 |
+
videoID,
|
50 |
mediaLink,
|
51 |
overlayColor,
|
52 |
playButtonType,
|
53 |
+
mediaID,
|
54 |
} = props.attributes
|
55 |
+
|
56 |
const playButtonTypes = [
|
57 |
{ value: 'normal', label: __( 'Normal Play Button' ) },
|
58 |
{ value: 'circle', label: __( 'Play Button with Circle' ) },
|
59 |
{ value: 'outline', label: __( 'Outline Play Button' ) }
|
60 |
];
|
61 |
|
62 |
+
const mainClasses = classnames( [
|
63 |
+
className,
|
64 |
+
'ugb-video-popup',
|
65 |
+
] )
|
66 |
+
|
67 |
return (
|
68 |
<Fragment>
|
69 |
<BlockControls>
|
110 |
>
|
111 |
</PanelColorSettings>
|
112 |
</InspectorControls>
|
113 |
+
<div className={ mainClasses }
|
|
|
114 |
style={ { backgroundColor: overlayColor } }>
|
115 |
<div className='ugb-video-preview'
|
116 |
style={ { backgroundImage: `url(${mediaLink})` } }>
|
146 |
<Dashicon icon={ 'admin-links' } />
|
147 |
<URLInput
|
148 |
value={ videoLink }
|
149 |
+
onChange={ value => {
|
150 |
+
setAttributes( {
|
151 |
+
videoLink: value,
|
152 |
+
videoID: getVideoProviderFromURL( value )['id'],
|
153 |
+
} )
|
154 |
+
} }
|
155 |
/>
|
156 |
<IconButton
|
157 |
icon={ 'editor-break' }
|
158 |
label={ __( 'Apply' ) }
|
159 |
type={ 'submit' }
|
160 |
/>
|
161 |
+
<p className="ugb-video-popup-link-desc"><i>{ __( 'Youtube / Vimeo only' ) }</i></p>
|
162 |
</form>
|
163 |
) }
|
164 |
</Fragment>
|
166 |
}
|
167 |
|
168 |
export const save = ( props ) => {
|
169 |
+
const { className } = 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})` } }
|
200 |
);
|
201 |
}
|
202 |
|
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 |
/**
|
236 |
* Register: Gutenberg Block.
|
237 |
*
|
253 |
__( 'Video Popup' ),
|
254 |
__( 'Stackable' ),
|
255 |
],
|
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,
|
273 |
+
save,
|
|
|
|
|
274 |
} );
|
src/common.scss
CHANGED
@@ -5,6 +5,14 @@
|
|
5 |
* that are used across the project.
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
.gutenberg {
|
9 |
.ugb-editor-label {
|
10 |
font-size: 12px;
|
@@ -28,6 +36,18 @@
|
|
28 |
justify-content: center;
|
29 |
align-items: center;
|
30 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
// Box
|
33 |
$box-radius: 12px;
|
@@ -38,7 +58,13 @@ $box-vert-padding: 60px;
|
|
38 |
box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
|
39 |
background-color: #fff;
|
40 |
border-radius: $box-radius;
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
}
|
43 |
|
44 |
@mixin baseBlock() {
|
5 |
* that are used across the project.
|
6 |
*/
|
7 |
|
8 |
+
// Most used breakpoints
|
9 |
+
$break-huge: 1440px;
|
10 |
+
$break-wide: 1280px;
|
11 |
+
$break-large: 960px; // admin sidebar auto folds
|
12 |
+
$break-medium: 782px; // adminbar goes big
|
13 |
+
$break-small: 600px;
|
14 |
+
$break-mobile: 480px;
|
15 |
+
|
16 |
.gutenberg {
|
17 |
.ugb-editor-label {
|
18 |
font-size: 12px;
|
36 |
justify-content: center;
|
37 |
align-items: center;
|
38 |
}
|
39 |
+
.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link {
|
40 |
+
margin: 1rem auto 0 auto;
|
41 |
+
.editor-url-input {
|
42 |
+
max-width: 300px;
|
43 |
+
flex: 1;
|
44 |
+
width: auto;
|
45 |
+
margin-left: 8px;
|
46 |
+
[type=text] {
|
47 |
+
width: 100%;
|
48 |
+
}
|
49 |
+
}
|
50 |
+
}
|
51 |
|
52 |
// Box
|
53 |
$box-radius: 12px;
|
58 |
box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
|
59 |
background-color: #fff;
|
60 |
border-radius: $box-radius;
|
61 |
+
padding: $box-vert-padding $box-hori-padding;
|
62 |
+
@media screen and (max-width: $break-medium) {
|
63 |
+
padding: ($box-vert-padding * 2/3) ($box-hori-padding * 2/3);
|
64 |
+
}
|
65 |
+
@media screen and (max-width: $break-small) {
|
66 |
+
padding: $box-hori-padding ($box-hori-padding / 2);
|
67 |
+
}
|
68 |
}
|
69 |
|
70 |
@mixin baseBlock() {
|
src/components/panel-button-settings/index.js
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import classnames from 'classnames'
|
2 |
+
import {
|
3 |
+
__,
|
4 |
+
Fragment,
|
5 |
+
PanelColorSettings,
|
6 |
+
SelectControl,
|
7 |
+
RangeControl,
|
8 |
+
RichText,
|
9 |
+
} from '../../wp-imports'
|
10 |
+
|
11 |
+
function PanelButtonSettings( props ) {
|
12 |
+
|
13 |
+
const {
|
14 |
+
buttonColor,
|
15 |
+
buttonTextColor,
|
16 |
+
buttonSize,
|
17 |
+
buttonBorderRadius,
|
18 |
+
onChangeButtonColor = () => {},
|
19 |
+
onChangeButtonTextColor = () => {},
|
20 |
+
onChangeButtonSize = () => {},
|
21 |
+
onChangeButtonBorderRadius = () => {},
|
22 |
+
} = props
|
23 |
+
|
24 |
+
return (
|
25 |
+
<Fragment>
|
26 |
+
<PanelColorSettings
|
27 |
+
initialOpen={ false }
|
28 |
+
title={ __( 'Button Settings' ) }
|
29 |
+
colorSettings={ [
|
30 |
+
{
|
31 |
+
value: buttonColor,
|
32 |
+
onChange: onChangeButtonColor,
|
33 |
+
label: __( 'Button Color' ),
|
34 |
+
},
|
35 |
+
{
|
36 |
+
value: buttonTextColor,
|
37 |
+
onChange: onChangeButtonTextColor,
|
38 |
+
label: __( 'Text Color' ),
|
39 |
+
},
|
40 |
+
] }
|
41 |
+
{ ...props }
|
42 |
+
>
|
43 |
+
<SelectControl
|
44 |
+
label={ __( 'Size' ) }
|
45 |
+
value={ buttonSize }
|
46 |
+
options={ [
|
47 |
+
{ value: 'small', label: __( 'Small' ) },
|
48 |
+
{ value: 'normal', label: __( 'Normal' ) },
|
49 |
+
{ value: 'medium', label: __( 'Medium' ) },
|
50 |
+
{ value: 'large', label: __( 'Large' ) },
|
51 |
+
] }
|
52 |
+
onChange={ onChangeButtonSize }
|
53 |
+
/>
|
54 |
+
<RangeControl
|
55 |
+
label={ __( 'Border Radius' ) }
|
56 |
+
value={ buttonBorderRadius }
|
57 |
+
min='1'
|
58 |
+
max='50'
|
59 |
+
onChange={ onChangeButtonBorderRadius }
|
60 |
+
/>
|
61 |
+
</PanelColorSettings>
|
62 |
+
</Fragment>
|
63 |
+
)
|
64 |
+
}
|
65 |
+
|
66 |
+
export default PanelButtonSettings
|
src/init.php
CHANGED
@@ -25,7 +25,7 @@ function my_block_ugb_block_assets() {
|
|
25 |
wp_enqueue_style(
|
26 |
'ugb-style-css', // Handle.
|
27 |
plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS.
|
28 |
-
array(
|
29 |
STACKABLE_VERSION
|
30 |
// filemtime( plugin_dir_path( __FILE__ ) . 'editor.css' ) // Version: filemtime — Gets file modification time.
|
31 |
);
|
@@ -44,7 +44,7 @@ function my_block_ugb_block_assets() {
|
|
44 |
wp_enqueue_script(
|
45 |
'ugb-block-frontend-js', // Handle.
|
46 |
plugins_url( '/dist/blocks.frontend.build.min.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
|
47 |
-
array(
|
48 |
STACKABLE_VERSION
|
49 |
// filemtime( plugin_dir_path( __FILE__ ) . 'block.js' ) // Version: filemtime — Gets file modification time.
|
50 |
);
|
@@ -67,7 +67,7 @@ function my_block_ugb_editor_assets() {
|
|
67 |
wp_enqueue_script(
|
68 |
'ugb-block-js', // Handle.
|
69 |
plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
|
70 |
-
array( 'wp-blocks', 'wp-
|
71 |
STACKABLE_VERSION
|
72 |
// filemtime( plugin_dir_path( __FILE__ ) . 'block.js' ) // Version: filemtime — Gets file modification time.
|
73 |
);
|
@@ -118,17 +118,13 @@ add_filter( 'block_categories', function( $categories, $post ) {
|
|
118 |
);
|
119 |
}, 10, 2 );
|
120 |
|
121 |
-
add_action( '
|
122 |
-
add_action( 'enqueue_block_editor_assets', 'stackable_add_required_block_styles' );
|
123 |
function stackable_add_required_block_styles() {
|
124 |
global $content_width;
|
125 |
$full_width_block_inner_width = isset( $content_width ) ? $content_width : 900;
|
126 |
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
}
|
132 |
-
</style>
|
133 |
-
<?php
|
134 |
}
|
25 |
wp_enqueue_style(
|
26 |
'ugb-style-css', // Handle.
|
27 |
plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS.
|
28 |
+
array(), // Dependency to include the CSS after it.
|
29 |
STACKABLE_VERSION
|
30 |
// filemtime( plugin_dir_path( __FILE__ ) . 'editor.css' ) // Version: filemtime — Gets file modification time.
|
31 |
);
|
44 |
wp_enqueue_script(
|
45 |
'ugb-block-frontend-js', // Handle.
|
46 |
plugins_url( '/dist/blocks.frontend.build.min.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
|
47 |
+
array(), // Dependencies, defined above.
|
48 |
STACKABLE_VERSION
|
49 |
// filemtime( plugin_dir_path( __FILE__ ) . 'block.js' ) // Version: filemtime — Gets file modification time.
|
50 |
);
|
67 |
wp_enqueue_script(
|
68 |
'ugb-block-js', // Handle.
|
69 |
plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
|
70 |
+
array( 'wp-blocks', 'wp-element', 'wp-components', 'wp-editor' ), // Dependencies, defined above.
|
71 |
STACKABLE_VERSION
|
72 |
// filemtime( plugin_dir_path( __FILE__ ) . 'block.js' ) // Version: filemtime — Gets file modification time.
|
73 |
);
|
118 |
);
|
119 |
}, 10, 2 );
|
120 |
|
121 |
+
add_action( 'enqueue_block_assets', 'stackable_add_required_block_styles', 11 );
|
|
|
122 |
function stackable_add_required_block_styles() {
|
123 |
global $content_width;
|
124 |
$full_width_block_inner_width = isset( $content_width ) ? $content_width : 900;
|
125 |
|
126 |
+
$custom_css = ':root {
|
127 |
+
--content-width: ' . esc_attr( $full_width_block_inner_width ) . 'px;
|
128 |
+
}';
|
129 |
+
wp_add_inline_style( 'ugb-style-css', $custom_css );
|
|
|
|
|
|
|
130 |
}
|
src/util.js
CHANGED
@@ -22,4 +22,49 @@ export const svgRenderToString = ( svgComponent, esc = true ) => {
|
|
22 |
return s.replace( /#/g, '%23' ) // Using unescaped '#' characters in a data URI body is deprecated and will be removed in M71, around December 2018. Please use '%23' instead. See https://www.chromestatus.com/features/5656049583390720 for more details.
|
23 |
}
|
24 |
return s
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
}
|
22 |
return s.replace( /#/g, '%23' ) // Using unescaped '#' characters in a data URI body is deprecated and will be removed in M71, around December 2018. Please use '%23' instead. See https://www.chromestatus.com/features/5656049583390720 for more details.
|
23 |
}
|
24 |
return s
|
25 |
+
}
|
26 |
+
|
27 |
+
/**
|
28 |
+
* From a URL, get the video ID and provider: YouTube or Vimeo.
|
29 |
+
*/
|
30 |
+
export const getVideoProviderFromURL = ( url ) => {
|
31 |
+
let id = ''
|
32 |
+
|
33 |
+
// Check for YouTube.
|
34 |
+
id = ( url.match( /youtube\.com\/watch\?v=([^\&\?\/]+)/i ) || [] )[1]
|
35 |
+
|
36 |
+
if ( ! id ) {
|
37 |
+
id = ( url.match( /youtube\.com\/embed\/([^\&\?\/]+)/i ) || [] )[1]
|
38 |
+
}
|
39 |
+
if ( ! id ) {
|
40 |
+
id = ( url.match( /youtube\.com\/v\/([^\&\?\/]+)/i ) || [] )[1]
|
41 |
+
}
|
42 |
+
if ( ! id ) {
|
43 |
+
id = ( url.match( /youtu\.be\/([^\&\?\/]+)/i ) || [] )[1]
|
44 |
+
}
|
45 |
+
|
46 |
+
if ( id ) {
|
47 |
+
return {
|
48 |
+
type: 'youtube',
|
49 |
+
id,
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
// Check for Vimeo.
|
54 |
+
id = ( url.match( /vimeo\.com\/(\w*\/)*(\d+)/i ) || [] )[1]
|
55 |
+
if ( ! id ) {
|
56 |
+
id = ( url.match( /^\d+$/i ) || [] )[1]
|
57 |
+
}
|
58 |
+
|
59 |
+
if ( id ) {
|
60 |
+
return {
|
61 |
+
type: 'vimeo',
|
62 |
+
id,
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
+
return {
|
67 |
+
type: 'youtube',
|
68 |
+
id: url,
|
69 |
+
}
|
70 |
}
|
src/welcome.scss
CHANGED
@@ -44,6 +44,7 @@ body.toplevel_page_stackable {
|
|
44 |
}
|
45 |
.s-box {
|
46 |
@include box();
|
|
|
47 |
}
|
48 |
.s-button {
|
49 |
border: none;
|
@@ -88,6 +89,7 @@ body.toplevel_page_stackable {
|
|
88 |
.s-side {
|
89 |
h2, h3 {
|
90 |
text-align: center;
|
|
|
91 |
}
|
92 |
}
|
93 |
.s-gambit-logo {
|
@@ -105,6 +107,11 @@ body.toplevel_page_stackable {
|
|
105 |
vertical-align: top;
|
106 |
width: 1em;
|
107 |
}
|
|
|
|
|
|
|
|
|
|
|
108 |
}
|
109 |
|
110 |
// Collapse to a single column for mobile.
|
44 |
}
|
45 |
.s-box {
|
46 |
@include box();
|
47 |
+
margin-bottom: 30px;
|
48 |
}
|
49 |
.s-button {
|
50 |
border: none;
|
89 |
.s-side {
|
90 |
h2, h3 {
|
91 |
text-align: center;
|
92 |
+
line-height: 1.2em;
|
93 |
}
|
94 |
}
|
95 |
.s-gambit-logo {
|
107 |
vertical-align: top;
|
108 |
width: 1em;
|
109 |
}
|
110 |
+
.s-support-box {
|
111 |
+
> p:last-child {
|
112 |
+
text-align: center;
|
113 |
+
}
|
114 |
+
}
|
115 |
}
|
116 |
|
117 |
// Collapse to a single column for mobile.
|
welcome.php
CHANGED
@@ -54,6 +54,8 @@ if ( ! class_exists( 'Stackable_Welcome_Screen' ) ) {
|
|
54 |
<li><?php _e( 'Choose a block and customize how it looks in the sidebar inspector', 'stackable' ) ?></li>
|
55 |
</ol>
|
56 |
<p><img src="<?php echo esc_url( plugins_url( 'images/stackable-how.gif', __FILE__ ) ) ?>" alt="<?php esc_attr_e( 'Stackable Screenshot' ) ?>" class="s-gif"/></p>
|
|
|
|
|
57 |
<p><?php printf( __( 'Made by %s', 'stackable' ), '<a href="https://gambit.ph" target="blank"><img src="' . esc_url( plugins_url( 'images/gambit-logo-small.png', __FILE__ ) ) . '" height="35" class="s-gambit-logo" alt="Gambit"/></a>' ) ?></p>
|
58 |
</article>
|
59 |
<div class="s-side">
|
@@ -62,6 +64,11 @@ if ( ! class_exists( 'Stackable_Welcome_Screen' ) ) {
|
|
62 |
<p><?php _e( 'Get our FREE WordPress theme that\'s beautiful & flexible, and made especially for Stackable blocks and the new WordPress editor. Subscribe to our newsletter to get the Stackable Theme now.', 'stackable' ) ?></p>
|
63 |
<p><a href="http://eepurl.com/dJY9xI" class="s-button" target="blank" title="Subscibe & Download"><?php _e( 'Subscribe & Download', 'stackable' ) ?></a></p>
|
64 |
</aside>
|
|
|
|
|
|
|
|
|
|
|
65 |
</div>
|
66 |
</section>
|
67 |
</div>
|
54 |
<li><?php _e( 'Choose a block and customize how it looks in the sidebar inspector', 'stackable' ) ?></li>
|
55 |
</ol>
|
56 |
<p><img src="<?php echo esc_url( plugins_url( 'images/stackable-how.gif', __FILE__ ) ) ?>" alt="<?php esc_attr_e( 'Stackable Screenshot' ) ?>" class="s-gif"/></p>
|
57 |
+
<h2><?php _e( 'Help Us out by Rating Stackable', 'stackable' ) ?></h2>
|
58 |
+
<p><?php printf( __( 'Stackable was made with love ❤️ We strive to give you as much awesome possibilities for your websites. %sRating our plugin 5 stars in the plugin directory%s pushes us to give you new features and updates.', 'stackable' ), '<a href="https://wordpress.org/support/plugin/stackable-ultimate-gutenberg-blocks/reviews/#new-post" target="_blank">', '</a>' ) ?></p>
|
59 |
<p><?php printf( __( 'Made by %s', 'stackable' ), '<a href="https://gambit.ph" target="blank"><img src="' . esc_url( plugins_url( 'images/gambit-logo-small.png', __FILE__ ) ) . '" height="35" class="s-gambit-logo" alt="Gambit"/></a>' ) ?></p>
|
60 |
</article>
|
61 |
<div class="s-side">
|
64 |
<p><?php _e( 'Get our FREE WordPress theme that\'s beautiful & flexible, and made especially for Stackable blocks and the new WordPress editor. Subscribe to our newsletter to get the Stackable Theme now.', 'stackable' ) ?></p>
|
65 |
<p><a href="http://eepurl.com/dJY9xI" class="s-button" target="blank" title="Subscibe & Download"><?php _e( 'Subscribe & Download', 'stackable' ) ?></a></p>
|
66 |
</aside>
|
67 |
+
<aside class="s-box s-support-box">
|
68 |
+
<h3><?php _e( 'Suggestions or Bug Reports', 'stackable' ) ?></h3>
|
69 |
+
<p><?php _e( 'If you have any suggestions and bug reports, let us know in our plugin support forum.', 'stackable' ) ?></p>
|
70 |
+
<p><a href="https://wordpress.org/support/plugin/stackable-ultimate-gutenberg-blocks" target="blank" title="Support Forum"><?php _e( 'Plugin Support Forum', 'stackable' ) ?></a></p>
|
71 |
+
</aside>
|
72 |
</div>
|
73 |
</section>
|
74 |
</div>
|