Stackable – Page Builder Gutenberg Blocks - Version 1.2

Version Description

  • New: Welcome Screen
  • Fixed: Image box block did not show any link fields
  • Fixed: Header block did not follow text alignment
  • Changed: Block icon colors
Download this release

Release Info

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

Code changes from version 1.1.2 to 1.2

dist/admin.welcome.css ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Admin Welcome Screen
3
+ */
4
+
5
+ body.toplevel_page_stackable #wpcontent {
6
+ padding-left: 0;
7
+ }
8
+
9
+ body.toplevel_page_stackable .wrap {
10
+ margin: 0;
11
+ }
12
+
13
+ /**
14
+ * #.# Common SCSS
15
+ *
16
+ * Can include things like variables and mixins
17
+ * that are used across the project.
18
+ */
19
+
20
+ .gutenberg .ugb-editor-label {
21
+ font-size: 12px;
22
+ text-transform: uppercase;
23
+ font-weight: 600;
24
+ font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
25
+ color: #8e979e;
26
+ padding: 2em 0 0;
27
+ background: #fff;
28
+ border: none;
29
+ -webkit-box-shadow: none;
30
+ box-shadow: none;
31
+ white-space: nowrap;
32
+ display: block;
33
+ }
34
+
35
+ .gutenberg .ugb-editor-label:first-child {
36
+ padding-top: 0;
37
+ }
38
+
39
+ [class*="ugb-"] form[class*="-link"],
40
+ form[class*="ugb-"][class*="-link"],
41
+ [class*="ugb-"] + form[class*="-link"] {
42
+ display: -webkit-box;
43
+ display: -ms-flexbox;
44
+ display: flex;
45
+ -webkit-box-pack: center;
46
+ -ms-flex-pack: center;
47
+ justify-content: center;
48
+ -webkit-box-align: center;
49
+ -ms-flex-align: center;
50
+ align-items: center;
51
+ }
52
+
53
+ [class*="ugb-"].alignfull {
54
+ border-radius: 0 !important;
55
+ }
56
+
57
+ body.toplevel_page_stackable .s-header,
58
+ body.toplevel_page_stackable .s-body-container {
59
+ padding: 50px;
60
+ }
61
+
62
+ body.toplevel_page_stackable .s-header {
63
+ background: -webkit-gradient(linear, left top, right top, from(#ab5af1), to(#fb6874));
64
+ background: linear-gradient(to right, #ab5af1, #fb6874);
65
+ display: -webkit-box;
66
+ display: -ms-flexbox;
67
+ display: flex;
68
+ -webkit-box-orient: horizontal;
69
+ -webkit-box-direction: normal;
70
+ -ms-flex-direction: row;
71
+ flex-direction: row;
72
+ -webkit-box-pack: justify;
73
+ -ms-flex-pack: justify;
74
+ justify-content: space-between;
75
+ -webkit-box-align: center;
76
+ -ms-flex-align: center;
77
+ align-items: center;
78
+ padding-bottom: 100px;
79
+ }
80
+
81
+ body.toplevel_page_stackable .s-header img {
82
+ height: 50px;
83
+ }
84
+
85
+ body.toplevel_page_stackable h1 {
86
+ color: #fff;
87
+ font-size: 2.5em;
88
+ font-weight: bold;
89
+ }
90
+
91
+ body.toplevel_page_stackable h2 {
92
+ font-size: 2em;
93
+ }
94
+
95
+ body.toplevel_page_stackable h3 {
96
+ font-size: 1.5em;
97
+ }
98
+
99
+ body.toplevel_page_stackable .s-box {
100
+ -webkit-box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
101
+ box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
102
+ background-color: #fff;
103
+ border-radius: 12px;
104
+ padding: 60px 35px;
105
+ }
106
+
107
+ body.toplevel_page_stackable .s-button {
108
+ border: none;
109
+ border-radius: 4px;
110
+ -webkit-box-shadow: none !important;
111
+ box-shadow: none !important;
112
+ cursor: pointer;
113
+ opacity: 1;
114
+ background: #ab5af1;
115
+ -webkit-transition: opacity .2s ease-in-out;
116
+ transition: opacity .2s ease-in-out;
117
+ box-shadow: none !important;
118
+ color: #fff;
119
+ text-decoration: none;
120
+ padding: .75em 1.25em;
121
+ display: block;
122
+ margin: 0 auto;
123
+ max-width: 200px;
124
+ text-align: center;
125
+ }
126
+
127
+ body.toplevel_page_stackable .s-button:hover {
128
+ opacity: .85;
129
+ -webkit-box-shadow: none !important;
130
+ box-shadow: none !important;
131
+ }
132
+
133
+ body.toplevel_page_stackable .s-body-container {
134
+ display: grid;
135
+ grid-template-columns: 1fr 350px;
136
+ grid-gap: 30px;
137
+ padding-top: 0;
138
+ margin-top: -50px;
139
+ }
140
+
141
+ body.toplevel_page_stackable .s-body-container *:first-child {
142
+ margin-top: 0 !important;
143
+ }
144
+
145
+ body.toplevel_page_stackable .s-body-container *:last-child {
146
+ margin-bottom: 0 !important;
147
+ }
148
+
149
+ body.toplevel_page_stackable .s-body-container p,
150
+ body.toplevel_page_stackable .s-body-container li {
151
+ font-size: 18px;
152
+ }
153
+
154
+ body.toplevel_page_stackable .s-body-container li {
155
+ margin-bottom: .6em;
156
+ }
157
+
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 {
164
+ display: inline-block;
165
+ vertical-align: middle;
166
+ padding-top: 10px;
167
+ margin: 0 10px;
168
+ }
169
+
170
+ body.toplevel_page_stackable .s-gif {
171
+ display: block;
172
+ margin: 0 auto;
173
+ }
174
+
175
+ body.toplevel_page_stackable .s-plus-button {
176
+ height: 1em;
177
+ vertical-align: top;
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
+ }
dist/admin.welcome.min.css ADDED
@@ -0,0 +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}}
dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(l){if(n[l])return n[l].exports;var r=n[l]={i:l,l:!1,exports:{}};return e[l].call(r.exports,r,r.exports,t),r.l=!0,r.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=7)}([function(e,t,n){"use strict";n.d(t,"A",function(){return l}),n.d(t,"s",function(){return r}),n.d(t,"m",function(){return a}),n.d(t,"o",function(){return c}),n.d(t,"p",function(){return u}),n.d(t,"e",function(){return i}),n.d(t,"g",function(){return s}),n.d(t,"d",function(){return m}),n.d(t,"q",function(){return b}),n.d(t,"j",function(){return p}),n.d(t,"l",function(){return g}),n.d(t,"h",function(){return f}),n.d(t,"c",function(){return h}),n.d(t,"a",function(){return y}),n.d(t,"n",function(){return w}),n.d(t,"r",function(){return v}),n.d(t,"i",function(){return C}),n.d(t,"k",function(){return x}),n.d(t,"b",function(){return O}),n.d(t,"f",function(){return N}),n.d(t,"z",function(){return k}),n.d(t,"y",function(){return T}),n.d(t,"w",function(){return S}),n.d(t,"t",function(){return L}),n.d(t,"u",function(){return z}),n.d(t,"x",function(){return R}),n.d(t,"v",function(){return I});var l=wp.blocks.registerBlockType,r=wp.i18n.__,o=wp.components,a=o.RangeControl,c=o.SelectControl,u=(o.TextControl,o.ToggleControl),i=o.Dashicon,s=o.IconButton,m=o.Button,b=o.Toolbar,p=o.PanelBody,g=o.RadioControl,d=wp.editor.InspectorControls?wp.editor:wp.blocks,f=d.InspectorControls,h=d.BlockControls,y=(d.ColorPalette,d.AlignmentToolbar),w=d.RichText,v=d.URLInput,C=d.MediaUpload,E=wp.editor,x=E.PanelColorSettings,O=E.BlockAlignmentToolbar,N=wp.element.Fragment,j=lodash,k=j.omit,T=j.merge,B=wp.hooks,S=B.doAction,L=B.addAction,z=B.applyFilters,A=(B.addFilter,stackable),R=A.isPro,I=A.blockSrcUrl;A.primaryColor},function(e,t,n){"use strict";n.d(t,"g",function(){return c}),n.d(t,"a",function(){return u}),n.d(t,"e",function(){return i}),n.d(t,"c",function(){return s}),n.d(t,"k",function(){return m}),n.d(t,"l",function(){return b}),n.d(t,"n",function(){return p}),n.d(t,"b",function(){return g}),n.d(t,"m",function(){return d}),n.d(t,"d",function(){return f}),n.d(t,"h",function(){return h}),n.d(t,"f",function(){return y}),n.d(t,"i",function(){return w}),n.d(t,"o",function(){return v}),n.d(t,"j",function(){return C});var l=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},r=function(e){return wp.element.createElement("defs",null,wp.element.createElement("linearGradient",l({},e,{gradientTransform:"rotate(90)"}),wp.element.createElement("stop",{offset:"0%",stopColor:"#2FDDD1",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"20%",stopColor:"#30A2E3",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"50%",stopColor:"#F56FAE",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#FFC58E",stopOpacity:"1"})))},o=1,a=function(){return"stk-icon-"+o++},c=function(){var e=a();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(r,{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=a();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(r,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z"}))},i=function(){return wp.element.createElement(u,null)},s=function(){var e=a();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(r,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 9h12v2H4V9z"}))},m=function(){var e=a();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(r,{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"}))},b=function(){var e=a();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(r,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 29h5.833L0 23h5V9H0l5.833-6H0V0h14v3H8.167L14 9H9v14h5l-5.833 6H14v3H0v-3z"}))},p=function(){var e=a();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(r,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M5.68 12.916a.5.5 0 0 1-.397-.196L3.208 10H1.463C.656 10 0 9.428 0 8.621V1.463C0 .656.656 0 1.463 0h10.074C12.344 0 13 .656 13 1.463v7.158C13 9.428 12.344 10 11.537 10H8.151l-2.073 2.72a.504.504 0 0 1-.398.196zM1.463 1A.464.464 0 0 0 1 1.463v7.158c0 .255.208.463.463.463h1.993a.5.5 0 0 1 .397.196l1.827 2.312L7.507 9.28a.502.502 0 0 1 .397-.196h3.633A.464.464 0 0 0 12 8.621V1.463A.464.464 0 0 0 11.537 1H1.463zm1.193 2h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49zm0 3h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49z"}))},g=function(){var e=a();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(r,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M10 0c-.17 0-.36.05-.52.14C8.04 1.02 4.5 3.58 3 4c-1.38 0-3 .67-3 2.5S1.63 9 3 9c.3.08.64.23 1 .41V14h2v-3.45c1.34.86 2.69 1.83 3.48 2.31.16.09.34.14.52.14.52 0 1-.42 1-1V1c0-.58-.48-1-1-1zm0 12c-.38-.23-.89-.58-1.5-1-.16-.11-.33-.22-.5-.34V2.31c.16-.11.31-.2.47-.31.61-.41 1.16-.77 1.53-1v11zm2-6h4v1h-4V6zm0 2l4 2v1l-4-2V8zm4-6v1l-4 2V4l4-2z"}))},d=function(){var e=a();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(r,{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"}))},f=function(){var e=a();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(r,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 0C1.79 0 0 1.79 0 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm24 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM16 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"}))},h=function(){var e=a();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(r,{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"}))},y=function(){var e=a();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(r,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 0h32v38H0V0zm3 3v32h26V3H3zm2 2h22v7H5V5zm0 9h14v19H5V14zm16 19V14h6v19h-6zM6 6v5h20V6H6z"}))},w=function(){var e=a();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(r,{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=a();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(r,{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"}))},C=function(){var e=a();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(r,{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"}))}},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.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,y={borderRadius:m+"px"};return i&&(y.backgroundColor=i),wp.element.createElement("span",{className:"ugb-button ugb-button-"+n+" ugb-button-"+o,style:y},wp.element.createElement(r.n,{tagName:"span",placeholder:Object(r.s)("Enter Text"),value:u,onChange:h,formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:a},onFocus:d,isSelected:p,keepPlaceholderOnFocus:!0}))}var r=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,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.n.Content,{tagName:"a",className:"ugb-button-inner",href:c,style:{color:u},value:i}))}var r=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,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.n.Content,{tagName:"a",className:"ugb-button-inner",href:c,style:{color:u},value:i}))}n.d(t,"a",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"e",function(){return c}),n.d(t,"b",function(){return u}),n.d(t,"d",function(){return i});var r=n(0),o=l,a=function(e){var t=e.attributes,n=t.url,l=t.text,a=t.align,c=t.color,u=t.textColor,i=t.size,s=t.cornerButtonRadius,m=t.design,b=wp.element.createElement(o,{align:a,size:i,url:n,color:u,text:l,backgroundColor:c,borderRadius:s});return Object(r.u)("stackable.designs.button.save",b,m,e)},c={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"}},u=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.textAlignment,o=t.color,a=t.textColor,c=t.size,u=t.cornerButtonRadius,i={backgroundColor:o,color:a,borderRadius:u+"px"};return wp.element.createElement("div",{className:"ugb-button-"+r},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+c,style:i},l))},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}}},function(e,t,n){var l,r;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var r=typeof l;if("string"===r||"number"===r)e.push(l);else if(Array.isArray(l)&&l.length){var a=n.apply(null,l);a&&e.push(a)}else if("object"===r)for(var c in l)o.call(l,c)&&l[c]&&e.push(c)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(l=[],void 0!==(r=function(){return n}.apply(t,l))&&(e.exports=r))}()},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(8),n(11),n(14),n(21),n(25),n(31),n(35),n(39),n(43),n(46),n(49),n(52),n(55),n(59),n(63),n(66),n(69),n(72),n(76)},function(e,t,n){"use strict";var l=n(9),r=(n.n(l),n(10)),o=(n.n(r),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.f,null,wp.element.createElement(a.h,null,wp.element.createElement(a.j,null,wp.element.createElement(a.m,{label:Object(a.s)("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.A)("ugb/spacer",{title:Object(a.s)("Spacer"),icon:o.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.s)("Spacer"),Object(a.s)("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(12),r=(n.n(l),n(13)),o=(n.n(r),n(1)),a=n(0),c=function(e){var t=e.attributes,n=t.height,l=t.width,r=t.color,o=t.alignment;return wp.element.createElement("div",{className:"ugb-divider"},wp.element.createElement("hr",{align:o,style:{backgroundColor:r,width:l+"%",height:n}}))},u=function(e){var t=(e.isSelected,e.attributes),n=t.height,l=t.width,r=t.color,o=t.alignment;return wp.element.createElement(a.f,null,wp.element.createElement(a.c,null,wp.element.createElement(a.a,{value:o,onChange:function(t){e.setAttributes({alignment:t})}})),wp.element.createElement(a.h,null,wp.element.createElement(a.j,null,wp.element.createElement(a.m,{label:Object(a.s)("Height"),value:n,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(a.m,{label:Object(a.s)("Width"),value:l,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(a.k,{title:Object(a.s)("Color Settings"),colorSettings:[{value:r,onChange:function(t){return e.setAttributes({color:t})},label:Object(a.s)("Divider Color")}]})),wp.element.createElement("div",{className:"ugb-divider",style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:o,style:{marginTop:0,marginBottom:0,backgroundColor:r,width:l+"%",height:n}})))};Object(a.A)("ugb/divider",{title:Object(a.s)("Divider"),icon:o.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.s)("Divider"),Object(a.s)("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(15),r=(n.n(l),n(16)),o=(n.n(r),n(1)),a=n(4),c=n(2),u=n(3),i=n(17),s=n(19),m=(n(20),n(0)),b=function(e){var t=e.isSelected,n=(e.className,e.setAttributes),l=e.attributes,r=l.url,o=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.s)("Small")},{value:"normal",label:Object(m.s)("Normal")},{value:"medium",label:Object(m.s)("Medium")},{value:"large",label:Object(m.s)("Large")}],h=wp.element.createElement(c.a,{onChange:function(e){return n({text:e})},align:p,size:b,backgroundColor:a,color:u,text:o,borderRadius:g}),y=Object(m.u)("stackable.designs.button.edit",h,d,e);return wp.element.createElement(m.f,null,wp.element.createElement(m.c,null,wp.element.createElement(m.b,{value:p,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(m.h,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.h,null,wp.element.createElement(m.j,null,wp.element.createElement(m.o,{label:Object(m.s)("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.m,{label:Object(m.s)("Corner Radius"),value:g,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(m.k,{title:Object(m.s)("Color Settings"),colorSettings:[{value:a,onChange:function(e){return n({color:e})},label:Object(m.s)("Background Color")},{value:u,onChange:function(e){return n({textColor:e})},label:Object(m.s)("Text Color")}]})),y,t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(m.e,{icon:"admin-links"}),wp.element.createElement(m.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(m.g,{icon:"editor-break",label:Object(m.s)("Apply"),type:"submit"})))},p=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.align,o=t.color,a=t.textColor,c=t.size,i=t.cornerButtonRadius,s=t.design,b=wp.element.createElement(u.a,{align:r,size:c,url:n,color:a,text:l,backgroundColor:o,borderRadius:i});return Object(m.u)("stackable.designs.button.save",b,s,e)},g={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}};Object(m.A)("ugb/button",{title:Object(m.s)("Button"),icon:o.a,description:"Add customize button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.s)("Button"),Object(m.s)("Stackable")],attributes:g,deprecated:[{attributes:a.e,save:a.c},{attributes:a.d,migrate:function(e){return Object(m.z)(Object(m.y)(e,{align:e.textAlignment}),["textAlignment"])},save:a.b}],edit:b,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return null}var r=n(18),o=(n.n(r),n(0),n(5));n.n(o);t.a=l},function(e,t){},function(e,t,n){"use strict";function l(e){var t=e.isPro,n=e.imageFile,l=o()({"is-pro":t});return wp.element.createElement("span",{className:l},wp.element.createElement("img",{src:n.match(/https?:/i)?n:a.v+"/"+n}))}var r=n(5),o=n.n(r),a=n(0);t.a=l},function(e,t,n){"use strict"},function(e,t,n){"use strict";var l=n(22),r=(n.n(l),n(23)),o=(n.n(r),n(1)),a=n(24),c=n(0),u=function(e){var t=e.isSelected,n=e.setAttributes,l=e.attributes,r=l.url,o=l.text,a=l.color,u=l.size,i=l.align,s=l.cornerButtonRadius,m=l.borderThickness,b=[{value:"small",label:Object(c.s)("Small")},{value:"normal",label:Object(c.s)("Normal ")},{value:"medium",label:Object(c.s)("Medium")},{value:"large",label:Object(c.s)("Large")}];return wp.element.createElement(c.f,null,wp.element.createElement(c.c,null,wp.element.createElement(c.b,{value:i,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.o,{label:Object(c.s)("Size"),value:u,options:b.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(c.m,{label:Object(c.s)("Corner Radius"),value:s,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(c.m,{label:Object(c.s)("Border Thickness"),value:m,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(c.k,{title:Object(c.s)("Color Settings"),colorSettings:[{value:a,onChange:function(e){return n({color:e})},label:Object(c.s)("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.n,{tagName:"span",placeholder:Object(c.s)("Enter Text"),value:o,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.e,{icon:"admin-links"}),wp.element.createElement(c.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(c.g,{icon:"editor-break",label:Object(c.s)("Apply"),type:"submit"})))},i=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.align,o=t.color,a=t.size,u=t.cornerButtonRadius,i=t.borderThickness,s={borderColor:o,borderRadius:u+"px",borderWidth:i+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-ghost-button ugb-button-"+r+" ugb-button-"+a,style:s},wp.element.createElement(c.n.Content,{className:"ugb-button-inner",tagName:"a",value:l,href:n,style:{color:o}}))},s={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}};Object(c.A)("ugb/ghost-button",{title:Object(c.s)("Ghost Button"),icon:o.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Ghost Button"),Object(c.s)("Stackable")],attributes:s,deprecated:[{attributes:a.b,migrate:function(e){return Object(c.z)(Object(c.y)(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 r});var l=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.textAlignment,o=t.color,a=t.size,c=t.cornerButtonRadius,u=t.borderThickness,i={borderColor:o,color:o,borderRadius:c+"px",borderWidth:u+"px"};return wp.element.createElement("div",{className:"ugb-button-"+r},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+a+" ugb-ghost-button",style:i},l))},r={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(26),r=(n.n(l),n(27)),o=(n.n(r),n(28)),a=n.n(o),c=n(1),u=n(0),i=function(e){var t=[{value:"success",label:Object(u.s)("Success")},{value:"error",label:Object(u.s)("Error")},{value:"warning",label:Object(u.s)("Warning")},{value:"info",label:Object(u.s)("Information")}],n=(e.isSelected,e.editable,e.setState,e.setAttributes),l=(e.className,e.attributes),r=l.text,o=l.color,a=l.textColor,c=l.notifType,i=l.dismissible;return wp.element.createElement(u.f,null,wp.element.createElement(u.h,null,wp.element.createElement(u.j,null,wp.element.createElement(u.p,{label:Object(u.s)("Dismissible"),checked:i,onChange:function(){return n({dismissible:!i})}}),wp.element.createElement(u.o,{label:Object(u.s)("Notification Type"),value:c,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}})),wp.element.createElement(u.k,{title:Object(u.s)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return n({color:e})},label:Object(u.s)("Background Color")},{value:a,onChange:function(e){return n({textColor:e})},label:Object(u.s)("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.n,{tagName:"p",placeholder:e.attributes.text.default,value:r,onChange:function(e){return n({text:e})},className:"wp-ugb-notif notif-"+c,style:{backgroundColor:o,color:a}})))},s=function(e){var t=e.attributes,n=t.text,l=t.color,r=t.textColor,o=t.notifType,c=t.dismissible,i={backgroundColor:l,color:r},s=a()(n+o).substr(0,6);return wp.element.createElement("div",{className:"ugb-notification type-"+o+" 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: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(u.n.Content,{tagName:"p",className:"wp-ugb-notif notif-"+o,style:i,value:n}))};Object(u.A)("ugb/notification",{title:Object(u.s)("Notification"),icon:c.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.s)("Notification"),Object(u.s)("Stackable")],attributes:{text:{type:"array",source:"children",selector:"p",default:Object(u.s)("This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1}},edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(29),l=n(6).utf8,r=n(30),o=n(6).bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?o.stringToBytes(e):l.stringToBytes(e):r(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 y=i,w=s,v=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+y>>>0,s=s+w>>>0,m=m+v>>>0,b=b+C>>>0}return t.endian([i,s,m,b])};a._ff=function(e,t,n,l,r,o,a){var c=e+(t&n|~t&l)+(r>>>0)+a;return(c<<o|c>>>32-o)+t},a._gg=function(e,t,n,l,r,o,a){var c=e+(t&l|n&~l)+(r>>>0)+a;return(c<<o|c>>>32-o)+t},a._hh=function(e,t,n,l,r,o,a){var c=e+(t^n^l)+(r>>>0)+a;return(c<<o|c>>>32-o)+t},a._ii=function(e,t,n,l,r,o,a){var c=e+(n^(t|~l))+(r>>>0)+a;return(c<<o|c>>>32-o)+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?o.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 r=e[l]<<16|e[l+1]<<8|e[l+2],o=0;o<4;o++)8*l+6*o<=8*e.length?n.push(t.charAt(r>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],l=0,r=0;l<e.length;r=++l%4)0!=r&&n.push((t.indexOf(e.charAt(l-1))&Math.pow(2,-2*r+8)-1)<<2*r|t.indexOf(e.charAt(l))>>>6-2*r);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(32),r=(n.n(l),n(33)),o=(n.n(r),n(1)),a=n(34),c=n(0),u=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),r=l.color,o=l.text,a=l.quoteColor;return wp.element.createElement(c.f,null,wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{"--quote-color":a}},wp.element.createElement(c.n,{className:"ugb-blockquote-text",value:o,onChange:function(e){return n({text:e})},isSelected:t,style:{color:r}})),wp.element.createElement(c.h,null,wp.element.createElement(c.k,{title:Object(c.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(c.s)("Text Color")},{value:a,onChange:function(e){return n({quoteColor:e})},label:Object(c.s)("Quote Color")}]})))},i=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.quoteColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{"--quote-color":r}},wp.element.createElement(c.n.Content,{tagName:"p",style:{color:n},value:l}))},s={text:{type:"array",source:"children",selector:"p",default:Object(c.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(c.A)("ugb/blockquote",{title:Object(c.s)("Blockquote"),icon:o.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Blockquote"),Object(c.s)("Stackable")],attributes:s,deprecated:[{attributes:a.b,migrate:function(e){return Object(c.z)(Object(c.y)(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 r}),n.d(t,"a",function(){return o});var l=n(0),r={text:{type:"array",source:"children",selector:"p",default:Object(l.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#424242"},borderColor:{type:"string",default:"#2091e1"}},o=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{borderLeftColor:r}},wp.element.createElement("p",{style:{color:n}},l))}},function(e,t,n){"use strict";var l=n(36),r=(n.n(l),n(37)),o=(n.n(r),n(1)),a=n(38),c=n(0),u=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),r=l.color,o=l.text,a=l.quoteColor;return wp.element.createElement(c.f,null,wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{"--quote-color":a}},wp.element.createElement(c.n,{tagName:"p",className:"ugb-pullquote-text",value:o,onChange:function(e){return n({text:e})},placeholder:Object(c.s)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:r}})),wp.element.createElement(c.h,null,wp.element.createElement(c.k,{title:Object(c.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(c.s)("Text Color")},{value:a,onChange:function(e){return n({quoteColor:e})},label:Object(c.s)("Quote Color")}]})))},i=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.quoteColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{"--quote-color":r}},wp.element.createElement(c.n.Content,{tagName:"p",style:{color:n},value:l}))},s={text:{type:"array",source:"children",selector:"p",default:Object(c.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(c.A)("ugb/pullquote",{title:Object(c.s)("Pullquote"),icon:o.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Pullquote"),Object(c.s)("Stackable")],attributes:s,deprecated:[{attributes:a.b,migrate:function(e){return Object(c.z)(Object(c.y)(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 r}),n.d(t,"b",function(){return o});var l=n(0),r=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{borderTopColor:r,borderBottomColor:r}},wp.element.createElement("p",{style:{color:n}},l))},o={text:{type:"array",source:"children",selector:"p",default:Object(l.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#2091e1"},borderColor:{type:"string",default:"#2091e1"}}},function(e,t,n){"use strict";var l=n(40),r=(n.n(l),n(41)),o=(n.n(r),n(1)),a=n(2),c=n(3),u=n(42),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,r=l.url,o=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.s)("Small")},{value:"normal",label:Object(i.s)("Normal")},{value:"medium",label:Object(i.s)("Medium")},{value:"large",label:Object(i.s)("Large")}];return wp.element.createElement(i.f,null,wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.o,{label:Object(i.s)("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.m,{label:Object(i.s)("Button Border Radius"),value:p,min:"1",max:"50",onChange:function(e){return n({borderButtonRadius:e})}})),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return n({bgColor:e})},label:Object(i.s)("Background Color")},{value:d,onChange:function(e){return n({titleColor:e})},label:Object(i.s)("Title Color")},{value:g,onChange:function(e){return n({bodyTextColor:e})},label:Object(i.s)("Body Text Color")}]}),wp.element.createElement(i.k,{title:Object(i.s)("Button Colors"),colorSettings:[{value:s,onChange:function(e){return n({color:e})},label:Object(i.s)("Button Background Color")},{value:m,onChange:function(e){return n({textColor:e})},label:Object(i.s)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:f}},wp.element.createElement(i.n,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(i.s)("Add Title"),value:c,onChange:function(e){return n({ctaTitle:e})},keepPlaceholderOnFocus:!0,style:{color:d}}),wp.element.createElement(i.n,{tagName:"p",value:u,className:"ugb-cta-bodyText",onChange:function(e){return n({bodyText:e})},placeholder:Object(i.s)("Write body text\u2026"),style:{color:g}}),wp.element.createElement(a.a,{size:b,color:m,backgroundColor:s,text:o,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.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"})))},m=function(e){var t=e.attributes,n=t.url,l=t.buttonText,r=t.ctaTitle,o=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}},r&&!!r.length&&wp.element.createElement(i.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:r}),o&&!!o.length&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:o}),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:{type:"array",source:"children",selector:"h3",default:Object(i.s)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(i.s)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string"},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.A)("ugb/cta",{title:Object(i.s)("Call to Action"),icon:o.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Call to Action"),Object(i.s)("Stackable"),Object(i.s)("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 o}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c});var l=n(0),r=n(4),o={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(l.s)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(l.s)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},a=function(e){var t=e.attributes,n=t.url,o=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.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:a}),c&&!!c.length&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:c}),o&&!!o.length&&wp.element.createElement(r.a,{size:s,url:n,color:i,text:o,backgroundColor:u,borderRadius:m}))},c=function(e){var t=e.attributes,n=t.url,l=t.buttonText,r=t.ctaTitle,o=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}},r&&!!r.length&&wp.element.createElement("h3",{className:"ugb-cta-title",style:{color:m}},r),o&&!!o.length&&wp.element.createElement("p",{className:"ugb-cta-bodyText",style:{color:s}},o),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(44),r=(n.n(l),n(45)),o=(n.n(r),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,r=n.testimonialTitleTwo,o=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,y=n.mediaURLThree,w=n.columns,v=n.titleColor,C=n.posColor,E=n.bodyTextColor,x=n.iconColor,O=[{value:"1",label:Object(a.s)("One Column")},{value:"2",label:Object(a.s)("Two Column")},{value:"3",label:Object(a.s)("Three Column")}];return wp.element.createElement(a.f,null,wp.element.createElement(a.h,null,wp.element.createElement(a.j,null,wp.element.createElement(a.o,{label:Object(a.s)("Column Number"),value:w,options:O.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(a.k,{initialOpen:!1,title:Object(a.s)("Color Settings"),colorSettings:[{value:v,onChange:function(e){return t({titleColor:e})},label:Object(a.s)("Title Color")},{value:C,onChange:function(e){return t({posColor:e})},label:Object(a.s)("Position Color")},{value:E,onChange:function(e){return t({bodyTextColor:e})},label:Object(a.s)("Body Text Color")},{value:x,onChange:function(e){return t({iconColor:e})},label:Object(a.s)("Icon Color")}]})),wp.element.createElement("div",{className:"ugb-testimonial column-"+w},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},wp.element.createElement("div",null,wp.element.createElement(a.i,{onSelect:function(e){return t({mediaURL:e.url,mediaID:e.id})},type:"image",value:p,render:function(e){return wp.element.createElement(a.d,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+f+")"}}):Object(a.s)("Upload Image"))}})),wp.element.createElement(a.n,{tagName:"h4",value:l,onChange:function(e){return t({testimonialTitle:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{tagName:"p",value:s,className:"ugb-testimonial-position",onChange:function(e){return t({position:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{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.i,{onSelect:function(e){return t({mediaURLTwo:e.url,mediaIDTwo:e.id})},type:"image",value:g,render:function(e){return wp.element.createElement(a.d,{className:g?"":"button button-large",onClick:e.open},g?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+h+")"}}):Object(a.s)("Upload Image"))}})),wp.element.createElement(a.n,{tagName:"h4",value:r,onChange:function(e){return t({testimonialTitleTwo:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{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.n,{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.i,{onSelect:function(e){return t({mediaURLThree:e.url,mediaIDThree:e.id})},type:"image",value:d,render:function(e){return wp.element.createElement(a.d,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+y+")"}}):Object(a.s)("Upload Image"))}})),wp.element.createElement(a.n,{tagName:"h4",value:o,onChange:function(e){return t({testimonialTitleThree:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{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.n,{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,r=t.testimonialTitleThree,o=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,y=t.iconColor,w=t.columns,v=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:"ugb-testimonial column-"+w},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},b?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+b+")"},"data-src":b}):v,!a.n.isEmpty(n)&&wp.element.createElement(a.n.Content,{tagName:"h4",style:{color:d},value:n}),!a.n.isEmpty(i)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:f},value:i}),!a.n.isEmpty(o)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:h},value:o})),w>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}):v,!a.n.isEmpty(l)&&wp.element.createElement(a.n.Content,{tagName:"h4",style:{color:d},value:l}),!a.n.isEmpty(s)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-testimonial-position-two",style:{color:f},value:s}),!a.n.isEmpty(c)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-testimonial-body-two",style:{color:h},value:c})),w>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}):v,!a.n.isEmpty(r)&&wp.element.createElement(a.n.Content,{tagName:"h4",style:{color:d},value:r}),!a.n.isEmpty(m)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-testimonial-position-three",style:{color:f},value:m}),!a.n.isEmpty(u)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-testimonial-body-three",style:{color:h},value:u})))};Object(a.A)("ugb/testimonial",{title:Object(a.s)("Testimonial"),icon:o.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.s)("Testimonial"),Object(a.s)("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:{type:"array",source:"children",selector:".ugb-testimonial-column-one h4",default:Object(a.s)("Ben Adams")},testimonialTitleTwo:{type:"array",source:"children",selector:".ugb-testimonial-column-two h4",default:Object(a.s)("Alex Johnson")},testimonialTitleThree:{type:"array",source:"children",selector:".ugb-testimonial-column-three h4",default:Object(a.s)("Sammy Simpson")},position:{type:"array",source:"children",selector:".ugb-testimonial-position",default:Object(a.s)("Founder")},positionTwo:{type:"array",source:"children",selector:".ugb-testimonial-position-two",default:Object(a.s)("Editor")},positionThree:{type:"array",source:"children",selector:".ugb-testimonial-position-three",default:Object(a.s)("Programmer")},body:{type:"array",source:"children",selector:".ugb-testimonial-body",default:Object(a.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{type:"array",source:"children",selector:".ugb-testimonial-body-two",default:Object(a.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{type:"array",source:"children",selector:".ugb-testimonial-body-three",default:Object(a.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},titleColor:{type:"string"},posColor:{type:"string"},bodyTextColor:{type:"string"},iconColor:{type:"string"},columns:{type:"select",default:"1"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(47),r=(n.n(l),n(48)),o=(n.n(r),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,r=n.nameTwo,o=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,y=n.mediaURLThree,w=n.columns,v=n.nameColor,C=n.posColor,E=n.desColor,x=n.iconColor,O=n.shapes,N=[{value:"1",label:Object(a.s)("One Column")},{value:"2",label:Object(a.s)("Two Column")},{value:"3",label:Object(a.s)("Three Column")}],j=[{value:"square",label:Object(a.s)("Square")},{value:"circle",label:Object(a.s)("Circle")}];return wp.element.createElement(a.f,null,wp.element.createElement(a.h,null,wp.element.createElement(a.j,null,wp.element.createElement(a.o,{label:Object(a.s)("Image Shape"),value:O,options:j.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({shapes:e})}}),wp.element.createElement(a.o,{label:Object(a.s)("Column Number"),value:w,options:N.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(a.k,{initialOpen:!1,title:Object(a.s)("Color Settings"),colorSettings:[{value:v,onChange:function(e){return t({nameColor:e})},label:Object(a.s)("Name Color")},{value:C,onChange:function(e){return t({posColor:e})},label:Object(a.s)("Position Color")},{value:E,onChange:function(e){return t({desColor:e})},label:Object(a.s)("Description Color")},{value:x,onChange:function(e){return t({iconColor:e})},label:Object(a.s)("Icon Color")}]})),wp.element.createElement("div",{className:"ugb-team-member column-"+w+" image-"+O},wp.element.createElement("div",{className:"ugb-team-member-column-one"},wp.element.createElement("div",null,wp.element.createElement(a.i,{onSelect:function(e){return t({mediaURL:e.url,mediaID:e.id})},type:"image",value:p,render:function(e){return wp.element.createElement(a.d,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+f+")"}}):Object(a.s)("Upload Image"))}})),wp.element.createElement(a.n,{tagName:"h4",value:l,onChange:function(e){return t({name:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{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.n,{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.i,{onSelect:function(e){return t({mediaURLTwo:e.url,mediaIDTwo:e.id})},type:"image",value:g,render:function(e){return wp.element.createElement(a.d,{className:g?"":"button button-large",onClick:e.open},g?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+h+")"}}):Object(a.s)("Upload Image"))}})),wp.element.createElement(a.n,{tagName:"h4",value:r,onChange:function(e){return t({nameTwo:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{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.n,{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.i,{onSelect:function(e){return t({mediaURLThree:e.url,mediaIDThree:e.id})},type:"image",value:d,render:function(e){return wp.element.createElement(a.d,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+y+")"}}):Object(a.s)("Upload Image"))}})),wp.element.createElement(a.n,{tagName:"h4",value:o,onChange:function(e){return t({nameThree:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{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.n,{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,r=t.nameThree,o=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,y=t.desColor,w=(t.iconColor,t.columns);return wp.element.createElement("div",{className:"ugb-team-member column-"+w+" image-"+o},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.n.isEmpty(n)&&wp.element.createElement(a.n.Content,{tagName:"h4",style:{color:f},value:n}),!a.n.isEmpty(s)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:s}),!a.n.isEmpty(c)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-team-member-des",style:{color:y},value:c})),w>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.n.isEmpty(l)&&wp.element.createElement(a.n.Content,{tagName:"h4",style:{color:f},value:l}),!a.n.isEmpty(m)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:m}),!a.n.isEmpty(u)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-team-member-des-two",style:{color:y},value:u})),w>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.n.isEmpty(r)&&wp.element.createElement(a.n.Content,{tagName:"h4",style:{color:f},value:r}),!a.n.isEmpty(b)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:b}),!a.n.isEmpty(i)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-team-member-des-three",style:{color:y},value:i})))};Object(a.A)("ugb/team-member",{title:Object(a.s)("Team Member"),icon:o.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.s)("Team Member"),Object(a.s)("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:{type:"array",source:"children",selector:".ugb-team-member-column-one h4",default:Object(a.s)("Ben Adams")},nameTwo:{type:"array",source:"children",selector:".ugb-team-member-column-two h4",default:Object(a.s)("Alex Johnson")},nameThree:{type:"array",source:"children",selector:".ugb-team-member-column-three h4",default:Object(a.s)("Sammy Simpson")},position:{type:"array",source:"children",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(a.s)("Founder")},positionTwo:{type:"array",source:"children",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(a.s)("Editor")},positionThree:{type:"array",source:"children",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(a.s)("Programmer")},des:{type:"array",source:"children",selector:".ugb-team-member-des",default:Object(a.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{type:"array",source:"children",selector:".ugb-team-member-des-two",default:Object(a.s)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{type:"array",source:"children",selector:".ugb-team-member-des-three",default:Object(a.s)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},nameColor:{type:"string"},posColor:{type:"string"},desColor:{type:"string"},iconColor:{type:"string"},columns:{type:"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 r=n(50),o=(n.n(r),n(51)),a=(n.n(o),n(1)),c=n(0),u=function(e){var t=(e.focus,e.setFocus,e.editable,e.setAttributes),n=(e.setState,e.className),r=e.isSelected,o=e.attributes,a=o.text,u=o.moreLabel,i=o.moreText,s=o.lessLabel;return wp.element.createElement(c.f,null,wp.element.createElement("div",{className:n},r&&wp.element.createElement("label",{className:"ugb-editor-label"},"Less text"),wp.element.createElement(c.n,l({multiline:"p",placeholder:e.attributes.text.default,value:a,onChange:function(e){return t({text:e})},className:"ugb-expand-less-text"},"placeholder",Object(c.s)("Some short text that can be expanded to show more details."))),wp.element.createElement(c.n,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.s)("Show more"))),r&&wp.element.createElement("label",{className:"ugb-editor-label"},"More text"),r&&wp.element.createElement(c.n,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.s)("Some short text that can be expanded to show more details. Some additional text that can only be seen when expanded."))),r&&wp.element.createElement(c.n,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.s)("Show less")))))},i=function(e){var t=e.attributes,n=t.text,l=t.moreLabel,r=t.moreText,o=t.lessLabel;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ugb-expand-less-text"},!c.n.isEmpty(n)&&wp.element.createElement(c.n.Content,{multiline:"p",value:n})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!c.n.isEmpty(r)&&wp.element.createElement(c.n.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(c.n.Content,{className:"ugb-expand-more",tagName:"span",value:l}),wp.element.createElement(c.n.Content,{className:"ugb-expand-less",tagName:"span",value:o,style:{display:"none"}})))};Object(c.A)("ugb/expand",{title:Object(c.s)("Expand / Show More"),icon:a.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Expand"),Object(c.s)("Show more/less"),Object(c.s)("Stackable")],attributes:{text:{type:"array",source:"children",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{type:"array",source:"children",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{type:"array",source:"children",selector:".ugb-expand-more",default:Object(c.s)("Show more")},lessLabel:{type:"array",source:"children",selector:".ugb-expand-less",default:Object(c.s)("Show less")}},edit:u,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(53),r=(n.n(l),n(54)),o=(n.n(r),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,r=n.numberBoxTwo,o=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,y=[{value:"1",label:Object(a.s)("One Column")},{value:"2",label:Object(a.s)("Two Column")},{value:"3",label:Object(a.s)("Three Column")}];return wp.element.createElement(a.f,null,wp.element.createElement(a.h,null,wp.element.createElement(a.j,null,wp.element.createElement(a.o,{label:Object(a.s)("Column Number"),value:p,options:y.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(a.k,{title:Object(a.s)("Color Settings"),colorSettings:[{value:g,onChange:function(e){return t({numberBoxColor:e})},label:Object(a.s)("Number Color")},{value:h,onChange:function(e){return t({numberBGColor:e})},label:Object(a.s)("Number Background Color")},{value:d,onChange:function(e){return t({nameColor:e})},label:Object(a.s)("Name Color")},{value:f,onChange:function(e){return t({bodyTextColor:e})},label:Object(a.s)("Body Text Color")}]})),wp.element.createElement("div",{className:"ugb-number-box column-"+p},wp.element.createElement("div",null,wp.element.createElement(a.n,{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.n,{tagName:"h4",value:s,className:"ugb-number-box-name",onChange:function(e){return t({name:e})},placeholder:Object(a.s)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{tagName:"p",value:c,className:"ugb-number-box-body",onChange:function(e){return t({body:e})},placeholder:Object(a.s)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(a.n,{tagName:"span",placeholder:r?r.default:"",value:r,onChange:function(e){return t({numberBoxTwo:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{tagName:"h4",value:m,className:"ugb-number-box-name-two",onChange:function(e){return t({nameTwo:e})},placeholder:Object(a.s)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{tagName:"p",value:u,className:"ugb-number-box-body-two",onChange:function(e){return t({bodyTwo:e})},placeholder:Object(a.s)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(a.n,{tagName:"span",placeholder:o?o.default:"",value:o,onChange:function(e){return t({numberBoxThree:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{tagName:"h4",value:b,className:"ugb-number-box-name-three",onChange:function(e){return t({nameThree:e})},placeholder:Object(a.s)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.n,{tagName:"p",value:i,className:"ugb-number-box-body-three",onChange:function(e){return t({bodyThree:e})},placeholder:Object(a.s)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0}))))},u=function(e){var t=e.attributes,n=t.numberBox,l=t.numberBoxTwo,r=t.numberBoxThree,o=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.n.isEmpty(n)&&wp.element.createElement(a.n.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:n}),!a.n.isEmpty(i)&&wp.element.createElement(a.n.Content,{tagName:"h4",className:"ugb-number-box-name",style:{color:p},value:i}),!a.n.isEmpty(o)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-number-box-body",style:{color:g},value:o})),f>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},!a.n.isEmpty(l)&&wp.element.createElement(a.n.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:l}),!a.n.isEmpty(s)&&wp.element.createElement(a.n.Content,{tagName:"h4",className:"ugb-number-box-name-two",style:{color:p},value:s}),!a.n.isEmpty(c)&&wp.element.createElement(a.n.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.n.isEmpty(r)&&wp.element.createElement(a.n.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:r}),!a.n.isEmpty(m)&&wp.element.createElement(a.n.Content,{tagName:"h4",className:"ugb-number-box-name-three",style:{color:p},value:m}),!a.n.isEmpty(u)&&wp.element.createElement(a.n.Content,{tagName:"p",className:"ugb-number-box-body-three",style:{color:g},value:u})))};Object(a.A)("ugb/number-box",{title:Object(a.s)("Number Box"),icon:o.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.s)("Number Box"),Object(a.s)("Stackable")],attributes:{numberBox:{type:"array",source:"children",selector:".ugb-number-box-column-one span",default:Object(a.s)("01")},numberBoxTwo:{type:"array",source:"children",selector:".ugb-number-box-column-two span",default:Object(a.s)("02")},numberBoxThree:{type:"array",source:"children",selector:".ugb-number-box-column-three span",default:Object(a.s)("03")},name:{type:"array",source:"children",selector:".ugb-number-box-name",default:Object(a.s)("Registration")},nameTwo:{type:"array",source:"children",selector:".ugb-number-box-name-two",default:Object(a.s)("Waiting Period")},nameThree:{type:"array",source:"children",selector:".ugb-number-box-name-three",default:Object(a.s)("Delivery")},body:{type:"array",source:"children",selector:".ugb-number-box-body",default:Object(a.s)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyTwo:{type:"array",source:"children",selector:".ugb-number-box-body-two",default:Object(a.s)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyThree:{type:"array",source:"children",selector:".ugb-number-box-body-three",default:Object(a.s)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},numberBoxColor:{type:"string"},nameColor:{type:"string"},bodyTextColor:{type:"string"},numberBGColor:{type:"string"},columns:{type:"select",default:"1"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(56),r=(n.n(l),n(57)),o=(n.n(r),n(1)),a=n(2),c=n(3),u=n(58),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,r=l.url,o=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,y=l.buttonText,w=l.buttonText2,v=l.buttonText3,C=l.featureList,E=l.featureList2,x=l.featureList3,O=l.pricingBoxColor,N=l.priceColor,j=l.perMonthLabelColor,k=l.buttonColor,T=l.buttonTextColor,B=l.featureListColor,S=l.columns,L=l.size,z=l.cornerButtonRadius,A=[{value:"1",label:Object(i.s)("One Column")},{value:"2",label:Object(i.s)("Two Column")},{value:"3",label:Object(i.s)("Three Column")}],R=[{value:"small",label:Object(i.s)("Small")},{value:"normal",label:Object(i.s)("Normal")},{value:"medium",label:Object(i.s)("Medium")},{value:"large",label:Object(i.s)("Large")}];return wp.element.createElement(i.f,null,wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.o,{label:Object(i.s)("Column Number"),value:S,options:A.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({columns:e})}}),wp.element.createElement(i.m,{label:Object(i.s)("Corner Radius"),value:z,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(i.o,{label:Object(i.s)("Button Size"),value:L,options:R.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}})),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Text Colors"),colorSettings:[{value:O,onChange:function(e){return n({pricingBoxColor:e})},label:Object(i.s)("Pricing Title Color")},{value:N,onChange:function(e){return n({priceColor:e})},label:Object(i.s)("Price Color")},{value:j,onChange:function(e){return n({perMonthLabelColor:e})},label:Object(i.s)("Per Month Label Color")},{value:B,onChange:function(e){return n({featureListColor:e})},label:Object(i.s)("Feature List Color")}]}),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Button Colors"),colorSettings:[{value:k,onChange:function(e){return n({buttonColor:e})},label:Object(i.s)("Button Color")},{value:T,onChange:function(e){return n({buttonTextColor:e})},label:Object(i.s)("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.n,{tagName:"h3",value:u,onChange:function(e){return n({pricingBoxTitle:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{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.n,{tagName:"p",value:d,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:L,color:T,backgroundColor:k,text:y,borderRadius:z,onChange:function(e){return n({buttonText:e})}}),wp.element.createElement(i.n,{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.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(i.n,{tagName:"h3",value:s,onChange:function(e){return n({pricingBoxTitle2:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{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.n,{tagName:"p",value:f,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel2:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:L,color:T,backgroundColor:k,text:w,borderRadius:z,onChange:function(e){return n({buttonText2:e})}}),wp.element.createElement(i.n,{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.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:o,onChange:function(e){return n({url2:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(i.n,{tagName:"h3",value:m,onChange:function(e){return n({pricingBoxTitle3:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{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.n,{tagName:"p",value:h,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel3:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:L,color:T,backgroundColor:k,text:v,borderRadius:z,onChange:function(e){return n({buttonText3:e})}}),wp.element.createElement(i.n,{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.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:c,onChange:function(e){return n({url3:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"})))))},m=function(e){var t=e.attributes,n=t.url,l=t.url2,r=t.url3,o=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,y=t.buttonText3,w=t.featureList,v=t.featureList2,C=t.featureList3,E=t.pricingBoxColor,x=t.priceColor,O=t.perMonthLabelColor,N=t.buttonColor,j=t.buttonTextColor,k=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.n.isEmpty(o)&&wp.element.createElement(i.n.Content,{tagName:"h3",style:{color:E},value:o}),!i.n.isEmpty(s)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:s}),!i.n.isEmpty(p)&&wp.element.createElement(i.n.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:j,text:f,backgroundColor:N,borderRadius:S}),!i.n.isEmpty(w)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:k},value:w})),T>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},!i.n.isEmpty(a)&&wp.element.createElement(i.n.Content,{tagName:"h3",style:{color:E},value:a}),!i.n.isEmpty(m)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:m}),!i.n.isEmpty(g)&&wp.element.createElement(i.n.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:j,text:h,backgroundColor:N,borderRadius:S}),!i.n.isEmpty(v)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:k},value:v})),T>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},!i.n.isEmpty(u)&&wp.element.createElement(i.n.Content,{tagName:"h3",style:{color:E},value:u}),!i.n.isEmpty(b)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:b}),!i.n.isEmpty(d)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:d}),y&&!!y.length&&wp.element.createElement(c.a,{size:B,url:r,color:j,text:y,backgroundColor:N,borderRadius:S}),!i.n.isEmpty(C)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:k},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:{type:"array",source:"children",selector:".ugb-pricing-box-column-one h3",default:Object(i.s)("Basic")},pricingBoxTitle2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two h3",default:Object(i.s)("Basic")},pricingBoxTitle3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three h3",default:Object(i.s)("Basic")},price:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(i.s)("$9")},price2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(i.s)("$9")},price3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(i.s)("$9")},perMonthLabel:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(i.s)("per month")},perMonthLabel2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(i.s)("per month")},perMonthLabel3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(i.s)("per month")},buttonText:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-button a",default:Object(i.s)("Buy Now")},buttonText2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-button a",default:Object(i.s)("Buy Now")},buttonText3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-button a",default:Object(i.s)("Buy Now")},featureList:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(i.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-feature-list",default:Object(i.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-feature-list",default:Object(i.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},pricingBoxColor:{type:"string"},priceColor:{type:"string"},perMonthLabelColor:{type:"string"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},featureListColor:{type:"string"},columns:{type:"select",default:"1"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}};Object(i.A)("ugb/pricing-box",{title:Object(i.s)("Pricing Box"),icon:o.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Pricing Box"),Object(i.s)("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,r=t.url3,o=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,y=t.featureList2,w=t.featureList3,v=t.pricingBoxColor,C=t.priceColor,E=t.perMonthLabelColor,x=t.buttonColor,O=t.buttonTextColor,N=t.featureListColor,j=t.columns,k=t.size,T=t.cornerButtonRadius,B={backgroundColor:x,color:O,borderRadius:T+"px"};return wp.element.createElement("div",{className:"ugb-pricing-box column-"+j},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},o&&!!o.length&&wp.element.createElement("h3",{style:{color:v}},o),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-"+k,style:B},g),h&&!!h.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},h)),j>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:v}},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-"+k,style:B},d),y&&!!y.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},y)),j>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},c&&!!c.length&&wp.element.createElement("h3",{style:{color:v}},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:r,className:"wp-ugb-button ugb-button-"+k,style:B},f),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},w)))}},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}var r=n(5),o=n.n(r),a=n(60),c=(n.n(a),n(61)),u=(n.n(c),n(1)),i=n(2),s=n(3),m=n(62),b=n(0),p=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,r=(e.editable,e.setState,e.attributes),a=r.url,c=r.buttonURL,u=r.buttonText,s=r.buttonColor,m=r.buttonTextColor,p=r.cornerButtonRadius,g=r.size,d=r.title,f=r.titleColor,h=r.subtitle,y=r.subtitleColor,w=r.contentAlign,v=r.id,C=r.backgroundColor,E=r.opacity,x=a?{backgroundImage:"url("+a+")"}:void 0,O=a?"has-image":"",N=o()(l(E),{"overlay-opacity":0!==E}),j=[{value:"small",label:Object(b.s)("Small")},{value:"normal",label:Object(b.s)("Normal")},{value:"medium",label:Object(b.s)("Medium")},{value:"large",label:Object(b.s)("Large")}];return wp.element.createElement(b.f,null,wp.element.createElement(b.c,null,wp.element.createElement(b.a,{value:w,onChange:function(e){return t({contentAlign:e})}}),wp.element.createElement(b.q,null,wp.element.createElement(b.i,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:v,render:function(e){var t=e.open;return wp.element.createElement(b.g,{className:"components-toolbar__control",label:Object(b.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(b.h,null,wp.element.createElement(b.j,{title:Object(b.s)("General")},wp.element.createElement(b.m,{label:Object(b.s)("Background Opacity"),value:E,min:0,max:10,step:1,onChange:function(e){return t({opacity:e})}}),wp.element.createElement(b.o,{label:Object(b.s)("Button Size"),value:g,options:j.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({size:e})}}),wp.element.createElement(b.m,{label:Object(b.s)("Corner Radius"),value:p,min:"1",max:"50",onChange:function(e){return t({cornerButtonRadius:e})}})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Header Colors"),colorSettings:[{value:f,onChange:function(e){return t({titleColor:e})},label:Object(b.s)("Title Color")},{value:y,onChange:function(e){return t({subtitleColor:e})},label:Object(b.s)("Subtitle Color")},{value:C,onChange:function(e){return t({backgroundColor:e})},label:Object(b.s)("Heading Background Color")}]}),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Button Colors"),colorSettings:[{value:s,onChange:function(e){return t({buttonColor:e})},label:Object(b.s)("Button Color")},{value:m,onChange:function(e){return t({buttonTextColor:e})},label:Object(b.s)("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.i,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:v,render:function(e){return[!a&&wp.element.createElement(b.d,{className:v?"":"button button-large",onClick:e.open},Object(b.s)("Upload Image"))]}}),wp.element.createElement("section",{"data-url":a,style:x,className:"ugb-header-section"},wp.element.createElement(b.n,{tagName:"h2",className:"ugb-header-title",placeholder:d.default,value:d,onChange:function(e){return t({title:e})},style:{textAlign:w,color:f}}),wp.element.createElement(b.n,{tagName:"p",className:"ugb-header-subtitle",placeholder:h.default,value:h,onChange:function(e){return t({subtitle:e})},style:{textAlign:w,color:y}}),wp.element.createElement(i.a,{size:g,align:w,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-"+w},wp.element.createElement(b.e,{icon:"admin-links"}),wp.element.createElement(b.r,{value:c,onChange:function(e){return t({buttonURL:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.s)("Apply"),type:"submit"})))},g=function(e){var t=e.attributes,n=t.url,r=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,y=(t.id,t.backgroundColor),w=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=o()(l(w),{"overlay-opacity":0!==w}),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:y}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!b.n.isEmpty(p)&&wp.element.createElement(b.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!b.n.isEmpty(d)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),a&&!!a.length&&wp.element.createElement(s.a,{size:m,url:r,align:h,color:u,text:a,backgroundColor:c,borderRadius:i})))},d={title:{type:"array",source:"children",selector:"h2",default:Object(b.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(b.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(b.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}};Object(b.A)("ugb/header",{title:Object(b.s)("Header"),icon:u.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.s)("Header"),Object(b.s)("Stackable")],supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),attributes: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";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function r(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}n.d(t,"b",function(){return i}),n.d(t,"d",function(){return s}),n.d(t,"a",function(){return m}),n.d(t,"c",function(){return b});var o=n(5),a=n.n(o),c=n(0),u=n(4),i=function(e){var t=e.attributes,n=t.url,r=t.buttonURL,o=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,y=(t.id,t.backgroundColor),w=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=a()(l(w),{"overlay-opacity":0!==w}),x=p.length||d.length||o.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:y}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!c.n.isEmpty(p)&&wp.element.createElement(c.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!c.n.isEmpty(d)&&wp.element.createElement(c.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),o&&!!o.length&&wp.element.createElement(u.a,{size:b,url:r,align:h,color:s,text:o,backgroundColor:i,borderRadius:m})))},s={title:{type:"array",source:"children",selector:"h2",default:Object(c.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(c.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(c.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},m=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,o=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"},y=n?{backgroundImage:"url("+n+")"}:void 0,w=n?"has-image":"",v=a()(r(f),{"overlay-opacity":0!==f}),C=m||p||o?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+w+" "+C},wp.element.createElement("div",{className:"ugb-header-overlay "+v,style:{backgroundColor:d}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,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),o&&!!o.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+s,style:h},o)))},b={title:{type:"array",source:"children",selector:"h2",default:Object(c.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(c.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-header a.wp-ugb-button",default:Object(c.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}}},function(e,t,n){"use strict";var l=n(64),r=(n.n(l),n(65)),o=(n.n(r),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.url,r=n.title,o=n.titleColor,c=n.subtitle,u=n.subtitleColor,i=n.overlayColor,s=n.id,m=n.height,b=n.width,p=n.verticalAlign,g=n.horizontalAlign,d=n.full,f=l?"has-image":"",h=d?"full-width":"",y=[{value:"flex-start",label:Object(a.s)("Top")},{value:"center",label:Object(a.s)("Center")},{value:"flex-end",label:Object(a.s)("Bottom")}],w=[{value:"flex-start",label:Object(a.s)("Left")},{value:"center",label:Object(a.s)("Center")},{value:"flex-end",label:Object(a.s)("Right")}];return wp.element.createElement(a.f,null,wp.element.createElement(a.c,null,l&&wp.element.createElement(a.q,null,wp.element.createElement(a.i,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:s,render:function(e){var t=e.open;return wp.element.createElement(a.g,{className:"components-toolbar__control",label:Object(a.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(a.h,null,wp.element.createElement(a.j,null,wp.element.createElement(a.p,{label:"Full-Width",checked:!!d,onChange:function(){return t({full:!d})}}),wp.element.createElement(a.m,{label:Object(a.s)("Height"),value:m,min:"135",max:"700",onChange:function(e){return t({height:e})}}),wp.element.createElement(a.m,{label:Object(a.s)("Width"),value:b,min:"400",max:"999",onChange:function(e){return t({width:e})}}),wp.element.createElement(a.o,{label:Object(a.s)("Vertical Alignment"),value:p,options:y.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({verticalAlign:e})}}),wp.element.createElement(a.o,{label:Object(a.s)("Horizontal Alignment"),value:g,options:w.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({horizontalAlign:e})}})),wp.element.createElement(a.k,{title:Object(a.s)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return t({overlayColor:e})},label:Object(a.s)("Overlay Color")},{value:o,onChange:function(e){return t({titleColor:e})},label:Object(a.s)("Title Color")},{value:u,onChange:function(e){return t({subtitleColor:e})},label:Object(a.s)("Subtitle Color")}]})),wp.element.createElement("div",{className:"ugb-image-box "+f+" "+h,"data-url":l,style:{width:b+"px",height:m+"px",backgroundImage:"url("+l+")",alignItems:g,justifyContent:p}},wp.element.createElement(a.i,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:s,render:function(e){return[!l&&wp.element.createElement(a.d,{className:s?"":"button button-large",onClick:e.open},Object(a.s)("Upload Image"))]}}),wp.element.createElement("a",{href:"#",style:{backgroundColor:i}}),wp.element.createElement(a.n,{tagName:"h4",placeholder:r.default,value:r,onChange:function(e){return t({title:e})},style:{color:o}}),wp.element.createElement(a.n,{tagName:"p",placeholder:c.default,value:c,onChange:function(e){return t({subtitle:e})},style:{color:u}})))},u=function(e){var t=e.attributes,n=t.url,l=t.title,r=t.titleColor,o=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=l.length||o.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}}),!a.n.isEmpty(l)&&wp.element.createElement(a.n.Content,{tagName:"h4",style:{color:r},value:l}),!a.n.isEmpty(o)&&wp.element.createElement(a.n.Content,{tagName:"p",style:{color:c},value:o}))};Object(a.A)("ugb/image-box",{title:Object(a.s)("Image Box"),icon:o.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.s)("Image Box"),Object(a.s)("Stackable")],attributes:{title:{type:"array",source:"children",selector:"h4",default:Object(a.s)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(a.s)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(67),r=(n.n(l),n(68)),o=(n.n(r),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,r=n.headingColor,o=n.desColor,c=n.title,u=n.counter,i=n.des,s=n.fontSize;return wp.element.createElement(a.f,null,wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(a.n,{tagName:"h4",value:c,onChange:function(e){return t({title:e})},style:{color:r}}),wp.element.createElement(a.n,{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.n,{tagName:"p",className:"ugb-counter-des",value:i,onChange:function(e){return t({des:e})},style:{color:o}})),wp.element.createElement(a.h,null,wp.element.createElement(a.k,{title:Object(a.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return t({headingColor:e})},label:Object(a.s)("Heading Color")},{value:l,onChange:function(e){return t({color:e})},label:Object(a.s)("Number Color")},{value:o,onChange:function(e){return t({desColor:e})},label:Object(a.s)("Description Color")}]}),wp.element.createElement(a.j,null,wp.element.createElement(a.m,{label:Object(a.s)("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,r=t.desColor,o=t.title,c=t.counter,u=t.des,i=t.fontSize;return wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(a.n.Content,{tagName:"h4",style:{color:l},value:o}),wp.element.createElement(a.n.Content,{tagName:"div",className:"ugb-counter",style:{color:n,fontSize:i+"px"},value:c,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(a.n.Content,{tagName:"p",style:{color:r},value:u}))};Object(a.A)("ugb/count-up",{title:Object(a.s)("Count Up"),icon:o.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.s)("Count Up"),Object(a.s)("Stackable")],attributes:{title:{type:"array",source:"children",selector:"h4",default:Object(a.s)("Happy Customers")},counter:{type:"array",source:"children",selector:".ugb-counter",default:"12,345"},des:{type:"array",source:"children",selector:"p",default:Object(a.s)("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(70),r=(n.n(l),n(71)),o=(n.n(r),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,r=l.videoLink,o=l.mediaLink,u=l.overlayColor,i=l.playButtonType,s=l.mediaID,m=[{value:"normal",label:Object(a.s)("Normal Play Button")},{value:"circle",label:Object(a.s)("Play Button with Circle")},{value:"outline",label:Object(a.s)("Outline Play Button")}];return wp.element.createElement(a.f,null,wp.element.createElement(a.c,null,o&&wp.element.createElement(a.q,null,wp.element.createElement(a.i,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},type:"image",value:s,render:function(e){var t=e.open;return wp.element.createElement(a.g,{className:"components-toolbar__control",label:Object(a.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(a.h,null,wp.element.createElement(a.j,null,wp.element.createElement(a.o,{label:Object(a.s)("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.k,{initialOpen:!1,title:Object(a.s)("Color Settings"),colorSettings:[{value:u,onChange:function(e){return t({overlayColor:e})},label:Object(a.s)("Background / Overlay Color")}]})),wp.element.createElement("div",{className:"ugb-video-popup","data-video":r,style:{backgroundColor:u}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+o+")"}}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement(a.i,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},type:"image",value:s,render:function(e){return[!o&&wp.element.createElement(a.d,{className:s?"":"button button-large",onClick:e.open},Object(a.s)("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.e,{icon:"admin-links"}),wp.element.createElement(a.r,{value:r,onChange:function(e){return t({videoLink:e})}}),wp.element.createElement(a.g,{icon:"editor-break",label:Object(a.s)("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,r=t.overlayColor,o=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"},c[o])))};Object(a.A)("ugb/video-popup",{title:Object(a.s)("Video Popup"),icon:o.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.s)("Video Popup"),Object(a.s)("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(73),r=(n.n(l),n(74)),o=(n.n(r),n(1)),a=n(2),c=n(3),u=n(75),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,r=l.heading,o=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,y=l.size,w=l.cornerButtonRadius,v=l.contentAlign,C=s?"has-image":"",E=[{value:"small",label:Object(i.s)("Small")},{value:"normal",label:Object(i.s)("Normal")},{value:"medium",label:Object(i.s)("Medium")},{value:"large",label:Object(i.s)("Large")}];return wp.element.createElement(i.f,null,wp.element.createElement(i.c,null,wp.element.createElement(i.a,{value:v,onChange:function(e){return n({contentAlign:e})}}),wp.element.createElement(i.q,null,wp.element.createElement(i.i,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},type:"image",value:u,render:function(e){var t=e.open;return wp.element.createElement(i.g,{className:"components-toolbar__control",label:Object(i.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(i.h,null,wp.element.createElement(i.k,{title:Object(i.s)("Text Colors"),colorSettings:[{value:m,onChange:function(e){return n({headingColor:e})},label:Object(i.s)("Heading Color")},{value:b,onChange:function(e){return n({taglineColor:e})},label:Object(i.s)("Tagline Color")},{value:p,onChange:function(e){return n({desColor:e})},label:Object(i.s)("Description Color")}]}),wp.element.createElement(i.j,{initialOpen:!1,title:Object(i.s)("Button Size")},wp.element.createElement(i.o,{label:Object(i.s)("Button Size"),value:y,options:E.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(i.m,{label:Object(i.s)("Corner Radius"),value:w,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Button Colors"),colorSettings:[{value:f,onChange:function(e){return n({buttonColor:e})},label:Object(i.s)("Button Color")},{value:h,onChange:function(e){return n({buttonTextColor:e})},label:Object(i.s)("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:v}},wp.element.createElement(i.i,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},type:"image",value:u,render:function(e){return[!s&&wp.element.createElement(i.d,{className:u?"":"button button-large",onClick:e.open},Object(i.s)("Upload Image"))]}})),wp.element.createElement(i.n,{tagName:"h4",value:r,className:"ugb-card-heading",onChange:function(e){return n({heading:e})},style:{color:m,textAlign:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:o,className:"ugb-tagline",onChange:function(e){return n({tagline:e})},style:{color:b,textAlign:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:c,className:"ugb-card-des",onChange:function(e){return n({des:e})},style:{color:p,textAlign:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:y,align:v,color:h,backgroundColor:f,text:d,borderRadius:w,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-"+v,style:{marginTop:10}},wp.element.createElement(i.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:g,onChange:function(e){return n({buttonURL:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"})))},m=function(e){var t=e.attributes,n=t.heading,l=t.tagline,r=t.des,o=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,y=o?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+y},o&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+o+")",textAlign:h},"data-src":o}),!i.n.isEmpty(n)&&wp.element.createElement(i.n.Content,{tagName:"h4",style:{color:a,textAlign:h},value:n}),!i.n.isEmpty(l)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-tagline",style:{color:u,textAlign:h},value:l}),!i.n.isEmpty(r)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:r}),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:{type:"array",source:"children",selector:".ugb-card h4",default:Object(i.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(i.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(i.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(i.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}};Object(i.A)("ugb/card",{title:Object(i.s)("Card"),icon:o.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Card"),Object(i.s)("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 o}),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),r=n(4),o={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(l.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}},a=function(e){var t=e.attributes,n=t.heading,o=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,y=c?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+y},c&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+c+")",textAlign:h},"data-src":c}),!l.n.isEmpty(n)&&wp.element.createElement(l.n.Content,{tagName:"h4",style:{color:u,textAlign:h},value:n}),!l.n.isEmpty(o)&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-tagline",style:{color:i,textAlign:h},value:o}),!l.n.isEmpty(a)&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:a}),b&&!!b.length&&wp.element.createElement(r.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,r=t.des,o=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=o?"has-image":"",y=n||l||r||s?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-card "+h+" "+y},o&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+o+")",textAlign:d},"data-src":o}),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),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:u,textAlign:d}},r),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.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".wp-ugb-button",attribute:"href"},buttonText:{type:"array",source:"children",selector:".wp-block-button",default:Object(l.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}}},function(e,t,n){"use strict";var l=n(0);Object(l.t)("stackable.get_pro","core",function(){})}]);
1
+ !function(e){function t(l){if(n[l])return n[l].exports;var r=n[l]={i:l,l:!1,exports:{}};return e[l].call(r.exports,r,r.exports,t),r.l=!0,r.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=7)}([function(e,t,n){"use strict";n.d(t,"A",function(){return l}),n.d(t,"s",function(){return r}),n.d(t,"m",function(){return o}),n.d(t,"o",function(){return u}),n.d(t,"p",function(){return c}),n.d(t,"e",function(){return i}),n.d(t,"g",function(){return s}),n.d(t,"d",function(){return m}),n.d(t,"q",function(){return b}),n.d(t,"j",function(){return p}),n.d(t,"l",function(){return g}),n.d(t,"h",function(){return f}),n.d(t,"c",function(){return h}),n.d(t,"a",function(){return y}),n.d(t,"n",function(){return w}),n.d(t,"r",function(){return v}),n.d(t,"i",function(){return C}),n.d(t,"k",function(){return x}),n.d(t,"b",function(){return N}),n.d(t,"f",function(){return O}),n.d(t,"z",function(){return j}),n.d(t,"y",function(){return T}),n.d(t,"w",function(){return S}),n.d(t,"t",function(){return z}),n.d(t,"u",function(){return L}),n.d(t,"x",function(){return R}),n.d(t,"v",function(){return I});var l=wp.blocks.registerBlockType,r=wp.i18n.__,a=wp.components,o=a.RangeControl,u=a.SelectControl,c=(a.TextControl,a.ToggleControl),i=a.Dashicon,s=a.IconButton,m=a.Button,b=a.Toolbar,p=a.PanelBody,g=a.RadioControl,d=wp.editor.InspectorControls?wp.editor:wp.blocks,f=d.InspectorControls,h=d.BlockControls,y=(d.ColorPalette,d.AlignmentToolbar),w=d.RichText,v=d.URLInput,C=d.MediaUpload,E=wp.editor,x=E.PanelColorSettings,N=E.BlockAlignmentToolbar,O=wp.element.Fragment,k=lodash,j=k.omit,T=k.merge,B=wp.hooks,S=B.doAction,z=B.addAction,L=B.applyFilters,A=(B.addFilter,stackable),R=A.isPro,I=A.blockSrcUrl;A.primaryColor},function(e,t,n){"use strict";n.d(t,"g",function(){return o}),n.d(t,"a",function(){return u}),n.d(t,"e",function(){return c}),n.d(t,"c",function(){return i}),n.d(t,"k",function(){return s}),n.d(t,"l",function(){return m}),n.d(t,"n",function(){return b}),n.d(t,"b",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"d",function(){return d}),n.d(t,"h",function(){return f}),n.d(t,"f",function(){return h}),n.d(t,"i",function(){return y}),n.d(t,"o",function(){return w}),n.d(t,"j",function(){return v});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"})))},r=1,a=function(){return"stk-icon-"+r++},o=function(){var e=a();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=a();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=a();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=a();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=a();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=a();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=a();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=a();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=a();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=a();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=a();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"}))},y=function(){var e=a();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"}))},w=function(){var e=a();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 38 26"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M2 0h34a2 2 0 0 1 2 2v22a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.77 4C6.24 4 5 5.511 5 7.375v11.25C5 20.489 6.24 22 7.77 22h15.46c1.53 0 2.77-1.511 2.77-3.375V16l6 5h1V5h-1l-6 5V7.375C26 5.511 24.76 4 23.23 4H7.77z"}))},v=function(){var e=a();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"}))}},function(e,t,n){"use strict";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,a=void 0===l?"normal":l,o=e.color,u=e.text,c=void 0===u?"":u,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,y={borderRadius:m+"px",backgroundColor:i||void 0};return wp.element.createElement("span",{className:"ugb-button ugb-button-"+n+" ugb-button-"+a,style:y},wp.element.createElement(r.n,{tagName:"span",placeholder:Object(r.s)("Enter Text"),value:c,onChange:h,formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:o},onFocus:d,isSelected:p,keepPlaceholderOnFocus:!0}))}var r=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,a=void 0===l?"normal":l,o=e.url,u=void 0===o?"":o,c=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-"+a,style:b},wp.element.createElement(r.n.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:c},value:i}))}var r=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,o=e.url,u=void 0===o?"":o,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-"+r,style:b},wp.element.createElement(a.n.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:c},value:i}))}function r(e){var t=e.align,n=void 0===t?"center":t,l=e.size,r=void 0===l?"normal":l,o=e.url,u=void 0===o?"":o,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-"+r,style:b},wp.element.createElement(a.n.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:c},value:i}))}n.d(t,"b",function(){return o}),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 a=n(0),o=l,u=r,c=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.align,o=t.color,c=t.textColor,i=t.size,s=t.cornerButtonRadius,m=t.design,b=wp.element.createElement(u,{align:r,size:i,url:n,color:c,text:l,backgroundColor:o,borderRadius:s});return Object(a.u)("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,r=t.textAlignment,a=t.color,o=t.textColor,u=t.size,c=t.cornerButtonRadius,i={backgroundColor:a,color:o,borderRadius:c+"px"};return wp.element.createElement("div",{className:"ugb-button-"+r},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){var l,r;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var r=typeof l;if("string"===r||"number"===r)e.push(l);else if(Array.isArray(l)&&l.length){var o=n.apply(null,l);o&&e.push(o)}else if("object"===r)for(var u in l)a.call(l,u)&&l[u]&&e.push(u)}}return e.join(" ")}var a={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(l=[],void 0!==(r=function(){return n}.apply(t,l))&&(e.exports=r))}()},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(8),n(11),n(14),n(21),n(25),n(31),n(35),n(39),n(43),n(46),n(49),n(52),n(55),n(59),n(63),n(67),n(70),n(73),n(77)},function(e,t,n){"use strict";var l=n(9),r=(n.n(l),n(10)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=e.attributes.height;return wp.element.createElement("div",{style:{height:t+"px"}})},c=function(e){var t=(e.isSelected,e.attributes.height);return wp.element.createElement(o.f,null,wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.m,{label:Object(o.s)("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(o.A)("ugb/spacer",{title:Object(o.s)("Spacer"),icon:a.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Spacer"),Object(o.s)("Stackable")],attributes:{height:{default:50,type:"number"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(12),r=(n.n(l),n(13)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=e.attributes,n=t.height,l=t.width,r=t.color,a=t.alignment;return wp.element.createElement("div",{className:"ugb-divider"},wp.element.createElement("hr",{align:a,style:{backgroundColor:r,width:l+"%",height:n}}))},c=function(e){var t=(e.isSelected,e.attributes),n=t.height,l=t.width,r=t.color,a=t.alignment;return wp.element.createElement(o.f,null,wp.element.createElement(o.c,null,wp.element.createElement(o.a,{value:a,onChange:function(t){e.setAttributes({alignment:t})}})),wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.m,{label:Object(o.s)("Height"),value:n,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(o.m,{label:Object(o.s)("Width"),value:l,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(o.k,{title:Object(o.s)("Color Settings"),colorSettings:[{value:r,onChange:function(t){return e.setAttributes({color:t})},label:Object(o.s)("Divider Color")}]})),wp.element.createElement("div",{className:"ugb-divider",style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:a,style:{marginTop:0,marginBottom:0,backgroundColor:r,width:l+"%",height:n}})))};Object(o.A)("ugb/divider",{title:Object(o.s)("Divider"),icon:a.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Divider"),Object(o.s)("Stackable")],attributes:{height:{default:1,type:"number"},width:{default:50,type:"number"},color:{type:"string",default:"#dddddd"},alignment:{type:"string",default:"center"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(15),r=(n.n(l),n(16)),a=(n.n(r),n(1)),o=n(4),u=n(2),c=n(3),i=n(17),s=n(19),m=(n(20),n(0)),b=function(e){var t=e.isSelected,n=(e.className,e.setAttributes),l=e.attributes,r=l.url,a=l.text,o=l.color,c=l.textColor,b=l.size,p=l.align,g=l.cornerButtonRadius,d=l.design,f=[{value:"small",label:Object(m.s)("Small")},{value:"normal",label:Object(m.s)("Normal")},{value:"medium",label:Object(m.s)("Medium")},{value:"large",label:Object(m.s)("Large")}],h=wp.element.createElement(u.a,{onChange:function(e){return n({text:e})},align:p,size:b,backgroundColor:o,color:c,text:a,borderRadius:g}),y=Object(m.u)("stackable.designs.button.edit",h,d,e);return wp.element.createElement(m.f,null,wp.element.createElement(m.c,null,wp.element.createElement(m.b,{value:p,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(m.h,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.h,null,wp.element.createElement(m.j,null,wp.element.createElement(m.o,{label:Object(m.s)("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.m,{label:Object(m.s)("Corner Radius"),value:g,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(m.k,{title:Object(m.s)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return n({color:e})},label:Object(m.s)("Background Color")},{value:c,onChange:function(e){return n({textColor:e})},label:Object(m.s)("Text Color")}]})),y,t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(m.e,{icon:"admin-links"}),wp.element.createElement(m.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(m.g,{icon:"editor-break",label:Object(m.s)("Apply"),type:"submit"})))},p=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.align,a=t.color,o=t.textColor,u=t.size,i=t.cornerButtonRadius,s=t.design,b=wp.element.createElement(c.a,{align:r,size:u,url:n,color:o,text:l,backgroundColor:a,borderRadius:i});return Object(m.u)("stackable.designs.button.save",b,s,e)},g={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}};Object(m.A)("ugb/button",{title:Object(m.s)("Button"),icon:a.a,description:"Add customize button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.s)("Button"),Object(m.s)("Stackable")],attributes:g,deprecated:[{attributes:o.f,save:o.d},{attributes:o.e,migrate:function(e){return Object(m.z)(Object(m.y)(e,{align:e.textAlignment}),["textAlignment"])},save:o.c}],edit:b,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return null}var r=n(18),a=(n.n(r),n(0),n(5));n.n(a);t.a=l},function(e,t){},function(e,t,n){"use strict";function l(e){var t=e.isPro,n=e.imageFile,l=a()({"is-pro":t});return wp.element.createElement("span",{className:l},wp.element.createElement("img",{src:n.match(/https?:/i)?n:o.v+"/"+n}))}var r=n(5),a=n.n(r),o=n(0);t.a=l},function(e,t,n){"use strict"},function(e,t,n){"use strict";var l=n(22),r=(n.n(l),n(23)),a=(n.n(r),n(1)),o=n(24),u=n(0),c=function(e){var t=e.isSelected,n=e.setAttributes,l=e.attributes,r=l.url,a=l.text,o=l.color,c=l.size,i=l.align,s=l.cornerButtonRadius,m=l.borderThickness,b=[{value:"small",label:Object(u.s)("Small")},{value:"normal",label:Object(u.s)("Normal ")},{value:"medium",label:Object(u.s)("Medium")},{value:"large",label:Object(u.s)("Large")}];return wp.element.createElement(u.f,null,wp.element.createElement(u.c,null,wp.element.createElement(u.b,{value:i,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(u.h,null,wp.element.createElement(u.j,null,wp.element.createElement(u.o,{label:Object(u.s)("Size"),value:c,options:b.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(u.m,{label:Object(u.s)("Corner Radius"),value:s,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(u.m,{label:Object(u.s)("Border Thickness"),value:m,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(u.k,{title:Object(u.s)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return n({color:e})},label:Object(u.s)("Button Color")}]})),wp.element.createElement("span",{className:"ugb-button ugb-ghost-button ugb-button-"+i+" ugb-button-"+c,style:{borderColor:o,borderRadius:s+"px",borderWidth:m+"px"}},wp.element.createElement(u.n,{tagName:"span",placeholder:Object(u.s)("Enter Text"),value:a,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:o},keepPlaceholderOnFocus:!0})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(u.e,{icon:"admin-links"}),wp.element.createElement(u.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(u.g,{icon:"editor-break",label:Object(u.s)("Apply"),type:"submit"})))},i=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.align,a=t.color,o=t.size,c=t.cornerButtonRadius,i=t.borderThickness,s={borderColor:a,borderRadius:c+"px",borderWidth:i+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-ghost-button ugb-button-"+r+" ugb-button-"+o,style:s},wp.element.createElement(u.n.Content,{className:"ugb-button-inner",tagName:"a",value:l,href:n,style:{color:a}}))},s={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",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(u.A)("ugb/ghost-button",{title:Object(u.s)("Ghost Button"),icon:a.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.s)("Ghost Button"),Object(u.s)("Stackable")],attributes:s,deprecated:[{attributes:o.b,migrate:function(e){return Object(u.z)(Object(u.y)(e,{align:e.textAlignment}),["textAlignment"])},save:o.a}],edit:c,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 r});var l=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.textAlignment,a=t.color,o=t.size,u=t.cornerButtonRadius,c=t.borderThickness,i={borderColor:a,color:a,borderRadius:u+"px",borderWidth:c+"px"};return wp.element.createElement("div",{className:"ugb-button-"+r},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+o+" ugb-ghost-button",style:i},l))},r={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(26),r=(n.n(l),n(27)),a=(n.n(r),n(28)),o=n.n(a),u=n(1),c=n(0),i=function(e){var t=[{value:"success",label:Object(c.s)("Success")},{value:"error",label:Object(c.s)("Error")},{value:"warning",label:Object(c.s)("Warning")},{value:"info",label:Object(c.s)("Information")}],n=(e.isSelected,e.editable,e.setState,e.setAttributes),l=(e.className,e.attributes),r=l.text,a=l.color,o=l.textColor,u=l.notifType,i=l.dismissible;return wp.element.createElement(c.f,null,wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.p,{label:Object(c.s)("Dismissible"),checked:i,onChange:function(){return n({dismissible:!i})}}),wp.element.createElement(c.o,{label:Object(c.s)("Notification Type"),value:u,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}})),wp.element.createElement(c.k,{title:Object(c.s)("Color Settings"),colorSettings:[{value:a,onChange:function(e){return n({color:e})},label:Object(c.s)("Background Color")},{value:o,onChange:function(e){return n({textColor:e})},label:Object(c.s)("Text Color")}]})),wp.element.createElement("div",{className:"ugb-notification type-"+u+" 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: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(c.n,{tagName:"p",placeholder:e.attributes.text.default,value:r,onChange:function(e){return n({text:e})},className:"wp-ugb-notif notif-"+u,style:{backgroundColor:a,color:o}})))},s=function(e){var t=e.attributes,n=t.text,l=t.color,r=t.textColor,a=t.notifType,u=t.dismissible,i={backgroundColor:l,color:r},s=o()(n+a).substr(0,6);return wp.element.createElement("div",{className:"ugb-notification type-"+a+" dismissible-"+u,"data-uid":s},u&&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(c.n.Content,{tagName:"p",className:"wp-ugb-notif notif-"+a,style:i,value:n}))};Object(c.A)("ugb/notification",{title:Object(c.s)("Notification"),icon:u.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Notification"),Object(c.s)("Stackable")],attributes:{text:{type:"array",source:"children",selector:"p",default:Object(c.s)("This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1}},edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(29),l=n(6).utf8,r=n(30),a=n(6).bin,o=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?a.stringToBytes(e):l.stringToBytes(e):r(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=o._ff,d=o._gg,f=o._hh,h=o._ii,p=0;p<u.length;p+=16){var y=i,w=s,v=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+y>>>0,s=s+w>>>0,m=m+v>>>0,b=b+C>>>0}return t.endian([i,s,m,b])};o._ff=function(e,t,n,l,r,a,o){var u=e+(t&n|~t&l)+(r>>>0)+o;return(u<<a|u>>>32-a)+t},o._gg=function(e,t,n,l,r,a,o){var u=e+(t&l|n&~l)+(r>>>0)+o;return(u<<a|u>>>32-a)+t},o._hh=function(e,t,n,l,r,a,o){var u=e+(t^n^l)+(r>>>0)+o;return(u<<a|u>>>32-a)+t},o._ii=function(e,t,n,l,r,a,o){var u=e+(n^(t|~l))+(r>>>0)+o;return(u<<a|u>>>32-a)+t},o._blocksize=16,o._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var l=t.wordsToBytes(o(e,n));return n&&n.asBytes?l:n&&n.asString?a.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 r=e[l]<<16|e[l+1]<<8|e[l+2],a=0;a<4;a++)8*l+6*a<=8*e.length?n.push(t.charAt(r>>>6*(3-a)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],l=0,r=0;l<e.length;r=++l%4)0!=r&&n.push((t.indexOf(e.charAt(l-1))&Math.pow(2,-2*r+8)-1)<<2*r|t.indexOf(e.charAt(l))>>>6-2*r);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(32),r=(n.n(l),n(33)),a=(n.n(r),n(1)),o=n(34),u=n(0),c=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),r=l.color,a=l.text,o=l.quoteColor;return wp.element.createElement(u.f,null,wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{"--quote-color":o}},wp.element.createElement(u.n,{className:"ugb-blockquote-text",value:a,onChange:function(e){return n({text:e})},isSelected:t,style:{color:r}})),wp.element.createElement(u.h,null,wp.element.createElement(u.k,{title:Object(u.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(u.s)("Text Color")},{value:o,onChange:function(e){return n({quoteColor:e})},label:Object(u.s)("Quote Color")}]})))},i=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.quoteColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{"--quote-color":r}},wp.element.createElement(u.n.Content,{tagName:"p",style:{color:n},value:l}))},s={text:{type:"array",source:"children",selector:"p",default:Object(u.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(u.A)("ugb/blockquote",{title:Object(u.s)("Blockquote"),icon:a.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.s)("Blockquote"),Object(u.s)("Stackable")],attributes:s,deprecated:[{attributes:o.b,migrate:function(e){return Object(u.z)(Object(u.y)(e,{quoteColor:e.borderColor}),["borderColor"])},save:o.a}],edit:c,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return a});var l=n(0),r={text:{type:"array",source:"children",selector:"p",default:Object(l.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#424242"},borderColor:{type:"string",default:"#2091e1"}},a=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{borderLeftColor:r}},wp.element.createElement("p",{style:{color:n}},l))}},function(e,t,n){"use strict";var l=n(36),r=(n.n(l),n(37)),a=(n.n(r),n(1)),o=n(38),u=n(0),c=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),r=l.color,a=l.text,o=l.quoteColor;return wp.element.createElement(u.f,null,wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{"--quote-color":o}},wp.element.createElement(u.n,{tagName:"p",className:"ugb-pullquote-text",value:a,onChange:function(e){return n({text:e})},placeholder:Object(u.s)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:r}})),wp.element.createElement(u.h,null,wp.element.createElement(u.k,{title:Object(u.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(u.s)("Text Color")},{value:o,onChange:function(e){return n({quoteColor:e})},label:Object(u.s)("Quote Color")}]})))},i=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.quoteColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{"--quote-color":r}},wp.element.createElement(u.n.Content,{tagName:"p",style:{color:n},value:l}))},s={text:{type:"array",source:"children",selector:"p",default:Object(u.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(u.A)("ugb/pullquote",{title:Object(u.s)("Pullquote"),icon:a.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.s)("Pullquote"),Object(u.s)("Stackable")],attributes:s,deprecated:[{attributes:o.b,migrate:function(e){return Object(u.z)(Object(u.y)(e,{quoteColor:e.borderColor}),["borderColor"])},save:o.a}],edit:c,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var l=n(0),r=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{borderTopColor:r,borderBottomColor:r}},wp.element.createElement("p",{style:{color:n}},l))},a={text:{type:"array",source:"children",selector:"p",default:Object(l.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#2091e1"},borderColor:{type:"string",default:"#2091e1"}}},function(e,t,n){"use strict";var l=n(40),r=(n.n(l),n(41)),a=(n.n(r),n(1)),o=n(2),u=n(3),c=n(42),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,r=l.url,a=l.buttonText,u=l.ctaTitle,c=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.s)("Small")},{value:"normal",label:Object(i.s)("Normal")},{value:"medium",label:Object(i.s)("Medium")},{value:"large",label:Object(i.s)("Large")}];return wp.element.createElement(i.f,null,wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.o,{label:Object(i.s)("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.m,{label:Object(i.s)("Button Border Radius"),value:p,min:"1",max:"50",onChange:function(e){return n({borderButtonRadius:e})}})),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return n({bgColor:e})},label:Object(i.s)("Background Color")},{value:d,onChange:function(e){return n({titleColor:e})},label:Object(i.s)("Title Color")},{value:g,onChange:function(e){return n({bodyTextColor:e})},label:Object(i.s)("Body Text Color")}]}),wp.element.createElement(i.k,{title:Object(i.s)("Button Colors"),colorSettings:[{value:s,onChange:function(e){return n({color:e})},label:Object(i.s)("Button Background Color")},{value:m,onChange:function(e){return n({textColor:e})},label:Object(i.s)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:f}},wp.element.createElement(i.n,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(i.s)("Add Title"),value:u,onChange:function(e){return n({ctaTitle:e})},keepPlaceholderOnFocus:!0,style:{color:d}}),wp.element.createElement(i.n,{tagName:"p",value:c,className:"ugb-cta-bodyText",onChange:function(e){return n({bodyText:e})},placeholder:Object(i.s)("Write body text\u2026"),style:{color:g}}),wp.element.createElement(o.a,{size:b,color:m,backgroundColor:s,text:a,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.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"})))},m=function(e){var t=e.attributes,n=t.url,l=t.buttonText,r=t.ctaTitle,a=t.bodyText,o=t.color,c=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}},r&&!!r.length&&wp.element.createElement(i.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:r}),a&&!!a.length&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:a}),l&&!!l.length&&wp.element.createElement(u.a,{size:s,url:n,color:c,text:l,backgroundColor:o,borderRadius:m}))},b={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(i.s)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(i.s)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string"},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.A)("ugb/cta",{title:Object(i.s)("Call to Action"),icon:a.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Call to Action"),Object(i.s)("Stackable"),Object(i.s)("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:c.c,save:c.b},{save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return u});var l=n(0),r=n(4),a={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(l.s)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(l.s)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},o=function(e){var t=e.attributes,n=t.url,a=t.buttonText,o=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}},o&&!!o.length&&wp.element.createElement(l.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:o}),u&&!!u.length&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:u}),a&&!!a.length&&wp.element.createElement(r.a,{size:s,url:n,color:i,text:a,backgroundColor:c,borderRadius:m}))},u=function(e){var t=e.attributes,n=t.url,l=t.buttonText,r=t.ctaTitle,a=t.bodyText,o=t.color,u=t.textColor,c=t.size,i=t.borderButtonRadius,s=t.bodyTextColor,m=t.titleColor,b=t.bgColor,p={backgroundColor:o,color:u,borderRadius:i+"px"};return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:b}},r&&!!r.length&&wp.element.createElement("h3",{className:"ugb-cta-title",style:{color:m}},r),a&&!!a.length&&wp.element.createElement("p",{className:"ugb-cta-bodyText",style:{color:s}},a),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(44),r=(n.n(l),n(45)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=(e.isSelected,e.editable,e.setState,e.className,e.setAttributes),n=e.attributes,l=n.testimonialTitle,r=n.testimonialTitleTwo,a=n.testimonialTitleThree,u=n.body,c=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,y=n.mediaURLThree,w=n.columns,v=n.titleColor,C=n.posColor,E=n.bodyTextColor,x=n.iconColor,N=[{value:"1",label:Object(o.s)("One Column")},{value:"2",label:Object(o.s)("Two Column")},{value:"3",label:Object(o.s)("Three Column")}];return wp.element.createElement(o.f,null,wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.o,{label:Object(o.s)("Column Number"),value:w,options:N.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(o.k,{initialOpen:!1,title:Object(o.s)("Color Settings"),colorSettings:[{value:v,onChange:function(e){return t({titleColor:e})},label:Object(o.s)("Title Color")},{value:C,onChange:function(e){return t({posColor:e})},label:Object(o.s)("Position Color")},{value:E,onChange:function(e){return t({bodyTextColor:e})},label:Object(o.s)("Body Text Color")},{value:x,onChange:function(e){return t({iconColor:e})},label:Object(o.s)("Icon Color")}]})),wp.element.createElement("div",{className:"ugb-testimonial column-"+w},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},wp.element.createElement("div",null,wp.element.createElement(o.i,{onSelect:function(e){return t({mediaURL:e.url,mediaID:e.id})},type:"image",value:p,render:function(e){return wp.element.createElement(o.d,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+f+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:l,onChange:function(e){return t({testimonialTitle:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:s,className:"ugb-testimonial-position",onChange:function(e){return t({position:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:u,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(o.i,{onSelect:function(e){return t({mediaURLTwo:e.url,mediaIDTwo:e.id})},type:"image",value:g,render:function(e){return wp.element.createElement(o.d,{className:g?"":"button button-large",onClick:e.open},g?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+h+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:r,onChange:function(e){return t({testimonialTitleTwo:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:m,className:"ugb-testimonial-position-two",onChange:function(e){return t({positionTwo:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:c,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(o.i,{onSelect:function(e){return t({mediaURLThree:e.url,mediaIDThree:e.id})},type:"image",value:d,render:function(e){return wp.element.createElement(o.d,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+y+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:a,onChange:function(e){return t({testimonialTitleThree:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:b,className:"ugb-testimonial-position-three",onChange:function(e){return t({positionThree:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:i,className:"ugb-testimonial-body-three",onChange:function(e){return t({bodyThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}))))},c=function(e){var t=e.attributes,n=t.testimonialTitle,l=t.testimonialTitleTwo,r=t.testimonialTitleThree,a=t.body,u=t.bodyTwo,c=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,y=t.iconColor,w=t.columns,v=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:"ugb-testimonial column-"+w},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},b?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+b+")"},"data-src":b}):v,!o.n.isEmpty(n)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:d},value:n}),!o.n.isEmpty(i)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:f},value:i}),!o.n.isEmpty(a)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:h},value:a})),w>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}):v,!o.n.isEmpty(l)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:d},value:l}),!o.n.isEmpty(s)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-position-two",style:{color:f},value:s}),!o.n.isEmpty(u)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-body-two",style:{color:h},value:u})),w>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}):v,!o.n.isEmpty(r)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:d},value:r}),!o.n.isEmpty(m)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-position-three",style:{color:f},value:m}),!o.n.isEmpty(c)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-body-three",style:{color:h},value:c})))};Object(o.A)("ugb/testimonial",{title:Object(o.s)("Testimonial"),icon:a.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Testimonial"),Object(o.s)("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:{type:"array",source:"children",selector:".ugb-testimonial-column-one h4",default:Object(o.s)("Ben Adams")},testimonialTitleTwo:{type:"array",source:"children",selector:".ugb-testimonial-column-two h4",default:Object(o.s)("Alex Johnson")},testimonialTitleThree:{type:"array",source:"children",selector:".ugb-testimonial-column-three h4",default:Object(o.s)("Sammy Simpson")},position:{type:"array",source:"children",selector:".ugb-testimonial-position",default:Object(o.s)("Founder")},positionTwo:{type:"array",source:"children",selector:".ugb-testimonial-position-two",default:Object(o.s)("Editor")},positionThree:{type:"array",source:"children",selector:".ugb-testimonial-position-three",default:Object(o.s)("Programmer")},body:{type:"array",source:"children",selector:".ugb-testimonial-body",default:Object(o.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{type:"array",source:"children",selector:".ugb-testimonial-body-two",default:Object(o.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{type:"array",source:"children",selector:".ugb-testimonial-body-three",default:Object(o.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},titleColor:{type:"string"},posColor:{type:"string"},bodyTextColor:{type:"string"},iconColor:{type:"string"},columns:{type:"select",default:"1"}},edit:u,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(47),r=(n.n(l),n(48)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=(e.isSelected,e.editable,e.setState,e.className,e.setAttributes),n=e.attributes,l=n.name,r=n.nameTwo,a=n.nameThree,u=n.des,c=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,y=n.mediaURLThree,w=n.columns,v=n.nameColor,C=n.posColor,E=n.desColor,x=n.iconColor,N=n.shapes,O=[{value:"1",label:Object(o.s)("One Column")},{value:"2",label:Object(o.s)("Two Column")},{value:"3",label:Object(o.s)("Three Column")}],k=[{value:"square",label:Object(o.s)("Square")},{value:"circle",label:Object(o.s)("Circle")}];return wp.element.createElement(o.f,null,wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.o,{label:Object(o.s)("Image Shape"),value:N,options:k.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({shapes:e})}}),wp.element.createElement(o.o,{label:Object(o.s)("Column Number"),value:w,options:O.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(o.k,{initialOpen:!1,title:Object(o.s)("Color Settings"),colorSettings:[{value:v,onChange:function(e){return t({nameColor:e})},label:Object(o.s)("Name Color")},{value:C,onChange:function(e){return t({posColor:e})},label:Object(o.s)("Position Color")},{value:E,onChange:function(e){return t({desColor:e})},label:Object(o.s)("Description Color")},{value:x,onChange:function(e){return t({iconColor:e})},label:Object(o.s)("Icon Color")}]})),wp.element.createElement("div",{className:"ugb-team-member column-"+w+" image-"+N},wp.element.createElement("div",{className:"ugb-team-member-column-one"},wp.element.createElement("div",null,wp.element.createElement(o.i,{onSelect:function(e){return t({mediaURL:e.url,mediaID:e.id})},type:"image",value:p,render:function(e){return wp.element.createElement(o.d,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+f+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:l,onChange:function(e){return t({name:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:s,className:"ugb-team-member-position",onChange:function(e){return t({position:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:u,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(o.i,{onSelect:function(e){return t({mediaURLTwo:e.url,mediaIDTwo:e.id})},type:"image",value:g,render:function(e){return wp.element.createElement(o.d,{className:g?"":"button button-large",onClick:e.open},g?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+h+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:r,onChange:function(e){return t({nameTwo:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:m,className:"ugb-team-member-position",onChange:function(e){return t({positionTwo:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:c,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(o.i,{onSelect:function(e){return t({mediaURLThree:e.url,mediaIDThree:e.id})},type:"image",value:d,render:function(e){return wp.element.createElement(o.d,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+y+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:a,onChange:function(e){return t({nameThree:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:b,className:"ugb-team-member-position",onChange:function(e){return t({positionThree:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:i,className:"ugb-team-member-des-three",onChange:function(e){return t({desThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}))))},c=function(e){var t=e.attributes,n=t.name,l=t.nameTwo,r=t.nameThree,a=t.shapes,u=t.des,c=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,y=t.desColor,w=(t.iconColor,t.columns);return wp.element.createElement("div",{className:"ugb-team-member column-"+w+" image-"+a},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}),!o.n.isEmpty(n)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:f},value:n}),!o.n.isEmpty(s)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:s}),!o.n.isEmpty(u)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-des",style:{color:y},value:u})),w>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}),!o.n.isEmpty(l)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:f},value:l}),!o.n.isEmpty(m)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:m}),!o.n.isEmpty(c)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-des-two",style:{color:y},value:c})),w>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}),!o.n.isEmpty(r)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:f},value:r}),!o.n.isEmpty(b)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:b}),!o.n.isEmpty(i)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-des-three",style:{color:y},value:i})))};Object(o.A)("ugb/team-member",{title:Object(o.s)("Team Member"),icon:a.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Team Member"),Object(o.s)("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:{type:"array",source:"children",selector:".ugb-team-member-column-one h4",default:Object(o.s)("Ben Adams")},nameTwo:{type:"array",source:"children",selector:".ugb-team-member-column-two h4",default:Object(o.s)("Alex Johnson")},nameThree:{type:"array",source:"children",selector:".ugb-team-member-column-three h4",default:Object(o.s)("Sammy Simpson")},position:{type:"array",source:"children",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(o.s)("Founder")},positionTwo:{type:"array",source:"children",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(o.s)("Editor")},positionThree:{type:"array",source:"children",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(o.s)("Programmer")},des:{type:"array",source:"children",selector:".ugb-team-member-des",default:Object(o.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{type:"array",source:"children",selector:".ugb-team-member-des-two",default:Object(o.s)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{type:"array",source:"children",selector:".ugb-team-member-des-three",default:Object(o.s)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},nameColor:{type:"string"},posColor:{type:"string"},desColor:{type:"string"},iconColor:{type:"string"},columns:{type:"select",default:"1"},shapes:{type:"select",default:"square"}},edit:u,save:c})},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 r=n(50),a=(n.n(r),n(51)),o=(n.n(a),n(1)),u=n(0),c=function(e){var t=(e.focus,e.setFocus,e.editable,e.setAttributes),n=(e.setState,e.className),r=e.isSelected,a=e.attributes,o=a.text,c=a.moreLabel,i=a.moreText,s=a.lessLabel;return wp.element.createElement(u.f,null,wp.element.createElement("div",{className:n},r&&wp.element.createElement("label",{className:"ugb-editor-label"},"Less text"),wp.element.createElement(u.n,l({multiline:"p",placeholder:e.attributes.text.default,value:o,onChange:function(e){return t({text:e})},className:"ugb-expand-less-text"},"placeholder",Object(u.s)("Some short text that can be expanded to show more details."))),wp.element.createElement(u.n,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(u.s)("Show more"))),r&&wp.element.createElement("label",{className:"ugb-editor-label"},"More text"),r&&wp.element.createElement(u.n,l({multiline:"p",placeholder:e.attributes.moreText.default,value:i,onChange:function(e){return t({moreText:e})},className:"ugb-expand-more-text"},"placeholder",Object(u.s)("Some short text that can be expanded to show more details. Some additional text that can only be seen when expanded."))),r&&wp.element.createElement(u.n,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(u.s)("Show less")))))},i=function(e){var t=e.attributes,n=t.text,l=t.moreLabel,r=t.moreText,a=t.lessLabel;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ugb-expand-less-text"},!u.n.isEmpty(n)&&wp.element.createElement(u.n.Content,{multiline:"p",value:n})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!u.n.isEmpty(r)&&wp.element.createElement(u.n.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(u.n.Content,{className:"ugb-expand-more",tagName:"span",value:l}),wp.element.createElement(u.n.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))};Object(u.A)("ugb/expand",{title:Object(u.s)("Expand / Show More"),icon:o.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.s)("Expand"),Object(u.s)("Show more/less"),Object(u.s)("Stackable")],attributes:{text:{type:"array",source:"children",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{type:"array",source:"children",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{type:"array",source:"children",selector:".ugb-expand-more",default:Object(u.s)("Show more")},lessLabel:{type:"array",source:"children",selector:".ugb-expand-less",default:Object(u.s)("Show less")}},edit:c,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(53),r=(n.n(l),n(54)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=(e.className,e.setAttributes),n=(e.isSelected,e.editable,e.setState,e.attributes),l=n.numberBox,r=n.numberBoxTwo,a=n.numberBoxThree,u=n.body,c=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,y=[{value:"1",label:Object(o.s)("One Column")},{value:"2",label:Object(o.s)("Two Column")},{value:"3",label:Object(o.s)("Three Column")}];return wp.element.createElement(o.f,null,wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.o,{label:Object(o.s)("Column Number"),value:p,options:y.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(o.k,{title:Object(o.s)("Color Settings"),colorSettings:[{value:g,onChange:function(e){return t({numberBoxColor:e})},label:Object(o.s)("Number Color")},{value:h,onChange:function(e){return t({numberBGColor:e})},label:Object(o.s)("Number Background Color")},{value:d,onChange:function(e){return t({nameColor:e})},label:Object(o.s)("Name Color")},{value:f,onChange:function(e){return t({bodyTextColor:e})},label:Object(o.s)("Body Text Color")}]})),wp.element.createElement("div",{className:"ugb-number-box column-"+p},wp.element.createElement("div",null,wp.element.createElement(o.n,{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(o.n,{tagName:"h4",value:s,className:"ugb-number-box-name",onChange:function(e){return t({name:e})},placeholder:Object(o.s)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:u,className:"ugb-number-box-body",onChange:function(e){return t({body:e})},placeholder:Object(o.s)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(o.n,{tagName:"span",placeholder:r?r.default:"",value:r,onChange:function(e){return t({numberBoxTwo:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"h4",value:m,className:"ugb-number-box-name-two",onChange:function(e){return t({nameTwo:e})},placeholder:Object(o.s)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:c,className:"ugb-number-box-body-two",onChange:function(e){return t({bodyTwo:e})},placeholder:Object(o.s)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(o.n,{tagName:"span",placeholder:a?a.default:"",value:a,onChange:function(e){return t({numberBoxThree:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"h4",value:b,className:"ugb-number-box-name-three",onChange:function(e){return t({nameThree:e})},placeholder:Object(o.s)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:i,className:"ugb-number-box-body-three",onChange:function(e){return t({bodyThree:e})},placeholder:Object(o.s)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0}))))},c=function(e){var t=e.attributes,n=t.numberBox,l=t.numberBoxTwo,r=t.numberBoxThree,a=t.body,u=t.bodyTwo,c=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"},!o.n.isEmpty(n)&&wp.element.createElement(o.n.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:n}),!o.n.isEmpty(i)&&wp.element.createElement(o.n.Content,{tagName:"h4",className:"ugb-number-box-name",style:{color:p},value:i}),!o.n.isEmpty(a)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-number-box-body",style:{color:g},value:a})),f>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},!o.n.isEmpty(l)&&wp.element.createElement(o.n.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:l}),!o.n.isEmpty(s)&&wp.element.createElement(o.n.Content,{tagName:"h4",className:"ugb-number-box-name-two",style:{color:p},value:s}),!o.n.isEmpty(u)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-number-box-body-two",style:{color:g},value:u})),f>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},!o.n.isEmpty(r)&&wp.element.createElement(o.n.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:r}),!o.n.isEmpty(m)&&wp.element.createElement(o.n.Content,{tagName:"h4",className:"ugb-number-box-name-three",style:{color:p},value:m}),!o.n.isEmpty(c)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-number-box-body-three",style:{color:g},value:c})))};Object(o.A)("ugb/number-box",{title:Object(o.s)("Number Box"),icon:a.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Number Box"),Object(o.s)("Stackable")],attributes:{numberBox:{type:"array",source:"children",selector:".ugb-number-box-column-one span",default:Object(o.s)("01")},numberBoxTwo:{type:"array",source:"children",selector:".ugb-number-box-column-two span",default:Object(o.s)("02")},numberBoxThree:{type:"array",source:"children",selector:".ugb-number-box-column-three span",default:Object(o.s)("03")},name:{type:"array",source:"children",selector:".ugb-number-box-name",default:Object(o.s)("Registration")},nameTwo:{type:"array",source:"children",selector:".ugb-number-box-name-two",default:Object(o.s)("Waiting Period")},nameThree:{type:"array",source:"children",selector:".ugb-number-box-name-three",default:Object(o.s)("Delivery")},body:{type:"array",source:"children",selector:".ugb-number-box-body",default:Object(o.s)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyTwo:{type:"array",source:"children",selector:".ugb-number-box-body-two",default:Object(o.s)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyThree:{type:"array",source:"children",selector:".ugb-number-box-body-three",default:Object(o.s)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},numberBoxColor:{type:"string"},nameColor:{type:"string"},bodyTextColor:{type:"string"},numberBGColor:{type:"string"},columns:{type:"select",default:"1"}},edit:u,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(56),r=(n.n(l),n(57)),a=(n.n(r),n(1)),o=n(2),u=n(3),c=n(58),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,r=l.url,a=l.url2,u=l.url3,c=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,y=l.buttonText,w=l.buttonText2,v=l.buttonText3,C=l.featureList,E=l.featureList2,x=l.featureList3,N=l.pricingBoxColor,O=l.priceColor,k=l.perMonthLabelColor,j=l.buttonColor,T=l.buttonTextColor,B=l.featureListColor,S=l.columns,z=l.size,L=l.cornerButtonRadius,A=[{value:"1",label:Object(i.s)("One Column")},{value:"2",label:Object(i.s)("Two Column")},{value:"3",label:Object(i.s)("Three Column")}],R=[{value:"small",label:Object(i.s)("Small")},{value:"normal",label:Object(i.s)("Normal")},{value:"medium",label:Object(i.s)("Medium")},{value:"large",label:Object(i.s)("Large")}];return wp.element.createElement(i.f,null,wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.o,{label:Object(i.s)("Column Number"),value:S,options:A.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({columns:e})}}),wp.element.createElement(i.m,{label:Object(i.s)("Corner Radius"),value:L,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(i.o,{label:Object(i.s)("Button Size"),value:z,options:R.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}})),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Text Colors"),colorSettings:[{value:N,onChange:function(e){return n({pricingBoxColor:e})},label:Object(i.s)("Pricing Title Color")},{value:O,onChange:function(e){return n({priceColor:e})},label:Object(i.s)("Price Color")},{value:k,onChange:function(e){return n({perMonthLabelColor:e})},label:Object(i.s)("Per Month Label Color")},{value:B,onChange:function(e){return n({featureListColor:e})},label:Object(i.s)("Feature List Color")}]}),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Button Colors"),colorSettings:[{value:j,onChange:function(e){return n({buttonColor:e})},label:Object(i.s)("Button Color")},{value:T,onChange:function(e){return n({buttonTextColor:e})},label:Object(i.s)("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.n,{tagName:"h3",value:c,onChange:function(e){return n({pricingBoxTitle:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:b,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{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(o.a,{size:z,color:T,backgroundColor:j,text:y,borderRadius:L,onChange:function(e){return n({buttonText:e})}}),wp.element.createElement(i.n,{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.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(i.n,{tagName:"h3",value:s,onChange:function(e){return n({pricingBoxTitle2:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:p,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price2:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{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(o.a,{size:z,color:T,backgroundColor:j,text:w,borderRadius:L,onChange:function(e){return n({buttonText2:e})}}),wp.element.createElement(i.n,{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.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:a,onChange:function(e){return n({url2:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(i.n,{tagName:"h3",value:m,onChange:function(e){return n({pricingBoxTitle3:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:g,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price3:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{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(o.a,{size:z,color:T,backgroundColor:j,text:v,borderRadius:L,onChange:function(e){return n({buttonText3:e})}}),wp.element.createElement(i.n,{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.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:u,onChange:function(e){return n({url3:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"})))))},m=function(e){var t=e.attributes,n=t.url,l=t.url2,r=t.url3,a=t.pricingBoxTitle,o=t.pricingBoxTitle2,c=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,y=t.buttonText3,w=t.featureList,v=t.featureList2,C=t.featureList3,E=t.pricingBoxColor,x=t.priceColor,N=t.perMonthLabelColor,O=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.n.isEmpty(a)&&wp.element.createElement(i.n.Content,{tagName:"h3",style:{color:E},value:a}),!i.n.isEmpty(s)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:s}),!i.n.isEmpty(p)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:p}),f&&!!f.length&&wp.element.createElement(u.a,{size:B,url:n,color:k,text:f,backgroundColor:O,borderRadius:S}),!i.n.isEmpty(w)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:j},value:w})),T>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},!i.n.isEmpty(o)&&wp.element.createElement(i.n.Content,{tagName:"h3",style:{color:E},value:o}),!i.n.isEmpty(m)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:m}),!i.n.isEmpty(g)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:g}),h&&!!h.length&&wp.element.createElement(u.a,{size:B,url:l,color:k,text:h,backgroundColor:O,borderRadius:S}),!i.n.isEmpty(v)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:j},value:v})),T>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},!i.n.isEmpty(c)&&wp.element.createElement(i.n.Content,{tagName:"h3",style:{color:E},value:c}),!i.n.isEmpty(b)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:b}),!i.n.isEmpty(d)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:d}),y&&!!y.length&&wp.element.createElement(u.a,{size:B,url:r,color:k,text:y,backgroundColor:O,borderRadius:S}),!i.n.isEmpty(C)&&wp.element.createElement(i.n.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:{type:"array",source:"children",selector:".ugb-pricing-box-column-one h3",default:Object(i.s)("Basic")},pricingBoxTitle2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two h3",default:Object(i.s)("Basic")},pricingBoxTitle3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three h3",default:Object(i.s)("Basic")},price:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(i.s)("$9")},price2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(i.s)("$9")},price3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(i.s)("$9")},perMonthLabel:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(i.s)("per month")},perMonthLabel2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(i.s)("per month")},perMonthLabel3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(i.s)("per month")},buttonText:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-button a",default:Object(i.s)("Buy Now")},buttonText2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-button a",default:Object(i.s)("Buy Now")},buttonText3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-button a",default:Object(i.s)("Buy Now")},featureList:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(i.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-feature-list",default:Object(i.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-feature-list",default:Object(i.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},pricingBoxColor:{type:"string"},priceColor:{type:"string"},perMonthLabelColor:{type:"string"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},featureListColor:{type:"string"},columns:{type:"select",default:"1"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}};Object(i.A)("ugb/pricing-box",{title:Object(i.s)("Pricing Box"),icon:a.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Pricing Box"),Object(i.s)("Stackable")],attributes:b,deprecated:[{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});var l=function(e){var t=e.attributes,n=t.url,l=t.url2,r=t.url3,a=t.pricingBoxTitle,o=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,y=t.featureList2,w=t.featureList3,v=t.pricingBoxColor,C=t.priceColor,E=t.perMonthLabelColor,x=t.buttonColor,N=t.buttonTextColor,O=t.featureListColor,k=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-"+k},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:v}},a),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},c),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:O}},h)),k>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},o&&!!o.length&&wp.element.createElement("h3",{style:{color:v}},o),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),y&&!!y.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},y)),k>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},u&&!!u.length&&wp.element.createElement("h3",{style:{color:v}},u),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},s),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:r,className:"wp-ugb-button ugb-button-"+j,style:B},f),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},w)))}},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}var r=n(5),a=n.n(r),o=n(60),u=(n.n(o),n(61)),c=(n.n(u),n(1)),i=n(2),s=n(3),m=n(62),b=n(0),p=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,r=(e.editable,e.setState,e.attributes),o=r.url,u=r.buttonURL,c=r.buttonText,s=r.buttonColor,m=r.buttonTextColor,p=r.cornerButtonRadius,g=r.size,d=r.title,f=r.titleColor,h=r.subtitle,y=r.subtitleColor,w=r.contentAlign,v=r.id,C=r.backgroundColor,E=r.opacity,x=o?{backgroundImage:"url("+o+")"}:void 0,N=o?"has-image":"",O=a()(l(E),{"overlay-opacity":0!==E}),k=[{value:"small",label:Object(b.s)("Small")},{value:"normal",label:Object(b.s)("Normal")},{value:"medium",label:Object(b.s)("Medium")},{value:"large",label:Object(b.s)("Large")}];return wp.element.createElement(b.f,null,wp.element.createElement(b.c,null,wp.element.createElement(b.a,{value:w,onChange:function(e){return t({contentAlign:e})}}),wp.element.createElement(b.q,null,wp.element.createElement(b.i,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:v,render:function(e){var t=e.open;return wp.element.createElement(b.g,{className:"components-toolbar__control",label:Object(b.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(b.h,null,wp.element.createElement(b.j,{title:Object(b.s)("General")},wp.element.createElement(b.m,{label:Object(b.s)("Background Opacity"),value:E,min:0,max:10,step:1,onChange:function(e){return t({opacity:e})}}),wp.element.createElement(b.o,{label:Object(b.s)("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.m,{label:Object(b.s)("Corner Radius"),value:p,min:"1",max:"50",onChange:function(e){return t({cornerButtonRadius:e})}})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Header Colors"),colorSettings:[{value:f,onChange:function(e){return t({titleColor:e})},label:Object(b.s)("Title Color")},{value:y,onChange:function(e){return t({subtitleColor:e})},label:Object(b.s)("Subtitle Color")},{value:C,onChange:function(e){return t({backgroundColor:e})},label:Object(b.s)("Heading Background Color")}]}),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Button Colors"),colorSettings:[{value:s,onChange:function(e){return t({buttonColor:e})},label:Object(b.s)("Button Color")},{value:m,onChange:function(e){return t({buttonTextColor:e})},label:Object(b.s)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-header "+N+" "},wp.element.createElement("div",{className:"ugb-header-overlay "+O,style:{backgroundColor:C}}),wp.element.createElement(b.i,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:v,render:function(e){return[!o&&wp.element.createElement(b.d,{className:v?"":"button button-large",onClick:e.open},Object(b.s)("Upload Image"))]}}),wp.element.createElement("section",{"data-url":o,style:x,className:"ugb-header-section"},wp.element.createElement(b.n,{tagName:"h2",className:"ugb-header-title",placeholder:d.default,value:d,onChange:function(e){return t({title:e})},style:{textAlign:w,color:f}}),wp.element.createElement(b.n,{tagName:"p",className:"ugb-header-subtitle",placeholder:h.default,value:h,onChange:function(e){return t({subtitle:e})},style:{textAlign:w,color:y}}),wp.element.createElement(i.a,{size:g,align:w,color:m,backgroundColor:s,text:c,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-"+w},wp.element.createElement(b.e,{icon:"admin-links"}),wp.element.createElement(b.r,{value:u,onChange:function(e){return t({buttonURL:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.s)("Apply"),type:"submit"})))},g=function(e){var t=e.attributes,n=t.url,r=t.buttonURL,o=t.buttonText,u=t.buttonColor,c=t.buttonTextColor,i=t.cornerButtonRadius,m=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,y=(t.id,t.backgroundColor),w=t.opacity,v={backgroundImage:n?"url("+n+")":void 0,textAlign:h||void 0},C=n?"has-image":"",E=a()(l(w),{"overlay-opacity":0!==w}),x=p.length||d.length||o.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:y}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!b.n.isEmpty(p)&&wp.element.createElement(b.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!b.n.isEmpty(d)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),o&&!!o.length&&wp.element.createElement(s.a,{size:m,url:r,align:h,color:c,text:o,backgroundColor:u,borderRadius:i})))},d={title:{type:"array",source:"children",selector:"h2",default:Object(b.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(b.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(b.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}};Object(b.A)("ugb/header",{title:Object(b.s)("Header"),icon:c.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.s)("Header"),Object(b.s)("Stackable")],supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),attributes: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 r(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 a=n(5),o=n.n(a),u=n(0),c=n(4),i=function(e){var t=e.attributes,n=t.url,r=t.buttonURL,a=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,y=(t.id,t.backgroundColor),w=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=o()(l(w),{"overlay-opacity":0!==w}),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:y}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!u.n.isEmpty(p)&&wp.element.createElement(u.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!u.n.isEmpty(d)&&wp.element.createElement(u.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),a&&!!a.length&&wp.element.createElement(c.b,{size:b,url:r,align:h,color:s,text:a,backgroundColor:i,borderRadius:m})))},s={title:{type:"array",source:"children",selector:"h2",default:Object(u.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(u.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},m=function(e){var t=e.attributes,n=t.url,r=t.buttonURL,a=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,y=(t.id,t.backgroundColor),w=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=o()(l(w),{"overlay-opacity":0!==w}),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:y}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!u.n.isEmpty(p)&&wp.element.createElement(u.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!u.n.isEmpty(d)&&wp.element.createElement(u.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),a&&!!a.length&&wp.element.createElement(c.a,{size:b,url:r,align:h,color:s,text:a,backgroundColor:i,borderRadius:m})))},b={title:{type:"array",source:"children",selector:"h2",default:Object(u.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(u.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},p=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,a=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"},y=n?{backgroundImage:"url("+n+")"}:void 0,w=n?"has-image":"",v=o()(r(f),{"overlay-opacity":0!==f}),C=m||p||a?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+w+" "+C},wp.element.createElement("div",{className:"ugb-header-overlay "+v,style:{backgroundColor:d}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,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),a&&!!a.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+s,style:h},a)))},g={title:{type:"array",source:"children",selector:"h2",default:Object(u.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-header a.wp-ugb-button",default:Object(u.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}}},function(e,t,n){"use strict";var l=n(64),r=(n.n(l),n(65)),a=(n.n(r),n(1)),o=n(66),u=n(0),c=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=(e.editable,e.setState,e.attributes),r=l.url,a=l.href,o=l.title,c=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,y=r?"has-image":"",w=h?"full-width":"",v=[{value:"flex-start",label:Object(u.s)("Top")},{value:"center",label:Object(u.s)("Center")},{value:"flex-end",label:Object(u.s)("Bottom")}],C=[{value:"flex-start",label:Object(u.s)("Left")},{value:"center",label:Object(u.s)("Center")},{value:"flex-end",label:Object(u.s)("Right")}];return wp.element.createElement(u.f,null,wp.element.createElement(u.c,null,r&&wp.element.createElement(u.q,null,wp.element.createElement(u.i,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:b,render:function(e){var t=e.open;return wp.element.createElement(u.g,{className:"components-toolbar__control",label:Object(u.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(u.h,null,wp.element.createElement(u.j,null,wp.element.createElement(u.p,{label:"Full-Width",checked:!!h,onChange:function(){return t({full:!h})}}),wp.element.createElement(u.m,{label:Object(u.s)("Height"),value:p,min:"135",max:"700",onChange:function(e){return t({height:e})}}),wp.element.createElement(u.m,{label:Object(u.s)("Width"),value:g,min:"400",max:"999",onChange:function(e){return t({width:e})}}),wp.element.createElement(u.o,{label:Object(u.s)("Vertical Alignment"),value:d,options:v.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({verticalAlign:e})}}),wp.element.createElement(u.o,{label:Object(u.s)("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(u.k,{title:Object(u.s)("Color Settings"),colorSettings:[{value:m,onChange:function(e){return t({overlayColor:e})},label:Object(u.s)("Overlay Color")},{value:c,onChange:function(e){return t({titleColor:e})},label:Object(u.s)("Title Color")},{value:s,onChange:function(e){return t({subtitleColor:e})},label:Object(u.s)("Subtitle Color")}]})),wp.element.createElement("div",{className:"ugb-image-box "+y+" "+w,"data-url":r,style:{width:g+"px",height:p+"px",backgroundImage:"url("+r+")",alignItems:f,justifyContent:d}},wp.element.createElement(u.i,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:b,render:function(e){return[!r&&wp.element.createElement(u.d,{className:b?"":"button button-large",onClick:e.open},Object(u.s)("Upload Image"))]}}),wp.element.createElement("a",{href:a,style:{backgroundColor:m}}),wp.element.createElement(u.n,{tagName:"h4",placeholder:o.default,value:o,onChange:function(e){return t({title:e})},style:{color:c}}),wp.element.createElement(u.n,{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(u.e,{icon:"admin-links"}),wp.element.createElement(u.r,{value:a,onChange:function(e){t({href:e})}}),wp.element.createElement(u.g,{icon:"editor-break",label:Object(u.s)("Apply"),type:"submit"})))},i=function(e){var t=e.attributes,n=t.url,l=t.href,r=t.title,a=t.titleColor,o=t.subtitle,c=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=r.length||o.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}}),!u.n.isEmpty(r)&&wp.element.createElement(u.n.Content,{tagName:"h4",style:{color:a},value:r}),!u.n.isEmpty(o)&&wp.element.createElement(u.n.Content,{tagName:"p",style:{color:c},value:o}))},s={title:{type:"array",source:"children",selector:"h4",default:Object(u.s)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.s)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}};Object(u.A)("ugb/image-box",{title:Object(u.s)("Image Box"),icon:a.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.s)("Image Box"),Object(u.s)("Stackable")],attributes:s,deprecated:[{attributes:o.b,save:o.a}],edit:c,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return a});var l=n(0),r={title:{type:"array",source:"children",selector:"h4",default:Object(l.s)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(l.s)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},a=function(e){var t=e.attributes,n=t.url,r=t.title,a=t.titleColor,o=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=r.length||o.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.n.isEmpty(r)&&wp.element.createElement(l.n.Content,{tagName:"h4",style:{color:a},value:r}),!l.n.isEmpty(o)&&wp.element.createElement(l.n.Content,{tagName:"p",style:{color:u},value:o}))}},function(e,t,n){"use strict";var l=n(68),r=(n.n(l),n(69)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=(e.isSelected,e.editable,e.setState,e.setAttributes),n=(e.className,e.attributes),l=n.color,r=n.headingColor,a=n.desColor,u=n.title,c=n.counter,i=n.des,s=n.fontSize;return wp.element.createElement(o.f,null,wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(o.n,{tagName:"h4",value:u,onChange:function(e){return t({title:e})},style:{color:r}}),wp.element.createElement(o.n,{tagName:"div",className:"ugb-counter",placeholder:c.default,"data-duration":"1000","data-delay":"16",value:c,onChange:function(e){return t({counter:e})},style:{color:l,fontSize:s+"px"}}),wp.element.createElement(o.n,{tagName:"p",className:"ugb-counter-des",value:i,onChange:function(e){return t({des:e})},style:{color:a}})),wp.element.createElement(o.h,null,wp.element.createElement(o.k,{title:Object(o.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return t({headingColor:e})},label:Object(o.s)("Heading Color")},{value:l,onChange:function(e){return t({color:e})},label:Object(o.s)("Number Color")},{value:a,onChange:function(e){return t({desColor:e})},label:Object(o.s)("Description Color")}]}),wp.element.createElement(o.j,null,wp.element.createElement(o.m,{label:Object(o.s)("Counter Text Font Size"),max:"100",min:"10",value:s,onChange:function(e){return t({fontSize:e})}}))))},c=function(e){var t=e.attributes,n=t.color,l=t.headingColor,r=t.desColor,a=t.title,u=t.counter,c=t.des,i=t.fontSize;return wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:l},value:a}),wp.element.createElement(o.n.Content,{tagName:"div",className:"ugb-counter",style:{color:n,fontSize:i+"px"},value:u,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(o.n.Content,{tagName:"p",style:{color:r},value:c}))};Object(o.A)("ugb/count-up",{title:Object(o.s)("Count Up"),icon:a.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Count Up"),Object(o.s)("Stackable")],attributes:{title:{type:"array",source:"children",selector:"h4",default:Object(o.s)("Happy Customers")},counter:{type:"array",source:"children",selector:".ugb-counter",default:"12,345"},des:{type:"array",source:"children",selector:"p",default:Object(o.s)("and counting")},fontSize:{type:"number",default:"60"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},edit:u,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(71),r=(n.n(l),n(72)),a=(n.n(r),n(1)),o=n(0),u={normal:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"})),circle:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"})),outline:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))},c=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=e.attributes,r=l.videoLink,a=l.mediaLink,c=l.overlayColor,i=l.playButtonType,s=l.mediaID,m=[{value:"normal",label:Object(o.s)("Normal Play Button")},{value:"circle",label:Object(o.s)("Play Button with Circle")},{value:"outline",label:Object(o.s)("Outline Play Button")}];return wp.element.createElement(o.f,null,wp.element.createElement(o.c,null,a&&wp.element.createElement(o.q,null,wp.element.createElement(o.i,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},type:"image",value:s,render:function(e){var t=e.open;return wp.element.createElement(o.g,{className:"components-toolbar__control",label:Object(o.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.o,{label:Object(o.s)("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(o.k,{initialOpen:!1,title:Object(o.s)("Color Settings"),colorSettings:[{value:c,onChange:function(e){return t({overlayColor:e})},label:Object(o.s)("Background / Overlay Color")}]})),wp.element.createElement("div",{className:"ugb-video-popup","data-video":r,style:{backgroundColor:c}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+a+")"}}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement(o.i,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},type:"image",value:s,render:function(e){return[!a&&wp.element.createElement(o.d,{className:s?"":"button button-large",onClick:e.open},Object(o.s)("Upload Image"))]}}),wp.element.createElement("div",{className:"ugb-video-overlay",style:{backgroundColor:c}}),wp.element.createElement("span",{className:"ugb-play-button"},u[i]))),n&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(o.e,{icon:"admin-links"}),wp.element.createElement(o.r,{value:r,onChange:function(e){return t({videoLink:e})}}),wp.element.createElement(o.g,{icon:"editor-break",label:Object(o.s)("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,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"},u[a])))};Object(o.A)("ugb/video-popup",{title:Object(o.s)("Video Popup"),icon:a.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Video Popup"),Object(o.s)("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:c,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(74),r=(n.n(l),n(75)),a=(n.n(r),n(1)),o=n(2),u=n(3),c=n(76),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,r=l.heading,a=l.tagline,u=l.des,c=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,y=l.size,w=l.cornerButtonRadius,v=l.contentAlign,C=s?"has-image":"",E=[{value:"small",label:Object(i.s)("Small")},{value:"normal",label:Object(i.s)("Normal")},{value:"medium",label:Object(i.s)("Medium")},{value:"large",label:Object(i.s)("Large")}];return wp.element.createElement(i.f,null,wp.element.createElement(i.c,null,wp.element.createElement(i.a,{value:v,onChange:function(e){return n({contentAlign:e})}}),wp.element.createElement(i.q,null,wp.element.createElement(i.i,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},type:"image",value:c,render:function(e){var t=e.open;return wp.element.createElement(i.g,{className:"components-toolbar__control",label:Object(i.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(i.h,null,wp.element.createElement(i.k,{title:Object(i.s)("Text Colors"),colorSettings:[{value:m,onChange:function(e){return n({headingColor:e})},label:Object(i.s)("Heading Color")},{value:b,onChange:function(e){return n({taglineColor:e})},label:Object(i.s)("Tagline Color")},{value:p,onChange:function(e){return n({desColor:e})},label:Object(i.s)("Description Color")}]}),wp.element.createElement(i.j,{initialOpen:!1,title:Object(i.s)("Button Size")},wp.element.createElement(i.o,{label:Object(i.s)("Button Size"),value:y,options:E.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(i.m,{label:Object(i.s)("Corner Radius"),value:w,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Button Colors"),colorSettings:[{value:f,onChange:function(e){return n({buttonColor:e})},label:Object(i.s)("Button Color")},{value:h,onChange:function(e){return n({buttonTextColor:e})},label:Object(i.s)("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:v}},wp.element.createElement(i.i,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},type:"image",value:c,render:function(e){return[!s&&wp.element.createElement(i.d,{className:c?"":"button button-large",onClick:e.open},Object(i.s)("Upload Image"))]}})),wp.element.createElement(i.n,{tagName:"h4",value:r,className:"ugb-card-heading",onChange:function(e){return n({heading:e})},style:{color:m,textAlign:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:a,className:"ugb-tagline",onChange:function(e){return n({tagline:e})},style:{color:b,textAlign:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:u,className:"ugb-card-des",onChange:function(e){return n({des:e})},style:{color:p,textAlign:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.a,{size:y,align:v,color:h,backgroundColor:f,text:d,borderRadius:w,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-"+v,style:{marginTop:10}},wp.element.createElement(i.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:g,onChange:function(e){return n({buttonURL:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"})))},m=function(e){var t=e.attributes,n=t.heading,l=t.tagline,r=t.des,a=t.mediaURL,o=(t.mediaID,t.headingColor),c=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,y=a?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+y},a&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+a+")",textAlign:h},"data-src":a}),!i.n.isEmpty(n)&&wp.element.createElement(i.n.Content,{tagName:"h4",style:{color:o,textAlign:h},value:n}),!i.n.isEmpty(l)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-tagline",style:{color:c,textAlign:h},value:l}),!i.n.isEmpty(r)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:r}),b&&!!b.length&&wp.element.createElement(u.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:{type:"array",source:"children",selector:".ugb-card h4",default:Object(i.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(i.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(i.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(i.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}};Object(i.A)("ugb/card",{title:Object(i.s)("Card"),icon:a.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Card"),Object(i.s)("Stackable")],attributes:b,deprecated:[{attributes:c.d,save:c.b},{attributes:c.c,save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"d",function(){return a}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return u}),n.d(t,"c",function(){return c});var l=n(0),r=n(4),a={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(l.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}},o=function(e){var t=e.attributes,n=t.heading,a=t.tagline,o=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,y=u?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+y},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:h},"data-src":u}),!l.n.isEmpty(n)&&wp.element.createElement(l.n.Content,{tagName:"h4",style:{color:c,textAlign:h},value:n}),!l.n.isEmpty(a)&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-tagline",style:{color:i,textAlign:h},value:a}),!l.n.isEmpty(o)&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:o}),b&&!!b.length&&wp.element.createElement(r.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,r=t.des,a=t.mediaURL,o=(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=a?"has-image":"",y=n||l||r||s?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-card "+h+" "+y},a&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+a+")",textAlign:d},"data-src":a}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:o,textAlign:d}},n),l&&!!l.length&&wp.element.createElement("p",{className:"ugb-tagline",style:{color:u,textAlign:d}},l),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:c,textAlign:d}},r),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.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".wp-ugb-button",attribute:"href"},buttonText:{type:"array",source:"children",selector:".wp-block-button",default:Object(l.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}}},function(e,t,n){"use strict";var l=n(0);Object(l.t)("stackable.get_pro","core",function(){})}]);
dist/blocks.editor.build.css CHANGED
@@ -13,7 +13,7 @@
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}
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}
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}
dist/blocks.style.build.css CHANGED
@@ -12,7 +12,7 @@
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;pointer-events:none;margin:0 !important}.ugb-image-box h4,.ugb-image-box p{z-index:3}.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}
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}
freemius/.codeclimate.yml DELETED
@@ -1,19 +0,0 @@
1
- engines:
2
- phpcodesniffer:
3
- enabled: true
4
- config:
5
- standard: "WordPress"
6
- checks:
7
- Squiz Commenting InlineComment InvalidEndChar:
8
- enabled: false
9
- Squiz Commenting InlineComment SpacingBefore:
10
- enabled: false
11
- Squiz Commenting InlineComment WrongStyle:
12
- enabled: false
13
- Generic Commenting DocComment MissingShort:
14
- enabled: false
15
- Generic WhiteSpace ScopeIndent IncorrectExact:
16
- enabled: false
17
- ratings:
18
- paths:
19
- - "**.php"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
freemius/.github/ISSUE_TEMPLATE.md DELETED
@@ -1,29 +0,0 @@
1
- **Actual Behavior**:
2
- - `What is the issue? (*)`
3
- - `What is the expected behavior?`
4
-
5
- **Versions**: (*)
6
- - `Freemius SDK Version:`
7
- - `WordPress Version:`
8
- - `PHP Version:`
9
-
10
- **Plugin / Theme**: (*)
11
- - `Name:`
12
- - `Slug:`
13
- - `Freemius ID:`
14
-
15
- **Additional Information**:
16
- - `Browser Type: (*)`
17
- - `Browser Version: (*)`
18
- - `OS: (*)`
19
- - `Stack Traces:`
20
-
21
- ----
22
- **Note:** `(*)` indicates required information. Without this information, your issue may be auto-closed.
23
-
24
- > You can find your Freemius SDK version at `/freemius/start.php`
25
-
26
- > You can find your Freemius product ID in the Freemius dashboard: `SETTINGS -> INTEGRATION`.
27
-
28
- > Do not modify the titles or questions. Simply add your responses to the ends of the questions.
29
- Add more lines if needed.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
freemius/.gitignore DELETED
@@ -1,16 +0,0 @@
1
- output/
2
- assets/img/icon.*
3
-
4
- pootle-page-builder.png
5
- rating-widget.jpg
6
- hello-dolly-pro.png
7
- woocommerce-fiscalita-italiana.png
8
- assets/img/content-aware-sidebars.png
9
- assets/img/custom-post-type-ui.png
10
- .idea
11
- nextgen-gallery.png
12
- node_modules
13
- languages/_freemius-en.mo
14
- languages/_freemius-en.po
15
- foobox-image-lightbox.png
16
- transifex-config.json
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
freemius/.travis.yml DELETED
@@ -1,11 +0,0 @@
1
- sudo: false
2
-
3
- language: php
4
-
5
- php:
6
- - 5.3
7
- - 5.4
8
- - 5.5
9
- - 5.6
10
- - 7.0
11
- - hhvm
 
 
 
 
 
 
 
 
 
 
 
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.1.2
9
  *
10
  * @package Stackable
11
  */
@@ -16,9 +16,11 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  }
17
 
18
  defined( 'STACKABLE_IS_PRO' ) || define( 'STACKABLE_IS_PRO', false );
 
19
 
20
  /**
21
  * Block Initializer.
22
  */
23
  require_once( plugin_dir_path( __FILE__ ) . 'src/init.php' );
24
  require_once( plugin_dir_path( __FILE__ ) . 'freemius.php' );
 
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.2
9
  *
10
  * @package Stackable
11
  */
16
  }
17
 
18
  defined( 'STACKABLE_IS_PRO' ) || define( 'STACKABLE_IS_PRO', false );
19
+ defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
20
 
21
  /**
22
  * Block Initializer.
23
  */
24
  require_once( plugin_dir_path( __FILE__ ) . 'src/init.php' );
25
  require_once( plugin_dir_path( __FILE__ ) . 'freemius.php' );
26
+ require_once( plugin_dir_path( __FILE__ ) . 'welcome.php' );
readme.txt CHANGED
@@ -4,129 +4,42 @@ 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.1.2
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
11
- Essential Gutenberg blocks in one plugin. Simple, flexible, and customizable.
12
 
13
  == Description ==
14
 
15
- Stackable adds the missing design blocks and options you need in the Gutenberg editor.
16
 
17
- > [Website](https://wpstackable.com/) | [Want more blocks? Join our newsletter](https://wpstackable.com/#newsletter)
18
 
19
- **17 Blocks so far and counting...**
20
 
21
- > We are in alpha stage until Gutenberg is merged into core. As features, APIs, and best practices change in Gutenberg, so will this plugin.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
- > Note: v1.0 is not backward compatible with lower versions, upgrading will most likely weird out your existing blocks. If that happens, you'll need to redo some of your blocks.
24
 
25
- Stackable gives you more customization options that aren't found in the current set Gutenberg blocks ' like adjusting corner radius for buttons and different styled dividers.
26
-
27
- With Stackable: Ultimate Blocks for Gutenberg, you get your essential blocks and more in a single install.
28
-
29
- **You will need Gutenberg installed for this plugin to work**
30
-
31
- = More Gutenberg blocks for added functionality =
32
-
33
- These blocks are built with usability in mind. Stackable is also designed to suit Gutenberg's interface, simple and straightforward:
34
-
35
- 1. Card (New!)
36
- 2. Pricing box (New!)
37
- 3. Header (New!)
38
- 4. Count up
39
- 5. Video Popup
40
- 6. Testimonials
41
- 7. Team Members
42
- 8. Call to Action
43
- 9. Notification
44
- 10. Blockquote
45
- 11. Pullquote
46
- 12. Number box
47
- 13. Button
48
- 14. Ghost Button
49
- 15. Expand / Show more
50
- 16. Divider
51
- 17. Spacer
52
-
53
- We plan to add more in the future.
54
-
55
- = Adjustable settings for each block =
56
-
57
- Each Stackable block has unique features you can modify. Change colors, tweak text sizes, change background images, add hover animations, and much more.
58
-
59
- = Our current list of blocks =
60
-
61
- **1. Card**
62
-
63
- A simple shadowed box you can use to showcase sections of your page. Add images, text, and buttons altogether to make a card.
64
-
65
- **2. Pricing Box**
66
-
67
- Sshowcase your products and their prices, including short descriptions and buttons. You can also edit the colors of the boxes along with its text.
68
-
69
- **3. Header**
70
-
71
- Welcome your customers to your page with simple, sleek header. Upload an image and adjust its tint, and add header text and up to 1 button.
72
-
73
- **4. Count-Up**
74
-
75
- Add a numerical value that animates in a count-up fashion. Perfect for business milestones, showcasing your number of happy customers, and more
76
-
77
- **5. Video Popups**
78
-
79
- Video thumbnails with videos that pop up on full screen upon clicking.
80
-
81
- **6. Testimonials**
82
-
83
- Add testimonial sections on your website. Add a text description, and choose between uploading a thumbnail image or icon for each testimonial.
84
-
85
- **7. Team Members**
86
-
87
- Introduce your team through individual photos and write-ups in columns. Comes with optional social media icons for each member.
88
-
89
- **8. Call to Action**
90
-
91
- Persuade your visitors to take action. Feature , and engage with Call to Action blocks.
92
-
93
- **9. Notification**
94
-
95
- Add alerts on your Gutenberg-built website. Use these to notify your site visitors of promos, license expiration, and other important alerts. Choose from a range of basic settings and styles.
96
-
97
- **10. Blockquote**
98
-
99
- Customize the current Gutenberg blockqoute by changing both text and background color.
100
-
101
- **11. Pullquote**
102
-
103
- Perfect for pulling quotes from your chosen article and showcasing them as your readers scroll down. Change text and background color to suit your page's design.
104
-
105
- **12. Number Box**
106
-
107
- Highlight steps or procedures that only take a few steps.
108
-
109
- **13. Button**
110
-
111
- A more flexible, customizable button block for Gutenberg. Change size, alignment, color, text color, and even corner radius to match the overall look of your site. Modify more by placing links and icons inside.
112
-
113
- **14. Ghost Button**
114
-
115
- Just like the Button block, but presented in a sleek, minimalistic way: outlines only.
116
-
117
- **15. Expand / Show More**
118
-
119
- Show snippets of text as short previews of longer text, and let visitors have the option to show more details.
120
-
121
- **16. Divider**
122
-
123
- Extended options for Gutenberg's divider. Adjust height, weight, color, and more.
124
-
125
- **17. Spacer**
126
-
127
- A simple block that lets you adjust space in between Gutenberg blocks on your page.
128
-
129
- > Created with [Ahmad Awais' Create Guten Block](https://github.com/ahmadawais/create-guten-block)
130
 
131
  == Installation ==
132
 
@@ -146,9 +59,11 @@ Gutenberg is a beta project by Matt Mullenweg, the co-founder of WordPress. It
146
 
147
  Since it’s yet to be fully integrated with WordPress, Gutenberg comes as a separate plugin for developers and beta testers. Stackable is an add-on for the current Gutenberg plugin, so you’ll need both of them installed for you to use Stackable.
148
 
149
- **Why would I need an add-on for Gutenberg?**
150
 
151
- Currently, Gutenberg has some of the most basic features needed to create a website. However, we wanted to extend its current functionality by developing more options for designing and creating your Gutenberg-built website. Along with the additional blocks, Stackable also lets you change colors, edit text and shape sizes, and tweak your blocks styles.
 
 
152
 
153
  **Can I use this add-on for other page builders I’m using?**
154
 
@@ -161,6 +76,12 @@ Nope. Stackable only works with Gutenberg.
161
 
162
  == Changelog ==
163
 
 
 
 
 
 
 
164
  = 1.1.2 =
165
  * Fixed: Box background color can overwrite some background styles
166
 
4
  Requires at least: 4.8
5
  Tested up to: 4.9.8
6
  Requires PHP: 5.3
7
+ Stable tag: 1.2
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ A comprehensive collection of page building blocks for Gutenberg - the new WordPress editor
12
 
13
  == Description ==
14
 
15
+ Stackable is a comprehensive collection of page builder blocks for Gutenberg - the new WordPress editor. Stackable gives you the capability to build awesome front pages and landing pages.
16
 
17
+ Stackable provides more functionality and design options for your site. We've come up with a collection of cool blocks that will make website building a breeze. We made sure our blocks look great, so feel free to mix different blocks together and customize their styles to suit your design needs.
18
 
19
+ ## 18 Kick-ass blocks so far and counting..
20
 
21
+ - Card
22
+ - Pricing box
23
+ - Header
24
+ - Image Box
25
+ - Count up
26
+ - Video Popup
27
+ - Testimonials
28
+ - Team Members
29
+ - Call to Action
30
+ - Notification
31
+ - Blockquote
32
+ - Pullquote
33
+ - Number box
34
+ - Button
35
+ - Ghost Button
36
+ - Expand / Show more
37
+ - Divider
38
+ - Spacer
39
 
40
+ ### Stackable WordPress Theme
41
 
42
+ 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).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
 
44
  == Installation ==
45
 
59
 
60
  Since it’s yet to be fully integrated with WordPress, Gutenberg comes as a separate plugin for developers and beta testers. Stackable is an add-on for the current Gutenberg plugin, so you’ll need both of them installed for you to use Stackable.
61
 
62
+ **What are blocks?**
63
 
64
+ Blocks are the new shortcodes in Gutenberg. They're the basic elements that you add into your content to build your pages, like buttons, cards, videos, etc.
65
+
66
+ Stackable gives you lots of awesome blocks for you to create awesome landing pages and front pages.
67
 
68
  **Can I use this add-on for other page builders I’m using?**
69
 
76
 
77
  == Changelog ==
78
 
79
+ = 1.2 =
80
+ * New: Welcome Screen
81
+ * Fixed: Image box block did not show any link fields
82
+ * Fixed: Header block did not follow text alignment
83
+ * Changed: Block icon colors
84
+
85
  = 1.1.2 =
86
  * Fixed: Box background color can overwrite some background styles
87
 
src/block/button/button-edit.js CHANGED
@@ -17,10 +17,8 @@ function ButtonEdit( props ) {
17
  } = props
18
 
19
  const style = {
20
- borderRadius: borderRadius + 'px'
21
- }
22
- if ( backgroundColor ) {
23
- style.backgroundColor = backgroundColor
24
  }
25
 
26
  return (
17
  } = props
18
 
19
  const style = {
20
+ borderRadius: borderRadius + 'px',
21
+ backgroundColor: backgroundColor ? backgroundColor : undefined,
 
 
22
  }
23
 
24
  return (
src/block/button/button-save.js CHANGED
@@ -7,10 +7,8 @@ function ButtonSave( props ) {
7
  url = '', color, text, backgroundColor, borderRadius } = props
8
 
9
  const style = {
10
- borderRadius: borderRadius + 'px'
11
- }
12
- if ( backgroundColor ) {
13
- style.backgroundColor = backgroundColor
14
  }
15
 
16
  return (
7
  url = '', color, text, backgroundColor, borderRadius } = props
8
 
9
  const style = {
10
+ borderRadius: borderRadius + 'px',
11
+ backgroundColor: backgroundColor ? backgroundColor : undefined,
 
 
12
  }
13
 
14
  return (
src/block/button/deprecated.js CHANGED
@@ -3,6 +3,34 @@ import {
3
  applyFilters,
4
  } from '../../wp-imports'
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  function _ButtonSave_1_1( props ) {
7
  const {
8
  align = 'center',
3
  applyFilters,
4
  } from '../../wp-imports'
5
 
6
+ function _ButtonSave_1_1_2( props ) {
7
+ const {
8
+ align = 'center',
9
+ size = 'normal',
10
+ url = '', color, text, backgroundColor, borderRadius } = props
11
+
12
+ const style = {
13
+ borderRadius: borderRadius + 'px'
14
+ }
15
+ if ( backgroundColor ) {
16
+ style.backgroundColor = backgroundColor
17
+ }
18
+
19
+ return (
20
+ <div className={ `ugb-button ugb-button-${align} ugb-button-${size}` } style={ style }>
21
+ <RichText.Content
22
+ tagName="a"
23
+ className={ `ugb-button-inner` }
24
+ href={ url }
25
+ style={ { color } }
26
+ value={ text }
27
+ />
28
+ </div>
29
+ );
30
+ }
31
+
32
+ export const ButtonSave_1_1_2 = _ButtonSave_1_1_2
33
+
34
  function _ButtonSave_1_1( props ) {
35
  const {
36
  align = 'center',
src/block/header/deprecated.js CHANGED
@@ -4,7 +4,148 @@ import {
4
  RichText,
5
  __,
6
  } from '../../wp-imports'
7
- import { ButtonSave_1_1 } from '../button/deprecated.js'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
  export const deprecatedSave_1_1 = ( props ) => {
10
 
@@ -31,7 +172,7 @@ export const deprecatedSave_1_1 = ( props ) => {
31
  const imageClass = url ? 'has-image' : ''
32
 
33
  const opacityClass = classnames(
34
- opacityToClass_1_( opacity ),
35
  {
36
  'overlay-opacity': opacity !== 0,
37
  }
@@ -73,7 +214,7 @@ export const deprecatedSave_1_1 = ( props ) => {
73
  );
74
  }
75
 
76
- function opacityToClass_1_( ratio ) {
77
  return ( ratio === 0 ) ?
78
  null :
79
  'overlay-opacity-' + ( 1 * Math.round( ratio / 1 ) );
4
  RichText,
5
  __,
6
  } from '../../wp-imports'
7
+ import {
8
+ ButtonSave_1_1_2,
9
+ ButtonSave_1_1
10
+ } from '../button/deprecated.js'
11
+
12
+ export const deprecatedSave_1_1_2 = ( props ) => {
13
+
14
+ const {
15
+ url,
16
+ buttonURL,
17
+ buttonText,
18
+ buttonColor,
19
+ buttonTextColor,
20
+ cornerButtonRadius,
21
+ size,
22
+ title,
23
+ titleColor,
24
+ subtitle,
25
+ subtitleColor,
26
+ contentAlign,
27
+ id,
28
+ backgroundColor,
29
+ opacity
30
+ } = props.attributes
31
+
32
+ const style = url ? { backgroundImage: `url(${ url })` } : undefined
33
+
34
+ const imageClass = url ? 'has-image' : ''
35
+
36
+ const opacityClass = classnames(
37
+ opacityToClass_1_1( opacity ),
38
+ {
39
+ 'overlay-opacity': opacity !== 0,
40
+ }
41
+ );
42
+
43
+ const displayNone = ( ! title.length && ! subtitle.length && ! buttonText.length ) ? 'has-no-content' : 'has-content'
44
+
45
+ return (
46
+ <div className={ `ugb-header ${imageClass} ${displayNone}` }>
47
+ <div className={ `ugb-header-overlay ${opacityClass}` }
48
+ style={ { backgroundColor: backgroundColor } }>
49
+ </div>
50
+ <section
51
+ key="preview"
52
+ data-url={ url }
53
+ style={ style }
54
+ className={ 'ugb-header-section' }>
55
+ { ! RichText.isEmpty( title ) && (
56
+ <RichText.Content
57
+ tagName='h2'
58
+ className='ugb-header-title'
59
+ style={ { color: titleColor } }
60
+ value={ title }
61
+ />
62
+ ) }
63
+ { ! RichText.isEmpty( subtitle ) && (
64
+ <RichText.Content
65
+ tagName='p'
66
+ className='ugb-header-subtitle'
67
+ style={ { color: subtitleColor } }
68
+ value={ subtitle }
69
+ />
70
+ ) }
71
+ { buttonText && !! buttonText.length && (
72
+ <ButtonSave_1_1_2 size={ size } url={ buttonURL } align={ contentAlign } color={ buttonTextColor } text={ buttonText } backgroundColor={ buttonColor } borderRadius={ cornerButtonRadius } />
73
+ ) }
74
+ </section>
75
+ </div>
76
+ );
77
+ }
78
+
79
+ export const deprecatedSchema_1_1_2 = {
80
+ title: {
81
+ type: 'array',
82
+ source: 'children',
83
+ selector: 'h2',
84
+ default: __( 'Heading Title' )
85
+ },
86
+ subtitle: {
87
+ type: 'array',
88
+ source: 'children',
89
+ selector: 'p',
90
+ default: __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.' )
91
+ },
92
+ url: {
93
+ type: 'string',
94
+ source: 'attribute',
95
+ selector: '.ugb-header .ugb-header-section',
96
+ attribute: 'data-url',
97
+ },
98
+ buttonURL: {
99
+ type: 'string',
100
+ source: 'attribute',
101
+ selector: '.ugb-button-inner',
102
+ attribute: 'href',
103
+ },
104
+ titleColor: {
105
+ type: 'string',
106
+ default: '#ffffff',
107
+ },
108
+ subtitleColor: {
109
+ type: 'string',
110
+ default: '#ffffff',
111
+ },
112
+ buttonText: {
113
+ type: 'array',
114
+ source: 'children',
115
+ selector: '.ugb-button-inner',
116
+ default: __( 'Button' )
117
+ },
118
+ buttonColor: {
119
+ type: 'string',
120
+ },
121
+ buttonTextColor: {
122
+ type: 'string',
123
+ default: '#ffffff',
124
+ },
125
+ size: {
126
+ type: 'string',
127
+ default: 'normal',
128
+ },
129
+ cornerButtonRadius: {
130
+ type: 'number',
131
+ default: 4,
132
+ },
133
+ contentAlign: {
134
+ type: 'string',
135
+ default: 'center',
136
+ },
137
+ id: {
138
+ type: 'number',
139
+ },
140
+ backgroundColor: {
141
+ type: 'string',
142
+ default: '#000000',
143
+ },
144
+ opacity: {
145
+ type: 'number',
146
+ default: 5,
147
+ },
148
+ }
149
 
150
  export const deprecatedSave_1_1 = ( props ) => {
151
 
172
  const imageClass = url ? 'has-image' : ''
173
 
174
  const opacityClass = classnames(
175
+ opacityToClass_1_1( opacity ),
176
  {
177
  'overlay-opacity': opacity !== 0,
178
  }
214
  );
215
  }
216
 
217
+ function opacityToClass_1_1( ratio ) {
218
  return ( ratio === 0 ) ?
219
  null :
220
  'overlay-opacity-' + ( 1 * Math.round( ratio / 1 ) );
src/block/header/index.js CHANGED
@@ -14,6 +14,7 @@ import { HeaderIcon } from '../../icons'
14
  import ButtonEdit from '../button/button-edit'
15
  import ButtonSave from '../button/button-save'
16
  import {
 
17
  deprecatedSave_1_1, deprecatedSchema_1_1,
18
  deprecatedSave_0_7, deprecatedSchema_0_7,
19
  } from './deprecated'
@@ -275,7 +276,10 @@ export const save = ( props ) => {
275
  opacity
276
  } = props.attributes
277
 
278
- const style = url ? { backgroundImage: `url(${ url })` } : undefined
 
 
 
279
 
280
  const imageClass = url ? 'has-image' : ''
281
 
@@ -422,6 +426,10 @@ registerBlockType( 'ugb/header', {
422
  attributes: schema,
423
 
424
  deprecated: [
 
 
 
 
425
  {
426
  attributes: deprecatedSchema_1_1,
427
  save: deprecatedSave_1_1,
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,
19
  deprecatedSave_0_7, deprecatedSchema_0_7,
20
  } from './deprecated'
276
  opacity
277
  } = props.attributes
278
 
279
+ const style = {
280
+ backgroundImage: url ? `url(${ url })` : undefined,
281
+ textAlign: contentAlign ? contentAlign : undefined,
282
+ }
283
 
284
  const imageClass = url ? 'has-image' : ''
285
 
426
  attributes: schema,
427
 
428
  deprecated: [
429
+ {
430
+ attributes: deprecatedSchema_1_1_2,
431
+ save: deprecatedSave_1_1_2,
432
+ },
433
  {
434
  attributes: deprecatedSchema_1_1,
435
  save: deprecatedSave_1_1,
src/block/image-box/deprecated.js ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import {
2
+ RichText,
3
+ __,
4
+ } from '../../wp-imports'
5
+
6
+ export const deprecatedSchema_1_1_2 = {
7
+ title: {
8
+ type: 'array',
9
+ source: 'children',
10
+ selector: 'h4',
11
+ default: __( 'Title' )
12
+ },
13
+ subtitle: {
14
+ type: 'array',
15
+ source: 'children',
16
+ selector: 'p',
17
+ default: __( 'Subtitle goes here' )
18
+ },
19
+ url: {
20
+ type: 'string',
21
+ source: 'attribute',
22
+ selector: '.ugb-image-box',
23
+ attribute: 'data-url',
24
+ },
25
+ titleColor: {
26
+ type: 'string',
27
+ default: '#ffffff',
28
+ },
29
+ subtitleColor: {
30
+ type: 'string',
31
+ default: '#ffffff',
32
+ },
33
+ overlayColor: {
34
+ type: 'string',
35
+ default: '#42b078'
36
+ },
37
+ id: {
38
+ type: 'number',
39
+ },
40
+ width: {
41
+ type: 'number',
42
+ default: '400'
43
+ },
44
+ height: {
45
+ type: 'number',
46
+ default: '400'
47
+ },
48
+ verticalAlign: {
49
+ type: 'string',
50
+ default: 'center'
51
+ },
52
+ horizontalAlign: {
53
+ type: 'string',
54
+ default: 'center'
55
+ },
56
+ full: {
57
+ type: 'boolean',
58
+ default: false
59
+ }
60
+ }
61
+
62
+ export const deprecatedSave_1_1_2 = ( props ) => {
63
+ const {
64
+ url,
65
+ title,
66
+ titleColor,
67
+ subtitle,
68
+ subtitleColor,
69
+ overlayColor,
70
+ id,
71
+ height,
72
+ width,
73
+ verticalAlign,
74
+ horizontalAlign,
75
+ full
76
+ } = props.attributes
77
+
78
+ const imageClass = url ? 'has-image' : ''
79
+
80
+ const fullWidth = full ? 'full-width': ''
81
+
82
+ const displayNone = ( ! title.length && ! subtitle.length ) ? 'has-no-content' : 'has-content'
83
+
84
+ return (
85
+ <div className={ `ugb-image-box ${imageClass} ${displayNone} ${fullWidth}` }
86
+ data-url={ url }
87
+ style={ {
88
+ width: width + 'px',
89
+ height: height + 'px',
90
+ backgroundImage: `url(${url})`,
91
+ alignItems: horizontalAlign,
92
+ justifyContent: verticalAlign
93
+ } }
94
+ >
95
+ <a href="#" style={ { backgroundColor: overlayColor } } />
96
+ { ! RichText.isEmpty( title ) && (
97
+ <RichText.Content
98
+ tagName='h4'
99
+ style={ { color: titleColor } }
100
+ value={ title }
101
+ />
102
+ ) }
103
+ { ! RichText.isEmpty( subtitle ) && (
104
+ <RichText.Content
105
+ tagName='p'
106
+ style={ { color: subtitleColor } }
107
+ value={ subtitle }
108
+ />
109
+ ) }
110
+ </div>
111
+ );
112
+ }
src/block/image-box/editor.scss CHANGED
@@ -4,3 +4,11 @@
4
  * CSS for just Backend enqueued after style.scss
5
  * which makes it higher in priority.
6
  */
 
 
 
 
 
 
 
 
4
  * CSS for just Backend enqueued after style.scss
5
  * which makes it higher in priority.
6
  */
7
+ .ugb-image-box {
8
+ a {
9
+ pointer-events: none;
10
+ }
11
+ h4, p {
12
+ pointer-events: all !important;
13
+ }
14
+ }
src/block/image-box/index.js CHANGED
@@ -9,6 +9,9 @@
9
  import './style.scss';
10
  import './editor.scss';
11
  import { PictureIcon } from '../../icons'
 
 
 
12
 
13
  import {
14
  registerBlockType,
@@ -27,6 +30,8 @@ import {
27
  ColorPalette,
28
  PanelBody,
29
  Fragment,
 
 
30
  } from '../../wp-imports'
31
 
32
  export const edit = ( props ) => {
@@ -41,6 +46,7 @@ export const edit = ( props ) => {
41
 
42
  const {
43
  url,
 
44
  title,
45
  titleColor,
46
  subtitle,
@@ -180,7 +186,7 @@ export const edit = ( props ) => {
180
  ]
181
  } }
182
  />
183
- <a href="#" style={ { backgroundColor: overlayColor } } />
184
  <RichText
185
  tagName="h4"
186
  placeholder={ title.default }
@@ -200,6 +206,24 @@ export const edit = ( props ) => {
200
  } }
201
  />
202
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  </Fragment>
204
  )
205
  }
@@ -207,6 +231,7 @@ export const edit = ( props ) => {
207
  export const save = ( props ) => {
208
  const {
209
  url,
 
210
  title,
211
  titleColor,
212
  subtitle,
@@ -237,7 +262,7 @@ export const save = ( props ) => {
237
  justifyContent: verticalAlign
238
  } }
239
  >
240
- <a href="#" style={ { backgroundColor: overlayColor } } />
241
  { ! RichText.isEmpty( title ) && (
242
  <RichText.Content
243
  tagName='h4'
@@ -256,6 +281,68 @@ export const save = ( props ) => {
256
  );
257
  }
258
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
 
260
  /**
261
  * Register: Gutenberg Block.
@@ -278,61 +365,14 @@ registerBlockType( 'ugb/image-box', {
278
  __( 'Image Box' ),
279
  __( 'Stackable' ),
280
  ],
281
- attributes: {
282
- title: {
283
- type: 'array',
284
- source: 'children',
285
- selector: 'h4',
286
- default: __( 'Title' )
287
- },
288
- subtitle: {
289
- type: 'array',
290
- source: 'children',
291
- selector: 'p',
292
- default: __( 'Subtitle goes here' )
293
- },
294
- url: {
295
- type: 'string',
296
- source: 'attribute',
297
- selector: '.ugb-image-box',
298
- attribute: 'data-url',
299
- },
300
- titleColor: {
301
- type: 'string',
302
- default: '#ffffff',
303
- },
304
- subtitleColor: {
305
- type: 'string',
306
- default: '#ffffff',
307
- },
308
- overlayColor: {
309
- type: 'string',
310
- default: '#42b078'
311
- },
312
- id: {
313
- type: 'number',
314
- },
315
- width: {
316
- type: 'number',
317
- default: '400'
318
- },
319
- height: {
320
- type: 'number',
321
- default: '400'
322
- },
323
- verticalAlign: {
324
- type: 'string',
325
- default: 'center'
326
- },
327
- horizontalAlign: {
328
- type: 'string',
329
- default: 'center'
330
  },
331
- full: {
332
- type: 'boolean',
333
- default: false
334
- }
335
- },
336
 
337
  // The "edit" property must be a valid function.
338
  edit: edit,
9
  import './style.scss';
10
  import './editor.scss';
11
  import { PictureIcon } from '../../icons'
12
+ import {
13
+ deprecatedSchema_1_1_2, deprecatedSave_1_1_2,
14
+ } from './deprecated'
15
 
16
  import {
17
  registerBlockType,
30
  ColorPalette,
31
  PanelBody,
32
  Fragment,
33
+ Dashicon,
34
+ URLInput,
35
  } from '../../wp-imports'
36
 
37
  export const edit = ( props ) => {
46
 
47
  const {
48
  url,
49
+ href,
50
  title,
51
  titleColor,
52
  subtitle,
186
  ]
187
  } }
188
  />
189
+ <a href={ href } style={ { backgroundColor: overlayColor } } />
190
  <RichText
191
  tagName="h4"
192
  placeholder={ title.default }
206
  } }
207
  />
208
  </div>
209
+ { isSelected && (
210
+ <form
211
+ onSubmit={ event => event.preventDefault() }
212
+ className='blocks-button__inline-link'
213
+ style={ { marginTop: 10 } }
214
+ >
215
+ <Dashicon icon='admin-links' />
216
+ <URLInput
217
+ value={ href }
218
+ onChange={ href => { setAttributes( { href } ) } }
219
+ />
220
+ <IconButton
221
+ icon='editor-break'
222
+ label={ __( 'Apply' ) }
223
+ type='submit'
224
+ />
225
+ </form>
226
+ ) }
227
  </Fragment>
228
  )
229
  }
231
  export const save = ( props ) => {
232
  const {
233
  url,
234
+ href,
235
  title,
236
  titleColor,
237
  subtitle,
262
  justifyContent: verticalAlign
263
  } }
264
  >
265
+ <a href={ href } style={ { backgroundColor: overlayColor } } />
266
  { ! RichText.isEmpty( title ) && (
267
  <RichText.Content
268
  tagName='h4'
281
  );
282
  }
283
 
284
+ export const schema = {
285
+ title: {
286
+ type: 'array',
287
+ source: 'children',
288
+ selector: 'h4',
289
+ default: __( 'Title' )
290
+ },
291
+ subtitle: {
292
+ type: 'array',
293
+ source: 'children',
294
+ selector: 'p',
295
+ default: __( 'Subtitle goes here' )
296
+ },
297
+ url: {
298
+ type: 'string',
299
+ source: 'attribute',
300
+ selector: '.ugb-image-box',
301
+ attribute: 'data-url',
302
+ },
303
+ href: {
304
+ type: 'string',
305
+ source: 'attribute',
306
+ selector: 'a',
307
+ attribute: 'href',
308
+ },
309
+ titleColor: {
310
+ type: 'string',
311
+ default: '#ffffff',
312
+ },
313
+ subtitleColor: {
314
+ type: 'string',
315
+ default: '#ffffff',
316
+ },
317
+ overlayColor: {
318
+ type: 'string',
319
+ default: '#42b078'
320
+ },
321
+ id: {
322
+ type: 'number',
323
+ },
324
+ width: {
325
+ type: 'number',
326
+ default: '400'
327
+ },
328
+ height: {
329
+ type: 'number',
330
+ default: '400'
331
+ },
332
+ verticalAlign: {
333
+ type: 'string',
334
+ default: 'center'
335
+ },
336
+ horizontalAlign: {
337
+ type: 'string',
338
+ default: 'center'
339
+ },
340
+ full: {
341
+ type: 'boolean',
342
+ default: false
343
+ }
344
+ }
345
+
346
 
347
  /**
348
  * Register: Gutenberg Block.
365
  __( 'Image Box' ),
366
  __( 'Stackable' ),
367
  ],
368
+ attributes: schema,
369
+
370
+ deprecated: [
371
+ {
372
+ attributes: deprecatedSchema_1_1_2,
373
+ save: deprecatedSave_1_1_2,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374
  },
375
+ ],
 
 
 
 
376
 
377
  // The "edit" property must be a valid function.
378
  edit: edit,
src/block/image-box/style.scss CHANGED
@@ -35,12 +35,11 @@
35
  right: 0;
36
  bottom: 0;
37
  opacity: 0;
38
- pointer-events: none;
39
  margin: 0 !important;
40
  }
41
  h4, p {
42
  z-index: 3;
43
- // pointer-events: none;
44
  }
45
  h4 {
46
  margin: 0 0 0.5em !important;
35
  right: 0;
36
  bottom: 0;
37
  opacity: 0;
 
38
  margin: 0 !important;
39
  }
40
  h4, p {
41
  z-index: 3;
42
+ pointer-events: none;
43
  }
44
  h4 {
45
  margin: 0 0 0.5em !important;
src/icons.js CHANGED
@@ -4,11 +4,9 @@
4
 
5
  const Gradient = (props) => (
6
  <defs>
7
- <linearGradient {...props} gradientTransform="rotate(90)">
8
- <stop offset="0%" stopColor="#2FDDD1" stopOpacity="1" />
9
- <stop offset="20%" stopColor="#30A2E3" stopOpacity="1" />
10
- <stop offset="50%" stopColor="#F56FAE" stopOpacity="1" />
11
- <stop offset="100%" stopColor="#FFC58E" stopOpacity="1" />
12
  </linearGradient>
13
  </defs>
14
  )
4
 
5
  const Gradient = (props) => (
6
  <defs>
7
+ <linearGradient {...props}>
8
+ <stop offset="0%" stopColor="#ab5af1" stopOpacity="1" />
9
+ <stop offset="100%" stopColor="#fb6874" stopOpacity="1" />
 
 
10
  </linearGradient>
11
  </defs>
12
  )
src/welcome.scss ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Admin Welcome Screen
3
+ */
4
+
5
+ // Clear out the margins of the admin page.
6
+ body.toplevel_page_stackable {
7
+ #wpcontent {
8
+ padding-left: 0;
9
+ }
10
+ .wrap {
11
+ margin: 0;
12
+ }
13
+ }
14
+
15
+ @import 'common';
16
+
17
+ // Actual page styles.
18
+ body.toplevel_page_stackable {
19
+ .s-header, .s-body-container {
20
+ padding: 50px;
21
+ }
22
+ .s-header {
23
+ background: linear-gradient(to right, #ab5af1, #fb6874);
24
+ display: flex;
25
+ flex-direction: row;
26
+ justify-content: space-between;
27
+ align-items: center;
28
+ padding-bottom: 100px;
29
+ img {
30
+ height: 50px;
31
+ }
32
+ }
33
+
34
+ h1 {
35
+ color: #fff;
36
+ font-size: 2.5em;
37
+ font-weight: bold;
38
+ }
39
+ h2 {
40
+ font-size: 2em;
41
+ }
42
+ h3 {
43
+ font-size: 1.5em;
44
+ }
45
+ .s-box {
46
+ @include box();
47
+ }
48
+ .s-button {
49
+ border: none;
50
+ border-radius: 4px;
51
+ box-shadow: none !important;
52
+ cursor: pointer;
53
+ opacity: 1;
54
+ background: #ab5af1;
55
+ transition: opacity .2s ease-in-out;
56
+ box-shadow: none !important;
57
+ color: #fff;
58
+ text-decoration: none;
59
+ padding: .75em 1.25em;
60
+ display: block;
61
+ margin: 0 auto;
62
+ max-width: 200px;
63
+ text-align: center;
64
+ &:hover {
65
+ opacity: .85;
66
+ box-shadow: none !important;
67
+ }
68
+ }
69
+ .s-body-container {
70
+ display: grid;
71
+ grid-template-columns: 1fr 350px;
72
+ grid-gap: 30px;
73
+ padding-top: 0;
74
+ margin-top: -50px;
75
+ *:first-child {
76
+ margin-top: 0 !important;
77
+ }
78
+ *:last-child {
79
+ margin-bottom: 0 !important;
80
+ }
81
+ p, li {
82
+ font-size: 18px;
83
+ }
84
+ li {
85
+ margin-bottom: .6em;
86
+ }
87
+ }
88
+ .s-side {
89
+ h2, h3 {
90
+ text-align: center;
91
+ }
92
+ }
93
+ .s-gambit-logo {
94
+ display: inline-block;
95
+ vertical-align: middle;
96
+ padding-top: 10px;
97
+ margin: 0 10px;
98
+ }
99
+ .s-gif {
100
+ display: block;
101
+ margin: 0 auto;
102
+ }
103
+ .s-plus-button {
104
+ height: 1em;
105
+ vertical-align: top;
106
+ width: 1em;
107
+ }
108
+ }
109
+
110
+ // Collapse to a single column for mobile.
111
+ @media screen and (max-width: 960px) {
112
+ body.toplevel_page_stackable {
113
+ .s-body-container {
114
+ grid-template-columns: 1fr;
115
+ }
116
+ }
117
+ }
welcome.php ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Welcome screen.
4
+ */
5
+
6
+ // Exit if accessed directly.
7
+ if ( ! defined( 'ABSPATH' ) ) {
8
+ exit;
9
+ }
10
+
11
+ if ( ! class_exists( 'Stackable_Welcome_Screen' ) ) {
12
+ class Stackable_Welcome_Screen {
13
+ function __construct() {
14
+ add_action( 'admin_menu', array( $this, 'add_dashboard_page' ) );
15
+
16
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_dashboard_script' ) );
17
+
18
+ add_action( 'admin_init', array( $this, 'redirect_to_welcome_page' ) );
19
+ }
20
+
21
+ public function add_dashboard_page() {
22
+ add_menu_page(
23
+ __( 'Stackable', 'stackable' ), // Page Title.
24
+ __( 'Stackable', 'stackable' ), // Menu Title.
25
+ 'edit_posts', // Capability.
26
+ 'stackable', // Menu slug.
27
+ array( $this, 'stackable_welcome_content' ), // Action.
28
+ // Stackable icon.
29
+ 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMDAgMjAwIiBzdHlsZT0iZmlsbDogI2ZmZmZmZjsiPgogIDxwYXRoIGQ9Ik02NC4wOCwxMzZMMjMsMTc2LjY2YTQuNzUsNC43NSwwLDAsMCwzLjUzLDguMTVsODYuOTEsMC4xNFoiLz4KICA8cGF0aCBkPSJNMTc3LjkxLDEyOC4zOWExNywxNywwLDAsMC01LTEyLjA3TDcxLjM5LDE0LjcyaDBMMjYuNjEsNTkuNWExNywxNywwLDAsMC01LDEyLjA1aDBhMTcsMTcsMCwwLDAsNSwxMi4wNUwxMjguMTYsMTg1LjJ2LTAuMDdsMCwwLDQ0Ljc2LTQ0Ljc2YTE3LDE3LDAsMCwwLDUtMTJoMFoiLz4KICA8cGF0aCBkPSJNMTcyLjk1LDE0LjY5bC04Ni44MywwLDQ5LjQyLDQ5LjYyLDQwLjkyLTQxLjE2QTUsNSwwLDAsMCwxNzIuOTUsMTQuNjlaIi8+Cjwvc3ZnPgo='
30
+ );
31
+ }
32
+
33
+ public function enqueue_dashboard_script() {
34
+ wp_enqueue_style( 'stackable-welcome', plugins_url( 'dist/admin.welcome.min.css', __FILE__ ), array() );
35
+ }
36
+
37
+ public function stackable_welcome_content() {
38
+ $plus_image = 'data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgcm9sZT0iaW1nIiBmb2N1c2FibGU9ImZhbHNlIiBjbGFzcz0iZGFzaGljb24gZGFzaGljb25zLWluc2VydCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZD0iTTEwIDFjLTUgMC05IDQtOSA5czQgOSA5IDkgOS00IDktOS00LTktOS05em0wIDE2Yy0zLjkgMC03LTMuMS03LTdzMy4xLTcgNy03IDcgMy4xIDcgNy0zLjEgNy03IDd6bTEtMTFIOXYzSDZ2MmgzdjNoMnYtM2gzVjloLTNWNnoiPjwvcGF0aD48L3N2Zz4=';
39
+ ?>
40
+ <div class="wrap">
41
+ <header class="s-header">
42
+ <h1><?php _e( 'Getting Started with Stackable', 'stackable' ) ?></h1>
43
+ <img src="<?php echo esc_url( plugins_url( 'images/stackable-logo.svg', __FILE__ ) ) ?>" alt="<?php esc_attr_e( 'Stackable Logo' ) ?>"/>
44
+ </header>
45
+ <section class="s-body-container">
46
+ <article class="s-box s-body">
47
+ <p><?php _e( 'Stackable supercharges Gutenberg - the new WordPress editor, and gives you the capability to build awesome front pages and landing pages. ⚡️🚀', 'stackable' ) ?></p>
48
+ <p><?php _e( '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.', 'stackable' ) ?></p>
49
+ <h2><?php _e( 'How to Use Stackable - It\'s Easy', 'stackable' ) ?></h2>
50
+ <ol>
51
+ <li><?php _e( 'Edit your page using Gutenberg', 'stackable' ) ?></li>
52
+ <li><?php printf( __( 'Add a new block into your page by clicking on the %s button', 'stackable' ), '<img src="' . esc_attr( $plus_image ) . '" class="s-plus-button"/>' ) ?></li>
53
+ <li><?php _e( 'Scroll down until you see the tab of Stackable blocks', 'stackable' ) ?></li>
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">
60
+ <aside class="s-box">
61
+ <h2><?php _e( 'Free Theme Download', 'stackable' ) ?></h2>
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>
68
+ <?php
69
+ }
70
+
71
+ /**
72
+ * Adds a marker to remember to redirect after activation.
73
+ * Redirecting right away will not work.
74
+ */
75
+ public static function start_redirect_to_welcome_page() {
76
+ update_option( 'stackable_redirect_to_welcome', '1' );
77
+ }
78
+
79
+ /**
80
+ * Redirect to the welcome screen if our marker exists.
81
+ */
82
+ public function redirect_to_welcome_page() {
83
+ if ( get_option( 'stackable_redirect_to_welcome' ) ) {
84
+ delete_option( 'stackable_redirect_to_welcome' );
85
+ wp_redirect( esc_url( admin_url( 'admin.php?page=stackable' ) ) );
86
+ die();
87
+ }
88
+ }
89
+ }
90
+
91
+ new Stackable_Welcome_Screen();
92
+ }
93
+
94
+ // Redirect to the welcome screen.
95
+ register_activation_hook( STACKABLE_FILE, array( 'Stackable_Welcome_Screen', 'start_redirect_to_welcome_page' ) );